From 00e36bd74043a692b5642f4b354d88204b18cbd5 Mon Sep 17 00:00:00 2001 From: TizianoCoroneo Date: Fri, 2 Feb 2024 14:22:28 +0100 Subject: [PATCH] chore: regenerated docs --- .../Tutorials/Adding a Deeplink.tutorial | 1 - Sources/Deeplink/SampleDeeplink.swift | 4 +-- docs/css/chunk-384ef189.7ede1ea3.css | 9 ------- docs/css/chunk-c0335d80.10a2f091.css | 9 +++++++ docs/css/documentation-topic.1d1eec04.css | 9 +++++++ docs/css/documentation-topic.29351f99.css | 9 ------- .../documentation-topic~topic.b6287bcf.css | 9 +++++++ .../documentation-topic~topic.fccbd76c.css | 9 ------- ...opic~topic~tutorials-overview.1099452b.css | 9 ------- ...opic~topic~tutorials-overview.d6f5411c.css | 9 +++++++ docs/css/index.038e887c.css | 9 +++++++ docs/css/index.d5b499b0.css | 9 ------- docs/css/topic.726a35dc.css | 9 ------- docs/css/topic.d8c126f3.css | 9 +++++++ docs/css/tutorials-overview.2a582c39.css | 9 ------- docs/css/tutorials-overview.c249c765.css | 9 +++++++ docs/data/documentation/deeplink.json | 2 +- .../documentation/deeplink/anydeeplink.json | 2 +- .../deeplink/anydeeplink/description.json | 2 +- .../data/documentation/deeplink/deeplink.json | 2 +- .../deeplink/deeplink/!=(_:_:).json | 2 +- .../deeplink/callasfunction(_:)-34acp.json | 2 +- .../deeplink/callasfunction(_:)-9eb8h.json | 2 +- .../callasfunction(assigningto:_:).json | 2 +- .../deeplink/deeplink/catchall.json | 2 +- ...stomstringconvertible-implementations.json | 2 +- .../deeplink/deeplink/description.json | 2 +- .../deeplink/deeplink/encode(_:).json | 1 + .../deeplink/equatable-implementations.json | 2 +- ...raphemeclusterliteral-implementations.json | 2 +- ...bystringinterpolation-implementations.json | 2 +- ...ssiblebystringliteral-implementations.json | 2 +- ...yunicodescalarliteral-implementations.json | 2 +- ...init(extendedgraphemeclusterliteral:).json | 2 +- .../deeplink/init(stringinterpolation:).json | 2 +- .../deeplink/init(stringliteral:).json | 2 +- .../deeplink/init(unicodescalarliteral:).json | 2 +- .../deeplink/deeplink/interpolated(_:).json | 2 +- .../deeplink/deeplink/literal(_:).json | 2 +- .../deeplink/deeplink/parse(_:).json | 2 +- .../deeplink/deeplink/parse(_:into:).json | 2 +- .../deeplink/deeplink/stringliteraltype.json | 2 +- .../deeplink/deeplinkbuilder.json | 2 +- .../deeplinkbuilder/buildarray(_:).json | 2 +- .../deeplinkbuilder/buildblock(_:).json | 2 +- .../deeplinkbuilder/buildeither(first:).json | 2 +- .../deeplinkbuilder/buildeither(second:).json | 2 +- .../buildexpression(_:)-6kuwv.json | 2 +- .../buildexpression(_:)-8a26a.json | 2 +- .../buildlimitedavailability(_:).json | 2 +- .../deeplinkbuilder/buildoptional(_:).json | 2 +- .../deeplink/deeplinkbuilder/component.json | 2 +- .../deeplink/deeplinkinterpolation.json | 2 +- .../deeplinkinterpolation/!=(_:_:).json | 2 +- .../appendinterpolation(_:).json | 2 +- .../appendinterpolation(_:separator:).json | 2 +- .../appendliteral(_:).json | 2 +- ...stomstringconvertible-implementations.json | 2 +- .../deeplinkinterpolation/description.json | 2 +- .../equatable-implementations.json | 2 +- ...(literalcapacity:interpolationcount:).json | 2 +- .../deeplink/deeplinkscenter.json | 2 +- .../deeplink/deeplinkscenter/init().json | 2 +- .../deeplink/deeplinkscenter/init(_:).json | 2 +- .../deeplink/deeplinkscenter/parse(url:).json | 2 +- ...ter(deeplink:assigningto:ifmatching:).json | 2 +- .../register(deeplink:ifmatching:).json | 2 +- ...er(deeplinks:assigningto:ifmatching:).json | 2 +- .../register(deeplinks:ifmatching:).json | 2 +- .../testsampledeeplink(_:).json | 2 +- .../deeplink/defaultinitializable.json | 2 +- .../deeplink/defaultinitializable/init().json | 2 +- .../getting-started-with-deeplinking.json | 2 +- .../deeplink/sampledeeplink.json | 2 +- ...ngtoinstance:expectation:assertions:).json | 2 +- ...linktemplate:urltoparse:expectation:).json | 2 +- .../tutorials/deeplink/adding-a-deeplink.json | 2 +- .../tutorials/deeplink/advanced-usage.json | 2 +- .../deeplink/using-a-resultbuilder.json | 2 +- docs/data/tutorials/table-of-contents.json | 2 +- .../anydeeplink/description/index.html | 2 +- .../deeplink/anydeeplink/index.html | 2 +- .../deeplink/deeplink/!=(_:_:)/index.html | 2 +- .../callasfunction(_:)-34acp/index.html | 2 +- .../callasfunction(_:)-9eb8h/index.html | 2 +- .../callasfunction(assigningto:_:)/index.html | 2 +- .../deeplink/deeplink/catchall/index.html | 2 +- .../index.html | 2 +- .../deeplink/deeplink/description/index.html | 2 +- .../deeplink/deeplink/encode(_:)/index.html | 1 + .../equatable-implementations/index.html | 2 +- .../index.html | 2 +- .../index.html | 2 +- .../index.html | 2 +- .../index.html | 2 +- .../deeplink/deeplink/index.html | 2 +- .../index.html | 2 +- .../init(stringinterpolation:)/index.html | 2 +- .../deeplink/init(stringliteral:)/index.html | 2 +- .../init(unicodescalarliteral:)/index.html | 2 +- .../deeplink/interpolated(_:)/index.html | 2 +- .../deeplink/deeplink/literal(_:)/index.html | 2 +- .../deeplink/deeplink/parse(_:)/index.html | 2 +- .../deeplink/parse(_:into:)/index.html | 2 +- .../deeplink/stringliteraltype/index.html | 2 +- .../deeplinkbuilder/buildarray(_:)/index.html | 2 +- .../deeplinkbuilder/buildblock(_:)/index.html | 2 +- .../buildeither(first:)/index.html | 2 +- .../buildeither(second:)/index.html | 2 +- .../buildexpression(_:)-6kuwv/index.html | 2 +- .../buildexpression(_:)-8a26a/index.html | 2 +- .../buildlimitedavailability(_:)/index.html | 2 +- .../buildoptional(_:)/index.html | 2 +- .../deeplinkbuilder/component/index.html | 2 +- .../deeplink/deeplinkbuilder/index.html | 2 +- .../deeplinkinterpolation/!=(_:_:)/index.html | 2 +- .../appendinterpolation(_:)/index.html | 2 +- .../index.html | 2 +- .../appendliteral(_:)/index.html | 2 +- .../index.html | 2 +- .../description/index.html | 2 +- .../equatable-implementations/index.html | 2 +- .../deeplink/deeplinkinterpolation/index.html | 2 +- .../index.html | 2 +- .../deeplink/deeplinkscenter/index.html | 2 +- .../deeplinkscenter/init()/index.html | 2 +- .../deeplinkscenter/init(_:)/index.html | 2 +- .../deeplinkscenter/parse(url:)/index.html | 2 +- .../index.html | 2 +- .../register(deeplink:ifmatching:)/index.html | 2 +- .../index.html | 2 +- .../index.html | 2 +- .../testsampledeeplink(_:)/index.html | 2 +- .../deeplink/defaultinitializable/index.html | 2 +- .../defaultinitializable/init()/index.html | 2 +- .../index.html | 2 +- docs/documentation/deeplink/index.html | 2 +- .../deeplink/sampledeeplink/index.html | 2 +- .../index.html | 2 +- .../index.html | 2 +- docs/index.html | 2 +- docs/index/index.json | 2 +- docs/js/chunk-384ef189.bb1ed903.js | 10 ------- docs/js/chunk-c0335d80.76a68cc5.js | 10 +++++++ docs/js/chunk-vendors.b24b7aaa.js | 21 --------------- docs/js/chunk-vendors.ba2dd0cb.js | 26 +++++++++++++++++++ docs/js/documentation-topic.2ed269e3.js | 10 ------- docs/js/documentation-topic.57e91f8a.js | 10 +++++++ docs/js/documentation-topic~topic.1679ec90.js | 20 ++++++++++++++ docs/js/documentation-topic~topic.900fc80c.js | 20 -------------- ...topic~topic~tutorials-overview.5b27b87b.js | 10 ------- ...topic~topic~tutorials-overview.90c61522.js | 10 +++++++ docs/js/index.aa320932.js | 9 ------- docs/js/index.e8a5d294.js | 9 +++++++ docs/js/topic.8cd0c0c4.js | 10 +++++++ docs/js/topic.bb695832.js | 10 ------- docs/js/tutorials-overview.2a32cd6f.js | 10 +++++++ docs/js/tutorials-overview.2cadc732.js | 10 ------- docs/metadata.json | 2 +- .../deeplink/adding-a-deeplink/index.html | 2 +- .../deeplink/advanced-usage/index.html | 2 +- .../deeplink/using-a-resultbuilder/index.html | 2 +- docs/tutorials/table-of-contents/index.html | 2 +- 163 files changed, 301 insertions(+), 295 deletions(-) delete mode 100644 docs/css/chunk-384ef189.7ede1ea3.css create mode 100644 docs/css/chunk-c0335d80.10a2f091.css create mode 100644 docs/css/documentation-topic.1d1eec04.css delete mode 100644 docs/css/documentation-topic.29351f99.css create mode 100644 docs/css/documentation-topic~topic.b6287bcf.css delete mode 100644 docs/css/documentation-topic~topic.fccbd76c.css delete mode 100644 docs/css/documentation-topic~topic~tutorials-overview.1099452b.css create mode 100644 docs/css/documentation-topic~topic~tutorials-overview.d6f5411c.css create mode 100644 docs/css/index.038e887c.css delete mode 100644 docs/css/index.d5b499b0.css delete mode 100644 docs/css/topic.726a35dc.css create mode 100644 docs/css/topic.d8c126f3.css delete mode 100644 docs/css/tutorials-overview.2a582c39.css create mode 100644 docs/css/tutorials-overview.c249c765.css create mode 100644 docs/data/documentation/deeplink/deeplink/encode(_:).json create mode 100644 docs/documentation/deeplink/deeplink/encode(_:)/index.html delete mode 100644 docs/js/chunk-384ef189.bb1ed903.js create mode 100644 docs/js/chunk-c0335d80.76a68cc5.js delete mode 100644 docs/js/chunk-vendors.b24b7aaa.js create mode 100644 docs/js/chunk-vendors.ba2dd0cb.js delete mode 100644 docs/js/documentation-topic.2ed269e3.js create mode 100644 docs/js/documentation-topic.57e91f8a.js create mode 100644 docs/js/documentation-topic~topic.1679ec90.js delete mode 100644 docs/js/documentation-topic~topic.900fc80c.js delete mode 100644 docs/js/documentation-topic~topic~tutorials-overview.5b27b87b.js create mode 100644 docs/js/documentation-topic~topic~tutorials-overview.90c61522.js delete mode 100644 docs/js/index.aa320932.js create mode 100644 docs/js/index.e8a5d294.js create mode 100644 docs/js/topic.8cd0c0c4.js delete mode 100644 docs/js/topic.bb695832.js create mode 100644 docs/js/tutorials-overview.2a32cd6f.js delete mode 100644 docs/js/tutorials-overview.2cadc732.js diff --git a/Sources/Deeplink/Documentation.docc/Tutorials/Adding a Deeplink.tutorial b/Sources/Deeplink/Documentation.docc/Tutorials/Adding a Deeplink.tutorial index 0ca7cb3..2a86c07 100644 --- a/Sources/Deeplink/Documentation.docc/Tutorials/Adding a Deeplink.tutorial +++ b/Sources/Deeplink/Documentation.docc/Tutorials/Adding a Deeplink.tutorial @@ -64,7 +64,6 @@ Now we need to make a template that describes how to parse the information from a link. This time, we'll use a keypath to our `[String]` property, and pass an additional argument to tell the system what separator should we use to parse the arguments. - As before, the data present in the URL at the location where the keypath is inserted will be assigned to the property indicated by the keypath; each item in its own String object. @Code(name: "Defining Deeplink Data Lists.swift", file: "AddingADeeplinkList 2.swift") diff --git a/Sources/Deeplink/SampleDeeplink.swift b/Sources/Deeplink/SampleDeeplink.swift index 356ae7f..5330cc4 100644 --- a/Sources/Deeplink/SampleDeeplink.swift +++ b/Sources/Deeplink/SampleDeeplink.swift @@ -39,7 +39,7 @@ public struct SampleDeeplink { /// - deeplinkTemplate: The deeplink template that you want to test. It is recommended to pass the exact same template instance that you use in your `DeeplinkCenter` to avoid having to manually keep them in sync. /// - urlToParse: The test URL that you want to use for testing. /// - assigningToInstance: The instance of the object to which assign the values of the parsed parameters. - /// - expectation: A closure where you should declare an expectation to fulfill, using ``XCTest/XCTestCase/expectation(description:)``. + /// - expectation: A closure where you should declare an expectation to fulfill, using `XCTestCase.expectation(description:)`. /// - assertions: A closure that you can use to verify the correctness of the parsed parameters. public init( deeplinkTemplate: Deeplink, @@ -67,7 +67,7 @@ public extension SampleDeeplink where Value == Void { /// - Parameters: /// - deeplinkTemplate: The deeplink template that you want to test. It is recommended to pass the exact same template instance that you use in your `DeeplinkCenter` to avoid having to manually keep them in sync. /// - urlToParse: The test URL that you want to use for testing. - /// - expectation: A closure where you should declare an expectation to fulfill, using ``XCTest/XCTestCase/expectation(description:)``. + /// - expectation: A closure where you should declare an expectation to fulfill, using `XCTestCase.expectation(description:)`. init( deeplinkTemplate: Deeplink, urlToParse: URL, diff --git a/docs/css/chunk-384ef189.7ede1ea3.css b/docs/css/chunk-384ef189.7ede1ea3.css deleted file mode 100644 index f489ad7..0000000 --- a/docs/css/chunk-384ef189.7ede1ea3.css +++ /dev/null @@ -1,9 +0,0 @@ -/*! - * This source file is part of the Swift.org open source project - * - * Copyright (c) 2021 Apple Inc. and the Swift project authors - * Licensed under Apache License v2.0 with Runtime Library Exception - * - * See https://swift.org/LICENSE.txt for license information - * See https://swift.org/CONTRIBUTORS.txt for Swift project authors - */.badge[data-v-b3052e12]{--badge-color:var(--color-badge-default);--badge-dark-color:var(--color-badge-dark-default);font-size:.70588rem;line-height:1.33333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);display:inline-block;padding:2px 10px;white-space:nowrap;background:none;border-radius:var(--badge-border-radius,calc(var(--border-radius, 4px) - 1px));border-style:var(--badge-border-style,solid);border-width:var(--badge-border-width,1px);margin-left:10px;color:var(--badge-color)}.theme-dark .badge[data-v-b3052e12]{--badge-color:var(--badge-dark-color)}.badge-deprecated[data-v-b3052e12]{--badge-color:var(--color-badge-deprecated);--badge-dark-color:var(--color-badge-dark-deprecated)}.badge-beta[data-v-b3052e12]{--badge-color:var(--color-badge-beta);--badge-dark-color:var(--color-badge-dark-beta)}[data-v-7f03310b] .code-listing{background:var(--background,var(--color-code-background));color:var(--text,var(--color-code-plain));border-color:var(--colors-grid,var(--color-grid));border-width:var(--code-border-width,1px);border-style:var(--code-border-style,solid)}[data-v-7f03310b] .code-listing pre{padding:8px 14px;padding-right:0}[data-v-7f03310b] .code-listing pre>code{font-size:.88235rem;line-height:1.66667;font-weight:400;font-family:var(--typography-html-font-mono,Menlo,monospace)}[data-v-7f03310b] *+.code-listing,[data-v-7f03310b] *+.endpoint-example,[data-v-7f03310b] *+.inline-image-container,[data-v-7f03310b] *+aside,[data-v-7f03310b] *+figure,[data-v-7f03310b] .code-listing+*,[data-v-7f03310b] .endpoint-example+*,[data-v-7f03310b] .inline-image-container+*,[data-v-7f03310b] aside+*,[data-v-7f03310b] figure+*{margin-top:1.6em}[data-v-7f03310b] *+dl,[data-v-7f03310b] dl+*{margin-top:.8em}[data-v-7f03310b] img{display:block;margin:auto;max-width:100%}[data-v-7f03310b] ol,[data-v-7f03310b] ol li:not(:first-child),[data-v-7f03310b] ul,[data-v-7f03310b] ul li:not(:first-child){margin-top:.8em}@media only screen and (max-width:735px){[data-v-7f03310b] ol,[data-v-7f03310b] ul{margin-left:1.25rem}}[data-v-7f03310b] dt:not(:first-child){margin-top:.8em}[data-v-7f03310b] dd{margin-left:2em}.topic-icon-wrapper[data-v-384630c1]{display:flex;align-items:center;justify-content:center;height:1.47059rem;flex:0 0 1.294rem;width:1.294rem;margin-right:1rem}.topic-icon[data-v-384630c1]{height:.88235rem;transform:scale(1);-webkit-transform:scale(1);overflow:visible}.topic-icon[data-v-384630c1] img{margin:0;display:block;width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.topic-icon.curly-brackets-icon[data-v-384630c1]{height:1rem}.token-method[data-v-5caf1b5b]{font-weight:700}.token-keyword[data-v-5caf1b5b]{color:var(--syntax-keyword,var(--color-syntax-keywords))}.token-number[data-v-5caf1b5b]{color:var(--syntax-number,var(--color-syntax-numbers))}.token-string[data-v-5caf1b5b]{color:var(--syntax-string,var(--color-syntax-strings))}.token-attribute[data-v-5caf1b5b]{color:var(--syntax-attribute,var(--color-syntax-keywords))}.token-internalParam[data-v-5caf1b5b]{color:var(--color-syntax-param-internal-name)}.type-identifier-link[data-v-5caf1b5b]{color:var(--syntax-type,var(--color-syntax-other-type-names))}.token-removed[data-v-5caf1b5b]{background-color:var(--color-highlight-red)}.token-added[data-v-5caf1b5b]{background-color:var(--color-highlight-green)}.decorator[data-v-06ec7395],.label[data-v-06ec7395]{color:var(--colors-secondary-label,var(--color-secondary-label))}.label[data-v-06ec7395]{font-size:1rem;line-height:1.47059;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.empty-token[data-v-06ec7395]{font-size:0}.empty-token[data-v-06ec7395]:after{content:"\00a0";font-size:1rem}.conditional-constraints[data-v-1548fd90] code{color:var(--colors-secondary-label,var(--color-secondary-label))}.abstract[data-v-750aa7a8],.link-block[data-v-750aa7a8] .badge{margin-left:2.294rem}.link-block .badge+.badge[data-v-750aa7a8]{margin-left:1rem}.link[data-v-750aa7a8]{display:flex}.link-block .badge[data-v-750aa7a8]{margin-top:.5rem}.link-block.has-inline-element[data-v-750aa7a8]{display:flex;align-items:flex-start;flex-flow:row wrap}.link-block.has-inline-element .badge[data-v-750aa7a8]{margin-left:1rem;margin-top:0}.link-block .has-adjacent-elements[data-v-750aa7a8]{padding-top:5px;padding-bottom:5px;display:inline-flex}.link-block[data-v-750aa7a8],.link[data-v-750aa7a8]{box-sizing:inherit}.link-block.changed[data-v-750aa7a8],.link.changed[data-v-750aa7a8]{padding-right:1rem;padding-left:2.17647rem;padding-top:8px;padding-bottom:8px;display:inline-flex;width:100%;box-sizing:border-box}.link-block.changed.changed[data-v-750aa7a8],.link.changed.changed[data-v-750aa7a8]{padding-right:1rem}@media only screen and (max-width:735px){.link-block.changed[data-v-750aa7a8],.link.changed[data-v-750aa7a8]{padding-left:0;padding-right:0}.link-block.changed.changed[data-v-750aa7a8],.link.changed.changed[data-v-750aa7a8]{padding-right:17px;padding-left:2.17647rem}}@media only screen and (max-width:735px){.link-block.changed[data-v-750aa7a8],.link.changed[data-v-750aa7a8]{padding-left:0;padding-right:0}}.abstract .topic-required[data-v-750aa7a8]:not(:first-child){margin-top:4px}.topic-required[data-v-750aa7a8]{font-size:.8em}.deprecated[data-v-750aa7a8]{text-decoration:line-through}.conditional-constraints[data-v-750aa7a8]{font-size:.82353rem;margin-top:4px} \ No newline at end of file diff --git a/docs/css/chunk-c0335d80.10a2f091.css b/docs/css/chunk-c0335d80.10a2f091.css new file mode 100644 index 0000000..86451fd --- /dev/null +++ b/docs/css/chunk-c0335d80.10a2f091.css @@ -0,0 +1,9 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */[data-v-20945666] .code-listing{background:var(--background,var(--color-code-background));color:var(--text,var(--color-code-plain));border-color:var(--colors-grid,var(--color-grid));border-width:var(--code-border-width,1px);border-style:var(--code-border-style,solid)}[data-v-20945666] .code-listing pre{padding:var(--code-block-style-elements-padding)}[data-v-20945666] .code-listing pre>code{font-size:.88235rem;line-height:1.66667;font-weight:400;font-family:var(--typography-html-font-mono,Menlo,monospace)}[data-v-20945666] *+.code-listing,[data-v-20945666] *+.endpoint-example,[data-v-20945666] *+.inline-image-container,[data-v-20945666] *+aside,[data-v-20945666] *+figure,[data-v-20945666] .code-listing+*,[data-v-20945666] .endpoint-example+*,[data-v-20945666] .inline-image-container+*,[data-v-20945666] aside+*,[data-v-20945666] figure+*{margin-top:var(--spacing-stacked-margin-xlarge)}[data-v-20945666] *+dl,[data-v-20945666] dl+*{margin-top:var(--spacing-stacked-margin-large)}[data-v-20945666] img{display:block;margin:auto;max-width:100%}[data-v-20945666] ol,[data-v-20945666] ol li:not(:first-child),[data-v-20945666] ul,[data-v-20945666] ul li:not(:first-child){margin-top:var(--spacing-stacked-margin-large)}@media only screen and (max-width:735px){[data-v-20945666] ol,[data-v-20945666] ul{margin-left:1.25rem}}[data-v-20945666] dt:not(:first-child){margin-top:var(--spacing-stacked-margin-large)}[data-v-20945666] dd{margin-left:2em}.badge[data-v-8d6893ae]{--badge-color:var(--color-badge-default);--badge-dark-color:var(--color-badge-dark-default);font-size:.70588rem;line-height:1.33333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);display:inline-block;padding:2px 10px;white-space:nowrap;background:none;border-radius:var(--badge-border-radius,calc(var(--border-radius, 4px) - 1px));border-style:var(--badge-border-style,solid);border-width:var(--badge-border-width,1px);margin-left:10px;color:var(--badge-color)}.theme-dark .badge[data-v-8d6893ae]{--badge-color:var(--badge-dark-color)}.badge-deprecated[data-v-8d6893ae]{--badge-color:var(--color-badge-deprecated);--badge-dark-color:var(--color-badge-dark-deprecated)}.badge-beta[data-v-8d6893ae]{--badge-color:var(--color-badge-beta);--badge-dark-color:var(--color-badge-dark-beta)}.topic-icon-wrapper[data-v-03cf3183]{display:flex;align-items:center;justify-content:center;height:1.47059rem;flex:0 0 1.294rem;width:1.294rem;margin-right:1rem}.topic-icon[data-v-03cf3183]{height:.88235rem;transform:scale(1);-webkit-transform:scale(1);overflow:visible}.topic-icon[data-v-03cf3183] img{margin:0;display:block;width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.topic-icon.curly-brackets-icon[data-v-03cf3183]{height:1rem}.token-method[data-v-3fd63d6c]{font-weight:700}.token-keyword[data-v-3fd63d6c]{color:var(--syntax-keyword,var(--color-syntax-keywords))}.token-number[data-v-3fd63d6c]{color:var(--syntax-number,var(--color-syntax-numbers))}.token-string[data-v-3fd63d6c]{color:var(--syntax-string,var(--color-syntax-strings))}.attribute-link[data-v-3fd63d6c],.token-attribute[data-v-3fd63d6c]{color:var(--syntax-attribute,var(--color-syntax-keywords))}.token-internalParam[data-v-3fd63d6c]{color:var(--color-syntax-param-internal-name)}.type-identifier-link[data-v-3fd63d6c]{color:var(--syntax-type,var(--color-syntax-other-type-names))}.token-removed[data-v-3fd63d6c]{background-color:var(--color-highlight-red)}.token-added[data-v-3fd63d6c]{background-color:var(--color-highlight-green)}.decorator[data-v-06ec7395],.label[data-v-06ec7395]{color:var(--colors-secondary-label,var(--color-secondary-label))}.label[data-v-06ec7395]{font-size:1rem;line-height:1.47059;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.empty-token[data-v-06ec7395]{font-size:0}.empty-token[data-v-06ec7395]:after{content:"\00a0";font-size:1rem}.conditional-constraints[data-v-1548fd90] code{color:var(--colors-secondary-label,var(--color-secondary-label))}.abstract[data-v-52205924],.link-block[data-v-52205924] .badge{margin-left:2.294rem}.link-block .badge+.badge[data-v-52205924]{margin-left:1rem}.link[data-v-52205924]{display:flex}.link-block .badge[data-v-52205924]{margin-top:.5rem}.link-block.has-inline-element[data-v-52205924]{display:flex;align-items:flex-start;flex-flow:row wrap}.link-block.has-inline-element .badge[data-v-52205924]{margin-left:1rem;margin-top:0}.link-block .has-adjacent-elements[data-v-52205924]{padding-top:5px;padding-bottom:5px;display:inline-flex}.link-block[data-v-52205924],.link[data-v-52205924]{box-sizing:inherit}.link-block.changed[data-v-52205924],.link.changed[data-v-52205924]{padding-right:1rem;padding-left:2.17647rem;padding-top:8px;padding-bottom:8px;display:inline-flex;width:100%;box-sizing:border-box}.link-block.changed.changed[data-v-52205924],.link.changed.changed[data-v-52205924]{padding-right:1rem}@media only screen and (max-width:735px){.link-block.changed[data-v-52205924],.link.changed[data-v-52205924]{padding-left:0;padding-right:0}.link-block.changed.changed[data-v-52205924],.link.changed.changed[data-v-52205924]{padding-right:17px;padding-left:2.17647rem}}@media only screen and (max-width:735px){.link-block.changed[data-v-52205924],.link.changed[data-v-52205924]{padding-left:0;padding-right:0}}.abstract .topic-required[data-v-52205924]:not(:first-child){margin-top:4px}.topic-required[data-v-52205924]{font-size:.8em}.deprecated[data-v-52205924]{text-decoration:line-through}.conditional-constraints[data-v-52205924]{font-size:.82353rem;margin-top:4px} \ No newline at end of file diff --git a/docs/css/documentation-topic.1d1eec04.css b/docs/css/documentation-topic.1d1eec04.css new file mode 100644 index 0000000..8622bb4 --- /dev/null +++ b/docs/css/documentation-topic.1d1eec04.css @@ -0,0 +1,9 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */.betainfo[data-v-e8fd2a92]{font-size:.94118rem;padding:3rem 0;background-color:var(--color-fill-secondary)}.full-width-container .betainfo-container[data-v-e8fd2a92]{max-width:820px;margin-left:auto;margin-right:auto;padding-left:80px;padding-right:80px;box-sizing:border-box}@media print{.full-width-container .betainfo-container[data-v-e8fd2a92]{padding-left:20px;padding-right:20px;max-width:none}}@media only screen and (min-width:1251px){.full-width-container .betainfo-container[data-v-e8fd2a92]{max-width:980px}}@media only screen and (min-width:1500px){.full-width-container .betainfo-container[data-v-e8fd2a92]{max-width:1080px}}@media only screen and (max-width:735px){.full-width-container .betainfo-container[data-v-e8fd2a92]{width:auto;padding-left:20px;padding-right:20px}}.static-width-container .betainfo-container[data-v-e8fd2a92]{margin-left:auto;margin-right:auto;width:980px}@media only screen and (max-width:1250px){.static-width-container .betainfo-container[data-v-e8fd2a92]{width:692px}}@media only screen and (max-width:735px){.static-width-container .betainfo-container[data-v-e8fd2a92]{width:87.5%}}@media only screen and (max-width:320px){.static-width-container .betainfo-container[data-v-e8fd2a92]{width:215px}}.betainfo-label[data-v-e8fd2a92]{font-weight:600;font-size:.94118rem}.betainfo-content[data-v-e8fd2a92] p{margin-bottom:10px}.summary-section[data-v-3aa6f694]:last-of-type{margin-right:0}@media only screen and (max-width:735px){.summary-section[data-v-3aa6f694]{margin-right:0}}.title[data-v-6796f6ea]{color:#fff;font-size:.82353rem;margin-right:.5rem;text-rendering:optimizeLegibility}.documentation-hero--disabled .title[data-v-6796f6ea]{color:var(--colors-text,var(--color-text))}.language[data-v-1a36493d]{padding-bottom:10px;justify-content:flex-end}.language-list[data-v-1a36493d],.language[data-v-1a36493d]{font-size:.82353rem;line-height:1.42857;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);margin-top:0;display:flex;align-items:center}.language-option.swift[data-v-1a36493d]{padding-right:10px;border-right:1px solid var(--color-fill-gray-tertiary)}.language-option.objc[data-v-1a36493d]{padding-left:10px}.language-option.active[data-v-1a36493d],.language-option.router-link-exact-active[data-v-1a36493d]{color:#ccc}.documentation-hero--disabled .language-option.active[data-v-1a36493d],.documentation-hero--disabled .language-option.router-link-exact-active[data-v-1a36493d]{color:var(--colors-secondary-label,var(--color-secondary-label))}.view-more-link[data-v-0d14b62a]{font-size:.82353rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);display:flex;flex-flow:row-reverse;margin-bottom:1.3rem}.documentation-hero[data-v-6540c364]{background:#000;color:var(--color-documentation-intro-figure,#fff);overflow:hidden;text-align:left;position:relative;padding-right:var(--doc-hero-right-offset)}.documentation-hero[data-v-6540c364]:before{content:"";background:var(--standard-accent-color,var(--color-documentation-intro-fill,#2a2a2a));position:absolute;width:100%;left:0;top:-50%;height:150%;right:0}.documentation-hero[data-v-6540c364]:after{background:transparent;opacity:.7;width:100%;position:absolute;content:"";height:100%;left:0;top:0}.documentation-hero .icon[data-v-6540c364]{position:absolute;margin-top:10px;margin-right:25px;right:0;width:250px;height:calc(100% - 20px);box-sizing:border-box}@media only screen and (max-width:735px){.documentation-hero .icon[data-v-6540c364]{display:none}}.documentation-hero .background-icon[data-v-6540c364]{color:var(--color-documentation-intro-accent,#161616);display:block;width:250px;height:auto;opacity:1;position:absolute;top:50%;left:0;transform:translateY(-50%);max-height:100%}.documentation-hero .background-icon[data-v-6540c364] img,.documentation-hero .background-icon[data-v-6540c364] svg{width:100%;height:100%}.documentation-hero__content[data-v-6540c364]:not(.minimized-hero){padding-top:2.35294rem;padding-bottom:40px;position:relative;z-index:1}.full-width-container .documentation-hero__content[data-v-6540c364]:not(.minimized-hero){max-width:820px;margin-left:auto;margin-right:auto;padding-left:80px;padding-right:80px;box-sizing:border-box}@media print{.full-width-container .documentation-hero__content[data-v-6540c364]:not(.minimized-hero){padding-left:20px;padding-right:20px;max-width:none}}@media only screen and (min-width:1251px){.full-width-container .documentation-hero__content[data-v-6540c364]:not(.minimized-hero){max-width:980px}}@media only screen and (min-width:1500px){.full-width-container .documentation-hero__content[data-v-6540c364]:not(.minimized-hero){max-width:1080px}}@media only screen and (max-width:735px){.full-width-container .documentation-hero__content[data-v-6540c364]:not(.minimized-hero){width:auto;padding-left:20px;padding-right:20px}}.static-width-container .documentation-hero__content[data-v-6540c364]:not(.minimized-hero){margin-left:auto;margin-right:auto;width:980px}@media only screen and (max-width:1250px){.static-width-container .documentation-hero__content[data-v-6540c364]:not(.minimized-hero){width:692px}}@media only screen and (max-width:735px){.static-width-container .documentation-hero__content[data-v-6540c364]:not(.minimized-hero){width:87.5%}}@media only screen and (max-width:320px){.static-width-container .documentation-hero__content[data-v-6540c364]:not(.minimized-hero){width:215px}}.documentation-hero .minimized-hero[data-v-6540c364]{padding:1.3em 1.4em;position:relative;z-index:1}.documentation-hero__above-content[data-v-6540c364]{position:relative;z-index:1}.documentation-hero--disabled[data-v-6540c364]{background:none;color:var(--colors-text,var(--color-text))}.documentation-hero--disabled[data-v-6540c364]:after,.documentation-hero--disabled[data-v-6540c364]:before{content:none}.short-hero[data-v-6540c364]{padding-top:3.52941rem;padding-bottom:3.52941rem}.extra-bottom-padding[data-v-6540c364]{padding-bottom:3.82353rem}.theme-dark[data-v-6540c364] a:not(.button-cta){color:#09f}ul[data-v-068842ec]{list-style-type:none;margin:0}ul li:first-child .base-link[data-v-068842ec]{margin-top:0}.parent-item .base-link[data-v-068842ec]{font-weight:700}.base-link[data-v-068842ec]{color:var(--color-figure-gray-secondary);font-size:.82353rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);display:inline-block;margin:5px 0;transition:color .15s ease-in;max-width:100%}.active .base-link[data-v-068842ec]{color:var(--color-text)}.source[data-v-d22a3f50]{background:var(--background,var(--color-code-background));border-color:var(--color-grid);color:var(--text,var(--color-code-plain));border-style:solid;border-width:1px;padding:var(--code-block-style-elements-padding);speak:literal-punctuation;line-height:25px;filter:blur(0)}.source.displays-multiple-lines[data-v-d22a3f50],.source[data-v-d22a3f50]{border-radius:var(--border-radius,4px)}.source>code[data-v-d22a3f50]{font-size:.88235rem;line-height:1.66667;font-weight:400;font-family:var(--typography-html-font-mono,Menlo,monospace);display:block}.platforms[data-v-4f51d8d2]{font-size:.82353rem;line-height:1.42857;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);margin-bottom:.45rem;margin-top:var(--spacing-stacked-margin-xlarge)}.changed .platforms[data-v-4f51d8d2]{padding-left:.588rem}.platforms[data-v-4f51d8d2]:first-of-type{margin-top:1rem}.source[data-v-4f51d8d2]{margin:var(--declaration-code-listing-margin)}.platforms+.source[data-v-4f51d8d2]{margin:0}.changed.declaration-group[data-v-4f51d8d2]{background:var(--background,var(--color-code-background))}.changed .source[data-v-4f51d8d2]{background:none;border:none;margin-top:0;margin-bottom:0;margin-left:2.17647rem;padding-left:0}.declaration-diff[data-v-b3e21c4a]{background:var(--background,var(--color-code-background))}.declaration-diff-version[data-v-b3e21c4a]{padding-left:.588rem;padding-left:2.17647rem;font-size:1rem;line-height:1.52941;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-figure-gray-secondary);margin:0}.declaration-diff-current[data-v-b3e21c4a]{padding-top:8px;padding-bottom:5px}.declaration-diff-previous[data-v-b3e21c4a]{padding-top:5px;padding-bottom:8px;background-color:var(--color-changes-modified-previous-background);border-radius:0 0 var(--border-radius,4px) var(--border-radius,4px);position:relative}.declaration-source-link[data-v-5863919c]{font-size:.82353rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);display:flex;align-items:center;margin-top:var(--declaration-source-link-margin,var(--spacing-stacked-margin-large))}.declaration-icon[data-v-5863919c]{width:1em;margin-right:5px}.conditional-constraints[data-v-2ab6251b]{margin-top:var(--declaration-conditional-constraints-margin,20px)}.abstract[data-v-702ec04e]{font-size:1.23529rem;line-height:1.38095;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:735px){.abstract[data-v-702ec04e]{font-size:1.11765rem;line-height:1.42105;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}[data-v-702ec04e] p:last-child{margin-bottom:0}.container[data-v-6e075935]{padding-bottom:40px}.full-width-container .container[data-v-6e075935]{max-width:820px;margin-left:auto;margin-right:auto;padding-left:80px;padding-right:80px;box-sizing:border-box}@media print{.full-width-container .container[data-v-6e075935]{padding-left:20px;padding-right:20px;max-width:none}}@media only screen and (min-width:1251px){.full-width-container .container[data-v-6e075935]{max-width:980px}}@media only screen and (min-width:1500px){.full-width-container .container[data-v-6e075935]{max-width:1080px}}@media only screen and (max-width:735px){.full-width-container .container[data-v-6e075935]{width:auto;padding-left:20px;padding-right:20px}}.static-width-container .container[data-v-6e075935]{margin-left:auto;margin-right:auto;width:980px}@media only screen and (max-width:1250px){.static-width-container .container[data-v-6e075935]{width:692px}}@media only screen and (max-width:735px){.static-width-container .container[data-v-6e075935]{width:87.5%}}@media only screen and (max-width:320px){.static-width-container .container[data-v-6e075935]{width:215px}}.title[data-v-6e075935]{font-size:1.88235rem;line-height:1.125;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);padding-top:40px;border-top-color:var(--color-grid);border-top-style:solid;border-top-width:var(--content-table-title-border-width,1px)}@media only screen and (max-width:1250px){.title[data-v-6e075935]{font-size:1.64706rem;line-height:1.14286;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.title[data-v-6e075935]{font-size:1.41176rem;line-height:1.16667;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.title+.contenttable-section[data-v-4aae1079]{margin-top:0}.contenttable-section[data-v-4aae1079]{align-items:baseline;padding-top:2.353rem}.contenttable-section[data-v-4aae1079]:last-child{margin-bottom:0}[data-v-4aae1079] .contenttable-title{font-size:1.41176rem;line-height:1.16667;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){[data-v-4aae1079] .contenttable-title{font-size:1.23529rem;line-height:1.19048;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.contenttable-section[data-v-4aae1079]{align-items:unset;border-top:none;display:inherit;margin:0}.section-content[data-v-4aae1079],.section-title[data-v-4aae1079]{padding:0}[data-v-4aae1079] .contenttable-title{margin:0 0 2.353rem 0;padding-bottom:.5rem}}.section-content>.content[data-v-3ccf02e9],.topic[data-v-3ccf02e9]{margin-top:15px}.no-title .section-content>.content[data-v-3ccf02e9]:first-child,.no-title .topic[data-v-3ccf02e9]:first-child{margin-top:0}.datalist dd{padding-left:2rem}.datalist dt{font-weight:600;padding-left:1rem;padding-top:var(--spacing-param)}.datalist dt:first-of-type{padding-top:0}.type[data-v-791bac44]:first-letter{text-transform:capitalize}.detail-type[data-v-d66cd00c]{font-weight:600;padding-left:1rem;padding-top:var(--spacing-param)}.detail-type[data-v-d66cd00c]:first-child{padding-top:0}@media only screen and (max-width:735px){.detail-type[data-v-d66cd00c]{padding-left:0}}.detail-content[data-v-d66cd00c]{padding-left:2rem}@media only screen and (max-width:735px){.detail-content[data-v-d66cd00c]{padding-left:0}}.param-name[data-v-53cac581]{font-weight:600;padding-left:1rem;padding-top:var(--spacing-param)}.param-name[data-v-53cac581]:first-child{padding-top:0}@media only screen and (max-width:735px){.param-name[data-v-53cac581]{padding-left:0}}.param-content[data-v-53cac581]{padding-left:2rem}@media only screen and (max-width:735px){.param-content[data-v-53cac581]{padding-left:0}}.param-content[data-v-53cac581] dt{font-weight:600}.param-content[data-v-53cac581] dd{margin-left:1em}.parameters-table[data-v-3f89f723] .change-added,.parameters-table[data-v-3f89f723] .change-removed{display:inline-block;max-width:100%}.parameters-table[data-v-3f89f723] .change-removed,.parameters-table[data-v-3f89f723] .token-removed{text-decoration:line-through}.param[data-v-3f89f723]{font-size:.88235rem;box-sizing:border-box}.param.changed[data-v-3f89f723]{display:flex;flex-flow:row wrap;padding-right:1rem;padding-left:2.17647rem;padding-top:8px;padding-bottom:8px;display:inline-flex;width:100%;box-sizing:border-box}.param.changed.changed[data-v-3f89f723]{padding-right:1rem}@media only screen and (max-width:735px){.param.changed[data-v-3f89f723]{padding-left:0;padding-right:0}.param.changed.changed[data-v-3f89f723]{padding-right:17px;padding-left:2.17647rem}}@media only screen and (max-width:735px){.param.changed[data-v-3f89f723]{padding-left:0;padding-right:0}}.param.changed.changed[data-v-3f89f723]{padding-left:0;padding-right:0}.param.changed+.param.changed[data-v-3f89f723]{margin-top:calc(var(--spacing-param)/2)}.changed .param-content[data-v-3f89f723],.changed .param-symbol[data-v-3f89f723]{padding-top:2px;padding-bottom:2px}@media only screen and (max-width:735px){.changed .param-content[data-v-3f89f723]{padding-top:0}.changed .param-symbol[data-v-3f89f723]{padding-bottom:0}}.param-symbol[data-v-3f89f723]{text-align:right}.changed .param-symbol[data-v-3f89f723]{padding-left:2.17647rem}@media only screen and (max-width:735px){.param-symbol[data-v-3f89f723]{text-align:left}.changed .param-symbol[data-v-3f89f723]{padding-left:0}}.param-symbol[data-v-3f89f723] .type-identifier-link{color:var(--color-link)}.param+.param[data-v-3f89f723]{margin-top:var(--spacing-param)}.param+.param[data-v-3f89f723]:first-child{margin-top:0}.param-content[data-v-3f89f723]{padding-left:1rem;padding-left:2.17647rem}.changed .param-content[data-v-3f89f723]{padding-right:1rem}@media only screen and (max-width:735px){.param-content[data-v-3f89f723]{padding-left:0;padding-right:0}}.property-metadata[data-v-8590589e]{color:var(--color-figure-gray-secondary)}.property-text{font-weight:700}.property-metadata[data-v-0a648a1e]{color:var(--color-figure-gray-secondary)}.property-name[data-v-310f0b2c]{font-weight:700}.property-name.deprecated[data-v-310f0b2c]{text-decoration:line-through}.property-deprecated[data-v-310f0b2c]{margin-left:0}.content[data-v-310f0b2c],.content[data-v-310f0b2c] p:first-child{display:inline}.response-mimetype[data-v-20293786]{color:var(--color-figure-gray-secondary)}.part-name[data-v-021cd63d]{font-weight:700}.content[data-v-021cd63d],.content[data-v-021cd63d] p:first-child{display:inline}.param-name[data-v-03478142]{font-weight:700}.param-name.deprecated[data-v-03478142]{text-decoration:line-through}.param-deprecated[data-v-03478142]{margin-left:0}.content[data-v-03478142],.content[data-v-03478142] p:first-child{display:inline}.response-name[data-v-881189f4],.response-reason[data-v-881189f4]{font-weight:700}@media only screen and (max-width:735px){.response-reason[data-v-881189f4]{display:none}}.response-name>code>.reason[data-v-881189f4]{display:none}@media only screen and (max-width:735px){.response-name>code>.reason[data-v-881189f4]{display:initial}}.primary-content.with-border[data-v-2baae7e0]:before{border-top-color:var(--colors-grid,var(--color-grid));border-top-style:solid;border-top-width:1px;content:"";display:block}.primary-content[data-v-2baae7e0]>*{margin-bottom:40px;margin-top:40px}.primary-content[data-v-2baae7e0]>:first-child{margin-top:2.353rem}.relationships-list[data-v-4c67b8c7]{list-style:none}.relationships-list.column[data-v-4c67b8c7]{margin-left:0;margin-top:15px}.relationships-list.inline[data-v-4c67b8c7]{display:flex;flex-direction:row;flex-wrap:wrap;margin-top:15px;margin-left:0}.relationships-list.inline li[data-v-4c67b8c7]:not(:last-child):after{content:",\00a0"}.relationships-list.changed[data-v-4c67b8c7]{padding-right:1rem;padding-left:2.17647rem;padding-top:8px;padding-bottom:8px;display:inline-flex;width:100%;box-sizing:border-box}.relationships-list.changed.changed[data-v-4c67b8c7]{padding-right:1rem}@media only screen and (max-width:735px){.relationships-list.changed[data-v-4c67b8c7]{padding-left:0;padding-right:0}.relationships-list.changed.changed[data-v-4c67b8c7]{padding-right:17px;padding-left:2.17647rem}}@media only screen and (max-width:735px){.relationships-list.changed[data-v-4c67b8c7]{padding-left:0;padding-right:0}}.relationships-list.changed[data-v-4c67b8c7]:after{margin-top:.61765rem}.relationships-list.changed.column[data-v-4c67b8c7]{display:block;box-sizing:border-box}.relationships-item[data-v-4c67b8c7],.relationships-list[data-v-4c67b8c7]{box-sizing:inherit}.conditional-constraints[data-v-4c67b8c7]{font-size:.82353rem;margin:.17647rem 0 .58824rem 1.17647rem}.availability[data-v-602d8130]{display:flex;flex-flow:row wrap;gap:10px;margin-top:25px}.badge[data-v-602d8130]{margin:0}.technology[data-v-602d8130]{display:inline-flex;align-items:center}.tech-icon[data-v-602d8130]{height:12px;padding-right:5px;fill:var(--badge-color)}.theme-dark .tech-icon[data-v-602d8130]{fill:var(--badge-color)}.beta[data-v-602d8130]{color:var(--color-badge-beta)}.theme-dark .beta[data-v-602d8130]{color:var(--color-badge-dark-beta)}.deprecated[data-v-602d8130]{color:var(--color-badge-deprecated)}.theme-dark .deprecated[data-v-602d8130]{color:var(--color-badge-dark-deprecated)}.changed[data-v-602d8130]{padding-left:26px}.changed[data-v-602d8130]:after{content:none}.changed[data-v-602d8130]:before{background-image:url(../img/modified-icon.f496e73d.svg);background-repeat:no-repeat;bottom:0;content:" ";margin:auto;margin-right:8px;position:absolute;top:0;width:16px;height:16px;left:5px}@media screen{[data-color-scheme=dark] .changed[data-v-602d8130]:before{background-image:url(../img/modified-icon.f496e73d.svg)}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .changed[data-v-602d8130]:before{background-image:url(../img/modified-icon.f496e73d.svg)}}.theme-dark .changed[data-v-602d8130]:before{background-image:url(../img/modified-icon.f496e73d.svg)}.changed-added[data-v-602d8130]{border-color:var(--color-changes-added)}.changed-added[data-v-602d8130]:before{background-image:url(../img/added-icon.d6f7e47d.svg)}@media screen{[data-color-scheme=dark] .changed-added[data-v-602d8130]:before{background-image:url(../img/added-icon.d6f7e47d.svg)}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .changed-added[data-v-602d8130]:before{background-image:url(../img/added-icon.d6f7e47d.svg)}}.theme-dark .changed-added[data-v-602d8130]:before{background-image:url(../img/added-icon.d6f7e47d.svg)}.changed-deprecated[data-v-602d8130]{border-color:var(--color-changes-deprecated)}.changed-deprecated[data-v-602d8130]:before{background-image:url(../img/deprecated-icon.015b4f17.svg)}@media screen{[data-color-scheme=dark] .changed-deprecated[data-v-602d8130]:before{background-image:url(../img/deprecated-icon.015b4f17.svg)}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .changed-deprecated[data-v-602d8130]:before{background-image:url(../img/deprecated-icon.015b4f17.svg)}}.theme-dark .changed-deprecated[data-v-602d8130]:before{background-image:url(../img/deprecated-icon.015b4f17.svg)}.changed-modified[data-v-602d8130]{border-color:var(--color-changes-modified)}.eyebrow[data-v-4492c658]{font-size:1.23529rem;line-height:1.19048;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-documentation-intro-eyebrow,#ccc);display:block;margin-bottom:1.17647rem}@media only screen and (max-width:735px){.eyebrow[data-v-4492c658]{font-size:1.11765rem;line-height:1.21053;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.documentation-hero--disabled .eyebrow[data-v-4492c658]{color:var(--colors-secondary-label,var(--color-secondary-label))}.title[data-v-4492c658]{font-size:2.35294rem;line-height:1.1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-documentation-intro-title,#fff);margin-bottom:.70588rem}@media only screen and (max-width:1250px){.title[data-v-4492c658]{font-size:1.88235rem;line-height:1.125;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.title[data-v-4492c658]{font-size:1.64706rem;line-height:1.14286;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.documentation-hero--disabled .title[data-v-4492c658]{color:var(--colors-header-text,var(--color-header-text))}small[data-v-4492c658]{font-size:1.41176rem;line-height:1.16667;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);padding-left:10px}@media only screen and (max-width:1250px){small[data-v-4492c658]{font-size:1.23529rem;line-height:1.19048;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}small[data-v-4492c658]:before{content:attr(data-tag-name)}small.Beta[data-v-4492c658]{color:var(--color-badge-beta)}.theme-dark small.Beta[data-v-4492c658]{color:var(--color-badge-dark-beta)}small.Deprecated[data-v-4492c658]{color:var(--color-badge-deprecated)}.theme-dark small.Deprecated[data-v-4492c658]{color:var(--color-badge-dark-deprecated)}.OnThisPageStickyContainer[data-v-1b6d0048]{margin-top:2.353rem;position:sticky;top:3.82353rem;align-self:flex-start;flex:0 0 auto;width:192px;padding-right:1.29412rem;box-sizing:border-box;padding-bottom:var(--spacing-stacked-margin-small);max-height:calc(100vh - 3.82353rem);overflow:auto}@media print{.OnThisPageStickyContainer[data-v-1b6d0048]{display:none}}@media only screen and (max-width:735px){.OnThisPageStickyContainer[data-v-1b6d0048]{display:none}}.doc-topic[data-v-43c74ad0]{display:flex;flex-direction:column;height:100%}.doc-topic.with-on-this-page[data-v-43c74ad0]{--doc-hero-right-offset:192px}#main[data-v-43c74ad0]{outline-style:none;height:100%}[data-v-43c74ad0] .minimized-title{margin-bottom:.833rem}[data-v-43c74ad0] .minimized-title .title{font-size:1.416rem;font-weight:700}[data-v-43c74ad0] .minimized-title small{font-size:1rem;padding-left:.416rem}.minimized-abstract[data-v-43c74ad0]{font-size:1rem;line-height:1.47059;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.container[data-v-43c74ad0]:not(.minimized-container){outline-style:none}.full-width-container .container[data-v-43c74ad0]:not(.minimized-container){max-width:820px;margin-left:auto;margin-right:auto;padding-left:80px;padding-right:80px;box-sizing:border-box}@media print{.full-width-container .container[data-v-43c74ad0]:not(.minimized-container){padding-left:20px;padding-right:20px;max-width:none}}@media only screen and (min-width:1251px){.full-width-container .container[data-v-43c74ad0]:not(.minimized-container){max-width:980px}}@media only screen and (min-width:1500px){.full-width-container .container[data-v-43c74ad0]:not(.minimized-container){max-width:1080px}}@media only screen and (max-width:735px){.full-width-container .container[data-v-43c74ad0]:not(.minimized-container){width:auto;padding-left:20px;padding-right:20px}}.static-width-container .container[data-v-43c74ad0]:not(.minimized-container){margin-left:auto;margin-right:auto;width:980px}@media only screen and (max-width:1250px){.static-width-container .container[data-v-43c74ad0]:not(.minimized-container){width:692px}}@media only screen and (max-width:735px){.static-width-container .container[data-v-43c74ad0]:not(.minimized-container){width:87.5%}}@media only screen and (max-width:320px){.static-width-container .container[data-v-43c74ad0]:not(.minimized-container){width:215px}}[data-v-43c74ad0] .minimized-container{outline-style:none;--spacing-stacked-margin-large:0.667em;--spacing-stacked-margin-xlarge:1em;--declaration-code-listing-margin:1em 0 0 0;--declaration-conditional-constraints-margin:1em;--declaration-source-link-margin:0.833em;--code-block-style-elements-padding:7px 12px;--spacing-param:var(--spacing-stacked-margin-large);--aside-border-radius:6px;--code-border-radius:6px}[data-v-43c74ad0] .minimized-container .description{margin-bottom:1.5em}[data-v-43c74ad0] .minimized-container>.primary-content>*{margin-top:1.5em;margin-bottom:1.5em}[data-v-43c74ad0] .minimized-container .description{margin-top:0}[data-v-43c74ad0] .minimized-container h1,[data-v-43c74ad0] .minimized-container h2,[data-v-43c74ad0] .minimized-container h3,[data-v-43c74ad0] .minimized-container h4,[data-v-43c74ad0] .minimized-container h5,[data-v-43c74ad0] .minimized-container h6{font-size:1rem;font-weight:700}[data-v-43c74ad0] .minimized-container h2{font-size:1.083rem}[data-v-43c74ad0] .minimized-container h1{font-size:1.416rem}[data-v-43c74ad0] .minimized-container aside{padding:.667rem 1rem}[data-v-43c74ad0] .minimized-container .single-line,[data-v-43c74ad0] .minimized-container .source{border-radius:var(--code-border-radius)}.description[data-v-43c74ad0]{margin-bottom:2.353rem}.description[data-v-43c74ad0]:empty{display:none}.description.after-enhanced-hero[data-v-43c74ad0]{margin-top:2.353rem}.description[data-v-43c74ad0] .content+*{margin-top:var(--spacing-stacked-margin-large)}.full-width-container .doc-content .minimized-container[data-v-43c74ad0]{padding-left:1.4rem;padding-right:1.4rem}[data-v-43c74ad0] .no-primary-content{--content-table-title-border-width:0px}.sample-download[data-v-43c74ad0]{margin-top:20px}.declarations-container[data-v-43c74ad0]{margin-top:30px}.declarations-container.minimized-container[data-v-43c74ad0]{margin-top:0}[data-v-43c74ad0] h1{font-size:2.35294rem;line-height:1.1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){[data-v-43c74ad0] h1{font-size:1.88235rem;line-height:1.125;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){[data-v-43c74ad0] h1{font-size:1.64706rem;line-height:1.14286;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}[data-v-43c74ad0] h2{font-size:1.88235rem;line-height:1.125;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){[data-v-43c74ad0] h2{font-size:1.64706rem;line-height:1.14286;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){[data-v-43c74ad0] h2{font-size:1.41176rem;line-height:1.16667;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}[data-v-43c74ad0] h3{font-size:1.64706rem;line-height:1.14286;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){[data-v-43c74ad0] h3{font-size:1.41176rem;line-height:1.16667;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){[data-v-43c74ad0] h3{font-size:1.23529rem;line-height:1.19048;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}[data-v-43c74ad0] h4{font-size:1.41176rem;line-height:1.16667;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){[data-v-43c74ad0] h4{font-size:1.23529rem;line-height:1.19048;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}[data-v-43c74ad0] h5{font-size:1.29412rem;line-height:1.18182;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){[data-v-43c74ad0] h5{font-size:1.17647rem;line-height:1.2;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){[data-v-43c74ad0] h5{font-size:1.05882rem;line-height:1.44444;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}[data-v-43c74ad0] h6{font-size:1rem;line-height:1.47059;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.doc-content-wrapper[data-v-43c74ad0]{display:flex;justify-content:center}.doc-content-wrapper .doc-content[data-v-43c74ad0]{min-width:0;width:100%}.with-on-this-page .doc-content-wrapper .doc-content[data-v-43c74ad0]{max-width:820px}@media only screen and (min-width:1251px){.with-on-this-page .doc-content-wrapper .doc-content[data-v-43c74ad0]{max-width:980px}}@media only screen and (min-width:1500px){.with-on-this-page .doc-content-wrapper .doc-content[data-v-43c74ad0]{max-width:1080px}}.quick-navigation-open[data-v-53faf852]{display:flex;align-items:center;justify-content:center;width:16px;border:1px solid var(--color-grid);height:100%;border-radius:var(--border-radius,4px);transition:background-color .15s;box-sizing:border-box}.quick-navigation-open[data-v-53faf852]:hover{background-color:var(--color-fill-tertiary)}@media only screen and (max-width:1023px){.quick-navigation-open[data-v-53faf852]{display:none}}.fromkeyboard .quick-navigation-open[data-v-53faf852]:focus{box-shadow:0 0 0 4px var(--color-focus-color);outline:none;border-color:var(--color-focus-border-color)}.tag[data-v-7e76f326]{display:inline-block;padding-right:.58824rem}.tag[data-v-7e76f326]:focus{outline:none}.tag button[data-v-7e76f326]{color:var(--color-figure-gray);background-color:var(--color-fill-tertiary);font-size:.82353rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);border-radius:.82353rem;padding:.23529rem .58824rem;white-space:nowrap;border:1px solid transparent}@media (hover:hover){.tag button[data-v-7e76f326]:hover{transition:background-color .2s,color .2s;background-color:var(--color-fill-blue);color:#fff}}.tag button[data-v-7e76f326]:focus:active{background-color:var(--color-fill-blue);color:#fff}.fromkeyboard .tag button[data-v-7e76f326]:focus,.tag button.focus[data-v-7e76f326],.tag button[data-v-7e76f326]:focus{box-shadow:0 0 0 4px var(--color-focus-color);outline:none;border-color:var(--color-focus-border-color)}.tags[data-v-1f2bd813]{position:relative;margin:0;list-style:none;box-sizing:border-box;transition:padding-right .8s,padding-bottom .8s,max-height 1s,opacity 1s;padding:0}.tags .scroll-wrapper[data-v-1f2bd813]{overflow-x:auto;overflow-y:hidden;-ms-overflow-style:none;scrollbar-color:var(--color-figure-gray-tertiary) transparent;scrollbar-width:thin}.tags .scroll-wrapper[data-v-1f2bd813]::-webkit-scrollbar{height:0}@supports not ((-webkit-touch-callout:none) or (scrollbar-width:none) or (-ms-overflow-style:none)){.tags .scroll-wrapper.scrolling[data-v-1f2bd813]{--scrollbar-height:11px;padding-top:var(--scrollbar-height);height:calc(var(--scroll-target-height) - var(--scrollbar-height));display:flex;align-items:center}}.tags .scroll-wrapper.scrolling[data-v-1f2bd813]::-webkit-scrollbar{height:11px}.tags .scroll-wrapper.scrolling[data-v-1f2bd813]::-webkit-scrollbar-thumb{border-radius:10px;background-color:var(--color-figure-gray-tertiary);border:2px solid transparent;background-clip:padding-box}.tags .scroll-wrapper.scrolling[data-v-1f2bd813]::-webkit-scrollbar-track-piece:end{margin-right:8px}.tags .scroll-wrapper.scrolling[data-v-1f2bd813]::-webkit-scrollbar-track-piece:start{margin-left:8px}.tags ul[data-v-1f2bd813]{margin:0;padding:0;display:flex}.filter[data-v-3f01a546]{--input-vertical-padding:.76471rem;--input-horizontal-spacing:.58824rem;--input-height:1.64706rem;--input-border-color:var(--color-fill-gray-secondary);--input-text:var(--color-fill-gray-secondary);position:relative;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);border-radius:calc(var(--border-radius, 4px) + 1px)}.fromkeyboard .filter[data-v-3f01a546]:focus{outline:none}.filter__top-wrapper[data-v-3f01a546]{display:flex}.filter__filter-button[data-v-3f01a546]{position:relative;z-index:1;cursor:text;margin-left:var(--input-horizontal-spacing);margin-right:.17647rem}@media only screen and (max-width:735px){.filter__filter-button[data-v-3f01a546]{margin-right:.41176rem}}.filter__filter-button .svg-icon[data-v-3f01a546]{fill:var(--input-text);display:block;height:21px}.filter__filter-button.blue[data-v-3f01a546]>*{fill:var(--color-figure-blue);color:var(--color-figure-blue)}.filter.focus .filter__wrapper[data-v-3f01a546]{box-shadow:0 0 0 3pt var(--color-focus-color);--input-border-color:var(--color-fill-blue)}.filter__wrapper[data-v-3f01a546]{border:1px solid var(--input-border-color);background:var(--color-fill);border-radius:var(--border-radius,4px)}.filter__wrapper--reversed[data-v-3f01a546]{display:flex;flex-direction:column-reverse}.filter__wrapper--no-border-style[data-v-3f01a546]{border:none}.filter__suggested-tags[data-v-3f01a546]{border-top:1px solid var(--color-fill-gray-tertiary);z-index:1;overflow:hidden}.filter__suggested-tags[data-v-3f01a546] ul{padding:var(--input-vertical-padding) .52941rem;border:1px solid transparent;border-bottom-left-radius:calc(var(--border-radius, 4px) - 1px);border-bottom-right-radius:calc(var(--border-radius, 4px) - 1px)}.fromkeyboard .filter__suggested-tags[data-v-3f01a546] ul:focus{outline:none;box-shadow:0 0 0 5px var(--color-focus-color)}.filter__wrapper--reversed .filter__suggested-tags[data-v-3f01a546]{border-bottom:1px solid var(--color-fill-gray-tertiary);border-top:none}.filter__selected-tags[data-v-3f01a546]{z-index:1;padding-left:4px;margin:-4px 0}@media only screen and (max-width:735px){.filter__selected-tags[data-v-3f01a546]{padding-left:0}}.filter__selected-tags[data-v-3f01a546] ul{padding:4px}@media only screen and (max-width:735px){.filter__selected-tags[data-v-3f01a546] ul{padding-right:.41176rem}}.filter__selected-tags[data-v-3f01a546] ul .tag:last-child{padding-right:0}.filter__delete-button[data-v-3f01a546]{position:relative;margin:0;z-index:1;border-radius:100%}.fromkeyboard .filter__delete-button[data-v-3f01a546]:focus{box-shadow:0 0 0 4px var(--color-focus-color);outline:none}.filter__delete-button .clear-rounded-icon[data-v-3f01a546]{height:.70588rem;width:.70588rem;fill:var(--input-text);display:block}.filter__delete-button-wrapper[data-v-3f01a546]{display:flex;align-items:center;padding-right:var(--input-horizontal-spacing);padding-left:.17647rem;border-top-right-radius:var(--border-radius,4px);border-bottom-right-radius:var(--border-radius,4px)}.filter__input-label[data-v-3f01a546]{position:relative;flex-grow:1;height:var(--input-height);padding:var(--input-vertical-padding) 0}.filter__input-label[data-v-3f01a546]:after{content:attr(data-value);visibility:hidden;width:auto;white-space:nowrap;min-width:130px;display:block;text-indent:.41176rem}@media only screen and (max-width:735px){.filter__input-label[data-v-3f01a546]:after{text-indent:.17647rem}}.filter__input-box-wrapper[data-v-3f01a546]{overflow-y:hidden;-ms-overflow-style:none;scrollbar-color:var(--color-figure-gray-tertiary) transparent;scrollbar-width:thin;display:flex;overflow-x:auto;align-items:center;cursor:text;flex:1}.filter__input-box-wrapper[data-v-3f01a546]::-webkit-scrollbar{height:0}@supports not ((-webkit-touch-callout:none) or (scrollbar-width:none) or (-ms-overflow-style:none)){.filter__input-box-wrapper.scrolling[data-v-3f01a546]{--scrollbar-height:11px;padding-top:var(--scrollbar-height);height:calc(var(--scroll-target-height) - var(--scrollbar-height));display:flex;align-items:center}}.filter__input-box-wrapper.scrolling[data-v-3f01a546]::-webkit-scrollbar{height:11px}.filter__input-box-wrapper.scrolling[data-v-3f01a546]::-webkit-scrollbar-thumb{border-radius:10px;background-color:var(--color-figure-gray-tertiary);border:2px solid transparent;background-clip:padding-box}.filter__input-box-wrapper.scrolling[data-v-3f01a546]::-webkit-scrollbar-track-piece:end{margin-right:8px}.filter__input-box-wrapper.scrolling[data-v-3f01a546]::-webkit-scrollbar-track-piece:start{margin-left:8px}.filter__input[data-v-3f01a546]{font-size:1.23529rem;line-height:1.38095;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-text);height:var(--input-height);border:none;width:100%;position:absolute;background:transparent;z-index:1;text-indent:.41176rem}@media only screen and (max-width:735px){.filter__input[data-v-3f01a546]{font-size:1.11765rem;line-height:1.42105;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);text-indent:.17647rem}}.filter__input[data-v-3f01a546]:focus{outline:none}.filter__input[placeholder][data-v-3f01a546]::-moz-placeholder{color:var(--input-text);opacity:1}.filter__input[placeholder][data-v-3f01a546]::placeholder{color:var(--input-text);opacity:1}.filter__input[placeholder][data-v-3f01a546]:-ms-input-placeholder{color:var(--input-text)}.filter__input[placeholder][data-v-3f01a546]::-ms-input-placeholder{color:var(--input-text)}.highlight[data-v-1c4190f0]{display:inline}.highlight[data-v-1c4190f0] .match{font-weight:600;background:var(--color-fill-light-blue-secondary)}@media only screen and (max-width:735px){.preview[data-v-6fb5ba95]{display:none}}.unavailable[data-v-6fb5ba95]{align-items:center;display:flex;height:100%;justify-content:center}.loading[data-v-6fb5ba95]{padding:20px}.loading-row[data-v-6fb5ba95]{-webkit-animation:pulse 2.5s ease;animation:pulse 2.5s ease;-webkit-animation-delay:calc(1s + 0.3s*var(--index));animation-delay:calc(1s + 0.3s*var(--index));-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;background-color:var(--color-fill-gray-tertiary);border-radius:4px;height:12px;margin:20px 0;opacity:0}.loading-row[data-v-6fb5ba95]:first-of-type{margin-top:0}.loading-row[data-v-6fb5ba95]:last-of-type{margin-bottom:0}.quick-navigation[data-v-71686791]{--input-border-color:var(--color-grid)}.quick-navigation input[type=text][data-v-71686791]{font-size:1.23529rem;line-height:1.38095;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:735px){.quick-navigation input[type=text][data-v-71686791]{font-size:1.11765rem;line-height:1.42105;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.quick-navigation__filter[data-v-71686791]{--input-horizontal-spacing:.88235rem}.quick-navigation[data-v-71686791] .filter__wrapper{background-color:var(--color-fill-secondary)}.quick-navigation__container[data-v-71686791]{background-color:var(--color-fill-secondary);border:solid 1px var(--input-border-color);border-radius:var(--border-radius,4px);margin:0 .94118rem}.quick-navigation__container>[data-v-71686791]{--input-text:var(--color-figure-gray-secondary)}.quick-navigation__container.focus[data-v-71686791]{box-shadow:0 0 0 4px var(--color-focus-color);outline:none;border-color:var(--color-focus-border-color)}.quick-navigation__magnifier-icon-container[data-v-71686791]{width:1rem}.quick-navigation__magnifier-icon-container>[data-v-71686791]{width:100%}.quick-navigation__magnifier-icon-container.blue .magnifier-icon[data-v-71686791]{fill:var(--color-figure-blue);color:var(--color-figure-blue)}.quick-navigation__match-list[data-v-71686791]{display:flex;max-height:26.47059rem;height:0}.quick-navigation__match-list>[data-v-71686791]{min-width:0}.quick-navigation__match-list.active[data-v-71686791]{height:auto;border-top:1px solid var(--input-border-color)}.quick-navigation__match-list .no-results[data-v-71686791]{margin:.88235rem auto;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.quick-navigation__match-list .selected[data-v-71686791]{background-color:var(--color-navigator-item-hover)}.quick-navigation__refs[data-v-71686791]{flex:1;overflow:auto}.quick-navigation__preview[data-v-71686791]{border-left:1px solid var(--color-grid);flex:0 0 61.8%;overflow:auto;position:sticky;top:0}.quick-navigation__reference[data-v-71686791]:hover{text-decoration:none}.quick-navigation__symbol-match[data-v-71686791]{display:flex;height:2.35294rem;padding:.58824rem .88235rem;color:var(--color-figure-gray)}.quick-navigation__symbol-match[data-v-71686791]:hover{background-color:var(--color-navigator-item-hover)}.quick-navigation__symbol-match .symbol-info[data-v-71686791]{margin:auto;width:100%}.quick-navigation__symbol-match .symbol-info .navigator-icon[data-v-71686791]{margin-right:.58824rem}.quick-navigation__symbol-match .symbol-info .symbol-name[data-v-71686791]{display:flex}.quick-navigation__symbol-match .symbol-info .symbol-name .symbol-title[data-v-71686791]{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.quick-navigation__symbol-match .symbol-info .symbol-path[data-v-71686791]{font-size:.82353rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-figure-gray-secondary);display:flex;margin-left:1.58824rem;overflow:hidden;white-space:nowrap}.quick-navigation__symbol-match .symbol-info .symbol-path .parent-path[data-v-71686791]{padding-right:.29412rem}@media print{.sidebar[data-v-f3c6416c]{display:none}}.adjustable-sidebar-width[data-v-f3c6416c]{display:flex}@media only screen and (max-width:1023px){.adjustable-sidebar-width[data-v-f3c6416c]{display:block;position:relative}}.adjustable-sidebar-width.dragging[data-v-f3c6416c] *{cursor:col-resize!important}.adjustable-sidebar-width.sidebar-hidden.dragging[data-v-f3c6416c] *{cursor:e-resize!important}.sidebar[data-v-f3c6416c]{position:relative}@media only screen and (max-width:1023px){.sidebar[data-v-f3c6416c]{position:static}}.aside[data-v-f3c6416c]{width:250px;position:relative;height:100%;max-width:100vw}.aside.no-transition[data-v-f3c6416c]{transition:none!important}@media only screen and (min-width:1024px){.aside[data-v-f3c6416c]{transition:width .3s ease-in,visibility 0s linear var(--visibility-transition-time,0s)}.aside.dragging[data-v-f3c6416c]:not(.is-opening-on-large):not(.hide-on-large){transition:none}.aside.hide-on-large[data-v-f3c6416c]{width:0!important;visibility:hidden;pointer-events:none;--visibility-transition-time:.3s}}@media only screen and (max-width:1023px){.aside[data-v-f3c6416c]{width:100%!important;overflow:hidden;min-width:0;max-width:100%;height:calc(var(--app-height) - var(--top-offset-mobile));position:fixed;top:var(--top-offset-mobile);bottom:0;z-index:9998;transform:translateX(-100%);transition:transform .15s ease-in;left:0}.aside[data-v-f3c6416c] .aside-animated-child{opacity:0}.aside.show-on-mobile[data-v-f3c6416c]{transform:translateX(0)}.aside.show-on-mobile[data-v-f3c6416c] .aside-animated-child{--index:0;opacity:1;transition:opacity .15s linear;transition-delay:calc(var(--index)*0.15s + .15s)}.aside.has-mobile-top-offset[data-v-f3c6416c]{border-top:1px solid var(--color-fill-gray-tertiary)}}.content[data-v-f3c6416c]{display:flex;flex-flow:column;min-width:0;flex:1 1 auto;height:100%}.resize-handle[data-v-f3c6416c]{position:absolute;cursor:col-resize;top:0;bottom:0;right:0;width:5px;height:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;z-index:1;transition:background-color .15s;transform:translateX(50%)}@media only screen and (max-width:1023px){.resize-handle[data-v-f3c6416c]{display:none}}.resize-handle[data-v-f3c6416c]:hover{background:var(--color-fill-gray-tertiary)}.navigator-card-item[data-v-0b9fe514]{--nav-head-wrapper-left-space:10px;--nav-head-wrapper-right-space:20px;--head-wrapper-vertical-space:5px;--nav-depth-spacer:25px;--nesting-index:0;display:flex;align-items:stretch;min-height:32px;box-sizing:border-box}.fromkeyboard .navigator-card-item[data-v-0b9fe514]:focus-within{outline:4px solid var(--color-focus-color);outline-offset:-4px}.navigator-card-item.active[data-v-0b9fe514]{background:var(--color-fill-gray-quaternary)}.hover .navigator-card-item[data-v-0b9fe514]:not(.is-group){background:var(--color-navigator-item-hover)}.depth-spacer[data-v-0b9fe514]{width:calc(var(--nesting-index)*15px + var(--nav-depth-spacer));height:100%;position:relative;flex:0 0 auto}.title-container[data-v-0b9fe514]{width:100%;min-width:0;display:flex;align-items:center}.navigator-icon-wrapper[data-v-0b9fe514]{margin-right:7px}.head-wrapper[data-v-0b9fe514]{padding:var(--head-wrapper-vertical-space) var(--nav-head-wrapper-right-space) var(--head-wrapper-vertical-space) var(--nav-head-wrapper-left-space);position:relative;display:flex;align-items:center;flex:1;min-width:0}@supports (padding:max(0px)){.head-wrapper[data-v-0b9fe514]{padding-left:max(var(--nav-head-wrapper-left-space),env(safe-area-inset-left));padding-right:max(var(--nav-head-wrapper-right-space),env(safe-area-inset-right))}}.highlight[data-v-d75876e2]{display:inline}.highlight[data-v-d75876e2] .match{font-weight:600;background:var(--color-fill-light-blue-secondary)}.is-group .leaf-link[data-v-0c96ff75]{color:var(--color-figure-gray-secondary);font-weight:600}.is-group .leaf-link[data-v-0c96ff75]:after{display:none}.navigator-icon[data-v-0c96ff75]{display:flex;flex:0 0 auto}.navigator-icon.changed[data-v-0c96ff75]{border:none;width:1em;height:1em;z-index:0}.navigator-icon.changed[data-v-0c96ff75]:after{top:50%;left:50%;right:auto;bottom:auto;transform:translate(-50%,-50%);background-image:url(../img/modified-icon.f496e73d.svg);margin:0}@media screen{[data-color-scheme=dark] .navigator-icon.changed[data-v-0c96ff75]:after{background-image:url(../img/modified-icon.f496e73d.svg)}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .navigator-icon.changed[data-v-0c96ff75]:after{background-image:url(../img/modified-icon.f496e73d.svg)}}.navigator-icon.changed-added[data-v-0c96ff75]:after{background-image:url(../img/added-icon.d6f7e47d.svg)}@media screen{[data-color-scheme=dark] .navigator-icon.changed-added[data-v-0c96ff75]:after{background-image:url(../img/added-icon.d6f7e47d.svg)}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .navigator-icon.changed-added[data-v-0c96ff75]:after{background-image:url(../img/added-icon.d6f7e47d.svg)}}.navigator-icon.changed-deprecated[data-v-0c96ff75]:after{background-image:url(../img/deprecated-icon.015b4f17.svg)}@media screen{[data-color-scheme=dark] .navigator-icon.changed-deprecated[data-v-0c96ff75]:after{background-image:url(../img/deprecated-icon.015b4f17.svg)}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .navigator-icon.changed-deprecated[data-v-0c96ff75]:after{background-image:url(../img/deprecated-icon.015b4f17.svg)}}.leaf-link[data-v-0c96ff75]{color:var(--color-figure-gray);text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:100%;display:inline;vertical-align:middle;font-size:.82353rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.fromkeyboard .leaf-link[data-v-0c96ff75]:focus{outline:none}.leaf-link[data-v-0c96ff75]:hover{text-decoration:none}.leaf-link.bolded[data-v-0c96ff75]{font-weight:600}.leaf-link[data-v-0c96ff75]:after{content:"";position:absolute;top:0;left:0;right:0;bottom:0}.extended-content[data-v-0c96ff75]{font-size:.82353rem;line-height:1.42857;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-figure-gray-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tree-toggle[data-v-0c96ff75]{overflow:hidden;position:absolute;width:100%;height:100%;padding-right:5px;box-sizing:border-box;z-index:1;display:flex;align-items:center;justify-content:flex-end}.chevron[data-v-0c96ff75]{width:10px}.chevron.animating[data-v-0c96ff75]{transition:transform .15s ease-in}.chevron.rotate[data-v-0c96ff75]{transform:rotate(90deg)}.navigator-card[data-v-24789ed0]{--card-vertical-spacing:8px;--card-horizontal-spacing:20px;--nav-filter-horizontal-padding:20px;--visibility-delay:1s;display:flex;flex-direction:column;min-height:0;height:calc(var(--app-height) - var(--nav-height, 0px));position:sticky;top:var(--nav-height,0)}@media only screen and (max-width:1023px){.navigator-card[data-v-24789ed0]{height:100%;position:static;background:var(--color-fill)}}.navigator-card .navigator-card-full-height[data-v-24789ed0]{min-height:0;flex:1 1 auto}.navigator-card .head-inner[data-v-24789ed0]{overflow:hidden}.navigator-card .head-wrapper[data-v-24789ed0]{position:relative;flex:1 0 auto}.navigator-card .navigator-head[data-v-24789ed0]{--navigator-head-padding-right:calc(var(--card-horizontal-spacing)*2 + 19px);padding:0 var(--navigator-head-padding-right) 0 var(--card-horizontal-spacing);background:var(--color-fill);border-bottom:1px solid var(--color-grid);display:flex;align-items:center;height:3.05882rem;white-space:nowrap}.navigator-card .navigator-head .card-link[data-v-24789ed0]{color:var(--color-text);font-size:.82353rem;line-height:1.42857;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);font-weight:600;overflow:hidden;text-overflow:ellipsis}.navigator-card .navigator-head .badge[data-v-24789ed0]{margin-top:0}.navigator-card .navigator-head.router-link-exact-active[data-v-24789ed0]{background:var(--color-fill)}.navigator-card .navigator-head.router-link-exact-active .card-link[data-v-24789ed0]{font-weight:700}.navigator-card .navigator-head[data-v-24789ed0]:hover{background:var(--color-navigator-item-hover);text-decoration:none}@supports (padding:max(0px)){.navigator-card .navigator-head[data-v-24789ed0]{padding-left:max(var(--card-horizontal-spacing),env(safe-area-inset-left));padding-right:max(var(--navigator-head-padding-right),env(safe-area-inset-right))}}@media only screen and (max-width:1023px){.navigator-card .navigator-head[data-v-24789ed0]{justify-content:center;--navigator-head-padding-right:var(--card-horizontal-spacing)}}@media only screen and (max-width:767px){.navigator-card .navigator-head[data-v-24789ed0]{height:2.82353rem;padding:0 20px}}.close-card[data-v-24789ed0]{display:flex;position:absolute;z-index:1;align-items:center;justify-content:center;right:1rem;padding:5px;margin-left:-5px;top:calc(50% - 14px);transition:transform .3s ease-in 0s,visibility 0s}@media only screen and (max-width:1023px){.close-card[data-v-24789ed0]{right:unset;top:0;left:0;margin:0;padding:0 1.29412rem 0 20px;height:100%}@supports (padding:max(0px)){.close-card[data-v-24789ed0]{padding-left:max(1.29412rem,env(safe-area-inset-left))}}}@media only screen and (max-width:767px){.close-card[data-v-24789ed0]{padding-left:.94118rem;padding-right:.94118rem}@supports (padding:max(0px)){.close-card[data-v-24789ed0]{padding-left:max(.94118rem,env(safe-area-inset-left))}}}.close-card .close-icon[data-v-24789ed0]{width:19px;height:19px}@media only screen and (min-width:1024px){.close-card.hide-on-large[data-v-24789ed0]{display:none}.close-card[data-v-24789ed0]:hover{border-radius:var(--border-radius,4px);background:var(--color-fill-gray-quaternary)}.sidebar-hidden .close-card[data-v-24789ed0]{transition:transform .3s ease-in 0s,visibility 0s linear .3s;visibility:hidden;transform:translateX(3.76471rem)}}[data-v-24789ed0] .card-body{padding-right:0;flex:1 1 auto;min-height:0;height:100%}@media only screen and (max-width:1023px){[data-v-24789ed0] .card-body{--card-vertical-spacing:0px}}.navigator-card-inner[data-v-24789ed0]{display:flex;flex-flow:column;height:100%}.vue-recycle-scroller{position:relative}.vue-recycle-scroller.direction-vertical:not(.page-mode){overflow-y:auto}.vue-recycle-scroller.direction-horizontal:not(.page-mode){overflow-x:auto}.vue-recycle-scroller.direction-horizontal{display:-webkit-box;display:-ms-flexbox;display:flex}.vue-recycle-scroller__slot{-webkit-box-flex:1;-ms-flex:auto 0 0px;flex:auto 0 0}.vue-recycle-scroller__item-wrapper{-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;position:relative}.vue-recycle-scroller.ready .vue-recycle-scroller__item-view{position:absolute;top:0;left:0;will-change:transform}.vue-recycle-scroller.direction-vertical .vue-recycle-scroller__item-wrapper{width:100%}.vue-recycle-scroller.direction-horizontal .vue-recycle-scroller__item-wrapper{height:100%}.vue-recycle-scroller.ready.direction-vertical .vue-recycle-scroller__item-view{width:100%}.vue-recycle-scroller.ready.direction-horizontal .vue-recycle-scroller__item-view{height:100%}.resize-observer[data-v-b329ee4c]{border:none;background-color:transparent;opacity:0}.resize-observer[data-v-b329ee4c],.resize-observer[data-v-b329ee4c] object{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;pointer-events:none;display:block;overflow:hidden}.navigator-card.filter-on-top .filter-wrapper[data-v-1543892a]{order:1;position:static}.navigator-card.filter-on-top .card-body[data-v-1543892a]{order:2}.no-items-wrapper[data-v-1543892a]{overflow:hidden;color:var(--color-figure-gray-tertiary)}.no-items-wrapper .no-items[data-v-1543892a]{font-size:.82353rem;line-height:1.42857;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);padding:var(--card-vertical-spacing) var(--card-horizontal-spacing);min-width:200px;box-sizing:border-box}.navigator-filter[data-v-1543892a]{box-sizing:border-box;padding:15px var(--nav-filter-horizontal-padding);border-top:1px solid var(--color-grid);height:71px;display:flex;align-items:flex-end}.filter-on-top .navigator-filter[data-v-1543892a]{border-top:none;align-items:flex-start}@supports (padding:max(0px)){.navigator-filter[data-v-1543892a]{padding-left:max(var(--nav-filter-horizontal-padding),env(safe-area-inset-left));padding-right:max(var(--nav-filter-horizontal-padding),env(safe-area-inset-right))}}@media only screen and (max-width:1023px){.navigator-filter[data-v-1543892a]{--nav-filter-horizontal-padding:20px;border:none;padding-top:10px;padding-bottom:10px;height:60px}}.navigator-filter .input-wrapper[data-v-1543892a]{position:relative;flex:1;min-width:0}.navigator-filter .filter-component[data-v-1543892a]{--input-vertical-padding:8px;--input-height:22px;--input-border-color:var(--color-grid);--input-text:var(--color-figure-gray-secondary)}.navigator-filter .filter-component[data-v-1543892a] .filter__input{font-size:1rem;line-height:1.47059;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.scroller[data-v-1543892a]{height:100%;box-sizing:border-box;padding:var(--card-vertical-spacing) 0;padding-bottom:calc(var(--top-offset, 0px) + var(--card-vertical-spacing));transition:padding-bottom .15s ease-in}@media only screen and (max-width:1023px){.scroller[data-v-1543892a]{padding-bottom:10em}}.scroller[data-v-1543892a] .vue-recycle-scroller__item-wrapper{transform:translateZ(0)}.filter-wrapper[data-v-1543892a]{position:sticky;bottom:0;background:var(--color-fill)}.sidebar-transitioning .filter-wrapper[data-v-1543892a]{flex:1 0 71px;overflow:hidden}@media only screen and (max-width:1023px){.sidebar-transitioning .filter-wrapper[data-v-1543892a]{flex-basis:60px}}.loader[data-v-0de29914]{height:.70588rem;background-color:var(--color-fill-gray-tertiary);border-radius:4px}.navigator-icon[data-v-0de29914]{width:16px;height:16px;border-radius:2px;background-color:var(--color-fill-gray-tertiary)}.loading-navigator-item[data-v-0de29914]{-webkit-animation:pulse 2.5s ease;animation:pulse 2.5s ease;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;opacity:0;-webkit-animation-delay:calc(var(--visibility-delay) + 0.3s*var(--index));animation-delay:calc(var(--visibility-delay) + 0.3s*var(--index))}.delay-visibility-enter-active[data-v-4b6d345f]{transition:visibility var(--visibility-delay);visibility:hidden}.loading-navigator[data-v-4b6d345f]{padding-top:var(--card-vertical-spacing)}.navigator[data-v-159b9764]{height:100%;display:flex;flex-flow:column}@media only screen and (max-width:1023px){.navigator[data-v-159b9764]{position:static;transition:none}}.hierarchy-collapsed-items[data-v-74906830]{position:relative;display:inline-flex;align-items:center;margin-left:.17647rem}.hierarchy-collapsed-items .hierarchy-item-icon[data-v-74906830]{width:9px;height:15px;margin-right:.17647rem;display:flex;justify-content:center;font-size:1em;align-self:baseline}.nav--in-breakpoint-range .hierarchy-collapsed-items[data-v-74906830]{display:none}.hierarchy-collapsed-items .toggle[data-v-74906830]{background:var(--color-nav-hierarchy-collapse-background);border-color:var(--color-nav-hierarchy-collapse-borders);border-radius:var(--border-radius,4px);border-style:solid;border-width:0;font-weight:600;height:1.11765rem;text-align:center;width:2.11765rem;display:flex;align-items:center;justify-content:center}.theme-dark .hierarchy-collapsed-items .toggle[data-v-74906830]{background:var(--color-nav-dark-hierarchy-collapse-background)}.hierarchy-collapsed-items .toggle.focused[data-v-74906830],.hierarchy-collapsed-items .toggle[data-v-74906830]:active,.hierarchy-collapsed-items .toggle[data-v-74906830]:focus{box-shadow:0 0 0 4px var(--color-focus-color);outline:none}.indicator[data-v-74906830]{width:1em;height:1em;display:flex;align-items:center}.indicator .toggle-icon[data-v-74906830]{width:100%}.dropdown[data-v-74906830]{background:var(--color-nav-hierarchy-collapse-background);border-color:var(--color-nav-hierarchy-collapse-borders);border-radius:var(--border-radius,4px);border-style:solid;box-shadow:0 1px 4px -1px var(--color-figure-gray-secondary);border-width:0;padding:0 .5rem;position:absolute;z-index:42;top:calc(100% + .41176rem)}.theme-dark .dropdown[data-v-74906830]{background:var(--color-nav-dark-hierarchy-collapse-background);border-color:var(--color-nav-dark-hierarchy-collapse-borders)}.dropdown.collapsed[data-v-74906830]{opacity:0;transform:translate3d(0,-.41176rem,0);transition:opacity .25s ease,transform .25s ease,visibility 0s linear .25s;visibility:hidden}.dropdown[data-v-74906830]:not(.collapsed){opacity:1;transform:none;transition:opacity .25s ease,transform .25s ease,visibility 0s linear 0s;visibility:visible}.nav--in-breakpoint-range .dropdown[data-v-74906830]:not(.collapsed){display:none}.dropdown[data-v-74906830]:before{border-bottom-color:var(--color-nav-hierarchy-collapse-background);border-bottom-style:solid;border-bottom-width:.5rem;border-left-color:transparent;border-left-style:solid;border-left-width:.5rem;border-right-color:transparent;border-right-style:solid;border-right-width:.5rem;content:"";left:1.26471rem;position:absolute;top:-.44118rem}.theme-dark .dropdown[data-v-74906830]:before{border-bottom-color:var(--color-nav-dark-hierarchy-collapse-background)}.dropdown-item[data-v-74906830]{border-top-color:var(--color-nav-hierarchy-collapse-borders);border-top-style:solid;border-top-width:1px}.theme-dark .dropdown-item[data-v-74906830]{border-top-color:var(--color-nav-dark-hierarchy-collapse-borders)}.dropdown-item[data-v-74906830]:first-child{border-top:none}.nav-menu-link[data-v-74906830]{max-width:57.64706rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;padding:.75rem 1rem}.hierarchy-item[data-v-382bf39e]{display:flex;align-items:center;margin-left:.17647rem}.hierarchy-item[data-v-382bf39e] .hierarchy-item-icon{width:9px;height:15px;margin-right:.17647rem;display:flex;justify-content:center;font-size:1em;align-self:baseline}.nav--in-breakpoint-range .hierarchy-item[data-v-382bf39e] .hierarchy-item-icon{display:none}.nav--in-breakpoint-range .hierarchy-item[data-v-382bf39e]{border-top:1px solid var(--color-nav-hierarchy-item-borders);display:flex;align-items:center}.theme-dark.nav--in-breakpoint-range .hierarchy-item[data-v-382bf39e]{border-top-color:var(--color-nav-dark-hierarchy-item-borders)}.nav--in-breakpoint-range .hierarchy-item[data-v-382bf39e]:first-of-type{border-top:none}.hierarchy-item.collapsed[data-v-382bf39e]{display:none}.nav--in-breakpoint-range .hierarchy-item.collapsed[data-v-382bf39e]{display:inline-block}.item[data-v-382bf39e]{display:inline-block;vertical-align:middle}.nav--in-breakpoint-range .item[data-v-382bf39e]{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;height:100%;line-height:2.47059rem}@media only screen and (min-width:768px){.hierarchy-item:first-child:last-child .item[data-v-382bf39e],.hierarchy-item:first-child:last-child~.hierarchy-item .item[data-v-382bf39e]{max-width:45rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.has-badge .hierarchy-item:first-child:last-child .item[data-v-382bf39e],.has-badge .hierarchy-item:first-child:last-child~.hierarchy-item .item[data-v-382bf39e],.hierarchy-item:first-child:nth-last-child(2) .item[data-v-382bf39e],.hierarchy-item:first-child:nth-last-child(2)~.hierarchy-item .item[data-v-382bf39e]{max-width:36rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.has-badge .hierarchy-item:first-child:nth-last-child(2) .item[data-v-382bf39e],.has-badge .hierarchy-item:first-child:nth-last-child(2)~.hierarchy-item .item[data-v-382bf39e]{max-width:28.8rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hierarchy-item:first-child:nth-last-child(3) .item[data-v-382bf39e],.hierarchy-item:first-child:nth-last-child(3)~.hierarchy-item .item[data-v-382bf39e]{max-width:27rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.has-badge .hierarchy-item:first-child:nth-last-child(3) .item[data-v-382bf39e],.has-badge .hierarchy-item:first-child:nth-last-child(3)~.hierarchy-item .item[data-v-382bf39e]{max-width:21.6rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hierarchy-item:first-child:nth-last-child(4) .item[data-v-382bf39e],.hierarchy-item:first-child:nth-last-child(4)~.hierarchy-item .item[data-v-382bf39e]{max-width:18rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.has-badge .hierarchy-item:first-child:nth-last-child(4) .item[data-v-382bf39e],.has-badge .hierarchy-item:first-child:nth-last-child(4)~.hierarchy-item .item[data-v-382bf39e]{max-width:14.4rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hierarchy-item:first-child:nth-last-child(5) .item[data-v-382bf39e],.hierarchy-item:first-child:nth-last-child(5)~.hierarchy-item .item[data-v-382bf39e]{max-width:9rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.has-badge .hierarchy-item:first-child:nth-last-child(5) .item[data-v-382bf39e],.has-badge .hierarchy-item:first-child:nth-last-child(5)~.hierarchy-item .item[data-v-382bf39e]{max-width:7.2rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hierarchy-collapsed-items~.hierarchy-item .item[data-v-382bf39e]{max-width:10.8rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hierarchy-collapsed-items~.hierarchy-item:last-child .item[data-v-382bf39e]{max-width:none}.has-badge .hierarchy-collapsed-items~.hierarchy-item .item[data-v-382bf39e]{max-width:8.64rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}.hierarchy[data-v-c2bd6086]{justify-content:flex-start;min-width:0;margin-right:80px}.nav--in-breakpoint-range .hierarchy[data-v-c2bd6086]{margin-right:0}.hierarchy .root-hierarchy .item[data-v-c2bd6086]{max-width:10rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nav-menu-setting-label[data-v-d12167e0]{margin-right:.35294rem;white-space:nowrap}.language-container[data-v-d12167e0]{flex:1 0 auto}.language-dropdown[data-v-d12167e0]{-webkit-text-size-adjust:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background-color:transparent;box-sizing:inherit;padding:0 11px 0 4px;margin-left:-4px;font-size:.82353rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);cursor:pointer;position:relative;z-index:1}@media only screen and (max-width:1023px){.language-dropdown[data-v-d12167e0]{font-size:.82353rem;line-height:1.5;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.language-dropdown[data-v-d12167e0]:focus{outline:none}.fromkeyboard .language-dropdown[data-v-d12167e0]:focus{outline:4px solid var(--color-focus-color);outline-offset:1px}.language-sizer[data-v-d12167e0]{position:absolute;opacity:0;pointer-events:none;padding:0}.language-toggle-container[data-v-d12167e0]{display:flex;align-items:center;padding-right:.17647rem;position:relative}.nav--in-breakpoint-range .language-toggle-container[data-v-d12167e0]{display:none}.language-toggle-container .toggle-icon[data-v-d12167e0]{width:.6em;height:.6em;position:absolute;right:7px}.language-toggle-label[data-v-d12167e0]{margin-right:2px}.language-toggle.nav-menu-toggle-label[data-v-d12167e0]{margin-right:6px}.language-list[data-v-d12167e0]{display:inline-block;margin-top:0}.language-list-container[data-v-d12167e0]{display:none}.language-list-item[data-v-d12167e0],.nav--in-breakpoint-range .language-list-container[data-v-d12167e0]{display:inline-block}.language-list-item[data-v-d12167e0]:not(:first-child){border-left:1px solid #424242;margin-left:6px;padding-left:6px}[data-v-138d523a] .nav-menu{line-height:1.5}[data-v-138d523a] .nav-menu,[data-v-138d523a] .nav-menu-settings{font-size:.82353rem;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}[data-v-138d523a] .nav-menu-settings{min-width:0;line-height:1.28571}@media only screen and (max-width:1023px){[data-v-138d523a] .nav-menu-settings{font-size:.82353rem;line-height:1.5;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (min-width:1024px){[data-v-138d523a] .nav-menu-settings{margin-left:.58824rem}}.nav--in-breakpoint-range[data-v-138d523a] .nav-menu-settings:not([data-previous-menu-children-count="0"]) .nav-menu-setting:first-child{border-top:1px solid #b0b0b0;display:flex;align-items:center}[data-v-138d523a] .nav-menu-settings .nav-menu-setting{display:flex;align-items:center;color:var(--color-nav-current-link);margin-left:0;min-width:0}[data-v-138d523a] .nav-menu-settings .nav-menu-setting:first-child:not(:only-child){margin-right:.58824rem}.nav--in-breakpoint-range[data-v-138d523a] .nav-menu-settings .nav-menu-setting:first-child:not(:only-child){margin-right:0}.theme-dark[data-v-138d523a] .nav-menu-settings .nav-menu-setting{color:var(--color-nav-dark-current-link)}.nav--in-breakpoint-range[data-v-138d523a] .nav-menu-settings .nav-menu-setting:not(:first-child){border-top:1px solid #424242}.documentation-nav[data-v-138d523a] .nav-title{font-size:.82353rem;line-height:1.5;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.documentation-nav[data-v-138d523a] .nav-title .nav-title-link.inactive{height:auto;color:var(--color-figure-gray-secondary-alt)}.theme-dark.documentation-nav .nav-title .nav-title-link.inactive[data-v-138d523a]{color:#b0b0b0}.sidenav-toggle-wrapper[data-v-138d523a]{display:flex;margin-top:1px}.nav--in-breakpoint-range .sidenav-toggle-wrapper[data-v-138d523a]{display:flex!important}@media only screen and (min-width:1024px){.sidenav-toggle-enter-active[data-v-138d523a],.sidenav-toggle-leave-active[data-v-138d523a]{transition:margin .3s ease-in 0s}.sidenav-toggle-enter[data-v-138d523a],.sidenav-toggle-leave-to[data-v-138d523a]{margin-left:-3.76471rem}}.sidenav-toggle[data-v-138d523a]{align-self:center;color:var(--color-nav-link-color);position:relative;margin:-5px}.theme-dark .sidenav-toggle[data-v-138d523a]{color:var(--color-nav-dark-link-color)}.sidenav-toggle:hover .sidenav-icon-wrapper[data-v-138d523a]{background:var(--color-fill-gray-quaternary)}.theme-dark .sidenav-toggle:hover .sidenav-icon-wrapper[data-v-138d523a]{background:#424242}.sidenav-toggle__separator[data-v-138d523a]{height:.8em;width:1px;background:var(--color-nav-color);align-self:center;margin:0 1.29412rem}.nav--in-breakpoint-range .sidenav-toggle[data-v-138d523a]{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px;align-self:stretch}.nav--in-breakpoint-range .sidenav-toggle__separator[data-v-138d523a]{display:none}.sidenav-icon-wrapper[data-v-138d523a]{padding:5px;display:flex;align-items:center;justify-content:center;border-radius:var(--border-radius,4px)}.sidenav-icon[data-v-138d523a]{display:flex;width:19px;height:19px}[data-v-4a89caca] .generic-modal{overflow-y:overlay}[data-v-4a89caca] .modal-fullscreen>.container{background-color:transparent;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;flex:auto;margin:9.41176rem 0;max-width:47.05882rem;overflow:visible}[data-v-4a89caca] .navigator-filter .quick-navigation-open{margin-left:var(--nav-filter-horizontal-padding);width:calc(var(--nav-filter-horizontal-padding)*2)}.doc-topic-view[data-v-4a89caca]{--delay:1s;display:flex;flex-flow:column;background:var(--colors-text-background,var(--color-text-background))}.doc-topic-view .delay-hiding-leave-active[data-v-4a89caca]{transition:display var(--delay)}.doc-topic-aside[data-v-4a89caca]{height:100%;box-sizing:border-box;border-right:1px solid var(--color-grid)}@media only screen and (max-width:1023px){.doc-topic-aside[data-v-4a89caca]{background:var(--color-fill);border-right:none}.sidebar-transitioning .doc-topic-aside[data-v-4a89caca]{border-right:1px solid var(--color-grid)}}.topic-wrapper[data-v-4a89caca]{flex:1 1 auto;width:100%}.full-width-container[data-v-4a89caca]{max-width:1920px;margin-left:auto;margin-right:auto}@media only screen and (min-width:1920px){.full-width-container[data-v-4a89caca]{border-left:1px solid var(--color-grid);border-right:1px solid var(--color-grid);box-sizing:border-box}} \ No newline at end of file diff --git a/docs/css/documentation-topic.29351f99.css b/docs/css/documentation-topic.29351f99.css deleted file mode 100644 index 5807bf1..0000000 --- a/docs/css/documentation-topic.29351f99.css +++ /dev/null @@ -1,9 +0,0 @@ -/*! - * This source file is part of the Swift.org open source project - * - * Copyright (c) 2021 Apple Inc. and the Swift project authors - * Licensed under Apache License v2.0 with Runtime Library Exception - * - * See https://swift.org/LICENSE.txt for license information - * See https://swift.org/CONTRIBUTORS.txt for Swift project authors - */.betainfo[data-v-0f5e5efb]{font-size:.94118rem;padding:3rem 0;background-color:var(--color-fill-secondary)}.full-width-container .betainfo-container[data-v-0f5e5efb]{max-width:820px;margin-left:auto;margin-right:auto;padding-left:80px;padding-right:80px;box-sizing:border-box}@media print{.full-width-container .betainfo-container[data-v-0f5e5efb]{padding-left:20px;padding-right:20px;max-width:none}}@media only screen and (min-width:1251px){.full-width-container .betainfo-container[data-v-0f5e5efb]{max-width:980px}}@media only screen and (min-width:1500px){.full-width-container .betainfo-container[data-v-0f5e5efb]{max-width:1080px}}@media only screen and (max-width:735px){.full-width-container .betainfo-container[data-v-0f5e5efb]{width:auto;padding-left:20px;padding-right:20px}}.static-width-container .betainfo-container[data-v-0f5e5efb]{margin-left:auto;margin-right:auto;width:980px}@media only screen and (max-width:1250px){.static-width-container .betainfo-container[data-v-0f5e5efb]{width:692px}}@media only screen and (max-width:735px){.static-width-container .betainfo-container[data-v-0f5e5efb]{width:87.5%}}.betainfo-label[data-v-0f5e5efb]{font-weight:600;font-size:.94118rem}.betainfo-content[data-v-0f5e5efb] p{margin-bottom:10px}.summary-section[data-v-3aa6f694]:last-of-type{margin-right:0}@media only screen and (max-width:735px){.summary-section[data-v-3aa6f694]{margin-right:0}}.title[data-v-6796f6ea]{color:#fff;font-size:.82353rem;margin-right:.5rem;text-rendering:optimizeLegibility}.documentation-hero--disabled .title[data-v-6796f6ea]{color:var(--colors-text,var(--color-text))}.language[data-v-0de98d61]{padding-bottom:10px;justify-content:flex-end}.language-list[data-v-0de98d61],.language[data-v-0de98d61]{font-size:.82353rem;line-height:1.42857;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);margin-top:0;display:flex;align-items:center}.language-option.swift[data-v-0de98d61]{padding-right:10px;border-right:1px solid var(--color-fill-gray-tertiary)}.language-option.objc[data-v-0de98d61]{padding-left:10px}.language-option.active[data-v-0de98d61],.language-option.router-link-exact-active[data-v-0de98d61]{color:#ccc}.documentation-hero--disabled .language-option.active[data-v-0de98d61],.documentation-hero--disabled .language-option.router-link-exact-active[data-v-0de98d61]{color:var(--colors-secondary-label,var(--color-secondary-label))}.documentation-hero[data-v-3ec838d1]{background:#000;color:var(--color-documentation-intro-figure,#fff);overflow:hidden;text-align:left;position:relative;padding-right:var(--doc-hero-right-offset)}.documentation-hero[data-v-3ec838d1]:before{content:"";background:var(--color-documentation-intro-fill,#2a2a2a);position:absolute;width:100%;left:0;top:-50%;height:150%;right:0}.documentation-hero[data-v-3ec838d1]:after{background:transparent;opacity:.7;width:100%;position:absolute;content:"";height:100%;left:0;top:0}.documentation-hero .icon[data-v-3ec838d1]{position:absolute;margin-top:10px;margin-right:25px;right:0;width:250px;height:calc(100% - 20px);box-sizing:border-box}@media only screen and (max-width:735px){.documentation-hero .icon[data-v-3ec838d1]{display:none}}.documentation-hero .background-icon[data-v-3ec838d1]{color:var(--color-documentation-intro-accent,#161616);display:block;width:250px;height:auto;opacity:1;position:absolute;top:50%;left:0;transform:translateY(-50%);max-height:100%}.documentation-hero .background-icon[data-v-3ec838d1] img,.documentation-hero .background-icon[data-v-3ec838d1] svg{width:100%;height:100%}.documentation-hero__content[data-v-3ec838d1]{padding-top:2.35294rem;padding-bottom:40px;position:relative;z-index:1}.full-width-container .documentation-hero__content[data-v-3ec838d1]{max-width:820px;margin-left:auto;margin-right:auto;padding-left:80px;padding-right:80px;box-sizing:border-box}@media print{.full-width-container .documentation-hero__content[data-v-3ec838d1]{padding-left:20px;padding-right:20px;max-width:none}}@media only screen and (min-width:1251px){.full-width-container .documentation-hero__content[data-v-3ec838d1]{max-width:980px}}@media only screen and (min-width:1500px){.full-width-container .documentation-hero__content[data-v-3ec838d1]{max-width:1080px}}@media only screen and (max-width:735px){.full-width-container .documentation-hero__content[data-v-3ec838d1]{width:auto;padding-left:20px;padding-right:20px}}.static-width-container .documentation-hero__content[data-v-3ec838d1]{margin-left:auto;margin-right:auto;width:980px}@media only screen and (max-width:1250px){.static-width-container .documentation-hero__content[data-v-3ec838d1]{width:692px}}@media only screen and (max-width:735px){.static-width-container .documentation-hero__content[data-v-3ec838d1]{width:87.5%}}.documentation-hero__above-content[data-v-3ec838d1]{position:relative;z-index:1}.documentation-hero--disabled[data-v-3ec838d1]{background:none;color:var(--colors-text,var(--color-text))}.documentation-hero--disabled[data-v-3ec838d1]:after,.documentation-hero--disabled[data-v-3ec838d1]:before{content:none}.short-hero[data-v-3ec838d1]{padding-top:3.52941rem;padding-bottom:3.52941rem}.extra-bottom-padding[data-v-3ec838d1]{padding-bottom:3.82353rem}.theme-dark[data-v-3ec838d1] a:not(.button-cta){color:#09f}ul[data-v-f919e820]{list-style-type:none;margin:0}.parent-item .base-link[data-v-f919e820]{font-weight:700}.base-link[data-v-f919e820]{color:var(--color-figure-gray-secondary);font-size:.82353rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);display:inline-block;margin-bottom:5px;transition:color .15s ease-in;max-width:100%}.active .base-link[data-v-f919e820]{color:var(--color-text)}.abstract[data-v-702ec04e]{font-size:1.23529rem;line-height:1.38095;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:735px){.abstract[data-v-702ec04e]{font-size:1.11765rem;line-height:1.42105;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}[data-v-702ec04e] p:last-child{margin-bottom:0}.container[data-v-6e075935]{padding-bottom:40px}.full-width-container .container[data-v-6e075935]{max-width:820px;margin-left:auto;margin-right:auto;padding-left:80px;padding-right:80px;box-sizing:border-box}@media print{.full-width-container .container[data-v-6e075935]{padding-left:20px;padding-right:20px;max-width:none}}@media only screen and (min-width:1251px){.full-width-container .container[data-v-6e075935]{max-width:980px}}@media only screen and (min-width:1500px){.full-width-container .container[data-v-6e075935]{max-width:1080px}}@media only screen and (max-width:735px){.full-width-container .container[data-v-6e075935]{width:auto;padding-left:20px;padding-right:20px}}.static-width-container .container[data-v-6e075935]{margin-left:auto;margin-right:auto;width:980px}@media only screen and (max-width:1250px){.static-width-container .container[data-v-6e075935]{width:692px}}@media only screen and (max-width:735px){.static-width-container .container[data-v-6e075935]{width:87.5%}}.title[data-v-6e075935]{font-size:1.88235rem;line-height:1.125;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);padding-top:40px;border-top-color:var(--color-grid);border-top-style:solid;border-top-width:var(--content-table-title-border-width,1px)}@media only screen and (max-width:1250px){.title[data-v-6e075935]{font-size:1.64706rem;line-height:1.14286;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.title[data-v-6e075935]{font-size:1.41176rem;line-height:1.16667;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.title+.contenttable-section[data-v-4aae1079]{margin-top:0}.contenttable-section[data-v-4aae1079]{align-items:baseline;padding-top:2.353rem}.contenttable-section[data-v-4aae1079]:last-child{margin-bottom:0}[data-v-4aae1079] .contenttable-title{font-size:1.41176rem;line-height:1.16667;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){[data-v-4aae1079] .contenttable-title{font-size:1.23529rem;line-height:1.19048;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.contenttable-section[data-v-4aae1079]{align-items:unset;border-top:none;display:inherit;margin:0}.section-content[data-v-4aae1079],.section-title[data-v-4aae1079]{padding:0}[data-v-4aae1079] .contenttable-title{margin:0 0 2.353rem 0;padding-bottom:.5rem}}.section-content>.content[data-v-6cec8012],.topic[data-v-6cec8012]{margin-top:15px}.no-title .section-content>.content[data-v-6cec8012]:first-child,.no-title .topic[data-v-6cec8012]:first-child{margin-top:0}.datalist dd{padding-left:2rem}.datalist dt{font-weight:600;padding-left:1rem;padding-top:1.64706rem}.datalist dt:first-of-type{padding-top:0}.source[data-v-5a91c7c4]{background:var(--background,var(--color-code-background));border-color:var(--color-grid);color:var(--text,var(--color-code-plain));border-style:solid;border-width:1px;padding:8px 14px;speak:literal-punctuation;line-height:25px;-webkit-mask-image:-webkit-radial-gradient(#fff,#000)}.source.has-multiple-lines[data-v-5a91c7c4],.source[data-v-5a91c7c4]{border-radius:var(--border-radius,4px)}.source>code[data-v-5a91c7c4]{font-size:.88235rem;line-height:1.66667;font-weight:400;font-family:var(--typography-html-font-mono,Menlo,monospace);display:block}.platforms[data-v-c5ecdd3e]{font-size:.82353rem;line-height:1.42857;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);margin-bottom:.45rem;margin-top:1.6em}.changed .platforms[data-v-c5ecdd3e]{padding-left:.588rem}.platforms[data-v-c5ecdd3e]:first-of-type{margin-top:1rem}.source[data-v-c5ecdd3e]{margin:14px 0}.platforms+.source[data-v-c5ecdd3e]{margin:0}.changed.declaration-group[data-v-c5ecdd3e]{background:var(--background,var(--color-code-background))}.changed .source[data-v-c5ecdd3e]{background:none;border:none;margin-top:0;margin-bottom:0;margin-left:2.17647rem;padding-left:0}.declaration-diff[data-v-b3e21c4a]{background:var(--background,var(--color-code-background))}.declaration-diff-version[data-v-b3e21c4a]{padding-left:.588rem;padding-left:2.17647rem;font-size:1rem;line-height:1.52941;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-figure-gray-secondary);margin:0}.declaration-diff-current[data-v-b3e21c4a]{padding-top:8px;padding-bottom:5px}.declaration-diff-previous[data-v-b3e21c4a]{padding-top:5px;padding-bottom:8px;background-color:var(--color-changes-modified-previous-background);border-radius:0 0 var(--border-radius,4px) var(--border-radius,4px);position:relative}.declaration-source-link[data-v-ad6ea67c]{font-size:.82353rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);display:flex;align-items:center;margin-top:-4px}.declaration-icon[data-v-ad6ea67c]{width:1em;margin-right:5px}.conditional-constraints[data-v-586930aa]{margin:1.17647rem 0 3rem 0}.type[data-v-791bac44]:first-letter{text-transform:capitalize}.detail-type[data-v-55ba4aa2]{font-weight:600;padding-left:1rem;padding-top:1.64706rem}.detail-type[data-v-55ba4aa2]:first-child{padding-top:0}@media only screen and (max-width:735px){.detail-type[data-v-55ba4aa2]{padding-left:0}}.detail-content[data-v-55ba4aa2]{padding-left:2rem}@media only screen and (max-width:735px){.detail-content[data-v-55ba4aa2]{padding-left:0}}.param-name[data-v-ac6bef9a]{font-weight:600;padding-left:1rem;padding-top:1.64706rem}.param-name[data-v-ac6bef9a]:first-child{padding-top:0}@media only screen and (max-width:735px){.param-name[data-v-ac6bef9a]{padding-left:0}}.param-content[data-v-ac6bef9a]{padding-left:2rem}@media only screen and (max-width:735px){.param-content[data-v-ac6bef9a]{padding-left:0}}.param-content[data-v-ac6bef9a] dt{font-weight:600}.param-content[data-v-ac6bef9a] dd{margin-left:1em}.parameters-table[data-v-31e03854] .change-added,.parameters-table[data-v-31e03854] .change-removed{display:inline-block;max-width:100%}.parameters-table[data-v-31e03854] .change-removed,.parameters-table[data-v-31e03854] .token-removed{text-decoration:line-through}.param[data-v-31e03854]{font-size:.88235rem;box-sizing:border-box}.param.changed[data-v-31e03854]{display:flex;flex-flow:row wrap;padding-right:1rem;padding-left:2.17647rem;padding-top:8px;padding-bottom:8px;display:inline-flex;width:100%;box-sizing:border-box;padding-left:0}.param.changed.changed[data-v-31e03854]{padding-right:1rem}@media only screen and (max-width:735px){.param.changed[data-v-31e03854]{padding-left:0;padding-right:0}.param.changed.changed[data-v-31e03854]{padding-right:17px;padding-left:2.17647rem}}@media only screen and (max-width:735px){.param.changed[data-v-31e03854]{padding-left:0;padding-right:0}}.param.changed+.param.changed[data-v-31e03854]{margin-top:.82353rem}.changed .param-content[data-v-31e03854],.changed .param-symbol[data-v-31e03854]{padding-top:2px;padding-bottom:2px}@media only screen and (max-width:735px){.changed .param-content[data-v-31e03854]{padding-top:0}.changed .param-symbol[data-v-31e03854]{padding-bottom:0}}.param-symbol[data-v-31e03854]{text-align:right}.changed .param-symbol[data-v-31e03854]{padding-left:2.17647rem}@media only screen and (max-width:735px){.param-symbol[data-v-31e03854]{text-align:left}.changed .param-symbol[data-v-31e03854]{padding-left:0}}.param-symbol[data-v-31e03854] .type-identifier-link{color:var(--color-link)}.param+.param[data-v-31e03854]{margin-top:1.64706rem}.param+.param[data-v-31e03854]:first-child{margin-top:0}.param-content[data-v-31e03854]{padding-left:1rem;padding-left:2.17647rem}@media only screen and (max-width:735px){.param-content[data-v-31e03854]{padding-left:0;padding-right:0}}.property-metadata[data-v-8590589e]{color:var(--color-figure-gray-secondary)}.property-text{font-weight:700}.property-metadata[data-v-0a648a1e]{color:var(--color-figure-gray-secondary)}.property-name[data-v-25cd22fa]{font-weight:700}.property-name.deprecated[data-v-25cd22fa]{text-decoration:line-through}.property-deprecated[data-v-25cd22fa]{margin-left:0}.content[data-v-25cd22fa],.content[data-v-25cd22fa] p:first-child{display:inline}.response-mimetype[data-v-2faa6020]{color:var(--color-figure-gray-secondary)}.part-name[data-v-37777476]{font-weight:700}.content[data-v-37777476],.content[data-v-37777476] p:first-child{display:inline}.param-name[data-v-05f57530]{font-weight:700}.param-name.deprecated[data-v-05f57530]{text-decoration:line-through}.param-deprecated[data-v-05f57530]{margin-left:0}.content[data-v-05f57530],.content[data-v-05f57530] p:first-child{display:inline}.response-name[data-v-881189f4],.response-reason[data-v-881189f4]{font-weight:700}@media only screen and (max-width:735px){.response-reason[data-v-881189f4]{display:none}}.response-name>code>.reason[data-v-881189f4]{display:none}@media only screen and (max-width:735px){.response-name>code>.reason[data-v-881189f4]{display:initial}}[data-v-2aa0f0dc] h2{font-size:1.88235rem;line-height:1.125;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){[data-v-2aa0f0dc] h2{font-size:1.64706rem;line-height:1.14286;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){[data-v-2aa0f0dc] h2{font-size:1.41176rem;line-height:1.16667;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.primary-content.with-border[data-v-2aa0f0dc]:before{border-top-color:var(--colors-grid,var(--color-grid));border-top-style:solid;border-top-width:1px;content:"";display:block}.primary-content[data-v-2aa0f0dc]>*{margin-bottom:40px;margin-top:40px}.primary-content[data-v-2aa0f0dc]>:first-child{margin-top:2.353rem}.relationships-list[data-v-6497632e]{list-style:none}.relationships-list.column[data-v-6497632e]{margin-left:0;margin-top:15px}.relationships-list.inline[data-v-6497632e]{display:flex;flex-direction:row;flex-wrap:wrap;margin-top:15px;margin-left:0}.relationships-list.inline li[data-v-6497632e]:not(:last-child):after{content:",\00a0"}.relationships-list.changed[data-v-6497632e]{padding-right:1rem;padding-left:2.17647rem;padding-top:8px;padding-bottom:8px;display:inline-flex;width:100%;box-sizing:border-box}.relationships-list.changed.changed[data-v-6497632e]{padding-right:1rem}@media only screen and (max-width:735px){.relationships-list.changed[data-v-6497632e]{padding-left:0;padding-right:0}.relationships-list.changed.changed[data-v-6497632e]{padding-right:17px;padding-left:2.17647rem}}@media only screen and (max-width:735px){.relationships-list.changed[data-v-6497632e]{padding-left:0;padding-right:0}}.relationships-list.changed[data-v-6497632e]:after{margin-top:.61765rem}.relationships-list.changed.column[data-v-6497632e]{display:block;box-sizing:border-box}.relationships-item[data-v-6497632e],.relationships-list[data-v-6497632e]{box-sizing:inherit}.conditional-constraints[data-v-6497632e]{font-size:.82353rem;margin:.17647rem 0 .58824rem 1.17647rem}.availability[data-v-3b784eb3]{display:flex;flex-flow:row wrap;gap:10px;margin-top:20px}.badge[data-v-3b784eb3]{margin:0}.technology[data-v-3b784eb3]{display:inline-flex;align-items:center}.tech-icon[data-v-3b784eb3]{height:12px;padding-right:5px;fill:var(--badge-color)}.theme-dark .tech-icon[data-v-3b784eb3]{fill:var(--badge-color)}.beta[data-v-3b784eb3]{color:var(--color-badge-beta)}.theme-dark .beta[data-v-3b784eb3]{color:var(--color-badge-dark-beta)}.deprecated[data-v-3b784eb3]{color:var(--color-badge-deprecated)}.theme-dark .deprecated[data-v-3b784eb3]{color:var(--color-badge-dark-deprecated)}.changed[data-v-3b784eb3]{padding-left:26px}.changed[data-v-3b784eb3]:after{content:none}.changed[data-v-3b784eb3]:before{background-image:url(../img/modified-icon.f496e73d.svg);background-repeat:no-repeat;bottom:0;content:" ";margin:auto;margin-right:8px;position:absolute;top:0;width:16px;height:16px;left:5px}@media screen{[data-color-scheme=dark] .changed[data-v-3b784eb3]:before{background-image:url(../img/modified-icon.f496e73d.svg)}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .changed[data-v-3b784eb3]:before{background-image:url(../img/modified-icon.f496e73d.svg)}}.theme-dark .changed[data-v-3b784eb3]:before{background-image:url(../img/modified-icon.f496e73d.svg)}.changed-added[data-v-3b784eb3]{border-color:var(--color-changes-added)}.changed-added[data-v-3b784eb3]:before{background-image:url(../img/added-icon.d6f7e47d.svg)}@media screen{[data-color-scheme=dark] .changed-added[data-v-3b784eb3]:before{background-image:url(../img/added-icon.d6f7e47d.svg)}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .changed-added[data-v-3b784eb3]:before{background-image:url(../img/added-icon.d6f7e47d.svg)}}.theme-dark .changed-added[data-v-3b784eb3]:before{background-image:url(../img/added-icon.d6f7e47d.svg)}.changed-deprecated[data-v-3b784eb3]{border-color:var(--color-changes-deprecated)}.changed-deprecated[data-v-3b784eb3]:before{background-image:url(../img/deprecated-icon.015b4f17.svg)}@media screen{[data-color-scheme=dark] .changed-deprecated[data-v-3b784eb3]:before{background-image:url(../img/deprecated-icon.015b4f17.svg)}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .changed-deprecated[data-v-3b784eb3]:before{background-image:url(../img/deprecated-icon.015b4f17.svg)}}.theme-dark .changed-deprecated[data-v-3b784eb3]:before{background-image:url(../img/deprecated-icon.015b4f17.svg)}.changed-modified[data-v-3b784eb3]{border-color:var(--color-changes-modified)}.eyebrow[data-v-4492c658]{font-size:1.23529rem;line-height:1.19048;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-documentation-intro-eyebrow,#ccc);display:block;margin-bottom:1.17647rem}@media only screen and (max-width:735px){.eyebrow[data-v-4492c658]{font-size:1.11765rem;line-height:1.21053;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.documentation-hero--disabled .eyebrow[data-v-4492c658]{color:var(--colors-secondary-label,var(--color-secondary-label))}.title[data-v-4492c658]{font-size:2.35294rem;line-height:1.1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-documentation-intro-title,#fff);margin-bottom:.70588rem}@media only screen and (max-width:1250px){.title[data-v-4492c658]{font-size:1.88235rem;line-height:1.125;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.title[data-v-4492c658]{font-size:1.64706rem;line-height:1.14286;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.documentation-hero--disabled .title[data-v-4492c658]{color:var(--colors-header-text,var(--color-header-text))}small[data-v-4492c658]{font-size:1.41176rem;line-height:1.16667;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);padding-left:10px}@media only screen and (max-width:1250px){small[data-v-4492c658]{font-size:1.23529rem;line-height:1.19048;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}small[data-v-4492c658]:before{content:attr(data-tag-name)}small.Beta[data-v-4492c658]{color:var(--color-badge-beta)}.theme-dark small.Beta[data-v-4492c658]{color:var(--color-badge-dark-beta)}small.Deprecated[data-v-4492c658]{color:var(--color-badge-deprecated)}.theme-dark small.Deprecated[data-v-4492c658]{color:var(--color-badge-dark-deprecated)}.OnThisPageStickyContainer[data-v-08d4053b]{margin-top:2.353rem;position:sticky;top:3.64706rem;align-self:flex-start;flex:0 0 auto;width:192px;padding-right:1.29412rem;box-sizing:border-box;padding-bottom:.4em;max-height:calc(100vh - 3.64706rem);overflow:auto}@media print{.OnThisPageStickyContainer[data-v-08d4053b]{display:none}}@media only screen and (max-width:735px){.OnThisPageStickyContainer[data-v-08d4053b]{display:none}}.doc-topic[data-v-666eaa31]{display:flex;flex-direction:column;height:100%}.doc-topic.with-on-this-page[data-v-666eaa31]{--doc-hero-right-offset:192px}#main[data-v-666eaa31]{outline-style:none;height:100%}.container[data-v-666eaa31]{outline-style:none}.full-width-container .container[data-v-666eaa31]{max-width:820px;margin-left:auto;margin-right:auto;padding-left:80px;padding-right:80px;box-sizing:border-box}@media print{.full-width-container .container[data-v-666eaa31]{padding-left:20px;padding-right:20px;max-width:none}}@media only screen and (min-width:1251px){.full-width-container .container[data-v-666eaa31]{max-width:980px}}@media only screen and (min-width:1500px){.full-width-container .container[data-v-666eaa31]{max-width:1080px}}@media only screen and (max-width:735px){.full-width-container .container[data-v-666eaa31]{width:auto;padding-left:20px;padding-right:20px}}.static-width-container .container[data-v-666eaa31]{margin-left:auto;margin-right:auto;width:980px}@media only screen and (max-width:1250px){.static-width-container .container[data-v-666eaa31]{width:692px}}@media only screen and (max-width:735px){.static-width-container .container[data-v-666eaa31]{width:87.5%}}.description[data-v-666eaa31]{margin-bottom:2.353rem}.description[data-v-666eaa31]:empty{display:none}.description.after-enhanced-hero[data-v-666eaa31]{margin-top:2.353rem}.description[data-v-666eaa31] .content+*{margin-top:.8em}[data-v-666eaa31] .no-primary-content{--content-table-title-border-width:0px}.sample-download[data-v-666eaa31]{margin-top:20px}[data-v-666eaa31] h3{font-size:1.64706rem;line-height:1.14286;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){[data-v-666eaa31] h3{font-size:1.41176rem;line-height:1.16667;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){[data-v-666eaa31] h3{font-size:1.23529rem;line-height:1.19048;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}[data-v-666eaa31] h4{font-size:1.41176rem;line-height:1.16667;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){[data-v-666eaa31] h4{font-size:1.23529rem;line-height:1.19048;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}[data-v-666eaa31] h5{font-size:1.29412rem;line-height:1.18182;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){[data-v-666eaa31] h5{font-size:1.17647rem;line-height:1.2;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){[data-v-666eaa31] h5{font-size:1.05882rem;line-height:1.44444;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}[data-v-666eaa31] h6{font-size:1rem;line-height:1.47059;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.doc-content-wrapper[data-v-666eaa31]{display:flex;justify-content:center}.doc-content-wrapper .doc-content[data-v-666eaa31]{min-width:0;width:100%}.with-on-this-page .doc-content-wrapper .doc-content[data-v-666eaa31]{max-width:820px}@media only screen and (min-width:1251px){.with-on-this-page .doc-content-wrapper .doc-content[data-v-666eaa31]{max-width:980px}}@media only screen and (min-width:1500px){.with-on-this-page .doc-content-wrapper .doc-content[data-v-666eaa31]{max-width:1080px}}.tag[data-v-3b809bfa]{display:inline-block;padding-right:.58824rem}.tag[data-v-3b809bfa]:focus{outline:none}.tag button[data-v-3b809bfa]{color:var(--color-figure-gray);background-color:var(--color-fill-tertiary);font-size:.82353rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);border-radius:.82353rem;padding:.23529rem .58824rem;white-space:nowrap;border:1px solid transparent}@media (hover:hover){.tag button[data-v-3b809bfa]:hover{transition:background-color .2s,color .2s;background-color:var(--color-fill-blue);color:#fff}}.tag button[data-v-3b809bfa]:focus:active{background-color:var(--color-fill-blue);color:#fff}.fromkeyboard .tag button[data-v-3b809bfa]:focus,.tag button.focus[data-v-3b809bfa],.tag button[data-v-3b809bfa]:focus{box-shadow:0 0 0 4px var(--color-focus-color);outline:none;border-color:var(--color-focus-border-color)}.tags[data-v-4b231516]{position:relative;margin:0;list-style:none;box-sizing:border-box;transition:padding-right .8s,padding-bottom .8s,max-height 1s,opacity 1s;padding:0}.tags .scroll-wrapper[data-v-4b231516]{overflow-x:auto;overflow-y:hidden;-ms-overflow-style:none;scrollbar-color:var(--color-figure-gray-tertiary) transparent;scrollbar-width:thin}.tags .scroll-wrapper[data-v-4b231516]::-webkit-scrollbar{height:0}@supports not ((-webkit-touch-callout:none) or (scrollbar-width:none) or (-ms-overflow-style:none)){.tags .scroll-wrapper.scrolling[data-v-4b231516]{--scrollbar-height:11px;padding-top:var(--scrollbar-height);height:calc(var(--scroll-target-height) - var(--scrollbar-height));display:flex;align-items:center}}.tags .scroll-wrapper.scrolling[data-v-4b231516]::-webkit-scrollbar{height:11px}.tags .scroll-wrapper.scrolling[data-v-4b231516]::-webkit-scrollbar-thumb{border-radius:10px;background-color:var(--color-figure-gray-tertiary);border:2px solid transparent;background-clip:padding-box}.tags .scroll-wrapper.scrolling[data-v-4b231516]::-webkit-scrollbar-track-piece:end{margin-right:8px}.tags .scroll-wrapper.scrolling[data-v-4b231516]::-webkit-scrollbar-track-piece:start{margin-left:8px}.tags ul[data-v-4b231516]{margin:0;padding:0;display:flex}.filter[data-v-449fced2]{--input-vertical-padding:.76471rem;--input-height:1.64706rem;--input-border-color:var(--color-fill-gray-secondary);--input-text:var(--color-fill-gray-secondary);position:relative;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);border-radius:calc(var(--border-radius, 4px) + 1px)}.fromkeyboard .filter[data-v-449fced2]:focus{outline:none}.filter__top-wrapper[data-v-449fced2]{display:flex}.filter__filter-button[data-v-449fced2]{position:relative;z-index:1;cursor:text;margin-left:.58824rem;margin-right:.17647rem}@media only screen and (max-width:735px){.filter__filter-button[data-v-449fced2]{margin-right:.41176rem}}.filter__filter-button .svg-icon[data-v-449fced2]{fill:var(--input-text);display:block;height:21px}.filter__filter-button.blue[data-v-449fced2]>*{fill:var(--color-figure-blue);color:var(--color-figure-blue)}.filter.focus .filter__wrapper[data-v-449fced2]{box-shadow:0 0 0 3pt var(--color-focus-color);--input-border-color:var(--color-fill-blue)}.filter__wrapper[data-v-449fced2]{border:1px solid var(--input-border-color);background:var(--color-fill);border-radius:var(--border-radius,4px)}.filter__wrapper--reversed[data-v-449fced2]{display:flex;flex-direction:column-reverse}.filter__suggested-tags[data-v-449fced2]{border-top:1px solid var(--color-fill-gray-tertiary);z-index:1;overflow:hidden}.filter__suggested-tags[data-v-449fced2] ul{padding:var(--input-vertical-padding) .52941rem;border:1px solid transparent;border-bottom-left-radius:calc(var(--border-radius, 4px) - 1px);border-bottom-right-radius:calc(var(--border-radius, 4px) - 1px)}.fromkeyboard .filter__suggested-tags[data-v-449fced2] ul:focus{outline:none;box-shadow:0 0 0 5px var(--color-focus-color)}.filter__wrapper--reversed .filter__suggested-tags[data-v-449fced2]{border-bottom:1px solid var(--color-fill-gray-tertiary);border-top:none}.filter__selected-tags[data-v-449fced2]{z-index:1;padding-left:4px;margin:-4px 0}@media only screen and (max-width:735px){.filter__selected-tags[data-v-449fced2]{padding-left:0}}.filter__selected-tags[data-v-449fced2] ul{padding:4px}@media only screen and (max-width:735px){.filter__selected-tags[data-v-449fced2] ul{padding-right:.41176rem}}.filter__selected-tags[data-v-449fced2] ul .tag:last-child{padding-right:0}.filter__delete-button[data-v-449fced2]{position:relative;margin:0;z-index:1;border-radius:100%}.fromkeyboard .filter__delete-button[data-v-449fced2]:focus{box-shadow:0 0 0 4px var(--color-focus-color);outline:none}.filter__delete-button .clear-rounded-icon[data-v-449fced2]{height:.70588rem;width:.70588rem;fill:var(--input-text);display:block}.filter__delete-button-wrapper[data-v-449fced2]{display:flex;align-items:center;padding-right:.58824rem;padding-left:.17647rem;border-top-right-radius:var(--border-radius,4px);border-bottom-right-radius:var(--border-radius,4px)}.filter__input-label[data-v-449fced2]{position:relative;flex-grow:1;height:var(--input-height);padding:var(--input-vertical-padding) 0}.filter__input-label[data-v-449fced2]:after{content:attr(data-value);visibility:hidden;width:auto;white-space:nowrap;min-width:130px;display:block;text-indent:.41176rem}@media only screen and (max-width:735px){.filter__input-label[data-v-449fced2]:after{text-indent:.17647rem}}.filter__input-box-wrapper[data-v-449fced2]{overflow-y:hidden;-ms-overflow-style:none;scrollbar-color:var(--color-figure-gray-tertiary) transparent;scrollbar-width:thin;display:flex;overflow-x:auto;align-items:center;cursor:text;flex:1}.filter__input-box-wrapper[data-v-449fced2]::-webkit-scrollbar{height:0}@supports not ((-webkit-touch-callout:none) or (scrollbar-width:none) or (-ms-overflow-style:none)){.filter__input-box-wrapper.scrolling[data-v-449fced2]{--scrollbar-height:11px;padding-top:var(--scrollbar-height);height:calc(var(--scroll-target-height) - var(--scrollbar-height));display:flex;align-items:center}}.filter__input-box-wrapper.scrolling[data-v-449fced2]::-webkit-scrollbar{height:11px}.filter__input-box-wrapper.scrolling[data-v-449fced2]::-webkit-scrollbar-thumb{border-radius:10px;background-color:var(--color-figure-gray-tertiary);border:2px solid transparent;background-clip:padding-box}.filter__input-box-wrapper.scrolling[data-v-449fced2]::-webkit-scrollbar-track-piece:end{margin-right:8px}.filter__input-box-wrapper.scrolling[data-v-449fced2]::-webkit-scrollbar-track-piece:start{margin-left:8px}.filter__input[data-v-449fced2]{font-size:1.23529rem;line-height:1.38095;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-text);height:var(--input-height);border:none;width:100%;position:absolute;background:transparent;z-index:1;text-indent:.41176rem}@media only screen and (max-width:735px){.filter__input[data-v-449fced2]{font-size:1.11765rem;line-height:1.42105;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);text-indent:.17647rem}}.filter__input[data-v-449fced2]:focus{outline:none}.filter__input[placeholder][data-v-449fced2]::-moz-placeholder{color:var(--input-text);opacity:1}.filter__input[placeholder][data-v-449fced2]::placeholder{color:var(--input-text);opacity:1}.filter__input[placeholder][data-v-449fced2]:-ms-input-placeholder{color:var(--input-text)}.filter__input[placeholder][data-v-449fced2]::-ms-input-placeholder{color:var(--input-text)}.highlight[data-v-1c4190f0]{display:inline}.highlight[data-v-1c4190f0] .match{font-weight:600;background:var(--color-fill-light-blue-secondary)}.quick-navigation input[type=text][data-v-483fdfd0]{font-size:1.23529rem;line-height:1.38095;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:735px){.quick-navigation input[type=text][data-v-483fdfd0]{font-size:1.11765rem;line-height:1.42105;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.quick-navigation__container[data-v-483fdfd0]{background-color:var(--color-fill);border:solid 1px var(--color-fill-gray);border-radius:var(--border-radius,4px);margin:0 .94118rem}.quick-navigation__container>[data-v-483fdfd0]{--input-text:var(--color-figure-gray-secondary)}.quick-navigation__filter[data-v-483fdfd0]{--input-border-color:var(--color-fill)}.quick-navigation__filter.focus+.quick-navigation__match-list[data-v-483fdfd0]{border-top:0}.quick-navigation__magnifier-icon-container[data-v-483fdfd0]{width:1.05882rem}.quick-navigation__magnifier-icon-container>[data-v-483fdfd0]{width:100%}.quick-navigation__magnifier-icon-container.blue .magnifier-icon[data-v-483fdfd0]{fill:var(--color-figure-blue);color:var(--color-figure-blue)}.quick-navigation__match-list[data-v-483fdfd0]{overflow:scroll;max-height:26.47059rem;height:0}.quick-navigation__match-list.active[data-v-483fdfd0]{height:auto;border-top:1px solid var(--color-fill-gray)}.quick-navigation__match-list .no-results[data-v-483fdfd0]{margin:.88235rem auto;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.quick-navigation__match-list .selected[data-v-483fdfd0]{background-color:var(--color-navigator-item-hover)}.quick-navigation__reference[data-v-483fdfd0]:hover{text-decoration:none}.quick-navigation__symbol-match[data-v-483fdfd0]{display:flex;height:2.35294rem;padding:.58824rem .88235rem;color:var(--color-figure-gray)}.quick-navigation__symbol-match[data-v-483fdfd0]:hover{background-color:var(--color-navigator-item-hover)}.quick-navigation__symbol-match .symbol-info[data-v-483fdfd0]{margin:auto;width:100%}.quick-navigation__symbol-match .symbol-info .navigator-icon[data-v-483fdfd0]{margin-right:.58824rem}.quick-navigation__symbol-match .symbol-info .symbol-name[data-v-483fdfd0]{display:flex}.quick-navigation__symbol-match .symbol-info .symbol-name .symbol-title[data-v-483fdfd0]{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.quick-navigation__symbol-match .symbol-info .symbol-path[data-v-483fdfd0]{font-size:.82353rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-figure-gray-secondary);display:flex;margin-left:1.58824rem;overflow:hidden;white-space:nowrap}.quick-navigation__symbol-match .symbol-info .symbol-path .parent-path[data-v-483fdfd0]{padding-right:.29412rem}@media print{.sidebar[data-v-8b4eac40]{display:none}}.adjustable-sidebar-width[data-v-8b4eac40]{display:flex}@media only screen and (max-width:1023px){.adjustable-sidebar-width[data-v-8b4eac40]{display:block;position:relative}}.adjustable-sidebar-width.dragging[data-v-8b4eac40] *{cursor:col-resize!important}.adjustable-sidebar-width.sidebar-hidden.dragging[data-v-8b4eac40] *{cursor:e-resize!important}.sidebar[data-v-8b4eac40]{position:relative}@media only screen and (max-width:1023px){.sidebar[data-v-8b4eac40]{position:static}}.aside[data-v-8b4eac40]{width:250px;position:relative;height:100%;max-width:100vw}.aside.no-transition[data-v-8b4eac40]{transition:none!important}@media only screen and (min-width:1024px){.aside[data-v-8b4eac40]{transition:width .3s ease-in,visibility 0s linear var(--visibility-transition-time,0s)}.aside.dragging[data-v-8b4eac40]:not(.is-opening-on-large):not(.hide-on-large){transition:none}.aside.hide-on-large[data-v-8b4eac40]{width:0!important;visibility:hidden;pointer-events:none;--visibility-transition-time:.3s}}@media only screen and (max-width:1023px){.aside[data-v-8b4eac40]{width:100%!important;overflow:hidden;min-width:0;max-width:100%;height:calc(var(--app-height) - var(--top-offset-mobile));position:fixed;top:var(--top-offset-mobile);bottom:0;z-index:9998;transform:translateX(-100%);transition:transform .15s ease-in;left:0}.aside[data-v-8b4eac40] .aside-animated-child{opacity:0}.aside.show-on-mobile[data-v-8b4eac40]{transform:translateX(0)}.aside.show-on-mobile[data-v-8b4eac40] .aside-animated-child{--index:0;opacity:1;transition:opacity .15s linear;transition-delay:calc(var(--index)*0.15s + .15s)}.aside.has-mobile-top-offset[data-v-8b4eac40]{border-top:1px solid var(--color-fill-gray-tertiary)}}.content[data-v-8b4eac40]{display:flex;flex-flow:column;min-width:0;flex:1 1 auto;height:100%}.resize-handle[data-v-8b4eac40]{position:absolute;cursor:col-resize;top:0;bottom:0;right:0;width:5px;height:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;z-index:1;transition:background-color .15s;transform:translateX(50%)}@media only screen and (max-width:1023px){.resize-handle[data-v-8b4eac40]{display:none}}.resize-handle[data-v-8b4eac40]:hover{background:var(--color-fill-gray-tertiary)}.navigator-card-item[data-v-0b9fe514]{--nav-head-wrapper-left-space:10px;--nav-head-wrapper-right-space:20px;--head-wrapper-vertical-space:5px;--nav-depth-spacer:25px;--nesting-index:0;display:flex;align-items:stretch;min-height:32px;box-sizing:border-box}.fromkeyboard .navigator-card-item[data-v-0b9fe514]:focus-within{outline:4px solid var(--color-focus-color);outline-offset:-4px}.navigator-card-item.active[data-v-0b9fe514]{background:var(--color-fill-gray-quaternary)}.hover .navigator-card-item[data-v-0b9fe514]:not(.is-group){background:var(--color-navigator-item-hover)}.depth-spacer[data-v-0b9fe514]{width:calc(var(--nesting-index)*15px + var(--nav-depth-spacer));height:100%;position:relative;flex:0 0 auto}.title-container[data-v-0b9fe514]{width:100%;min-width:0;display:flex;align-items:center}.navigator-icon-wrapper[data-v-0b9fe514]{margin-right:7px}.head-wrapper[data-v-0b9fe514]{padding:var(--head-wrapper-vertical-space) var(--nav-head-wrapper-right-space) var(--head-wrapper-vertical-space) var(--nav-head-wrapper-left-space);position:relative;display:flex;align-items:center;flex:1;min-width:0}@supports (padding:max(0px)){.head-wrapper[data-v-0b9fe514]{padding-left:max(var(--nav-head-wrapper-left-space),env(safe-area-inset-left));padding-right:max(var(--nav-head-wrapper-right-space),env(safe-area-inset-right))}}.highlight[data-v-d75876e2]{display:inline}.highlight[data-v-d75876e2] .match{font-weight:600;background:var(--color-fill-light-blue-secondary)}.is-group .leaf-link[data-v-08a89c9e]{color:var(--color-figure-gray-secondary);font-weight:600}.is-group .leaf-link[data-v-08a89c9e]:after{display:none}.navigator-icon[data-v-08a89c9e]{display:flex;flex:0 0 auto}.navigator-icon.changed[data-v-08a89c9e]{border:none;width:1em;height:1em;z-index:0}.navigator-icon.changed[data-v-08a89c9e]:after{top:50%;left:50%;right:auto;bottom:auto;transform:translate(-50%,-50%);background-image:url(../img/modified-icon.f496e73d.svg);margin:0}@media screen{[data-color-scheme=dark] .navigator-icon.changed[data-v-08a89c9e]:after{background-image:url(../img/modified-icon.f496e73d.svg)}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .navigator-icon.changed[data-v-08a89c9e]:after{background-image:url(../img/modified-icon.f496e73d.svg)}}.navigator-icon.changed-added[data-v-08a89c9e]:after{background-image:url(../img/added-icon.d6f7e47d.svg)}@media screen{[data-color-scheme=dark] .navigator-icon.changed-added[data-v-08a89c9e]:after{background-image:url(../img/added-icon.d6f7e47d.svg)}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .navigator-icon.changed-added[data-v-08a89c9e]:after{background-image:url(../img/added-icon.d6f7e47d.svg)}}.navigator-icon.changed-deprecated[data-v-08a89c9e]:after{background-image:url(../img/deprecated-icon.015b4f17.svg)}@media screen{[data-color-scheme=dark] .navigator-icon.changed-deprecated[data-v-08a89c9e]:after{background-image:url(../img/deprecated-icon.015b4f17.svg)}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .navigator-icon.changed-deprecated[data-v-08a89c9e]:after{background-image:url(../img/deprecated-icon.015b4f17.svg)}}.leaf-link[data-v-08a89c9e]{color:var(--color-figure-gray);text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:100%;display:inline;vertical-align:middle;font-size:.82353rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.fromkeyboard .leaf-link[data-v-08a89c9e]:focus{outline:none}.leaf-link[data-v-08a89c9e]:hover{text-decoration:none}.leaf-link.bolded[data-v-08a89c9e]{font-weight:600}.leaf-link[data-v-08a89c9e]:after{content:"";position:absolute;top:0;left:0;right:0;bottom:0}.extended-content[data-v-08a89c9e]{font-size:.82353rem;line-height:1.42857;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-figure-gray-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tree-toggle[data-v-08a89c9e]{overflow:hidden;position:absolute;width:100%;height:100%;padding-right:5px;box-sizing:border-box;z-index:1;display:flex;align-items:center;justify-content:flex-end}.chevron[data-v-08a89c9e]{width:10px}.chevron.animating[data-v-08a89c9e]{transition:transform .15s ease-in}.chevron.rotate[data-v-08a89c9e]{transform:rotate(90deg)}.navigator-card[data-v-4a898368]{--card-vertical-spacing:8px;--card-horizontal-spacing:20px;--nav-filter-horizontal-padding:30px;--visibility-delay:1s;display:flex;flex-direction:column;min-height:0;height:calc(var(--app-height) - var(--nav-height, 0px));position:sticky;top:var(--nav-height,0)}@media only screen and (max-width:1023px){.navigator-card[data-v-4a898368]{height:100%;position:static;background:var(--color-fill)}}.navigator-card .navigator-card-full-height[data-v-4a898368]{min-height:0;flex:1 1 auto}.navigator-card .head-inner[data-v-4a898368]{overflow:hidden}.navigator-card .head-wrapper[data-v-4a898368]{position:relative;flex:1 0 auto}.navigator-card .navigator-head[data-v-4a898368]{--navigator-head-padding-right:calc(var(--card-horizontal-spacing)*2 + 19px);padding:0 var(--navigator-head-padding-right) 0 var(--card-horizontal-spacing);background:var(--color-fill);border-bottom:1px solid var(--color-grid);display:flex;align-items:center;height:3.05882rem;white-space:nowrap}.navigator-card .navigator-head .card-link[data-v-4a898368]{color:var(--color-text);font-size:.82353rem;line-height:1.42857;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);font-weight:600;overflow:hidden;text-overflow:ellipsis}.navigator-card .navigator-head .badge[data-v-4a898368]{margin-top:0}.navigator-card .navigator-head.router-link-exact-active[data-v-4a898368]{background:var(--color-fill)}.navigator-card .navigator-head.router-link-exact-active .card-link[data-v-4a898368]{font-weight:700}.navigator-card .navigator-head[data-v-4a898368]:hover{background:var(--color-navigator-item-hover);text-decoration:none}@supports (padding:max(0px)){.navigator-card .navigator-head[data-v-4a898368]{padding-left:max(var(--card-horizontal-spacing),env(safe-area-inset-left));padding-right:max(var(--navigator-head-padding-right),env(safe-area-inset-right))}}@media only screen and (max-width:1023px){.navigator-card .navigator-head[data-v-4a898368]{justify-content:center;--navigator-head-padding-right:var(--card-horizontal-spacing)}}@media only screen and (max-width:767px){.navigator-card .navigator-head[data-v-4a898368]{height:2.82353rem;padding:0 20px}}.close-card[data-v-4a898368]{display:flex;position:absolute;z-index:1;align-items:center;justify-content:center;right:1rem;padding:5px;margin-left:-5px;top:calc(50% - 14px);transition:transform .3s ease-in 0s,visibility 0s}@media only screen and (max-width:1023px){.close-card[data-v-4a898368]{right:unset;top:0;left:0;margin:0;padding:0 1.29412rem 0 20px;height:100%}@supports (padding:max(0px)){.close-card[data-v-4a898368]{padding-left:max(1.29412rem,env(safe-area-inset-left))}}}@media only screen and (max-width:767px){.close-card[data-v-4a898368]{padding-left:.94118rem;padding-right:.94118rem}@supports (padding:max(0px)){.close-card[data-v-4a898368]{padding-left:max(.94118rem,env(safe-area-inset-left))}}}.close-card .close-icon[data-v-4a898368]{width:19px;height:19px}@media only screen and (min-width:1024px){.close-card.hide-on-large[data-v-4a898368]{display:none}.close-card[data-v-4a898368]:hover{border-radius:var(--border-radius,4px);background:var(--color-fill-gray-quaternary)}.sidebar-hidden .close-card[data-v-4a898368]{transition:transform .3s ease-in 0s,visibility 0s linear .3s;visibility:hidden;transform:translateX(3.76471rem)}}[data-v-4a898368] .card-body{padding-right:0;flex:1 1 auto;min-height:0;height:100%}@media only screen and (max-width:1023px){[data-v-4a898368] .card-body{--card-vertical-spacing:0px}}.navigator-card-inner[data-v-4a898368]{display:flex;flex-flow:column;height:100%}.vue-recycle-scroller{position:relative}.vue-recycle-scroller.direction-vertical:not(.page-mode){overflow-y:auto}.vue-recycle-scroller.direction-horizontal:not(.page-mode){overflow-x:auto}.vue-recycle-scroller.direction-horizontal{display:-webkit-box;display:-ms-flexbox;display:flex}.vue-recycle-scroller__slot{-webkit-box-flex:1;-ms-flex:auto 0 0px;flex:auto 0 0}.vue-recycle-scroller__item-wrapper{-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;position:relative}.vue-recycle-scroller.ready .vue-recycle-scroller__item-view{position:absolute;top:0;left:0;will-change:transform}.vue-recycle-scroller.direction-vertical .vue-recycle-scroller__item-wrapper{width:100%}.vue-recycle-scroller.direction-horizontal .vue-recycle-scroller__item-wrapper{height:100%}.vue-recycle-scroller.ready.direction-vertical .vue-recycle-scroller__item-view{width:100%}.vue-recycle-scroller.ready.direction-horizontal .vue-recycle-scroller__item-view{height:100%}.resize-observer[data-v-b329ee4c]{border:none;background-color:transparent;opacity:0}.resize-observer[data-v-b329ee4c],.resize-observer[data-v-b329ee4c] object{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;pointer-events:none;display:block;overflow:hidden}.navigator-card.filter-on-top .filter-wrapper[data-v-a440d59c]{order:1;position:static}.navigator-card.filter-on-top .card-body[data-v-a440d59c]{order:2}.no-items-wrapper[data-v-a440d59c]{overflow:hidden;color:var(--color-figure-gray-tertiary)}.no-items-wrapper .no-items[data-v-a440d59c]{font-size:.82353rem;line-height:1.42857;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);padding:var(--card-vertical-spacing) var(--card-horizontal-spacing);min-width:200px;box-sizing:border-box}.navigator-filter[data-v-a440d59c]{box-sizing:border-box;padding:15px var(--nav-filter-horizontal-padding);border-top:1px solid var(--color-grid);height:73px;display:flex;align-items:flex-end}.filter-on-top .navigator-filter[data-v-a440d59c]{border-top:none;align-items:flex-start}@supports (padding:max(0px)){.navigator-filter[data-v-a440d59c]{padding-left:max(var(--nav-filter-horizontal-padding),env(safe-area-inset-left));padding-right:max(var(--nav-filter-horizontal-padding),env(safe-area-inset-right))}}@media only screen and (max-width:1023px){.navigator-filter[data-v-a440d59c]{--nav-filter-horizontal-padding:20px;border:none;padding-top:10px;padding-bottom:10px;height:62px}}.navigator-filter .input-wrapper[data-v-a440d59c]{position:relative;flex:1;min-width:0}.navigator-filter .filter-component[data-v-a440d59c]{--input-vertical-padding:10px;--input-height:20px;--input-border-color:var(--color-grid);--input-text:var(--color-figure-gray-secondary)}.navigator-filter .filter-component[data-v-a440d59c] .filter__input{font-size:1rem;line-height:1.47059;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.scroller[data-v-a440d59c]{height:100%;box-sizing:border-box;padding:var(--card-vertical-spacing) 0;padding-bottom:calc(var(--top-offset, 0px) + var(--card-vertical-spacing));transition:padding-bottom .15s ease-in}@media only screen and (max-width:1023px){.scroller[data-v-a440d59c]{padding-bottom:10em}}.scroller[data-v-a440d59c] .vue-recycle-scroller__item-wrapper{transform:translateZ(0)}.filter-wrapper[data-v-a440d59c]{position:sticky;bottom:0;background:var(--color-fill)}.sidebar-transitioning .filter-wrapper[data-v-a440d59c]{flex:1 0 73px;overflow:hidden}@media only screen and (max-width:1023px){.sidebar-transitioning .filter-wrapper[data-v-a440d59c]{flex-basis:62px}}.loader[data-v-0de29914]{height:.70588rem;background-color:var(--color-fill-gray-tertiary);border-radius:4px}.navigator-icon[data-v-0de29914]{width:16px;height:16px;border-radius:2px;background-color:var(--color-fill-gray-tertiary)}.loading-navigator-item[data-v-0de29914]{-webkit-animation:pulse 2.5s ease;animation:pulse 2.5s ease;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;opacity:0;-webkit-animation-delay:calc(var(--visibility-delay) + 0.3s*var(--index));animation-delay:calc(var(--visibility-delay) + 0.3s*var(--index))}.delay-visibility-enter-active[data-v-4b6d345f]{transition:visibility var(--visibility-delay);visibility:hidden}.loading-navigator[data-v-4b6d345f]{padding-top:var(--card-vertical-spacing)}.navigator[data-v-048fdefe]{height:100%;display:flex;flex-flow:column}@media only screen and (max-width:1023px){.navigator[data-v-048fdefe]{position:static;transition:none}}.hierarchy-collapsed-items[data-v-74906830]{position:relative;display:inline-flex;align-items:center;margin-left:.17647rem}.hierarchy-collapsed-items .hierarchy-item-icon[data-v-74906830]{width:9px;height:15px;margin-right:.17647rem;display:flex;justify-content:center;font-size:1em;align-self:baseline}.nav--in-breakpoint-range .hierarchy-collapsed-items[data-v-74906830]{display:none}.hierarchy-collapsed-items .toggle[data-v-74906830]{background:var(--color-nav-hierarchy-collapse-background);border-color:var(--color-nav-hierarchy-collapse-borders);border-radius:var(--border-radius,4px);border-style:solid;border-width:0;font-weight:600;height:1.11765rem;text-align:center;width:2.11765rem;display:flex;align-items:center;justify-content:center}.theme-dark .hierarchy-collapsed-items .toggle[data-v-74906830]{background:var(--color-nav-dark-hierarchy-collapse-background)}.hierarchy-collapsed-items .toggle.focused[data-v-74906830],.hierarchy-collapsed-items .toggle[data-v-74906830]:active,.hierarchy-collapsed-items .toggle[data-v-74906830]:focus{box-shadow:0 0 0 4px var(--color-focus-color);outline:none}.indicator[data-v-74906830]{width:1em;height:1em;display:flex;align-items:center}.indicator .toggle-icon[data-v-74906830]{width:100%}.dropdown[data-v-74906830]{background:var(--color-nav-hierarchy-collapse-background);border-color:var(--color-nav-hierarchy-collapse-borders);border-radius:var(--border-radius,4px);border-style:solid;box-shadow:0 1px 4px -1px var(--color-figure-gray-secondary);border-width:0;padding:0 .5rem;position:absolute;z-index:42;top:calc(100% + .41176rem)}.theme-dark .dropdown[data-v-74906830]{background:var(--color-nav-dark-hierarchy-collapse-background);border-color:var(--color-nav-dark-hierarchy-collapse-borders)}.dropdown.collapsed[data-v-74906830]{opacity:0;transform:translate3d(0,-.41176rem,0);transition:opacity .25s ease,transform .25s ease,visibility 0s linear .25s;visibility:hidden}.dropdown[data-v-74906830]:not(.collapsed){opacity:1;transform:none;transition:opacity .25s ease,transform .25s ease,visibility 0s linear 0s;visibility:visible}.nav--in-breakpoint-range .dropdown[data-v-74906830]:not(.collapsed){display:none}.dropdown[data-v-74906830]:before{border-bottom-color:var(--color-nav-hierarchy-collapse-background);border-bottom-style:solid;border-bottom-width:.5rem;border-left-color:transparent;border-left-style:solid;border-left-width:.5rem;border-right-color:transparent;border-right-style:solid;border-right-width:.5rem;content:"";left:1.26471rem;position:absolute;top:-.44118rem}.theme-dark .dropdown[data-v-74906830]:before{border-bottom-color:var(--color-nav-dark-hierarchy-collapse-background)}.dropdown-item[data-v-74906830]{border-top-color:var(--color-nav-hierarchy-collapse-borders);border-top-style:solid;border-top-width:1px}.theme-dark .dropdown-item[data-v-74906830]{border-top-color:var(--color-nav-dark-hierarchy-collapse-borders)}.dropdown-item[data-v-74906830]:first-child{border-top:none}.nav-menu-link[data-v-74906830]{max-width:57.64706rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;padding:.75rem 1rem}.hierarchy-item[data-v-382bf39e]{display:flex;align-items:center;margin-left:.17647rem}.hierarchy-item[data-v-382bf39e] .hierarchy-item-icon{width:9px;height:15px;margin-right:.17647rem;display:flex;justify-content:center;font-size:1em;align-self:baseline}.nav--in-breakpoint-range .hierarchy-item[data-v-382bf39e] .hierarchy-item-icon{display:none}.nav--in-breakpoint-range .hierarchy-item[data-v-382bf39e]{border-top:1px solid var(--color-nav-hierarchy-item-borders);display:flex;align-items:center}.theme-dark.nav--in-breakpoint-range .hierarchy-item[data-v-382bf39e]{border-top-color:var(--color-nav-dark-hierarchy-item-borders)}.nav--in-breakpoint-range .hierarchy-item[data-v-382bf39e]:first-of-type{border-top:none}.hierarchy-item.collapsed[data-v-382bf39e]{display:none}.nav--in-breakpoint-range .hierarchy-item.collapsed[data-v-382bf39e]{display:inline-block}.item[data-v-382bf39e]{display:inline-block;vertical-align:middle}.nav--in-breakpoint-range .item[data-v-382bf39e]{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;height:100%;line-height:2.47059rem}@media only screen and (min-width:768px){.hierarchy-item:first-child:last-child .item[data-v-382bf39e],.hierarchy-item:first-child:last-child~.hierarchy-item .item[data-v-382bf39e]{max-width:45rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.has-badge .hierarchy-item:first-child:last-child .item[data-v-382bf39e],.has-badge .hierarchy-item:first-child:last-child~.hierarchy-item .item[data-v-382bf39e],.hierarchy-item:first-child:nth-last-child(2) .item[data-v-382bf39e],.hierarchy-item:first-child:nth-last-child(2)~.hierarchy-item .item[data-v-382bf39e]{max-width:36rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.has-badge .hierarchy-item:first-child:nth-last-child(2) .item[data-v-382bf39e],.has-badge .hierarchy-item:first-child:nth-last-child(2)~.hierarchy-item .item[data-v-382bf39e]{max-width:28.8rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hierarchy-item:first-child:nth-last-child(3) .item[data-v-382bf39e],.hierarchy-item:first-child:nth-last-child(3)~.hierarchy-item .item[data-v-382bf39e]{max-width:27rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.has-badge .hierarchy-item:first-child:nth-last-child(3) .item[data-v-382bf39e],.has-badge .hierarchy-item:first-child:nth-last-child(3)~.hierarchy-item .item[data-v-382bf39e]{max-width:21.6rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hierarchy-item:first-child:nth-last-child(4) .item[data-v-382bf39e],.hierarchy-item:first-child:nth-last-child(4)~.hierarchy-item .item[data-v-382bf39e]{max-width:18rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.has-badge .hierarchy-item:first-child:nth-last-child(4) .item[data-v-382bf39e],.has-badge .hierarchy-item:first-child:nth-last-child(4)~.hierarchy-item .item[data-v-382bf39e]{max-width:14.4rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hierarchy-item:first-child:nth-last-child(5) .item[data-v-382bf39e],.hierarchy-item:first-child:nth-last-child(5)~.hierarchy-item .item[data-v-382bf39e]{max-width:9rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.has-badge .hierarchy-item:first-child:nth-last-child(5) .item[data-v-382bf39e],.has-badge .hierarchy-item:first-child:nth-last-child(5)~.hierarchy-item .item[data-v-382bf39e]{max-width:7.2rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hierarchy-collapsed-items~.hierarchy-item .item[data-v-382bf39e]{max-width:10.8rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hierarchy-collapsed-items~.hierarchy-item:last-child .item[data-v-382bf39e]{max-width:none}.has-badge .hierarchy-collapsed-items~.hierarchy-item .item[data-v-382bf39e]{max-width:8.64rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}.hierarchy[data-v-42bf934a]{justify-content:flex-start;min-width:0;margin-right:80px}.nav--in-breakpoint-range .hierarchy[data-v-42bf934a]{margin-right:0}.hierarchy .root-hierarchy .item[data-v-42bf934a]{max-width:10rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nav-menu-setting-label[data-v-005af823]{margin-right:.35294rem;white-space:nowrap}.language-dropdown[data-v-005af823]{-webkit-text-size-adjust:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background-color:transparent;box-sizing:inherit;padding:0 11px 0 4px;margin-left:-4px;font-size:.82353rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);cursor:pointer;position:relative;z-index:1}@media only screen and (max-width:1023px){.language-dropdown[data-v-005af823]{font-size:.82353rem;line-height:1.5;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.language-dropdown[data-v-005af823]:focus{outline:none}.fromkeyboard .language-dropdown[data-v-005af823]:focus{outline:4px solid var(--color-focus-color);outline-offset:1px}.language-sizer[data-v-005af823]{position:absolute;opacity:0;pointer-events:none;padding:0}.language-toggle-container[data-v-005af823]{display:flex;align-items:center;padding-right:.17647rem;position:relative}.nav--in-breakpoint-range .language-toggle-container[data-v-005af823]{display:none}.language-toggle-container .toggle-icon[data-v-005af823]{width:.6em;height:.6em;position:absolute;right:7px}.language-toggle-label[data-v-005af823]{margin-right:2px}.language-toggle.nav-menu-toggle-label[data-v-005af823]{margin-right:6px}.language-list[data-v-005af823]{display:inline-block;margin-top:0}.language-list-container[data-v-005af823]{display:none}.language-list-item[data-v-005af823],.nav--in-breakpoint-range .language-list-container[data-v-005af823]{display:inline-block}.language-list-item[data-v-005af823]:not(:first-child){border-left:1px solid #424242;margin-left:6px;padding-left:6px}[data-v-136c3ca6] .nav-menu{line-height:1.5;padding-top:0}[data-v-136c3ca6] .nav-menu,[data-v-136c3ca6] .nav-menu-settings{font-size:.82353rem;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}[data-v-136c3ca6] .nav-menu-settings{line-height:1.28571}@media only screen and (max-width:1023px){[data-v-136c3ca6] .nav-menu-settings{font-size:.82353rem;line-height:1.5;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (min-width:1024px){[data-v-136c3ca6] .nav-menu-settings{margin-left:.58824rem}}.nav--in-breakpoint-range[data-v-136c3ca6] .nav-menu-settings:not([data-previous-menu-children-count="0"]) .nav-menu-setting:first-child{border-top:1px solid #b0b0b0;display:flex;align-items:center}[data-v-136c3ca6] .nav-menu-settings .nav-menu-setting{display:flex;align-items:center;color:var(--color-nav-current-link);margin-left:0}[data-v-136c3ca6] .nav-menu-settings .nav-menu-setting:first-child:not(:only-child){margin-right:.58824rem}.nav--in-breakpoint-range[data-v-136c3ca6] .nav-menu-settings .nav-menu-setting:first-child:not(:only-child){margin-right:0}.theme-dark[data-v-136c3ca6] .nav-menu-settings .nav-menu-setting{color:var(--color-nav-dark-current-link)}.nav--in-breakpoint-range[data-v-136c3ca6] .nav-menu-settings .nav-menu-setting:not(:first-child){border-top:1px solid #424242}.documentation-nav[data-v-136c3ca6] .nav-title{font-size:.82353rem;line-height:1.5;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1023px){.documentation-nav[data-v-136c3ca6] .nav-title{padding-top:0}}.documentation-nav[data-v-136c3ca6] .nav-title .nav-title-link.inactive{height:auto;color:var(--color-figure-gray-secondary-alt)}.theme-dark.documentation-nav .nav-title .nav-title-link.inactive[data-v-136c3ca6]{color:#b0b0b0}.sidenav-toggle-wrapper[data-v-136c3ca6]{display:flex;margin-top:1px}.nav--in-breakpoint-range .sidenav-toggle-wrapper[data-v-136c3ca6]{display:flex!important}@media only screen and (min-width:1024px){.sidenav-toggle-enter-active[data-v-136c3ca6],.sidenav-toggle-leave-active[data-v-136c3ca6]{transition:margin .3s ease-in 0s}.sidenav-toggle-enter[data-v-136c3ca6],.sidenav-toggle-leave-to[data-v-136c3ca6]{margin-left:-3.76471rem}}.sidenav-toggle[data-v-136c3ca6]{align-self:center;color:var(--color-nav-link-color);position:relative;margin:-5px}.theme-dark .sidenav-toggle[data-v-136c3ca6]{color:var(--color-nav-dark-link-color)}.sidenav-toggle:hover .sidenav-icon-wrapper[data-v-136c3ca6]{background:var(--color-fill-gray-quaternary)}.theme-dark .sidenav-toggle:hover .sidenav-icon-wrapper[data-v-136c3ca6]{background:#424242}.sidenav-toggle__separator[data-v-136c3ca6]{height:.8em;width:1px;background:var(--color-nav-color);align-self:center;margin:0 1.29412rem}.nav--in-breakpoint-range .sidenav-toggle[data-v-136c3ca6]{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px;align-self:stretch}.nav--in-breakpoint-range .sidenav-toggle__separator[data-v-136c3ca6]{display:none}.sidenav-icon-wrapper[data-v-136c3ca6]{padding:5px;display:flex;align-items:center;justify-content:center;border-radius:var(--border-radius,4px)}.sidenav-icon[data-v-136c3ca6]{display:flex;width:19px;height:19px}[data-v-3f2e5486] .generic-modal{overflow-y:overlay}[data-v-3f2e5486] .modal-fullscreen .container{background-color:transparent;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;flex:auto;margin:9.41176rem 0;max-width:47.05882rem;overflow:visible}.doc-topic-view[data-v-3f2e5486]{--delay:1s;display:flex;flex-flow:column;background:var(--colors-text-background,var(--color-text-background))}.doc-topic-view .delay-hiding-leave-active[data-v-3f2e5486]{transition:display var(--delay)}.doc-topic-aside[data-v-3f2e5486]{height:100%;box-sizing:border-box;border-right:1px solid var(--color-grid)}@media only screen and (max-width:1023px){.doc-topic-aside[data-v-3f2e5486]{background:var(--color-fill);border-right:none}.sidebar-transitioning .doc-topic-aside[data-v-3f2e5486]{border-right:1px solid var(--color-grid)}}.quick-navigation-open-container[data-v-3f2e5486]{height:.88235rem;width:.88235rem;margin-left:.58824rem}.nav--in-breakpoint-range .quick-navigation-open-container[data-v-3f2e5486]{display:none}.quick-navigation-open-container [data-v-3f2e5486]{fill:var(--color-text)}.topic-wrapper[data-v-3f2e5486]{flex:1 1 auto;width:100%}.full-width-container[data-v-3f2e5486]{max-width:1920px;margin-left:auto;margin-right:auto}@media only screen and (min-width:1920px){.full-width-container[data-v-3f2e5486]{border-left:1px solid var(--color-grid);border-right:1px solid var(--color-grid);box-sizing:border-box}} \ No newline at end of file diff --git a/docs/css/documentation-topic~topic.b6287bcf.css b/docs/css/documentation-topic~topic.b6287bcf.css new file mode 100644 index 0000000..d2a4800 --- /dev/null +++ b/docs/css/documentation-topic~topic.b6287bcf.css @@ -0,0 +1,9 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */.generic-modal[data-v-795f7b59]{position:fixed;top:0;left:0;right:0;bottom:0;margin:0;z-index:11000;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;background:none;overflow:auto}.modal-fullscreen[data-v-795f7b59]{align-items:stretch}.modal-fullscreen .container[data-v-795f7b59]{margin:0;flex:1;width:100%;height:100%;padding-top:env(safe-area-inset-top);padding-right:env(safe-area-inset-right);padding-bottom:env(safe-area-inset-bottom);padding-left:env(safe-area-inset-left)}.modal-standard[data-v-795f7b59]{padding:20px}.modal-standard .container[data-v-795f7b59]{padding:60px;border-radius:var(--border-radius,4px)}@media screen{[data-color-scheme=dark] .modal-standard .container[data-v-795f7b59]{background:#1d1d1f}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .modal-standard .container[data-v-795f7b59]{background:#1d1d1f}}@media only screen and (max-width:735px){.modal-standard[data-v-795f7b59]{padding:0;align-items:stretch}.modal-standard .container[data-v-795f7b59]{margin:20px 0 0;padding:50px 30px;flex:1;width:100%;border-bottom-left-radius:0;border-bottom-right-radius:0}}.backdrop[data-v-795f7b59]{overflow:auto;background:var(--backdrop-background,rgba(0,0,0,.4));-webkit-overflow-scrolling:touch;width:100%;height:100%;position:fixed}.container[data-v-795f7b59]{margin-left:auto;margin-right:auto;width:980px;background:var(--colors-generic-modal-background,var(--color-generic-modal-background));z-index:1;position:relative;overflow:auto;max-width:100%}@media only screen and (max-width:1250px){.container[data-v-795f7b59]{width:692px}}@media only screen and (max-width:735px){.container[data-v-795f7b59]{width:87.5%}}@media only screen and (max-width:320px){.container[data-v-795f7b59]{width:215px}}.close[data-v-795f7b59]{position:absolute;z-index:9999;top:22px;left:22px;width:17px;height:17px;color:#666;cursor:pointer;background:none;border:0;display:flex;align-items:center}.close .close-icon[data-v-795f7b59]{fill:currentColor;width:100%;height:100%}.theme-dark .container[data-v-795f7b59]{background:#000}.theme-dark .container .close[data-v-795f7b59]{color:#b0b0b0}.theme-code .container[data-v-795f7b59]{background-color:var(--code-background,var(--color-code-background))} \ No newline at end of file diff --git a/docs/css/documentation-topic~topic.fccbd76c.css b/docs/css/documentation-topic~topic.fccbd76c.css deleted file mode 100644 index 7df762b..0000000 --- a/docs/css/documentation-topic~topic.fccbd76c.css +++ /dev/null @@ -1,9 +0,0 @@ -/*! - * This source file is part of the Swift.org open source project - * - * Copyright (c) 2021 Apple Inc. and the Swift project authors - * Licensed under Apache License v2.0 with Runtime Library Exception - * - * See https://swift.org/LICENSE.txt for license information - * See https://swift.org/CONTRIBUTORS.txt for Swift project authors - */.generic-modal[data-v-f5b28690]{position:fixed;top:0;left:0;right:0;bottom:0;margin:0;z-index:11000;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;background:none;overflow:auto}.modal-fullscreen[data-v-f5b28690]{align-items:stretch}.modal-fullscreen .container[data-v-f5b28690]{margin:0;flex:1;width:100%;height:100%;padding-top:env(safe-area-inset-top);padding-right:env(safe-area-inset-right);padding-bottom:env(safe-area-inset-bottom);padding-left:env(safe-area-inset-left)}.modal-standard[data-v-f5b28690]{padding:20px}.modal-standard .container[data-v-f5b28690]{padding:60px;border-radius:var(--border-radius,4px)}@media screen{[data-color-scheme=dark] .modal-standard .container[data-v-f5b28690]{background:#1d1d1f}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .modal-standard .container[data-v-f5b28690]{background:#1d1d1f}}@media only screen and (max-width:735px){.modal-standard[data-v-f5b28690]{padding:0;align-items:stretch}.modal-standard .container[data-v-f5b28690]{margin:20px 0 0;padding:50px 30px;flex:1;width:100%;border-bottom-left-radius:0;border-bottom-right-radius:0}}.backdrop[data-v-f5b28690]{overflow:auto;background:rgba(0,0,0,.4);-webkit-overflow-scrolling:touch;width:100%;height:100%;position:fixed}.container[data-v-f5b28690]{margin-left:auto;margin-right:auto;width:980px;background:var(--colors-generic-modal-background,var(--color-generic-modal-background));z-index:1;position:relative;overflow:auto;max-width:100%}@media only screen and (max-width:1250px){.container[data-v-f5b28690]{width:692px}}@media only screen and (max-width:735px){.container[data-v-f5b28690]{width:87.5%}}.close[data-v-f5b28690]{position:absolute;z-index:9999;top:22px;left:22px;width:30px;height:30px;color:#666;cursor:pointer;background:none;border:0;display:flex;align-items:center}.close .close-icon[data-v-f5b28690]{fill:currentColor;width:100%;height:100%}.theme-dark .container[data-v-f5b28690]{background:#000}.theme-dark .container .close[data-v-f5b28690]{color:#b0b0b0}.theme-code .container[data-v-f5b28690]{background-color:var(--background,var(--color-code-background))} \ No newline at end of file diff --git a/docs/css/documentation-topic~topic~tutorials-overview.1099452b.css b/docs/css/documentation-topic~topic~tutorials-overview.1099452b.css deleted file mode 100644 index 37d9f45..0000000 --- a/docs/css/documentation-topic~topic~tutorials-overview.1099452b.css +++ /dev/null @@ -1,9 +0,0 @@ -/*! - * This source file is part of the Swift.org open source project - * - * Copyright (c) 2021 Apple Inc. and the Swift project authors - * Licensed under Apache License v2.0 with Runtime Library Exception - * - * See https://swift.org/LICENSE.txt for license information - * See https://swift.org/CONTRIBUTORS.txt for Swift project authors - */.svg-icon[data-v-33d3200a]{fill:var(--colors-svg-icon-fill-light,var(--color-svg-icon));transform:scale(1);-webkit-transform:scale(1);overflow:visible}.theme-dark .svg-icon[data-v-33d3200a]{fill:var(--colors-svg-icon-fill-dark,var(--color-svg-icon))}.svg-icon.icon-inline[data-v-33d3200a]{display:inline-block;vertical-align:middle;fill:currentColor}.svg-icon.icon-inline[data-v-33d3200a] .svg-icon-stroke{stroke:currentColor}[data-v-33d3200a] .svg-icon-stroke{stroke:var(--colors-svg-icon-fill-light,var(--color-svg-icon))}.theme-dark[data-v-33d3200a] .svg-icon-stroke{stroke:var(--colors-svg-icon-fill-dark,var(--color-svg-icon))}.label[data-v-7696d857]{font-size:.70588rem;line-height:1.33333;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.label+[data-v-7696d857]{margin-top:.4em}.deprecated .label[data-v-7696d857]{color:var(--color-aside-deprecated)}.experiment .label[data-v-7696d857]{color:var(--color-aside-experiment)}.important .label[data-v-7696d857]{color:var(--color-aside-important)}.note .label[data-v-7696d857]{color:var(--color-aside-note)}.tip .label[data-v-7696d857]{color:var(--color-aside-tip)}.warning .label[data-v-7696d857]{color:var(--color-aside-warning)}.doc-topic aside[data-v-7696d857]{-moz-column-break-inside:avoid;break-inside:avoid;border-radius:var(--aside-border-radius,var(--border-radius,4px));border-style:var(--aside-border-style,solid);border-width:var(--aside-border-width,0 0 0 6px);padding:.94118rem}.doc-topic aside.deprecated[data-v-7696d857]{background-color:var(--color-aside-deprecated-background);border-color:var(--color-aside-deprecated-border);box-shadow:0 0 0 0 var(--color-aside-deprecated-border) inset,0 0 0 0 var(--color-aside-deprecated-border)}.doc-topic aside.experiment[data-v-7696d857]{background-color:var(--color-aside-experiment-background);border-color:var(--color-aside-experiment-border);box-shadow:0 0 0 0 var(--color-aside-experiment-border) inset,0 0 0 0 var(--color-aside-experiment-border)}.doc-topic aside.important[data-v-7696d857]{background-color:var(--color-aside-important-background);border-color:var(--color-aside-important-border);box-shadow:0 0 0 0 var(--color-aside-important-border) inset,0 0 0 0 var(--color-aside-important-border)}.doc-topic aside.note[data-v-7696d857]{background-color:var(--color-aside-note-background);border-color:var(--color-aside-note-border);box-shadow:0 0 0 0 var(--color-aside-note-border) inset,0 0 0 0 var(--color-aside-note-border)}.doc-topic aside.tip[data-v-7696d857]{background-color:var(--color-aside-tip-background);border-color:var(--color-aside-tip-border);box-shadow:0 0 0 0 var(--color-aside-tip-border) inset,0 0 0 0 var(--color-aside-tip-border)}.doc-topic aside.warning[data-v-7696d857]{background-color:var(--color-aside-warning-background);border-color:var(--color-aside-warning-border);box-shadow:0 0 0 0 var(--color-aside-warning-border) inset,0 0 0 0 var(--color-aside-warning-border)}.doc-topic aside .label[data-v-7696d857]{font-size:1rem;line-height:1.52941;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.swift-file-icon.file-icon[data-v-c01a6890]{height:1rem}.file-icon[data-v-7c381064]{position:relative;align-items:flex-end;height:24px;margin:0 .5rem 0 1rem}.filename[data-v-c8c40662]{color:var(--text,var(--colors-secondary-label,var(--color-secondary-label)));font-size:.94118rem;line-height:1.1875;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);margin-top:1rem}@media only screen and (max-width:735px){.filename[data-v-c8c40662]{font-size:.82353rem;line-height:1.42857;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);margin-top:0}}.filename>a[data-v-c8c40662],.filename>span[data-v-c8c40662]{display:flex;align-items:center;line-height:normal}a[data-v-c8c40662]{color:var(--url,var(--color-link))}.code-line-container[data-v-12727242]{display:flex}.code-number[data-v-12727242]{padding:0 1rem 0 8px;text-align:right;min-width:2em;color:#666;-webkit-user-select:none;-moz-user-select:none;user-select:none}.code-number[data-v-12727242]:before{content:attr(data-line-number)}.highlighted[data-v-12727242]{background:var(--line-highlight,var(--color-code-line-highlight));border-left:4px solid var(--color-code-line-highlight-border)}.highlighted .code-number[data-v-12727242]{padding-left:4px}pre[data-v-12727242]{padding:14px 0;display:flex;overflow:unset;-webkit-overflow-scrolling:touch;white-space:pre;word-wrap:normal;height:100%}@media only screen and (max-width:735px){pre[data-v-12727242]{padding-top:.82353rem}}code[data-v-12727242]{display:flex;flex-direction:column;white-space:pre;word-wrap:normal;flex-grow:9999}.code-line-container[data-v-12727242]{flex-shrink:0;padding-right:14px}.code-listing[data-v-12727242],.container-general[data-v-12727242]{display:flex}.code-listing[data-v-12727242]{flex-direction:column;min-height:100%;border-radius:var(--code-border-radius,var(--border-radius,4px));overflow:hidden;-webkit-mask-image:-webkit-radial-gradient(#fff,#000)}.code-listing.single-line[data-v-12727242]{border-radius:var(--border-radius,4px)}.container-general[data-v-12727242]{overflow:auto}.container-general[data-v-12727242],pre[data-v-12727242]{flex-grow:1}.header-anchor[data-v-635e28c1]{color:inherit;text-decoration:none;position:relative;padding-right:23px;display:inline-block}.header-anchor .icon[data-v-635e28c1]{position:absolute;right:0;bottom:.2em;display:none;height:16px;margin-left:7px}.header-anchor:hover .icon[data-v-635e28c1]{display:inline}code[data-v-05f4a5b7]{speak-punctuation:code}code[data-v-d68ae420]{width:100%}.container-general[data-v-d68ae420]{display:flex;flex-flow:row wrap}.container-general .code-line[data-v-d68ae420]{flex:1 0 auto}.code-line-container[data-v-d68ae420]{align-items:center;display:flex;border-left:4px solid transparent;counter-increment:linenumbers;padding-right:14px}.code-number[data-v-d68ae420]{font-size:.70588rem;line-height:1.5;font-weight:400;font-family:var(--typography-html-font-mono,Menlo,monospace);padding:0 1rem 0 8px;text-align:right;min-width:2.01em;-webkit-user-select:none;-moz-user-select:none;user-select:none}.code-number[data-v-d68ae420]:before{content:counter(linenumbers)}.code-line[data-v-d68ae420]{display:flex}pre[data-v-d68ae420]{padding:14px 0;display:flex;flex-flow:row wrap;overflow:auto;-webkit-overflow-scrolling:touch;white-space:pre;word-wrap:normal}@media only screen and (max-width:735px){pre[data-v-d68ae420]{padding-top:.82353rem}}.collapsible-code-listing[data-v-d68ae420]{background:var(--background,var(--color-code-background));border-color:var(--colors-grid,var(--color-grid));color:var(--text,var(--color-code-plain));border-radius:var(--border-radius,4px);border-style:solid;border-width:1px;counter-reset:linenumbers;font-size:15px}.collapsible-code-listing.single-line[data-v-d68ae420]{border-radius:var(--border-radius,4px)}.collapsible[data-v-d68ae420]{background:var(--color-code-collapsible-background);color:var(--color-code-collapsible-text)}.collapsed[data-v-d68ae420]:before{content:"⋯";display:inline-block;font-family:monospace;font-weight:700;height:100%;line-height:1;text-align:right;width:2.3rem}.collapsed .code-line-container[data-v-d68ae420]{height:0;visibility:hidden}.row[data-v-be73599c]{box-sizing:border-box;display:flex;flex-flow:row wrap}.col[data-v-2ee3ad8b]{box-sizing:border-box;flex:none}.xlarge-1[data-v-2ee3ad8b]{flex-basis:8.33333%;max-width:8.33333%}.xlarge-2[data-v-2ee3ad8b]{flex-basis:16.66667%;max-width:16.66667%}.xlarge-3[data-v-2ee3ad8b]{flex-basis:25%;max-width:25%}.xlarge-4[data-v-2ee3ad8b]{flex-basis:33.33333%;max-width:33.33333%}.xlarge-5[data-v-2ee3ad8b]{flex-basis:41.66667%;max-width:41.66667%}.xlarge-6[data-v-2ee3ad8b]{flex-basis:50%;max-width:50%}.xlarge-7[data-v-2ee3ad8b]{flex-basis:58.33333%;max-width:58.33333%}.xlarge-8[data-v-2ee3ad8b]{flex-basis:66.66667%;max-width:66.66667%}.xlarge-9[data-v-2ee3ad8b]{flex-basis:75%;max-width:75%}.xlarge-10[data-v-2ee3ad8b]{flex-basis:83.33333%;max-width:83.33333%}.xlarge-11[data-v-2ee3ad8b]{flex-basis:91.66667%;max-width:91.66667%}.xlarge-12[data-v-2ee3ad8b]{flex-basis:100%;max-width:100%}.xlarge-centered[data-v-2ee3ad8b]{margin-left:auto;margin-right:auto}.xlarge-uncentered[data-v-2ee3ad8b]{margin-left:0;margin-right:0}.large-1[data-v-2ee3ad8b]{flex-basis:8.33333%;max-width:8.33333%}.large-2[data-v-2ee3ad8b]{flex-basis:16.66667%;max-width:16.66667%}.large-3[data-v-2ee3ad8b]{flex-basis:25%;max-width:25%}.large-4[data-v-2ee3ad8b]{flex-basis:33.33333%;max-width:33.33333%}.large-5[data-v-2ee3ad8b]{flex-basis:41.66667%;max-width:41.66667%}.large-6[data-v-2ee3ad8b]{flex-basis:50%;max-width:50%}.large-7[data-v-2ee3ad8b]{flex-basis:58.33333%;max-width:58.33333%}.large-8[data-v-2ee3ad8b]{flex-basis:66.66667%;max-width:66.66667%}.large-9[data-v-2ee3ad8b]{flex-basis:75%;max-width:75%}.large-10[data-v-2ee3ad8b]{flex-basis:83.33333%;max-width:83.33333%}.large-11[data-v-2ee3ad8b]{flex-basis:91.66667%;max-width:91.66667%}.large-12[data-v-2ee3ad8b]{flex-basis:100%;max-width:100%}.large-centered[data-v-2ee3ad8b]{margin-left:auto;margin-right:auto}.large-uncentered[data-v-2ee3ad8b]{margin-left:0;margin-right:0}@media only screen and (max-width:1250px){.medium-1[data-v-2ee3ad8b]{flex-basis:8.33333%;max-width:8.33333%}.medium-2[data-v-2ee3ad8b]{flex-basis:16.66667%;max-width:16.66667%}.medium-3[data-v-2ee3ad8b]{flex-basis:25%;max-width:25%}.medium-4[data-v-2ee3ad8b]{flex-basis:33.33333%;max-width:33.33333%}.medium-5[data-v-2ee3ad8b]{flex-basis:41.66667%;max-width:41.66667%}.medium-6[data-v-2ee3ad8b]{flex-basis:50%;max-width:50%}.medium-7[data-v-2ee3ad8b]{flex-basis:58.33333%;max-width:58.33333%}.medium-8[data-v-2ee3ad8b]{flex-basis:66.66667%;max-width:66.66667%}.medium-9[data-v-2ee3ad8b]{flex-basis:75%;max-width:75%}.medium-10[data-v-2ee3ad8b]{flex-basis:83.33333%;max-width:83.33333%}.medium-11[data-v-2ee3ad8b]{flex-basis:91.66667%;max-width:91.66667%}.medium-12[data-v-2ee3ad8b]{flex-basis:100%;max-width:100%}.medium-centered[data-v-2ee3ad8b]{margin-left:auto;margin-right:auto}.medium-uncentered[data-v-2ee3ad8b]{margin-left:0;margin-right:0}}@media only screen and (max-width:735px){.small-1[data-v-2ee3ad8b]{flex-basis:8.33333%;max-width:8.33333%}.small-2[data-v-2ee3ad8b]{flex-basis:16.66667%;max-width:16.66667%}.small-3[data-v-2ee3ad8b]{flex-basis:25%;max-width:25%}.small-4[data-v-2ee3ad8b]{flex-basis:33.33333%;max-width:33.33333%}.small-5[data-v-2ee3ad8b]{flex-basis:41.66667%;max-width:41.66667%}.small-6[data-v-2ee3ad8b]{flex-basis:50%;max-width:50%}.small-7[data-v-2ee3ad8b]{flex-basis:58.33333%;max-width:58.33333%}.small-8[data-v-2ee3ad8b]{flex-basis:66.66667%;max-width:66.66667%}.small-9[data-v-2ee3ad8b]{flex-basis:75%;max-width:75%}.small-10[data-v-2ee3ad8b]{flex-basis:83.33333%;max-width:83.33333%}.small-11[data-v-2ee3ad8b]{flex-basis:91.66667%;max-width:91.66667%}.small-12[data-v-2ee3ad8b]{flex-basis:100%;max-width:100%}.small-centered[data-v-2ee3ad8b]{margin-left:auto;margin-right:auto}.small-uncentered[data-v-2ee3ad8b]{margin-left:0;margin-right:0}}.tabnav[data-v-5283512a]{margin:0 0 1.47059rem 0;display:flex}.tabnav--center[data-v-5283512a]{justify-content:center}.tabnav--end[data-v-5283512a]{justify-content:flex-end}.tabnav--vertical[data-v-5283512a]{flex-flow:column wrap}.tabnav--vertical .tabnav-items[data-v-5283512a]{flex-flow:column;overflow:hidden}.tabnav--vertical[data-v-5283512a] .tabnav-item{padding-left:0}.tabnav--vertical[data-v-5283512a] .tabnav-item .tabnav-link{padding-top:8px}.tabnav-items[data-v-5283512a]{display:flex;margin:0;text-align:center}.tabnav-item[data-v-6aa9882a]{border-bottom:1px solid;border-color:var(--colors-tabnav-item-border-color,var(--color-tabnav-item-border-color));display:flex;list-style:none;padding-left:1.76471rem;margin:0;outline:none}.tabnav-item[data-v-6aa9882a]:first-child{padding-left:0}.tabnav-item[data-v-6aa9882a]:nth-child(n+1){margin:0}.tabnav-link[data-v-6aa9882a]{color:var(--colors-secondary-label,var(--color-secondary-label));font-size:.82353rem;line-height:1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);padding:6px 0;margin-top:4px;margin-bottom:4px;text-align:left;text-decoration:none;display:block;position:relative;z-index:0;width:100%}.tabnav-link[data-v-6aa9882a]:hover{text-decoration:none}.tabnav-link[data-v-6aa9882a]:focus{outline-offset:-1px}.tabnav-link[data-v-6aa9882a]:after{content:"";position:absolute;bottom:-5px;left:0;width:100%;border:1px solid transparent}.tabnav-link.active[data-v-6aa9882a]{color:var(--colors-text,var(--color-text));cursor:default;z-index:10}.tabnav-link.active[data-v-6aa9882a]:after{border-bottom-color:var(--colors-text,var(--color-text))}.controls[data-v-6197ce3f]{margin-top:5px;font-size:14px;display:flex;justify-content:flex-end}.controls a[data-v-6197ce3f]{color:var(--colors-text,var(--color-text));display:flex;align-items:center}.controls .control-icon[data-v-6197ce3f]{width:1.05em;margin-right:.3em}[data-v-4baaf006] figcaption+*{margin-top:1rem}.caption[data-v-969dceb4]{font-size:.82353rem;line-height:1.5;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.caption[data-v-969dceb4]:last-child{margin-top:.8em}.caption.centered[data-v-969dceb4]{text-align:center}[data-v-969dceb4] p{display:inline-block}[data-v-3a939631] img{max-width:100%}.table-wrapper[data-v-9a297d5c]{overflow:auto;-webkit-overflow-scrolling:touch}*+.table-wrapper[data-v-9a297d5c],.table-wrapper[data-v-9a297d5c]+*{margin-top:1.6em}table[data-v-9a297d5c]{border-style:hidden}[data-v-9a297d5c] th{font-weight:600}[data-v-9a297d5c] td,[data-v-9a297d5c] th{border-color:var(--color-fill-gray-tertiary);border-style:solid;border-width:var(--table-border-width,1px 1px);padding:.58824rem}[data-v-9a297d5c] td.left-cell,[data-v-9a297d5c] th.left-cell{text-align:left}[data-v-9a297d5c] td.right-cell,[data-v-9a297d5c] th.right-cell{text-align:right}[data-v-9a297d5c] td.center-cell,[data-v-9a297d5c] th.center-cell{text-align:center}s[data-v-eb91ce54]:after,s[data-v-eb91ce54]:before{position:absolute;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(0 0 99.9% 99.9%);clip-path:inset(0 0 99.9% 99.9%);overflow:hidden;height:1px;width:1px;padding:0;border:0}s[data-v-eb91ce54]:before{content:" [start of stricken text] "}s[data-v-eb91ce54]:after{content:" [end of stricken text] "}small[data-v-77035f61]{font-size:.82353rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-figure-gray)}.replay-button[data-v-5ff7ec6e]{display:flex;align-items:center;justify-content:center;cursor:pointer;visibility:hidden;margin-top:.5rem;-webkit-tap-highlight-color:transparent}.replay-button.visible[data-v-5ff7ec6e]{visibility:visible}.replay-button svg.replay-icon[data-v-5ff7ec6e]{height:12px;width:12px;margin-left:.3em}[data-v-72c01652] img,[data-v-72c01652] video{display:block;margin-left:auto;margin-right:auto;-o-object-fit:contain;object-fit:contain;max-width:100%}.asset[data-v-40d6d180]{margin-left:auto;margin-right:auto}*+.asset[data-v-40d6d180],.asset[data-v-40d6d180]+*{margin-top:1.6em}[data-v-40d6d180] video{display:block;margin-left:auto;margin-right:auto;-o-object-fit:contain;object-fit:contain;max-width:100%}.column[data-v-0f654188]{grid-column:span var(--col-span);min-width:0}@media only screen and (max-width:735px){.column[data-v-0f654188]{grid-column:span 1}}.row[data-v-7d2946e9]{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;grid-gap:var(--col-gap,20px)}@media only screen and (max-width:735px){.row[data-v-7d2946e9]{grid-template-columns:1fr;grid-auto-flow:row}}.row.with-columns[data-v-7d2946e9]{--col-count:var(--col-count-large);grid-template-columns:repeat(var(--col-count),1fr);grid-auto-flow:row}@media only screen and (max-width:1250px){.row.with-columns[data-v-7d2946e9]{--col-count:var(--col-count-medium,var(--col-count-large))}}@media only screen and (max-width:735px){.row.with-columns[data-v-7d2946e9]{--col-count:var(--col-count-small)}}.row[data-v-7d2946e9]+*{margin-top:.8em}*+.TabNavigator[data-v-9b66ac4e],.TabNavigator[data-v-9b66ac4e]+*{margin-top:1.6em}.TabNavigator .tabnav[data-v-9b66ac4e]{overflow:auto;white-space:nowrap}.TabNavigator .tabs-content-container[data-v-9b66ac4e]{position:relative;overflow:hidden}.tabs--vertical[data-v-9b66ac4e]{display:flex;flex-flow:row-reverse}@media only screen and (max-width:735px){.tabs--vertical[data-v-9b66ac4e]{flex-flow:column-reverse}}.tabs--vertical .tabnav[data-v-9b66ac4e]{width:30%;flex:0 0 auto;white-space:normal;margin:0}@media only screen and (max-width:735px){.tabs--vertical .tabnav[data-v-9b66ac4e]{width:100%}}.tabs--vertical .tabs-content[data-v-9b66ac4e]{flex:1 1 auto;min-width:0;padding-right:1.6em}@media only screen and (max-width:735px){.tabs--vertical .tabs-content[data-v-9b66ac4e]{padding-right:0;padding-bottom:.8em}}.fade-enter-active[data-v-9b66ac4e],.fade-leave-active[data-v-9b66ac4e]{transition:opacity .2s ease-in-out}.fade-enter[data-v-9b66ac4e],.fade-leave-to[data-v-9b66ac4e]{opacity:0}.fade-leave-active[data-v-9b66ac4e]{position:absolute;top:0;left:0;right:0}.tasklist[data-v-6a56a858]{--checkbox-width:1rem;--indent-width:calc(var(--checkbox-width)/2);--content-margin:var(--indent-width);list-style-type:none;margin-left:var(--indent-width)}p[data-v-6a56a858]{margin-left:var(--content-margin)}p[data-v-6a56a858]:only-child{--content-margin:calc(var(--checkbox-width) + var(--indent-width))}input[type=checkbox]+p[data-v-6a56a858]{display:inline-block}.button-cta[data-v-c9c81868]{background:var(--colors-button-light-background,var(--color-button-background));border-color:var(--color-button-border,currentcolor);border-radius:var(--button-border-radius,var(--border-radius,4px));border-style:var(--button-border-style,none);border-width:var(--button-border-width,medium);color:var(--colors-button-text,var(--color-button-text));cursor:pointer;min-width:1.76471rem;padding:.23529rem .88235rem;text-align:center;white-space:nowrap;display:inline-block;font-size:1rem;line-height:1.47059;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.button-cta[data-v-c9c81868]:active{background:var(--colors-button-light-backgroundActive,var(--color-button-background-active));outline:none}.button-cta[data-v-c9c81868]:hover:not([disabled]){background:var(--colors-button-light-backgroundHover,var(--color-button-background-hover));text-decoration:none}.button-cta[data-v-c9c81868]:disabled{opacity:.32;cursor:default}.fromkeyboard .button-cta[data-v-c9c81868]:focus{box-shadow:0 0 0 4px var(--color-focus-color);outline:none}.button-cta.is-dark[data-v-c9c81868]{background:var(--colors-button-dark-background,#06f)}.button-cta.is-dark[data-v-c9c81868]:active{background:var(--colors-button-dark-backgroundActive,var(--color-button-background-active))}.button-cta.is-dark[data-v-c9c81868]:hover:not([disabled]){background:var(--colors-button-dark-backgroundHover,var(--color-button-background-hover))}.card-cover-wrap.rounded[data-v-74d84342]{border-radius:var(--border-radius,4px);overflow:hidden}.card-cover[data-v-74d84342]{background-color:var(--color-card-background);display:block;height:var(--card-cover-height,180px)}.card-cover.fallback[data-v-74d84342],.card-cover[data-v-74d84342] img{width:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;display:block;margin:0}.card-cover[data-v-74d84342] img{height:100%}.card[data-v-3c69339c]{overflow:hidden;display:block;transition:box-shadow,transform .16s ease-out;will-change:box-shadow,transform;-webkit-backface-visibility:hidden;backface-visibility:hidden;height:var(--card-height);border-radius:var(--border-radius,4px)}.card[data-v-3c69339c]:hover{text-decoration:none}.card:hover .link[data-v-3c69339c]{text-decoration:underline}.card[data-v-3c69339c]:hover{box-shadow:0 5px 10px var(--color-card-shadow);transform:scale(1.007)}@media (prefers-reduced-motion:reduce){.card[data-v-3c69339c]:hover{box-shadow:none;transform:none}}.card.small[data-v-3c69339c]{--card-height:408px;--card-details-height:139px;--card-cover-height:235px}@media only screen and (max-width:1250px){.card.small[data-v-3c69339c]{--card-height:341px;--card-details-height:144px;--card-cover-height:163px}}.card.large[data-v-3c69339c]{--card-height:556px;--card-details-height:163px;--card-cover-height:359px}@media only screen and (max-width:1250px){.card.large[data-v-3c69339c]{--card-height:420px;--card-details-height:137px;--card-cover-height:249px}}.card.floating-style[data-v-3c69339c]{--color-card-shadow:transparent;--card-height:auto;--card-details-height:auto}.details[data-v-3c69339c]{background-color:var(--color-card-background);padding:17px;position:relative;height:var(--card-details-height);font-size:.82353rem;line-height:1.28571}.details[data-v-3c69339c],.large .details[data-v-3c69339c]{font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.large .details[data-v-3c69339c]{font-size:1rem;line-height:1.47059}@media only screen and (max-width:1250px){.large .details[data-v-3c69339c]{font-size:.82353rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.floating-style .details[data-v-3c69339c]{--color-card-background:transparent;padding:17px 0}.eyebrow[data-v-3c69339c]{color:var(--color-card-eyebrow);display:block;margin-bottom:4px;font-size:.82353rem;line-height:1.28571}.eyebrow[data-v-3c69339c],.large .eyebrow[data-v-3c69339c]{font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.large .eyebrow[data-v-3c69339c]{font-size:1rem;line-height:1.23529}@media only screen and (max-width:1250px){.large .eyebrow[data-v-3c69339c]{font-size:.82353rem;line-height:1.28571;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.title[data-v-3c69339c]{color:var(--color-card-content-text);font-size:1rem;line-height:1.23529;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){.title[data-v-3c69339c]{font-size:.82353rem;line-height:1.28571;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.title[data-v-3c69339c]{font-size:1rem;line-height:1.23529;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.large .title[data-v-3c69339c]{font-size:1.23529rem;line-height:1.19048;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){.large .title[data-v-3c69339c]{font-size:1rem;line-height:1.23529;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.card-content[data-v-3c69339c]{color:var(--color-card-content-text);margin-top:4px}.link[data-v-3c69339c]{bottom:17px;display:flex;align-items:center;position:absolute}.link .link-icon[data-v-3c69339c]{height:.6em;width:.6em;margin-left:.3em}.floating-style .link[data-v-3c69339c]{bottom:unset;margin-top:.8em;position:relative}@media only screen and (max-width:735px){.card[data-v-3c69339c]{margin-left:auto;margin-right:auto}.card+.card[data-v-3c69339c]{margin-bottom:20px;margin-top:20px}.card.large[data-v-3c69339c],.card.small[data-v-3c69339c]{--card-height:auto;--card-details-height:auto;min-width:280px;max-width:300px;--card-cover-height:227px}.card.large .link[data-v-3c69339c],.card.small .link[data-v-3c69339c]{bottom:unset;margin-top:7px;position:relative}}.nav-menu-items[data-v-67c1c0a5]{display:flex;justify-content:flex-end}.nav--in-breakpoint-range .nav-menu-items[data-v-67c1c0a5]{display:block;opacity:0;padding:1rem 1.88235rem 1.64706rem 1.88235rem;transform:translate3d(0,-50px,0);transition:transform 1s cubic-bezier(.07,1.06,.27,.95) .5s,opacity .7s cubic-bezier(.07,1.06,.27,.95) .2s}.nav--is-open.nav--in-breakpoint-range .nav-menu-items[data-v-67c1c0a5]{opacity:1;transform:translateZ(0);transition-delay:.2s,.4s}.nav--in-breakpoint-range .nav-menu-items[data-v-67c1c0a5]:not(:only-child):not(:last-child){padding-bottom:0}.nav--in-breakpoint-range .nav-menu-items[data-v-67c1c0a5]:not(:only-child):last-child{padding-top:0}.TopicTypeIcon[data-v-c8b8711e]{width:1em;height:1em;flex:0 0 auto;color:var(--color-figure-gray-secondary)}.TopicTypeIcon[data-v-c8b8711e] picture{flex:1}.TopicTypeIcon[data-v-c8b8711e] img,.TopicTypeIcon svg[data-v-c8b8711e]{display:block;width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.nav[data-v-0c761cd5]{position:sticky;top:0;width:100%;height:3.05882rem;z-index:9997;--nav-padding:1.29412rem;color:var(--color-nav-color)}@media print{.nav[data-v-0c761cd5]{position:relative}}@media only screen and (max-width:767px){.nav[data-v-0c761cd5]{min-width:320px;height:2.82353rem}}.theme-dark.nav[data-v-0c761cd5]{background:none;color:var(--color-nav-dark-color)}.nav__wrapper[data-v-0c761cd5]{position:absolute;top:0;left:0;width:100%;height:auto;min-height:100%;z-index:1}.nav__background[data-v-0c761cd5]{position:absolute;left:0;top:0;width:100%;height:100%;z-index:1;transition:background-color 0s ease-in}.nav__background[data-v-0c761cd5]:after{background-color:var(--color-nav-keyline)}.nav--no-bg-transition .nav__background[data-v-0c761cd5]{transition:none!important}.nav--solid-background .nav__background[data-v-0c761cd5]{background-color:var(--color-nav-solid-background);-webkit-backdrop-filter:none;backdrop-filter:none}.nav--is-open.nav--solid-background .nav__background[data-v-0c761cd5],.nav--is-sticking.nav--solid-background .nav__background[data-v-0c761cd5]{background-color:var(--color-nav-solid-background)}.nav--is-open.theme-dark.nav--solid-background .nav__background[data-v-0c761cd5],.nav--is-sticking.theme-dark.nav--solid-background .nav__background[data-v-0c761cd5],.theme-dark.nav--solid-background .nav__background[data-v-0c761cd5]{background-color:var(--color-nav-dark-solid-background)}.nav--in-breakpoint-range .nav__background[data-v-0c761cd5]{min-height:2.82353rem;transition:background-color 0s ease .7s}.nav--is-sticking .nav__background[data-v-0c761cd5]{background-color:var(--color-nav-expanded);max-height:none;transition:background-color 0s ease;transition-property:background-color,-webkit-backdrop-filter;transition-property:background-color,backdrop-filter;transition-property:background-color,backdrop-filter,-webkit-backdrop-filter}.nav--is-sticking .nav__background[data-v-0c761cd5]:after{background-color:var(--color-nav-sticking-expanded-keyline)}@supports ((-webkit-backdrop-filter:initial) or (backdrop-filter:initial)){.nav--is-sticking .nav__background[data-v-0c761cd5]{-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);background-color:var(--color-nav-uiblur-stuck)}}.theme-dark.nav--is-sticking .nav__background[data-v-0c761cd5]{background-color:var(--color-nav-dark-stuck)}@supports ((-webkit-backdrop-filter:initial) or (backdrop-filter:initial)){.theme-dark.nav--is-sticking .nav__background[data-v-0c761cd5]{background-color:var(--color-nav-dark-uiblur-stuck)}}.nav--is-open .nav__background[data-v-0c761cd5]{background-color:var(--color-nav-expanded);max-height:none;transition:background-color 0s ease;transition-property:background-color,-webkit-backdrop-filter;transition-property:background-color,backdrop-filter;transition-property:background-color,backdrop-filter,-webkit-backdrop-filter}.nav--is-open .nav__background[data-v-0c761cd5]:after{background-color:var(--color-nav-sticking-expanded-keyline)}@supports ((-webkit-backdrop-filter:initial) or (backdrop-filter:initial)){.nav--is-open .nav__background[data-v-0c761cd5]{-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);background-color:var(--color-nav-uiblur-expanded)}}.theme-dark.nav--is-open .nav__background[data-v-0c761cd5]{background-color:var(--color-nav-dark-expanded)}@supports ((-webkit-backdrop-filter:initial) or (backdrop-filter:initial)){.theme-dark.nav--is-open .nav__background[data-v-0c761cd5]{background-color:var(--color-nav-dark-uiblur-expanded)}}.theme-dark .nav__background[data-v-0c761cd5]:after{background-color:var(--color-nav-dark-keyline)}.nav--is-open.theme-dark .nav__background[data-v-0c761cd5]:after,.nav--is-sticking.theme-dark .nav__background[data-v-0c761cd5]:after{background-color:var(--color-nav-dark-sticking-expanded-keyline)}.nav__background[data-v-0c761cd5]:after{content:"";display:block;position:absolute;top:100%;left:50%;transform:translateX(-50%);width:980px;height:1px;z-index:1}@media only screen and (max-width:1023px){.nav__background[data-v-0c761cd5]:after{width:100%}}.nav--noborder .nav__background[data-v-0c761cd5]:after{display:none}.nav--is-sticking.nav--noborder .nav__background[data-v-0c761cd5]:after{display:block}.nav--fullwidth-border .nav__background[data-v-0c761cd5]:after,.nav--is-open .nav__background[data-v-0c761cd5]:after,.nav--is-sticking .nav__background[data-v-0c761cd5]:after,.nav--solid-background .nav__background[data-v-0c761cd5]:after{width:100%}.nav-overlay[data-v-0c761cd5]{position:fixed;left:0;right:0;top:0;display:block;opacity:0}.nav--is-open .nav-overlay[data-v-0c761cd5]{background-color:rgba(51,51,51,.4);transition:opacity .7s cubic-bezier(.07,1.06,.27,.95) .2s;bottom:0;opacity:1}.nav-wrapper[data-v-0c761cd5]{position:absolute;top:0;left:0;width:100%;height:auto;min-height:100%;z-index:1}.pre-title[data-v-0c761cd5]{display:flex;overflow:hidden;padding-left:1.29412rem;margin-left:-1.29412rem}.pre-title[data-v-0c761cd5]:empty{display:none}.nav--in-breakpoint-range .pre-title[data-v-0c761cd5]{overflow:visible;padding:0;margin-left:0}.nav-content[data-v-0c761cd5]{display:flex;padding:0 var(--nav-padding);max-width:980px;margin:0 auto;position:relative;z-index:2;justify-content:space-between}.nav--is-wide-format .nav-content[data-v-0c761cd5]{box-sizing:border-box;max-width:1920px;margin-left:auto;margin-right:auto}@supports (padding:calc(max(0px))){.nav-content[data-v-0c761cd5]{padding-left:calc(max(var(--nav-padding), env(safe-area-inset-left)));padding-right:calc(max(var(--nav-padding), env(safe-area-inset-right)))}}@media only screen and (max-width:767px){.nav-content[data-v-0c761cd5]{padding:0 0 0 .94118rem}}.nav--in-breakpoint-range .nav-content[data-v-0c761cd5]{display:grid;grid-template-columns:auto 1fr auto;grid-auto-rows:minmax(-webkit-min-content,-webkit-max-content);grid-auto-rows:minmax(min-content,max-content);grid-template-areas:"pre-title title actions" "menu menu menu"}.nav-menu[data-v-0c761cd5]{font-size:.70588rem;line-height:1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);flex:1 1 auto;display:flex;padding-top:10px;min-width:0}@media only screen and (max-width:767px){.nav-menu[data-v-0c761cd5]{font-size:.82353rem;line-height:1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.nav--in-breakpoint-range .nav-menu[data-v-0c761cd5]{font-size:.82353rem;line-height:1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);padding-top:0;grid-area:menu}.nav-menu-tray[data-v-0c761cd5]{width:100%;max-width:100%;align-items:center;display:flex;justify-content:space-between}.nav--in-breakpoint-range .nav-menu-tray[data-v-0c761cd5]{display:block;overflow:hidden;pointer-events:none;visibility:hidden;max-height:0;transition:max-height .4s ease-in 0s,visibility 0s linear 1s}.nav--is-open.nav--in-breakpoint-range .nav-menu-tray[data-v-0c761cd5]{max-height:calc(100vh - 5.64706rem);overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:auto;visibility:visible;transition-delay:.2s,0s}.nav--is-transitioning.nav--is-open.nav--in-breakpoint-range .nav-menu-tray[data-v-0c761cd5]{overflow-y:hidden}.nav--is-sticking.nav--is-open.nav--in-breakpoint-range .nav-menu-tray[data-v-0c761cd5]{max-height:calc(100vh - 2.82353rem)}.nav-actions[data-v-0c761cd5]{display:flex;align-items:center}.nav--in-breakpoint-range .nav-actions[data-v-0c761cd5]{grid-area:actions;justify-content:flex-end}@media only screen and (max-width:767px){.nav-actions[data-v-0c761cd5]{padding-right:.94118rem}}.nav--in-breakpoint-range .pre-title+.nav-title[data-v-0c761cd5]{grid-area:title}.nav--is-wide-format.nav--in-breakpoint-range .pre-title+.nav-title[data-v-0c761cd5]{width:100%;justify-content:center}.nav-title[data-v-0c761cd5]{height:3.05882rem;font-size:1.11765rem;line-height:1.42105;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);cursor:default;display:flex;align-items:center;white-space:nowrap;box-sizing:border-box}@media only screen and (max-width:767px){.nav-title[data-v-0c761cd5]{padding-top:0;height:2.82353rem;width:90%}}.nav-title[data-v-0c761cd5] span{height:100%;line-height:normal}.nav-title a[data-v-0c761cd5]{display:inline-block;letter-spacing:inherit;line-height:normal;margin:0;text-decoration:none;white-space:nowrap}.nav-title a[data-v-0c761cd5]:hover{text-decoration:none}@media only screen and (max-width:767px){.nav-title a[data-v-0c761cd5]{display:flex}}.nav-title[data-v-0c761cd5],.nav-title a[data-v-0c761cd5]{color:var(--color-figure-gray);transition:color 0s ease-in}.nav--is-open.theme-dark .nav-title[data-v-0c761cd5],.nav--is-open.theme-dark .nav-title a[data-v-0c761cd5],.nav--is-sticking.theme-dark .nav-title[data-v-0c761cd5],.nav--is-sticking.theme-dark .nav-title a[data-v-0c761cd5],.theme-dark .nav-title[data-v-0c761cd5],.theme-dark .nav-title a[data-v-0c761cd5]{color:var(--color-nav-dark-link-color)}.nav-ax-toggle[data-v-0c761cd5]{display:none;position:absolute;top:0;left:0;width:1px;height:1px;z-index:10}.nav-ax-toggle[data-v-0c761cd5]:focus{outline-offset:-6px;width:100%;height:100%}.nav--in-breakpoint-range .nav-ax-toggle[data-v-0c761cd5]{display:block}.nav-menucta[data-v-0c761cd5]{cursor:pointer;display:none;align-items:center;overflow:hidden;width:1.17647rem;-webkit-tap-highlight-color:transparent;height:2.82353rem}.nav--in-breakpoint-range .nav-menucta[data-v-0c761cd5]{display:flex}.nav-menucta-chevron[data-v-0c761cd5]{display:block;position:relative;width:100%;height:.70588rem;transition:transform .3s linear}.nav-menucta-chevron[data-v-0c761cd5]:after,.nav-menucta-chevron[data-v-0c761cd5]:before{content:"";display:block;position:absolute;top:.58824rem;width:.70588rem;height:.05882rem;transition:transform .3s linear;background:var(--color-figure-gray)}.nav-menucta-chevron[data-v-0c761cd5]:before{right:50%;border-radius:.5px 0 0 .5px}.nav-menucta-chevron[data-v-0c761cd5]:after{left:50%;border-radius:0 .5px .5px 0}.nav-menucta-chevron[data-v-0c761cd5]:before{transform-origin:100% 100%;transform:rotate(40deg) scaleY(1.5)}.nav-menucta-chevron[data-v-0c761cd5]:after{transform-origin:0 100%;transform:rotate(-40deg) scaleY(1.5)}.nav--is-open .nav-menucta-chevron[data-v-0c761cd5]{transform:scaleY(-1)}.theme-dark .nav-menucta-chevron[data-v-0c761cd5]:after,.theme-dark .nav-menucta-chevron[data-v-0c761cd5]:before{background:var(--color-nav-dark-link-color)}[data-v-0c761cd5] .nav-menu-link{color:var(--color-nav-link-color)}[data-v-0c761cd5] .nav-menu-link:hover{color:var(--color-nav-link-color-hover);text-decoration:none}.theme-dark[data-v-0c761cd5] .nav-menu-link{color:var(--color-nav-dark-link-color)}.theme-dark[data-v-0c761cd5] .nav-menu-link:hover{color:var(--color-nav-dark-link-color-hover)}[data-v-0c761cd5] .nav-menu-link.current{color:var(--color-nav-current-link);cursor:default}[data-v-0c761cd5] .nav-menu-link.current:hover{color:var(--color-nav-current-link)}.theme-dark[data-v-0c761cd5] .nav-menu-link.current,.theme-dark[data-v-0c761cd5] .nav-menu-link.current:hover{color:var(--color-nav-dark-current-link)}.reference-card-grid-item__image[data-v-15b5139b]{display:flex;align-items:center;justify-content:center;font-size:80px;background-color:var(--color-fill-gray-quaternary)}.reference-card-grid-item__icon[data-v-15b5139b]{margin:0;display:flex;justify-content:center}.reference-card-grid-item__icon[data-v-15b5139b] .icon-inline{flex:1 1 auto}.nav-menu-item[data-v-66cbfe4c]{margin-left:1.41176rem;list-style:none;min-width:0}.nav--in-breakpoint-range .nav-menu-item[data-v-66cbfe4c]{margin-left:0;width:100%;min-height:2.47059rem}.nav--in-breakpoint-range .nav-menu-item[data-v-66cbfe4c]:first-child .nav-menu-link{border-top:0}.nav--in-breakpoint-range .nav-menu-item--animated[data-v-66cbfe4c]{opacity:0;transform:none;transition:.5s ease;transition-property:transform,opacity}.nav--is-open.nav--in-breakpoint-range .nav-menu-item--animated[data-v-66cbfe4c]{opacity:1;transform:translateZ(0);transition-delay:0s}.nav--in-breakpoint-range [data-previous-menu-children-count="0"] .nav-menu-item--animated[data-v-66cbfe4c]:first-child,.nav--in-breakpoint-range [data-previous-menu-children-count="0"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(2),.nav--in-breakpoint-range [data-previous-menu-children-count="0"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(3),.nav--in-breakpoint-range [data-previous-menu-children-count="0"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(4),.nav--in-breakpoint-range [data-previous-menu-children-count="0"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(5),.nav--in-breakpoint-range [data-previous-menu-children-count="0"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(6),.nav--in-breakpoint-range [data-previous-menu-children-count="0"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(7),.nav--in-breakpoint-range [data-previous-menu-children-count="1"] .nav-menu-item--animated[data-v-66cbfe4c]:first-child,.nav--in-breakpoint-range [data-previous-menu-children-count="1"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(2),.nav--in-breakpoint-range [data-previous-menu-children-count="1"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(3),.nav--in-breakpoint-range [data-previous-menu-children-count="1"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(4),.nav--in-breakpoint-range [data-previous-menu-children-count="1"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(5),.nav--in-breakpoint-range [data-previous-menu-children-count="1"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(6),.nav--in-breakpoint-range [data-previous-menu-children-count="1"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(7),.nav--in-breakpoint-range [data-previous-menu-children-count="2"] .nav-menu-item--animated[data-v-66cbfe4c]:first-child,.nav--in-breakpoint-range [data-previous-menu-children-count="2"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(2),.nav--in-breakpoint-range [data-previous-menu-children-count="2"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(3),.nav--in-breakpoint-range [data-previous-menu-children-count="2"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(4),.nav--in-breakpoint-range [data-previous-menu-children-count="2"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(5),.nav--in-breakpoint-range [data-previous-menu-children-count="2"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(6),.nav--in-breakpoint-range [data-previous-menu-children-count="2"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(7),.nav--in-breakpoint-range [data-previous-menu-children-count="3"] .nav-menu-item--animated[data-v-66cbfe4c]:first-child,.nav--in-breakpoint-range [data-previous-menu-children-count="3"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(2),.nav--in-breakpoint-range [data-previous-menu-children-count="3"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(3),.nav--in-breakpoint-range [data-previous-menu-children-count="3"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(4),.nav--in-breakpoint-range [data-previous-menu-children-count="3"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(5),.nav--in-breakpoint-range [data-previous-menu-children-count="3"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(6),.nav--in-breakpoint-range [data-previous-menu-children-count="3"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(7),.nav--in-breakpoint-range [data-previous-menu-children-count="4"] .nav-menu-item--animated[data-v-66cbfe4c]:first-child,.nav--in-breakpoint-range [data-previous-menu-children-count="4"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(2),.nav--in-breakpoint-range [data-previous-menu-children-count="4"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(3),.nav--in-breakpoint-range [data-previous-menu-children-count="4"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(4),.nav--in-breakpoint-range [data-previous-menu-children-count="4"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(5),.nav--in-breakpoint-range [data-previous-menu-children-count="4"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(6),.nav--in-breakpoint-range [data-previous-menu-children-count="4"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(7),.nav--in-breakpoint-range [data-previous-menu-children-count="5"] .nav-menu-item--animated[data-v-66cbfe4c]:first-child,.nav--in-breakpoint-range [data-previous-menu-children-count="5"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(2),.nav--in-breakpoint-range [data-previous-menu-children-count="5"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(3),.nav--in-breakpoint-range [data-previous-menu-children-count="5"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(4),.nav--in-breakpoint-range [data-previous-menu-children-count="5"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(5),.nav--in-breakpoint-range [data-previous-menu-children-count="5"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(6),.nav--in-breakpoint-range [data-previous-menu-children-count="5"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(7),.nav--in-breakpoint-range [data-previous-menu-children-count="6"] .nav-menu-item--animated[data-v-66cbfe4c]:first-child,.nav--in-breakpoint-range [data-previous-menu-children-count="6"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(2),.nav--in-breakpoint-range [data-previous-menu-children-count="6"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(3),.nav--in-breakpoint-range [data-previous-menu-children-count="6"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(4),.nav--in-breakpoint-range [data-previous-menu-children-count="6"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(5),.nav--in-breakpoint-range [data-previous-menu-children-count="6"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(6),.nav--in-breakpoint-range [data-previous-menu-children-count="6"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(7),.nav--in-breakpoint-range [data-previous-menu-children-count="7"] .nav-menu-item--animated[data-v-66cbfe4c]:first-child,.nav--in-breakpoint-range [data-previous-menu-children-count="7"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(2),.nav--in-breakpoint-range [data-previous-menu-children-count="7"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(3),.nav--in-breakpoint-range [data-previous-menu-children-count="7"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(4),.nav--in-breakpoint-range [data-previous-menu-children-count="7"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(5),.nav--in-breakpoint-range [data-previous-menu-children-count="7"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(6),.nav--in-breakpoint-range [data-previous-menu-children-count="7"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(7),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="0"] .nav-menu-item--animated[data-v-66cbfe4c]:first-child,.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="0"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(2),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="0"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(3),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="0"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(4),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="0"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(5),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="0"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(6),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="0"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(7),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="1"] .nav-menu-item--animated[data-v-66cbfe4c]:first-child,.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="1"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(2),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="1"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(3),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="1"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(4),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="1"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(5),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="1"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(6),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="1"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(7),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="2"] .nav-menu-item--animated[data-v-66cbfe4c]:first-child,.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="2"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(2),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="2"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(3),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="2"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(4),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="2"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(5),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="2"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(6),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="2"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(7),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="3"] .nav-menu-item--animated[data-v-66cbfe4c]:first-child,.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="3"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(2),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="3"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(3),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="3"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(4),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="3"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(5),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="3"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(6),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="3"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(7),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="4"] .nav-menu-item--animated[data-v-66cbfe4c]:first-child,.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="4"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(2),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="4"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(3),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="4"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(4),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="4"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(5),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="4"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(6),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="4"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(7),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="5"] .nav-menu-item--animated[data-v-66cbfe4c]:first-child,.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="5"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(2),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="5"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(3),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="5"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(4),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="5"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(5),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="5"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(6),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="5"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(7),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="6"] .nav-menu-item--animated[data-v-66cbfe4c]:first-child,.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="6"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(2),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="6"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(3),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="6"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(4),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="6"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(5),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="6"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(6),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="6"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(7),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="7"] .nav-menu-item--animated[data-v-66cbfe4c]:first-child,.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="7"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(2),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="7"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(3),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="7"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(4),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="7"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(5),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="7"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(6),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="7"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(7){transition-delay:0s}.links-block[data-v-81ecd99a]+*{margin-top:1.6em}.topic-link-block[data-v-81ecd99a]{margin-top:15px} \ No newline at end of file diff --git a/docs/css/documentation-topic~topic~tutorials-overview.d6f5411c.css b/docs/css/documentation-topic~topic~tutorials-overview.d6f5411c.css new file mode 100644 index 0000000..f81c8dc --- /dev/null +++ b/docs/css/documentation-topic~topic~tutorials-overview.d6f5411c.css @@ -0,0 +1,9 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */aside[data-v-3ccce809]{-moz-column-break-inside:avoid;break-inside:avoid;border-radius:var(--aside-border-radius,var(--border-radius,4px));border-style:var(--aside-border-style,solid);border-width:var(--aside-border-width,0 0 0 6px);padding:.94118rem;text-align:start}aside .label[data-v-3ccce809]{font-size:1rem;line-height:1.52941;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}aside .label+[data-v-3ccce809]{margin-top:var(--spacing-stacked-margin-small)}aside.deprecated[data-v-3ccce809]{background-color:var(--color-aside-deprecated-background);border-color:var(--color-aside-deprecated-border);box-shadow:0 0 0 0 var(--color-aside-deprecated-border) inset,0 0 0 0 var(--color-aside-deprecated-border)}aside.deprecated .label[data-v-3ccce809]{color:var(--color-aside-deprecated)}aside.experiment[data-v-3ccce809]{background-color:var(--color-aside-experiment-background);border-color:var(--color-aside-experiment-border);box-shadow:0 0 0 0 var(--color-aside-experiment-border) inset,0 0 0 0 var(--color-aside-experiment-border)}aside.experiment .label[data-v-3ccce809]{color:var(--color-aside-experiment)}aside.important[data-v-3ccce809]{background-color:var(--color-aside-important-background);border-color:var(--color-aside-important-border);box-shadow:0 0 0 0 var(--color-aside-important-border) inset,0 0 0 0 var(--color-aside-important-border)}aside.important .label[data-v-3ccce809]{color:var(--color-aside-important)}aside.note[data-v-3ccce809]{background-color:var(--color-aside-note-background);border-color:var(--color-aside-note-border);box-shadow:0 0 0 0 var(--color-aside-note-border) inset,0 0 0 0 var(--color-aside-note-border)}aside.note .label[data-v-3ccce809]{color:var(--color-aside-note)}aside.tip[data-v-3ccce809]{background-color:var(--color-aside-tip-background);border-color:var(--color-aside-tip-border);box-shadow:0 0 0 0 var(--color-aside-tip-border) inset,0 0 0 0 var(--color-aside-tip-border)}aside.tip .label[data-v-3ccce809]{color:var(--color-aside-tip)}aside.warning[data-v-3ccce809]{background-color:var(--color-aside-warning-background);border-color:var(--color-aside-warning-border);box-shadow:0 0 0 0 var(--color-aside-warning-border) inset,0 0 0 0 var(--color-aside-warning-border)}aside.warning .label[data-v-3ccce809]{color:var(--color-aside-warning)}code[data-v-08295b2f]:before{content:attr(data-before-code)}code[data-v-08295b2f]:after{content:attr(data-after-code)}code[data-v-08295b2f]:after,code[data-v-08295b2f]:before{display:block;position:absolute;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(0 0 99.9% 99.9%);clip-path:inset(0 0 99.9% 99.9%);overflow:hidden;height:1px;width:1px;padding:0;border:0}.swift-file-icon.file-icon[data-v-c01a6890]{height:1rem}.file-icon[data-v-7c381064]{position:relative;align-items:flex-end;height:24px;margin:0 .5rem 0 1rem}.filename[data-v-c8c40662]{color:var(--text,var(--colors-secondary-label,var(--color-secondary-label)));font-size:.94118rem;line-height:1.1875;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);margin-top:1rem}@media only screen and (max-width:735px){.filename[data-v-c8c40662]{font-size:.82353rem;line-height:1.42857;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);margin-top:0}}.filename>a[data-v-c8c40662],.filename>span[data-v-c8c40662]{display:flex;align-items:center;line-height:normal}a[data-v-c8c40662]{color:var(--url,var(--color-link))}.code-line-container[data-v-59f42f5b]{display:inline-block;width:100%;box-sizing:border-box}.code-number[data-v-59f42f5b]{display:inline-block;padding:0 1rem 0 8px;text-align:right;min-width:2em;color:#666;-webkit-user-select:none;-moz-user-select:none;user-select:none}.code-number[data-v-59f42f5b]:before{content:attr(data-line-number)}.highlighted[data-v-59f42f5b]{background:var(--line-highlight,var(--color-code-line-highlight));border-left:4px solid var(--color-code-line-highlight-border)}.highlighted .code-number[data-v-59f42f5b]{padding-left:4px}pre[data-v-59f42f5b]{padding:14px 0;display:flex;overflow:unset;-webkit-overflow-scrolling:touch;white-space:pre;word-wrap:normal;height:100%}@media only screen and (max-width:735px){pre[data-v-59f42f5b]{padding-top:.82353rem}}code[data-v-59f42f5b]{white-space:pre;word-wrap:normal;flex-grow:9999}.code-listing[data-v-59f42f5b],.container-general[data-v-59f42f5b]{display:flex}.code-listing[data-v-59f42f5b]{flex-direction:column;min-height:100%;border-radius:var(--code-border-radius,var(--border-radius,4px));overflow:hidden;filter:blur(0)}.code-listing.single-line[data-v-59f42f5b]{border-radius:var(--border-radius,4px)}.container-general[data-v-59f42f5b]{overflow:auto}.container-general[data-v-59f42f5b],pre[data-v-59f42f5b]{flex-grow:1}.header-anchor[data-v-6007a8a4]{color:inherit;text-decoration:none;position:relative;padding-right:23px;display:inline-block}.header-anchor .icon[data-v-6007a8a4]{position:absolute;right:0;bottom:.2em;display:none;height:16px;margin-left:7px}.header-anchor:focus .icon[data-v-6007a8a4],.header-anchor:hover .icon[data-v-6007a8a4]{display:inline}code[data-v-05f4a5b7]{speak-punctuation:code}.container-general[data-v-25a17a0e]{display:flex;flex-flow:row wrap}.container-general .code-line[data-v-25a17a0e]{flex:1 0 auto}.code-line-container[data-v-25a17a0e]{width:100%;align-items:center;display:flex;border-left:4px solid transparent;counter-increment:linenumbers;padding-right:14px}.code-number[data-v-25a17a0e]{font-size:.70588rem;line-height:1.5;font-weight:400;font-family:var(--typography-html-font-mono,Menlo,monospace);padding:0 1rem 0 8px;text-align:right;min-width:2.01em;-webkit-user-select:none;-moz-user-select:none;user-select:none}.code-number[data-v-25a17a0e]:before{content:counter(linenumbers)}.code-line[data-v-25a17a0e]{display:flex}pre[data-v-25a17a0e]{padding:14px 0;display:flex;flex-flow:row wrap;overflow:auto;-webkit-overflow-scrolling:touch;white-space:pre;word-wrap:normal}@media only screen and (max-width:735px){pre[data-v-25a17a0e]{padding-top:.82353rem}}.collapsible-code-listing[data-v-25a17a0e]{background:var(--background,var(--color-code-background));border-color:var(--colors-grid,var(--color-grid));color:var(--text,var(--color-code-plain));border-radius:var(--border-radius,4px);border-style:solid;border-width:1px;counter-reset:linenumbers;font-size:15px}.collapsible-code-listing.single-line[data-v-25a17a0e]{border-radius:var(--border-radius,4px)}.collapsible[data-v-25a17a0e]{background:var(--color-code-collapsible-background);color:var(--color-code-collapsible-text)}.collapsed[data-v-25a17a0e]:before{content:"⋯";display:inline-block;font-family:monospace;font-weight:700;height:100%;line-height:1;text-align:right;width:2.3rem}.collapsed .code-line-container[data-v-25a17a0e]{height:0;visibility:hidden}.row[data-v-be73599c]{box-sizing:border-box;display:flex;flex-flow:row wrap}.col[data-v-2ee3ad8b]{box-sizing:border-box;flex:none}.xlarge-1[data-v-2ee3ad8b]{flex-basis:8.33333%;max-width:8.33333%}.xlarge-2[data-v-2ee3ad8b]{flex-basis:16.66667%;max-width:16.66667%}.xlarge-3[data-v-2ee3ad8b]{flex-basis:25%;max-width:25%}.xlarge-4[data-v-2ee3ad8b]{flex-basis:33.33333%;max-width:33.33333%}.xlarge-5[data-v-2ee3ad8b]{flex-basis:41.66667%;max-width:41.66667%}.xlarge-6[data-v-2ee3ad8b]{flex-basis:50%;max-width:50%}.xlarge-7[data-v-2ee3ad8b]{flex-basis:58.33333%;max-width:58.33333%}.xlarge-8[data-v-2ee3ad8b]{flex-basis:66.66667%;max-width:66.66667%}.xlarge-9[data-v-2ee3ad8b]{flex-basis:75%;max-width:75%}.xlarge-10[data-v-2ee3ad8b]{flex-basis:83.33333%;max-width:83.33333%}.xlarge-11[data-v-2ee3ad8b]{flex-basis:91.66667%;max-width:91.66667%}.xlarge-12[data-v-2ee3ad8b]{flex-basis:100%;max-width:100%}.xlarge-centered[data-v-2ee3ad8b]{margin-left:auto;margin-right:auto}.xlarge-uncentered[data-v-2ee3ad8b]{margin-left:0;margin-right:0}.large-1[data-v-2ee3ad8b]{flex-basis:8.33333%;max-width:8.33333%}.large-2[data-v-2ee3ad8b]{flex-basis:16.66667%;max-width:16.66667%}.large-3[data-v-2ee3ad8b]{flex-basis:25%;max-width:25%}.large-4[data-v-2ee3ad8b]{flex-basis:33.33333%;max-width:33.33333%}.large-5[data-v-2ee3ad8b]{flex-basis:41.66667%;max-width:41.66667%}.large-6[data-v-2ee3ad8b]{flex-basis:50%;max-width:50%}.large-7[data-v-2ee3ad8b]{flex-basis:58.33333%;max-width:58.33333%}.large-8[data-v-2ee3ad8b]{flex-basis:66.66667%;max-width:66.66667%}.large-9[data-v-2ee3ad8b]{flex-basis:75%;max-width:75%}.large-10[data-v-2ee3ad8b]{flex-basis:83.33333%;max-width:83.33333%}.large-11[data-v-2ee3ad8b]{flex-basis:91.66667%;max-width:91.66667%}.large-12[data-v-2ee3ad8b]{flex-basis:100%;max-width:100%}.large-centered[data-v-2ee3ad8b]{margin-left:auto;margin-right:auto}.large-uncentered[data-v-2ee3ad8b]{margin-left:0;margin-right:0}@media only screen and (max-width:1250px){.medium-1[data-v-2ee3ad8b]{flex-basis:8.33333%;max-width:8.33333%}.medium-2[data-v-2ee3ad8b]{flex-basis:16.66667%;max-width:16.66667%}.medium-3[data-v-2ee3ad8b]{flex-basis:25%;max-width:25%}.medium-4[data-v-2ee3ad8b]{flex-basis:33.33333%;max-width:33.33333%}.medium-5[data-v-2ee3ad8b]{flex-basis:41.66667%;max-width:41.66667%}.medium-6[data-v-2ee3ad8b]{flex-basis:50%;max-width:50%}.medium-7[data-v-2ee3ad8b]{flex-basis:58.33333%;max-width:58.33333%}.medium-8[data-v-2ee3ad8b]{flex-basis:66.66667%;max-width:66.66667%}.medium-9[data-v-2ee3ad8b]{flex-basis:75%;max-width:75%}.medium-10[data-v-2ee3ad8b]{flex-basis:83.33333%;max-width:83.33333%}.medium-11[data-v-2ee3ad8b]{flex-basis:91.66667%;max-width:91.66667%}.medium-12[data-v-2ee3ad8b]{flex-basis:100%;max-width:100%}.medium-centered[data-v-2ee3ad8b]{margin-left:auto;margin-right:auto}.medium-uncentered[data-v-2ee3ad8b]{margin-left:0;margin-right:0}}@media only screen and (max-width:735px){.small-1[data-v-2ee3ad8b]{flex-basis:8.33333%;max-width:8.33333%}.small-2[data-v-2ee3ad8b]{flex-basis:16.66667%;max-width:16.66667%}.small-3[data-v-2ee3ad8b]{flex-basis:25%;max-width:25%}.small-4[data-v-2ee3ad8b]{flex-basis:33.33333%;max-width:33.33333%}.small-5[data-v-2ee3ad8b]{flex-basis:41.66667%;max-width:41.66667%}.small-6[data-v-2ee3ad8b]{flex-basis:50%;max-width:50%}.small-7[data-v-2ee3ad8b]{flex-basis:58.33333%;max-width:58.33333%}.small-8[data-v-2ee3ad8b]{flex-basis:66.66667%;max-width:66.66667%}.small-9[data-v-2ee3ad8b]{flex-basis:75%;max-width:75%}.small-10[data-v-2ee3ad8b]{flex-basis:83.33333%;max-width:83.33333%}.small-11[data-v-2ee3ad8b]{flex-basis:91.66667%;max-width:91.66667%}.small-12[data-v-2ee3ad8b]{flex-basis:100%;max-width:100%}.small-centered[data-v-2ee3ad8b]{margin-left:auto;margin-right:auto}.small-uncentered[data-v-2ee3ad8b]{margin-left:0;margin-right:0}}@media only screen and (max-width:320px){.xsmall-1[data-v-2ee3ad8b]{flex-basis:8.33333%;max-width:8.33333%}.xsmall-2[data-v-2ee3ad8b]{flex-basis:16.66667%;max-width:16.66667%}.xsmall-3[data-v-2ee3ad8b]{flex-basis:25%;max-width:25%}.xsmall-4[data-v-2ee3ad8b]{flex-basis:33.33333%;max-width:33.33333%}.xsmall-5[data-v-2ee3ad8b]{flex-basis:41.66667%;max-width:41.66667%}.xsmall-6[data-v-2ee3ad8b]{flex-basis:50%;max-width:50%}.xsmall-7[data-v-2ee3ad8b]{flex-basis:58.33333%;max-width:58.33333%}.xsmall-8[data-v-2ee3ad8b]{flex-basis:66.66667%;max-width:66.66667%}.xsmall-9[data-v-2ee3ad8b]{flex-basis:75%;max-width:75%}.xsmall-10[data-v-2ee3ad8b]{flex-basis:83.33333%;max-width:83.33333%}.xsmall-11[data-v-2ee3ad8b]{flex-basis:91.66667%;max-width:91.66667%}.xsmall-12[data-v-2ee3ad8b]{flex-basis:100%;max-width:100%}.xsmall-centered[data-v-2ee3ad8b]{margin-left:auto;margin-right:auto}.xsmall-uncentered[data-v-2ee3ad8b]{margin-left:0;margin-right:0}}.tabnav[data-v-5283512a]{margin:0 0 1.47059rem 0;display:flex}.tabnav--center[data-v-5283512a]{justify-content:center}.tabnav--end[data-v-5283512a]{justify-content:flex-end}.tabnav--vertical[data-v-5283512a]{flex-flow:column wrap}.tabnav--vertical .tabnav-items[data-v-5283512a]{flex-flow:column;overflow:hidden}.tabnav--vertical[data-v-5283512a] .tabnav-item{padding-left:0}.tabnav--vertical[data-v-5283512a] .tabnav-item .tabnav-link{padding-top:8px}.tabnav-items[data-v-5283512a]{display:flex;margin:0;text-align:center}.tabnav-item[data-v-6aa9882a]{border-bottom:1px solid;border-color:var(--colors-tabnav-item-border-color,var(--color-tabnav-item-border-color));display:flex;list-style:none;padding-left:1.76471rem;margin:0;outline:none}.tabnav-item[data-v-6aa9882a]:first-child{padding-left:0}.tabnav-item[data-v-6aa9882a]:nth-child(n+1){margin:0}.tabnav-link[data-v-6aa9882a]{color:var(--colors-secondary-label,var(--color-secondary-label));font-size:.82353rem;line-height:1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);padding:6px 0;margin-top:4px;margin-bottom:4px;text-align:left;text-decoration:none;display:block;position:relative;z-index:0;width:100%}.tabnav-link[data-v-6aa9882a]:hover{text-decoration:none}.tabnav-link[data-v-6aa9882a]:focus{outline-offset:-1px}.tabnav-link[data-v-6aa9882a]:after{content:"";position:absolute;bottom:-5px;left:0;width:100%;border:1px solid transparent}.tabnav-link.active[data-v-6aa9882a]{color:var(--colors-text,var(--color-text));cursor:default;z-index:10}.tabnav-link.active[data-v-6aa9882a]:after{border-bottom-color:var(--colors-text,var(--color-text))}.controls[data-v-c84e62a6]{margin-top:5px;font-size:14px;display:flex;justify-content:flex-end}.controls a[data-v-c84e62a6]{color:var(--colors-text,var(--color-text));display:flex;align-items:center}.controls .control-icon[data-v-c84e62a6]{width:1.05em;margin-right:.3em}.caption[data-v-1b76f4e0]{font-size:.82353rem;line-height:1.5;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);margin:0 0 var(--spacing-stacked-margin-large) 0}.caption.trailing[data-v-1b76f4e0]{margin:var(--spacing-stacked-margin-large) 0 0 0;text-align:center}caption.trailing[data-v-1b76f4e0]{caption-side:bottom}[data-v-1b76f4e0] p{display:inline-block}[data-v-3a939631] img{max-width:100%}.table-wrapper[data-v-5ed73c89]{overflow:auto;-webkit-overflow-scrolling:touch}*+.table-wrapper[data-v-5ed73c89],.table-wrapper[data-v-5ed73c89]+*{margin-top:var(--spacing-stacked-margin-xlarge)}table[data-v-5ed73c89]{border-style:hidden}[data-v-5ed73c89] th{font-weight:600;word-break:keep-all;-webkit-hyphens:auto;hyphens:auto}[data-v-5ed73c89] td,[data-v-5ed73c89] th{border-color:var(--color-fill-gray-tertiary);border-style:solid;border-width:var(--table-border-width,1px 1px);padding:.58824rem}[data-v-5ed73c89] td.left-cell,[data-v-5ed73c89] th.left-cell{text-align:left}[data-v-5ed73c89] td.right-cell,[data-v-5ed73c89] th.right-cell{text-align:right}[data-v-5ed73c89] td.center-cell,[data-v-5ed73c89] th.center-cell{text-align:center}s[data-v-7fc51673]:before{content:attr(data-before-text)}s[data-v-7fc51673]:after{content:attr(data-after-text)}s[data-v-7fc51673]:after,s[data-v-7fc51673]:before{position:absolute;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(0 0 99.9% 99.9%);clip-path:inset(0 0 99.9% 99.9%);overflow:hidden;height:1px;width:1px;padding:0;border:0}small[data-v-77035f61]{font-size:.82353rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-figure-gray)}.device-frame[data-v-28ae8fd3]{position:relative;width:var(--frame-width);aspect-ratio:var(--frame-aspect);max-width:100%;margin-left:auto;margin-right:auto;overflow:hidden}*+.device-frame[data-v-28ae8fd3],.device-frame[data-v-28ae8fd3]+*{margin-top:40px}.device[data-v-28ae8fd3]{background-image:var(--device-light-url);background-repeat:no-repeat;background-size:100%;width:100%;height:100%;position:relative;pointer-events:none}@media screen{[data-color-scheme=dark] .device[data-v-28ae8fd3]{background-image:var(--device-dark-url,var(--device-light-url))}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .device[data-v-28ae8fd3]{background-image:var(--device-dark-url,var(--device-light-url))}}.no-device .device[data-v-28ae8fd3]{display:none}.device-screen.with-device[data-v-28ae8fd3]{position:absolute;left:var(--screen-left);top:var(--screen-top);height:var(--screen-height);width:var(--screen-width);display:flex}.device-screen.with-device>[data-v-28ae8fd3]{flex:1}.device-screen.with-device[data-v-28ae8fd3] img{width:100%;height:100%;-o-object-fit:contain;object-fit:contain;-o-object-position:top;object-position:top;margin:0}.device-screen.with-device[data-v-28ae8fd3] video{-o-object-fit:contain;object-fit:contain;-o-object-position:top;object-position:top;width:100%;height:auto}.video-replay-container .control-button[data-v-7653dfd0]{display:flex;align-items:center;justify-content:center;cursor:pointer;margin-top:.5rem;-webkit-tap-highlight-color:transparent}.video-replay-container .control-button svg.control-icon[data-v-7653dfd0]{height:12px;width:12px;margin-left:.3em}[data-v-dcbc7b38] img,[data-v-dcbc7b38] video{display:block;margin-left:auto;margin-right:auto;-o-object-fit:contain;object-fit:contain;max-width:100%}.asset[data-v-035a093f]{margin-left:auto;margin-right:auto}*+.asset[data-v-035a093f],.asset[data-v-035a093f]+*{margin-top:var(--spacing-stacked-margin-xlarge)}[data-v-035a093f] video{display:block;margin-left:auto;margin-right:auto;-o-object-fit:contain;object-fit:contain;max-width:100%}.column[data-v-0f654188]{grid-column:span var(--col-span);min-width:0}@media only screen and (max-width:735px){.column[data-v-0f654188]{grid-column:span 1}}.row[data-v-1bcb2d0f]{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;grid-gap:var(--col-gap,20px)}@media only screen and (max-width:735px){.row[data-v-1bcb2d0f]{grid-template-columns:1fr;grid-auto-flow:row}}.row.with-columns[data-v-1bcb2d0f]{--col-count:var(--col-count-large);grid-template-columns:repeat(var(--col-count),1fr);grid-auto-flow:row}@media only screen and (max-width:1250px){.row.with-columns[data-v-1bcb2d0f]{--col-count:var(--col-count-medium,var(--col-count-large))}}@media only screen and (max-width:735px){.row.with-columns[data-v-1bcb2d0f]{--col-count:var(--col-count-small)}}*+.row[data-v-1bcb2d0f],*+.TabNavigator[data-v-e671a734],.row[data-v-1bcb2d0f]+*,.TabNavigator[data-v-e671a734]+*{margin-top:var(--spacing-stacked-margin-xlarge)}.TabNavigator .tabnav[data-v-e671a734]{overflow:auto;white-space:nowrap}.TabNavigator .tabs-content-container[data-v-e671a734]{position:relative;overflow:hidden}.tabs--vertical[data-v-e671a734]{display:flex;flex-flow:row-reverse}@media only screen and (max-width:735px){.tabs--vertical[data-v-e671a734]{flex-flow:column-reverse}}.tabs--vertical .tabnav[data-v-e671a734]{width:30%;flex:0 0 auto;white-space:normal;margin:0}@media only screen and (max-width:735px){.tabs--vertical .tabnav[data-v-e671a734]{width:100%}}.tabs--vertical .tabs-content[data-v-e671a734]{flex:1 1 auto;min-width:0;padding-right:var(--spacing-stacked-margin-xlarge)}@media only screen and (max-width:735px){.tabs--vertical .tabs-content[data-v-e671a734]{padding-right:0;padding-bottom:var(--spacing-stacked-margin-large)}}.fade-enter-active[data-v-e671a734],.fade-leave-active[data-v-e671a734]{transition:opacity .2s ease-in-out}.fade-enter[data-v-e671a734],.fade-leave-to[data-v-e671a734]{opacity:0}.fade-leave-active[data-v-e671a734]{position:absolute;top:0;left:0;right:0}.tasklist[data-v-6a56a858]{--checkbox-width:1rem;--indent-width:calc(var(--checkbox-width)/2);--content-margin:var(--indent-width);list-style-type:none;margin-left:var(--indent-width)}p[data-v-6a56a858]{margin-left:var(--content-margin)}p[data-v-6a56a858]:only-child{--content-margin:calc(var(--checkbox-width) + var(--indent-width))}input[type=checkbox]+p[data-v-6a56a858]{display:inline-block}.button-cta[data-v-c9c81868]{background:var(--colors-button-light-background,var(--color-button-background));border-color:var(--color-button-border,currentcolor);border-radius:var(--button-border-radius,var(--border-radius,4px));border-style:var(--button-border-style,none);border-width:var(--button-border-width,medium);color:var(--colors-button-text,var(--color-button-text));cursor:pointer;min-width:1.76471rem;padding:.23529rem .88235rem;text-align:center;white-space:nowrap;display:inline-block;font-size:1rem;line-height:1.47059;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.button-cta[data-v-c9c81868]:active{background:var(--colors-button-light-backgroundActive,var(--color-button-background-active));outline:none}.button-cta[data-v-c9c81868]:hover:not([disabled]){background:var(--colors-button-light-backgroundHover,var(--color-button-background-hover));text-decoration:none}.button-cta[data-v-c9c81868]:disabled{opacity:.32;cursor:default}.fromkeyboard .button-cta[data-v-c9c81868]:focus{box-shadow:0 0 0 4px var(--color-focus-color);outline:none}.button-cta.is-dark[data-v-c9c81868]{background:var(--colors-button-dark-background,#06f)}.button-cta.is-dark[data-v-c9c81868]:active{background:var(--colors-button-dark-backgroundActive,var(--color-button-background-active))}.button-cta.is-dark[data-v-c9c81868]:hover:not([disabled]){background:var(--colors-button-dark-backgroundHover,var(--color-button-background-hover))}.card-cover-wrap.rounded[data-v-0c1c40a1]{border-radius:var(--border-radius,4px);overflow:hidden}.card-cover[data-v-0c1c40a1]{background-color:var(--color-card-background);display:block;height:var(--card-cover-height,180px)}.card-cover.fallback[data-v-0c1c40a1],.card-cover[data-v-0c1c40a1] img{width:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;display:block;margin:0}.card-cover[data-v-0c1c40a1] img{height:100%}.card[data-v-328d568a]{overflow:hidden;display:block;transition:box-shadow,transform .16s ease-out;will-change:box-shadow,transform;-webkit-backface-visibility:hidden;backface-visibility:hidden;height:var(--card-height);border-radius:var(--border-radius,4px)}.card[data-v-328d568a]:hover{text-decoration:none}.card:hover .link[data-v-328d568a]{text-decoration:underline}.card[data-v-328d568a]:hover{box-shadow:0 5px 10px var(--color-card-shadow);transform:scale(1.007)}@media (prefers-reduced-motion:reduce){.card[data-v-328d568a]:hover{box-shadow:none;transform:none}}.card.small[data-v-328d568a]{--card-height:408px;--card-details-height:139px;--card-cover-height:235px}@media only screen and (max-width:1250px){.card.small[data-v-328d568a]{--card-height:341px;--card-details-height:144px;--card-cover-height:163px}}.card.large[data-v-328d568a]{--card-height:556px;--card-details-height:163px;--card-cover-height:359px}@media only screen and (max-width:1250px){.card.large[data-v-328d568a]{--card-height:420px;--card-details-height:137px;--card-cover-height:249px}}.card.floating-style[data-v-328d568a]{--color-card-shadow:transparent;--card-height:auto;--card-details-height:auto}.details[data-v-328d568a]{background-color:var(--color-card-background);padding:17px;position:relative;height:var(--card-details-height);font-size:.82353rem;line-height:1.28571}.details[data-v-328d568a],.large .details[data-v-328d568a]{font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.large .details[data-v-328d568a]{font-size:1rem;line-height:1.47059}@media only screen and (max-width:1250px){.large .details[data-v-328d568a]{font-size:.82353rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.floating-style .details[data-v-328d568a]{--color-card-background:transparent;padding:17px 0}.eyebrow[data-v-328d568a]{color:var(--color-card-eyebrow);display:block;margin-bottom:4px;font-size:.82353rem;line-height:1.28571}.eyebrow[data-v-328d568a],.large .eyebrow[data-v-328d568a]{font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.large .eyebrow[data-v-328d568a]{font-size:1rem;line-height:1.23529}@media only screen and (max-width:1250px){.large .eyebrow[data-v-328d568a]{font-size:.82353rem;line-height:1.28571;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.title[data-v-328d568a]{color:var(--color-card-content-text);font-size:1rem;line-height:1.23529;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){.title[data-v-328d568a]{font-size:.82353rem;line-height:1.28571;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.title[data-v-328d568a]{font-size:1rem;line-height:1.23529;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.large .title[data-v-328d568a]{font-size:1.23529rem;line-height:1.19048;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){.large .title[data-v-328d568a]{font-size:1rem;line-height:1.23529;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.card-content[data-v-328d568a]{color:var(--color-card-content-text);margin-top:4px}.link[data-v-328d568a]{bottom:17px;display:flex;align-items:center;position:absolute}.link .link-icon[data-v-328d568a]{height:.6em;width:.6em;margin-left:.3em}.floating-style .link[data-v-328d568a]{bottom:unset;margin-top:var(--spacing-stacked-margin-large);position:relative}@media only screen and (max-width:735px){.card[data-v-328d568a]{margin-left:auto;margin-right:auto}.card+.card[data-v-328d568a]{margin-bottom:20px;margin-top:20px}.card.large[data-v-328d568a],.card.small[data-v-328d568a]{--card-height:auto;--card-details-height:auto;min-width:280px;max-width:300px;--card-cover-height:227px}.card.large .link[data-v-328d568a],.card.small .link[data-v-328d568a]{bottom:unset;margin-top:7px;position:relative}}.nav-menu-items[data-v-67c1c0a5]{display:flex;justify-content:flex-end}.nav--in-breakpoint-range .nav-menu-items[data-v-67c1c0a5]{display:block;opacity:0;padding:1rem 1.88235rem 1.64706rem 1.88235rem;transform:translate3d(0,-50px,0);transition:transform 1s cubic-bezier(.07,1.06,.27,.95) .5s,opacity .7s cubic-bezier(.07,1.06,.27,.95) .2s}.nav--is-open.nav--in-breakpoint-range .nav-menu-items[data-v-67c1c0a5]{opacity:1;transform:translateZ(0);transition-delay:.2s,.4s}.nav--in-breakpoint-range .nav-menu-items[data-v-67c1c0a5]:not(:only-child):not(:last-child){padding-bottom:0}.nav--in-breakpoint-range .nav-menu-items[data-v-67c1c0a5]:not(:only-child):last-child{padding-top:0}.TopicTypeIcon[data-v-18b61706]{width:1em;height:1em;flex:0 0 auto;color:var(--icon-color,var(--color-figure-gray-secondary))}.TopicTypeIcon[data-v-18b61706] picture{flex:1}.TopicTypeIcon[data-v-18b61706] img,.TopicTypeIcon svg[data-v-18b61706]{display:block;width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.nav[data-v-5c0521d3]{position:sticky;top:0;width:100%;height:3.05882rem;z-index:9997;--nav-padding:1.29412rem;color:var(--color-nav-color)}@media print{.nav[data-v-5c0521d3]{position:relative}}@media only screen and (max-width:767px){.nav[data-v-5c0521d3]{min-width:320px;height:2.82353rem}}.theme-dark.nav[data-v-5c0521d3]{background:none;color:var(--color-nav-dark-color)}.nav__wrapper[data-v-5c0521d3]{position:absolute;top:0;left:0;width:100%;height:auto;min-height:100%;z-index:1}.nav__background[data-v-5c0521d3]{position:absolute;left:0;top:0;width:100%;height:100%;z-index:1;transition:background-color 0s ease-in}.nav__background[data-v-5c0521d3]:after{background-color:var(--color-nav-keyline)}.nav--no-bg-transition .nav__background[data-v-5c0521d3]{transition:none!important}.nav--solid-background .nav__background[data-v-5c0521d3]{background-color:var(--color-nav-solid-background);-webkit-backdrop-filter:none;backdrop-filter:none}.nav--is-open.nav--solid-background .nav__background[data-v-5c0521d3],.nav--is-sticking.nav--solid-background .nav__background[data-v-5c0521d3]{background-color:var(--color-nav-solid-background)}.nav--is-open.theme-dark.nav--solid-background .nav__background[data-v-5c0521d3],.nav--is-sticking.theme-dark.nav--solid-background .nav__background[data-v-5c0521d3],.theme-dark.nav--solid-background .nav__background[data-v-5c0521d3]{background-color:var(--color-nav-dark-solid-background)}.nav--in-breakpoint-range .nav__background[data-v-5c0521d3]{min-height:2.82353rem;transition:background-color 0s ease .7s}.nav--is-sticking .nav__background[data-v-5c0521d3]{background-color:var(--color-nav-expanded);max-height:none;transition:background-color 0s ease;transition-property:background-color,-webkit-backdrop-filter;transition-property:background-color,backdrop-filter;transition-property:background-color,backdrop-filter,-webkit-backdrop-filter}.nav--is-sticking .nav__background[data-v-5c0521d3]:after{background-color:var(--color-nav-sticking-expanded-keyline)}@supports ((-webkit-backdrop-filter:initial) or (backdrop-filter:initial)){.nav--is-sticking .nav__background[data-v-5c0521d3]{-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);background-color:var(--color-nav-uiblur-stuck)}}.theme-dark.nav--is-sticking .nav__background[data-v-5c0521d3]{background-color:var(--color-nav-dark-stuck)}@supports ((-webkit-backdrop-filter:initial) or (backdrop-filter:initial)){.theme-dark.nav--is-sticking .nav__background[data-v-5c0521d3]{background-color:var(--color-nav-dark-uiblur-stuck)}}.nav--is-open .nav__background[data-v-5c0521d3]{background-color:var(--color-nav-expanded);max-height:none;transition:background-color 0s ease;transition-property:background-color,-webkit-backdrop-filter;transition-property:background-color,backdrop-filter;transition-property:background-color,backdrop-filter,-webkit-backdrop-filter}.nav--is-open .nav__background[data-v-5c0521d3]:after{background-color:var(--color-nav-sticking-expanded-keyline)}@supports ((-webkit-backdrop-filter:initial) or (backdrop-filter:initial)){.nav--is-open .nav__background[data-v-5c0521d3]{-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);background-color:var(--color-nav-uiblur-expanded)}}.theme-dark.nav--is-open .nav__background[data-v-5c0521d3]{background-color:var(--color-nav-dark-expanded)}@supports ((-webkit-backdrop-filter:initial) or (backdrop-filter:initial)){.theme-dark.nav--is-open .nav__background[data-v-5c0521d3]{background-color:var(--color-nav-dark-uiblur-expanded)}}.theme-dark .nav__background[data-v-5c0521d3]:after{background-color:var(--color-nav-dark-keyline)}.nav--is-open.theme-dark .nav__background[data-v-5c0521d3]:after,.nav--is-sticking.theme-dark .nav__background[data-v-5c0521d3]:after{background-color:var(--color-nav-dark-sticking-expanded-keyline)}.nav__background[data-v-5c0521d3]:after{content:"";display:block;position:absolute;top:100%;left:50%;transform:translateX(-50%);width:980px;height:1px;z-index:1}@media only screen and (max-width:1023px){.nav__background[data-v-5c0521d3]:after{width:100%}}.nav--noborder .nav__background[data-v-5c0521d3]:after{display:none}.nav--is-sticking.nav--noborder .nav__background[data-v-5c0521d3]:after{display:block}.nav--fullwidth-border .nav__background[data-v-5c0521d3]:after,.nav--is-open .nav__background[data-v-5c0521d3]:after,.nav--is-sticking .nav__background[data-v-5c0521d3]:after,.nav--solid-background .nav__background[data-v-5c0521d3]:after{width:100%}.nav-overlay[data-v-5c0521d3]{position:fixed;left:0;right:0;top:0;display:block;opacity:0}.nav--is-open .nav-overlay[data-v-5c0521d3]{background-color:rgba(51,51,51,.4);transition:opacity .7s cubic-bezier(.07,1.06,.27,.95) .2s;bottom:0;opacity:1}.nav-wrapper[data-v-5c0521d3]{position:absolute;top:0;left:0;width:100%;height:auto;min-height:100%;z-index:1}.pre-title[data-v-5c0521d3]{display:flex;overflow:hidden;padding-left:1.29412rem;margin-left:-1.29412rem}.pre-title[data-v-5c0521d3]:empty{display:none}.nav--in-breakpoint-range .pre-title[data-v-5c0521d3]{overflow:visible;padding:0;margin-left:0}.nav-content[data-v-5c0521d3]{display:flex;padding:0 var(--nav-padding);max-width:980px;margin:0 auto;position:relative;z-index:2;justify-content:space-between}.nav--is-wide-format .nav-content[data-v-5c0521d3]{box-sizing:border-box;max-width:1920px;margin-left:auto;margin-right:auto}@supports (padding:calc(max(0px))){.nav-content[data-v-5c0521d3]{padding-left:calc(max(var(--nav-padding), env(safe-area-inset-left)));padding-right:calc(max(var(--nav-padding), env(safe-area-inset-right)))}}@media only screen and (max-width:767px){.nav-content[data-v-5c0521d3]{padding:0 0 0 .94118rem}}.nav--in-breakpoint-range .nav-content[data-v-5c0521d3]{display:grid;grid-template-columns:auto 1fr auto;grid-auto-rows:minmax(-webkit-min-content,-webkit-max-content);grid-auto-rows:minmax(min-content,max-content);grid-template-areas:"pre-title title actions" "menu menu menu"}.nav-menu[data-v-5c0521d3]{font-size:.70588rem;line-height:1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);flex:1 1 auto;display:flex;min-width:0}@media only screen and (max-width:767px){.nav-menu[data-v-5c0521d3]{font-size:.82353rem;line-height:1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.nav--in-breakpoint-range .nav-menu[data-v-5c0521d3]{font-size:.82353rem;line-height:1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);grid-area:menu}.nav-menu-tray[data-v-5c0521d3]{width:100%;max-width:100%;align-items:center;display:flex;justify-content:space-between}.nav--in-breakpoint-range .nav-menu-tray[data-v-5c0521d3]{display:block;overflow:hidden;pointer-events:none;visibility:hidden;max-height:0;transition:max-height .4s ease-in 0s,visibility 0s linear 1s}.nav--is-open.nav--in-breakpoint-range .nav-menu-tray[data-v-5c0521d3]{max-height:calc(100vh - 5.64706rem);overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:auto;visibility:visible;transition-delay:.2s,0s}.nav--is-transitioning.nav--is-open.nav--in-breakpoint-range .nav-menu-tray[data-v-5c0521d3]{overflow-y:hidden}.nav--is-sticking.nav--is-open.nav--in-breakpoint-range .nav-menu-tray[data-v-5c0521d3]{max-height:calc(100vh - 2.82353rem)}.nav-actions[data-v-5c0521d3]{display:flex;align-items:center}.nav--in-breakpoint-range .nav-actions[data-v-5c0521d3]{grid-area:actions;justify-content:flex-end}@media only screen and (max-width:767px){.nav-actions[data-v-5c0521d3]{padding-right:.94118rem}}.nav--in-breakpoint-range .pre-title+.nav-title[data-v-5c0521d3]{grid-area:title}.nav--is-wide-format.nav--in-breakpoint-range .pre-title+.nav-title[data-v-5c0521d3]{width:100%;justify-content:center}.nav-title[data-v-5c0521d3]{height:3.05882rem;font-size:1.11765rem;line-height:1.42105;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);cursor:default;display:flex;align-items:center;white-space:nowrap;box-sizing:border-box}@media only screen and (max-width:767px){.nav-title[data-v-5c0521d3]{padding-top:0;height:2.82353rem;width:90%}}.nav-title[data-v-5c0521d3] span{height:100%;line-height:normal}.nav-title a[data-v-5c0521d3]{display:inline-block;letter-spacing:inherit;line-height:normal;margin:0;text-decoration:none;white-space:nowrap}.nav-title a[data-v-5c0521d3]:hover{text-decoration:none}@media only screen and (max-width:767px){.nav-title a[data-v-5c0521d3]{display:flex}}.nav-title[data-v-5c0521d3],.nav-title a[data-v-5c0521d3]{color:var(--color-figure-gray);transition:color 0s ease-in}.nav--is-open.theme-dark .nav-title[data-v-5c0521d3],.nav--is-open.theme-dark .nav-title a[data-v-5c0521d3],.nav--is-sticking.theme-dark .nav-title[data-v-5c0521d3],.nav--is-sticking.theme-dark .nav-title a[data-v-5c0521d3],.theme-dark .nav-title[data-v-5c0521d3],.theme-dark .nav-title a[data-v-5c0521d3]{color:var(--color-nav-dark-link-color)}.nav-ax-toggle[data-v-5c0521d3]{display:none;position:absolute;top:0;left:0;width:1px;height:1px;z-index:10}.nav-ax-toggle[data-v-5c0521d3]:focus{outline-offset:-6px;width:100%;height:100%}.nav--in-breakpoint-range .nav-ax-toggle[data-v-5c0521d3]{display:block}.nav-menucta[data-v-5c0521d3]{cursor:pointer;display:none;align-items:center;overflow:hidden;width:1.17647rem;-webkit-tap-highlight-color:transparent;height:2.82353rem}.nav--in-breakpoint-range .nav-menucta[data-v-5c0521d3]{display:flex}.nav-menucta-chevron[data-v-5c0521d3]{display:block;position:relative;width:100%;height:.70588rem;transition:transform .3s linear}.nav-menucta-chevron[data-v-5c0521d3]:after,.nav-menucta-chevron[data-v-5c0521d3]:before{content:"";display:block;position:absolute;top:.58824rem;width:.70588rem;height:.05882rem;transition:transform .3s linear;background:var(--color-figure-gray)}.nav-menucta-chevron[data-v-5c0521d3]:before{right:50%;border-radius:.5px 0 0 .5px}.nav-menucta-chevron[data-v-5c0521d3]:after{left:50%;border-radius:0 .5px .5px 0}.nav-menucta-chevron[data-v-5c0521d3]:before{transform-origin:100% 100%;transform:rotate(40deg) scaleY(1.5)}.nav-menucta-chevron[data-v-5c0521d3]:after{transform-origin:0 100%;transform:rotate(-40deg) scaleY(1.5)}.nav--is-open .nav-menucta-chevron[data-v-5c0521d3]{transform:scaleY(-1)}.theme-dark .nav-menucta-chevron[data-v-5c0521d3]:after,.theme-dark .nav-menucta-chevron[data-v-5c0521d3]:before{background:var(--color-nav-dark-link-color)}[data-v-5c0521d3] .nav-menu-link{color:var(--color-nav-link-color)}[data-v-5c0521d3] .nav-menu-link:hover{color:var(--color-nav-link-color-hover);text-decoration:none}.theme-dark[data-v-5c0521d3] .nav-menu-link{color:var(--color-nav-dark-link-color)}.theme-dark[data-v-5c0521d3] .nav-menu-link:hover{color:var(--color-nav-dark-link-color-hover)}[data-v-5c0521d3] .nav-menu-link.current{color:var(--color-nav-current-link);cursor:default}[data-v-5c0521d3] .nav-menu-link.current:hover{color:var(--color-nav-current-link)}.theme-dark[data-v-5c0521d3] .nav-menu-link.current,.theme-dark[data-v-5c0521d3] .nav-menu-link.current:hover{color:var(--color-nav-dark-current-link)}.reference-card-grid-item[data-v-08a5e3f8]{--card-cover-height:auto}.reference-card-grid-item.card.large[data-v-08a5e3f8]{--card-cover-height:auto;min-width:0;max-width:none}.reference-card-grid-item[data-v-08a5e3f8] .card-cover{aspect-ratio:16/9}.reference-card-grid-item[data-v-08a5e3f8] .card-cover-wrap{border:1px solid var(--color-link-block-card-border)}.reference-card-grid-item__image[data-v-08a5e3f8]{display:flex;align-items:center;justify-content:center;font-size:80px;background-color:var(--color-fill-gray-quaternary)}.reference-card-grid-item__icon[data-v-08a5e3f8]{margin:0;display:flex;justify-content:center}.reference-card-grid-item__icon[data-v-08a5e3f8] .icon-inline{flex:1 1 auto}.nav-menu-item[data-v-66cbfe4c]{margin-left:1.41176rem;list-style:none;min-width:0}.nav--in-breakpoint-range .nav-menu-item[data-v-66cbfe4c]{margin-left:0;width:100%;min-height:2.47059rem}.nav--in-breakpoint-range .nav-menu-item[data-v-66cbfe4c]:first-child .nav-menu-link{border-top:0}.nav--in-breakpoint-range .nav-menu-item--animated[data-v-66cbfe4c]{opacity:0;transform:none;transition:.5s ease;transition-property:transform,opacity}.nav--is-open.nav--in-breakpoint-range .nav-menu-item--animated[data-v-66cbfe4c]{opacity:1;transform:translateZ(0);transition-delay:0s}.nav--in-breakpoint-range [data-previous-menu-children-count="0"] .nav-menu-item--animated[data-v-66cbfe4c]:first-child,.nav--in-breakpoint-range [data-previous-menu-children-count="0"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(2),.nav--in-breakpoint-range [data-previous-menu-children-count="0"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(3),.nav--in-breakpoint-range [data-previous-menu-children-count="0"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(4),.nav--in-breakpoint-range [data-previous-menu-children-count="0"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(5),.nav--in-breakpoint-range [data-previous-menu-children-count="0"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(6),.nav--in-breakpoint-range [data-previous-menu-children-count="0"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(7),.nav--in-breakpoint-range [data-previous-menu-children-count="1"] .nav-menu-item--animated[data-v-66cbfe4c]:first-child,.nav--in-breakpoint-range [data-previous-menu-children-count="1"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(2),.nav--in-breakpoint-range [data-previous-menu-children-count="1"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(3),.nav--in-breakpoint-range [data-previous-menu-children-count="1"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(4),.nav--in-breakpoint-range [data-previous-menu-children-count="1"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(5),.nav--in-breakpoint-range [data-previous-menu-children-count="1"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(6),.nav--in-breakpoint-range [data-previous-menu-children-count="1"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(7),.nav--in-breakpoint-range [data-previous-menu-children-count="2"] .nav-menu-item--animated[data-v-66cbfe4c]:first-child,.nav--in-breakpoint-range [data-previous-menu-children-count="2"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(2),.nav--in-breakpoint-range [data-previous-menu-children-count="2"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(3),.nav--in-breakpoint-range [data-previous-menu-children-count="2"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(4),.nav--in-breakpoint-range [data-previous-menu-children-count="2"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(5),.nav--in-breakpoint-range [data-previous-menu-children-count="2"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(6),.nav--in-breakpoint-range [data-previous-menu-children-count="2"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(7),.nav--in-breakpoint-range [data-previous-menu-children-count="3"] .nav-menu-item--animated[data-v-66cbfe4c]:first-child,.nav--in-breakpoint-range [data-previous-menu-children-count="3"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(2),.nav--in-breakpoint-range [data-previous-menu-children-count="3"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(3),.nav--in-breakpoint-range [data-previous-menu-children-count="3"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(4),.nav--in-breakpoint-range [data-previous-menu-children-count="3"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(5),.nav--in-breakpoint-range [data-previous-menu-children-count="3"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(6),.nav--in-breakpoint-range [data-previous-menu-children-count="3"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(7),.nav--in-breakpoint-range [data-previous-menu-children-count="4"] .nav-menu-item--animated[data-v-66cbfe4c]:first-child,.nav--in-breakpoint-range [data-previous-menu-children-count="4"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(2),.nav--in-breakpoint-range [data-previous-menu-children-count="4"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(3),.nav--in-breakpoint-range [data-previous-menu-children-count="4"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(4),.nav--in-breakpoint-range [data-previous-menu-children-count="4"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(5),.nav--in-breakpoint-range [data-previous-menu-children-count="4"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(6),.nav--in-breakpoint-range [data-previous-menu-children-count="4"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(7),.nav--in-breakpoint-range [data-previous-menu-children-count="5"] .nav-menu-item--animated[data-v-66cbfe4c]:first-child,.nav--in-breakpoint-range [data-previous-menu-children-count="5"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(2),.nav--in-breakpoint-range [data-previous-menu-children-count="5"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(3),.nav--in-breakpoint-range [data-previous-menu-children-count="5"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(4),.nav--in-breakpoint-range [data-previous-menu-children-count="5"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(5),.nav--in-breakpoint-range [data-previous-menu-children-count="5"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(6),.nav--in-breakpoint-range [data-previous-menu-children-count="5"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(7),.nav--in-breakpoint-range [data-previous-menu-children-count="6"] .nav-menu-item--animated[data-v-66cbfe4c]:first-child,.nav--in-breakpoint-range [data-previous-menu-children-count="6"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(2),.nav--in-breakpoint-range [data-previous-menu-children-count="6"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(3),.nav--in-breakpoint-range [data-previous-menu-children-count="6"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(4),.nav--in-breakpoint-range [data-previous-menu-children-count="6"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(5),.nav--in-breakpoint-range [data-previous-menu-children-count="6"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(6),.nav--in-breakpoint-range [data-previous-menu-children-count="6"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(7),.nav--in-breakpoint-range [data-previous-menu-children-count="7"] .nav-menu-item--animated[data-v-66cbfe4c]:first-child,.nav--in-breakpoint-range [data-previous-menu-children-count="7"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(2),.nav--in-breakpoint-range [data-previous-menu-children-count="7"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(3),.nav--in-breakpoint-range [data-previous-menu-children-count="7"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(4),.nav--in-breakpoint-range [data-previous-menu-children-count="7"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(5),.nav--in-breakpoint-range [data-previous-menu-children-count="7"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(6),.nav--in-breakpoint-range [data-previous-menu-children-count="7"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(7),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="0"] .nav-menu-item--animated[data-v-66cbfe4c]:first-child,.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="0"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(2),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="0"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(3),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="0"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(4),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="0"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(5),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="0"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(6),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="0"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(7),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="1"] .nav-menu-item--animated[data-v-66cbfe4c]:first-child,.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="1"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(2),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="1"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(3),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="1"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(4),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="1"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(5),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="1"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(6),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="1"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(7),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="2"] .nav-menu-item--animated[data-v-66cbfe4c]:first-child,.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="2"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(2),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="2"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(3),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="2"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(4),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="2"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(5),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="2"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(6),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="2"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(7),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="3"] .nav-menu-item--animated[data-v-66cbfe4c]:first-child,.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="3"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(2),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="3"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(3),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="3"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(4),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="3"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(5),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="3"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(6),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="3"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(7),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="4"] .nav-menu-item--animated[data-v-66cbfe4c]:first-child,.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="4"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(2),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="4"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(3),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="4"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(4),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="4"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(5),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="4"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(6),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="4"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(7),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="5"] .nav-menu-item--animated[data-v-66cbfe4c]:first-child,.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="5"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(2),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="5"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(3),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="5"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(4),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="5"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(5),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="5"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(6),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="5"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(7),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="6"] .nav-menu-item--animated[data-v-66cbfe4c]:first-child,.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="6"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(2),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="6"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(3),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="6"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(4),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="6"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(5),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="6"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(6),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="6"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(7),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="7"] .nav-menu-item--animated[data-v-66cbfe4c]:first-child,.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="7"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(2),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="7"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(3),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="7"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(4),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="7"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(5),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="7"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(6),.nav--is-open.nav--in-breakpoint-range [data-previous-menu-children-count="7"] .nav-menu-item--animated[data-v-66cbfe4c]:nth-child(7){transition-delay:0s}.links-block[data-v-ce6f87f6]+*{margin-top:var(--spacing-stacked-margin-xlarge)}.topic-link-block[data-v-ce6f87f6]{margin-top:15px} \ No newline at end of file diff --git a/docs/css/index.038e887c.css b/docs/css/index.038e887c.css new file mode 100644 index 0000000..ee928eb --- /dev/null +++ b/docs/css/index.038e887c.css @@ -0,0 +1,9 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */.color-scheme-toggle[data-v-02a6f6ec]{--toggle-color-fill:var(--color-button-background);--toggle-color-text:var(--color-fill-blue);font-size:.70588rem;line-height:1.33333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);border:1px solid var(--toggle-color-fill);border-radius:var(--toggle-border-radius-outer,var(--border-radius,4px));display:inline-flex;padding:1px}@media screen{[data-color-scheme=dark] .color-scheme-toggle[data-v-02a6f6ec]{--toggle-color-text:var(--color-figure-blue)}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .color-scheme-toggle[data-v-02a6f6ec]{--toggle-color-text:var(--color-figure-blue)}}@media print{.color-scheme-toggle[data-v-02a6f6ec]{display:none}}input[data-v-02a6f6ec]{position:absolute;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(0 0 99.9% 99.9%);clip-path:inset(0 0 99.9% 99.9%);overflow:hidden;height:1px;width:1px;padding:0;border:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.fromkeyboard label[data-v-02a6f6ec]:focus-within{outline:4px solid var(--color-focus-color);outline-offset:1px}.text[data-v-02a6f6ec]{border:1px solid transparent;border-radius:var(--toggle-border-radius-inner,2px);color:var(--toggle-color-text);display:inline-block;text-align:center;padding:1px 6px;min-width:42px;box-sizing:border-box}.text[data-v-02a6f6ec]:hover{cursor:pointer}input:checked+.text[data-v-02a6f6ec]{--toggle-color-text:var(--color-button-text);background:var(--toggle-color-fill);border-color:var(--toggle-color-fill)}.footer[data-v-4e049dbd]{border-top:1px solid var(--color-grid)}.row[data-v-4e049dbd]{margin-left:auto;margin-right:auto;width:980px;display:flex;flex-direction:row-reverse;margin:20px auto}@media only screen and (max-width:1250px){.row[data-v-4e049dbd]{width:692px}}@media only screen and (max-width:735px){.row[data-v-4e049dbd]{width:87.5%}}@media only screen and (max-width:320px){.row[data-v-4e049dbd]{width:215px}}@media only screen and (max-width:735px){.row[data-v-4e049dbd]{width:100%;padding:0 .94118rem;box-sizing:border-box}}.InitialLoadingPlaceholder[data-v-35c356b6]{background:var(--colors-loading-placeholder-background,var(--color-loading-placeholder-background));height:100vh;width:100%}.svg-icon[data-v-33d3200a]{fill:var(--colors-svg-icon-fill-light,var(--color-svg-icon));transform:scale(1);-webkit-transform:scale(1);overflow:visible}.theme-dark .svg-icon[data-v-33d3200a]{fill:var(--colors-svg-icon-fill-dark,var(--color-svg-icon))}.svg-icon.icon-inline[data-v-33d3200a]{display:inline-block;vertical-align:middle;fill:currentColor}.svg-icon.icon-inline[data-v-33d3200a] .svg-icon-stroke{stroke:currentColor}[data-v-33d3200a] .svg-icon-stroke{stroke:var(--colors-svg-icon-fill-light,var(--color-svg-icon))}.theme-dark[data-v-33d3200a] .svg-icon-stroke{stroke:var(--colors-svg-icon-fill-dark,var(--color-svg-icon))}.suggest-lang[data-v-ad72c62e]{background:#000;color:#fff;display:flex;justify-content:center;border-bottom:1px solid var(--color-grid)}.suggest-lang__wrapper[data-v-ad72c62e]{display:flex;align-items:center;width:100%;max-width:var(--wrapper-max-width,1920px);margin:0 .94118rem;position:relative;height:52px}.suggest-lang__link[data-v-ad72c62e]{font-size:.82353rem;line-height:1.42857;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);margin:0 auto;color:#09f}.suggest-lang__close-icon-wrapper[data-v-ad72c62e]{position:absolute;right:-.23529rem;top:0;height:100%;box-sizing:border-box;display:flex;align-items:center;z-index:1}.suggest-lang__close-icon-button[data-v-ad72c62e]{padding:.23529rem}.suggest-lang__close-icon-button .close-icon[data-v-ad72c62e]{width:8px;display:block}.suggest-lang .inline-chevron-right-icon[data-v-ad72c62e]{padding-left:.23529rem;width:8px}select[data-v-7e4d9b69]{font-size:.70588rem;line-height:1.33333;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-fill-blue);padding-right:15px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:none;cursor:pointer}select[data-v-7e4d9b69]:hover{text-decoration:underline}.locale-selector[data-v-7e4d9b69]{position:relative}.svg-icon.icon-inline[data-v-7e4d9b69]{position:absolute;fill:var(--color-fill-blue);right:2px;bottom:7px;height:5px}html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;background-color:var(--colors-text-background,var(--color-text-background));height:100%}abbr,blockquote,body,button,dd,dl,dt,fieldset,figure,form,h1,h2,h3,h4,h5,h6,hgroup,input,legend,li,ol,p,pre,ul{margin:0;padding:0}address,caption,code,figcaption,pre,th{font-size:1em;font-weight:400;font-style:normal}fieldset,iframe,img{border:0}caption,th{text-align:left}table{border-collapse:collapse;border-spacing:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}button{background:none;border:0;box-sizing:content-box;color:inherit;cursor:pointer;font:inherit;line-height:inherit;overflow:visible;vertical-align:inherit}button:disabled{cursor:default}:focus{outline:4px solid var(--color-focus-color);outline-offset:1px}::-moz-focus-inner{border:0;padding:0}@media print{#content,#main,body{color:#000}a,a:link,a:visited{color:#000;text-decoration:none}.hide,.noprint{display:none}}body{height:100%;min-width:320px}html{font:var(--typography-html-font,17px "Helvetica Neue","Helvetica","Arial",sans-serif);quotes:"“" "”"}html:lang(ja-JP){quotes:"「" "」"}body{font-size:1rem;line-height:1.47059;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);background-color:var(--color-text-background);color:var(--colors-text,var(--color-text));font-style:normal;word-wrap:break-word;--spacing-stacked-margin-small:0.4em;--spacing-stacked-margin-large:0.8em;--spacing-stacked-margin-xlarge:calc(var(--spacing-stacked-margin-large)*2);--spacing-param:1.64706rem;--declaration-code-listing-margin:30px 0 0 0;--code-block-style-elements-padding:8px 14px}body,button,input,select,textarea{font-synthesis:none;-moz-font-feature-settings:"kern";-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;direction:ltr;text-align:left}h1,h2,h3,h4,h5,h6{color:var(--colors-header-text,var(--color-header-text))}h1+*,h2+*,h3+*,h4+*,h5+*,h6+*{margin-top:var(--spacing-stacked-margin-large)}ol+h1,ol+h2,ol+h3,ol+h4,ol+h5,ol+h6,p+h1,p+h2,p+h3,p+h4,p+h5,p+h6,ul+h1,ul+h2,ul+h3,ul+h4,ul+h5,ul+h6{margin-top:1.6em}ol+*,p+*,ul+*{margin-top:var(--spacing-stacked-margin-large)}ol,ul{margin-left:1.17647em}ol ol,ol ul,ul ol,ul ul{margin-top:0;margin-bottom:0}nav ol,nav ul{margin:0;list-style:none}li li{font-size:1em}a{color:var(--colors-link,var(--color-link))}a:link,a:visited{text-decoration:none}a:hover{text-decoration:underline}a:active{text-decoration:none}p+a{display:inline-block}b,strong{font-weight:600}cite,dfn,em,i{font-style:italic}sup{font-size:.6em;vertical-align:top;position:relative;bottom:-.2em}h1 sup,h2 sup,h3 sup{font-size:.4em}sup a{vertical-align:inherit;color:inherit}sup a:hover{color:var(--figure-blue);text-decoration:none}sub{line-height:1}abbr{border:0}pre{overflow:auto;-webkit-overflow-scrolling:auto;white-space:pre;word-wrap:normal}code{font-family:var(--typography-html-font-mono,Menlo,monospace);font-weight:inherit;letter-spacing:0}.syntax-addition{color:var(--syntax-addition,var(--color-syntax-addition))}.syntax-comment{color:var(--syntax-comment,var(--color-syntax-comments))}.syntax-quote{color:var(--syntax-quote,var(--color-syntax-comments))}.syntax-deletion{color:var(--syntax-deletion,var(--color-syntax-deletion))}.syntax-keyword{color:var(--syntax-keyword,var(--color-syntax-keywords))}.syntax-literal{color:var(--syntax-literal,var(--color-syntax-keywords))}.syntax-selector-tag{color:var(--syntax-selector-tag,var(--color-syntax-keywords))}.syntax-string{color:var(--syntax-string,var(--color-syntax-strings))}.syntax-bullet{color:var(--syntax-bullet,var(--color-syntax-characters))}.syntax-meta{color:var(--syntax-meta,var(--color-syntax-characters))}.syntax-number{color:var(--syntax-number,var(--color-syntax-characters))}.syntax-symbol{color:var(--syntax-symbol,var(--color-syntax-characters))}.syntax-tag{color:var(--syntax-tag,var(--color-syntax-characters))}.syntax-attr{color:var(--syntax-attr,var(--color-syntax-other-type-names))}.syntax-built_in{color:var(--syntax-built_in,var(--color-syntax-other-type-names))}.syntax-builtin-name{color:var(--syntax-builtin-name,var(--color-syntax-other-type-names))}.syntax-class{color:var(--syntax-class,var(--color-syntax-other-type-names))}.syntax-params{color:var(--syntax-params,var(--color-syntax-other-type-names))}.syntax-section{color:var(--syntax-section,var(--color-syntax-other-type-names))}.syntax-title{color:var(--syntax-title,var(--color-syntax-other-type-names))}.syntax-type{color:var(--syntax-type,var(--color-syntax-other-type-names))}.syntax-attribute{color:var(--syntax-attribute,var(--color-syntax-plain-text))}.syntax-identifier{color:var(--syntax-identifier,var(--color-syntax-plain-text))}.syntax-subst{color:var(--syntax-subst,var(--color-syntax-plain-text))}.syntax-doctag,.syntax-strong{font-weight:700}.syntax-emphasis,.syntax-link{font-style:italic}[data-syntax=swift] .syntax-meta{color:var(--syntax-meta,var(--color-syntax-keywords))}[data-syntax=swift] .syntax-class,[data-syntax=swift] .syntax-keyword+.syntax-params,[data-syntax=swift] .syntax-params+.syntax-params{color:unset}[data-syntax=json] .syntax-attr{color:var(--syntax-attr,var(--color-syntax-strings))}#skip-nav{position:absolute;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(0 0 99.9% 99.9%);clip-path:inset(0 0 99.9% 99.9%);overflow:hidden;height:1px;width:1px;padding:0;border:0}#skip-nav:active,#skip-nav:focus{position:relative;float:left;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;color:var(--color-figure-blue);font-size:1em;padding:0 10px;z-index:100000;top:0;left:0;height:44px;line-height:44px;-webkit-clip-path:unset;clip-path:unset}.nav--in-breakpoint-range #skip-nav{display:none}.visuallyhidden{position:absolute;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(0 0 99.9% 99.9%);clip-path:inset(0 0 99.9% 99.9%);overflow:hidden;height:1px;width:1px;padding:0;border:0}@-webkit-keyframes pulse{0%{opacity:0}33%{opacity:1}66%{opacity:1}to{opacity:0}}@keyframes pulse{0%{opacity:0}33%{opacity:1}66%{opacity:1}to{opacity:0}}.changed{border:1px solid var(--color-changes-modified);border-radius:var(--border-radius,4px);position:relative}.changed.displays-multiple-lines,.displays-multiple-lines .changed{border-radius:var(--border-radius,4px)}.changed:after{left:8px;background-image:url(../img/modified-icon.f496e73d.svg);background-repeat:no-repeat;bottom:0;content:" ";margin:auto;margin-right:8px;position:absolute;top:0;width:1.17647rem;height:1.17647rem;margin-top:.61765rem;z-index:2}@media screen{[data-color-scheme=dark] .changed:after{background-image:url(../img/modified-icon.f496e73d.svg)}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .changed:after{background-image:url(../img/modified-icon.f496e73d.svg)}}.changed-added{border-color:var(--color-changes-added)}.changed-added:after{background-image:url(../img/added-icon.d6f7e47d.svg)}@media screen{[data-color-scheme=dark] .changed-added:after{background-image:url(../img/added-icon.d6f7e47d.svg)}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .changed-added:after{background-image:url(../img/added-icon.d6f7e47d.svg)}}.changed-deprecated{border-color:var(--color-changes-deprecated)}.changed-deprecated:after{background-image:url(../img/deprecated-icon.015b4f17.svg)}@media screen{[data-color-scheme=dark] .changed-deprecated:after{background-image:url(../img/deprecated-icon.015b4f17.svg)}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .changed-deprecated:after{background-image:url(../img/deprecated-icon.015b4f17.svg)}}.changed.link-block:after,.changed.relationships-item:after,.link-block .changed:after{margin-top:10px}.change-added,.change-removed{padding:2px 0}.change-removed{background-color:var(--color-highlight-red)}.change-added{background-color:var(--color-highlight-green)}body{color-scheme:light dark}body[data-color-scheme=light]{color-scheme:light}body[data-color-scheme=dark]{color-scheme:dark}body{--color-fill:#fff;--color-fill-secondary:#f7f7f7;--color-fill-tertiary:#f0f0f0;--color-fill-quaternary:#282828;--color-fill-blue:#00f;--color-fill-light-blue-secondary:#d1d1ff;--color-fill-gray:#ccc;--color-fill-gray-secondary:#f5f5f5;--color-fill-gray-tertiary:#f0f0f0;--color-fill-gray-quaternary:#f0f0f0;--color-fill-green-secondary:#f0fff0;--color-fill-orange-secondary:#fffaf6;--color-fill-red-secondary:#fff0f5;--color-figure-blue:#36f;--color-figure-gray:#000;--color-figure-gray-secondary:#666;--color-figure-gray-secondary-alt:#666;--color-figure-gray-tertiary:#666;--color-figure-green:green;--color-figure-light-gray:#666;--color-figure-orange:#c30;--color-figure-red:red;--color-tutorials-teal:#000;--color-article-background:var(--color-fill-tertiary);--color-article-body-background:var(--color-fill);--color-aside-deprecated:var(--color-figure-gray);--color-aside-deprecated-background:var(--color-fill-orange-secondary);--color-aside-deprecated-border:var(--color-figure-orange);--color-aside-experiment:var(--color-figure-gray);--color-aside-experiment-background:var(--color-fill-gray-secondary);--color-aside-experiment-border:var(--color-figure-light-gray);--color-aside-important:var(--color-figure-gray);--color-aside-important-background:var(--color-fill-gray-secondary);--color-aside-important-border:var(--color-figure-light-gray);--color-aside-note:var(--color-figure-gray);--color-aside-note-background:var(--color-fill-gray-secondary);--color-aside-note-border:var(--color-figure-light-gray);--color-aside-tip:var(--color-figure-gray);--color-aside-tip-background:var(--color-fill-gray-secondary);--color-aside-tip-border:var(--color-figure-light-gray);--color-aside-warning:var(--color-figure-gray);--color-aside-warning-background:var(--color-fill-red-secondary);--color-aside-warning-border:var(--color-figure-red);--color-badge-default:var(--color-figure-light-gray);--color-badge-beta:var(--color-figure-gray-tertiary);--color-badge-deprecated:var(--color-figure-orange);--color-badge-dark-default:#fff;--color-badge-dark-beta:#b0b0b0;--color-badge-dark-deprecated:#f60;--color-button-background:var(--color-fill-blue);--color-button-background-active:#36f;--color-button-background-hover:var(--color-figure-blue);--color-button-text:#fff;--color-call-to-action-background:var(--color-fill-secondary);--color-changes-added:var(--color-figure-light-gray);--color-changes-added-hover:var(--color-figure-light-gray);--color-changes-deprecated:var(--color-figure-light-gray);--color-changes-deprecated-hover:var(--color-figure-light-gray);--color-changes-modified:var(--color-figure-light-gray);--color-changes-modified-hover:var(--color-figure-light-gray);--color-changes-modified-previous-background:var(--color-fill);--color-code-background:var(--color-fill-secondary);--color-code-collapsible-background:var(--color-fill-tertiary);--color-code-collapsible-text:var(--color-figure-gray-secondary-alt);--color-code-line-highlight:rgba(51,102,255,0.08);--color-code-line-highlight-border:var(--color-figure-blue);--color-code-plain:var(--color-figure-gray);--color-dropdown-background:hsla(0,0%,100%,0.8);--color-dropdown-border:#ccc;--color-dropdown-option-text:#666;--color-dropdown-text:#000;--color-dropdown-dark-background:hsla(0,0%,100%,0.1);--color-dropdown-dark-border:hsla(0,0%,94.1%,0.2);--color-dropdown-dark-option-text:#ccc;--color-dropdown-dark-text:#fff;--color-eyebrow:var(--color-figure-gray-secondary);--color-focus-border-color:var(--color-fill-blue);--color-focus-color:rgba(0,125,250,0.6);--color-form-error:var(--color-figure-red);--color-form-error-background:var(--color-fill-red-secondary);--color-form-valid:var(--color-figure-green);--color-form-valid-background:var(--color-fill-green-secondary);--color-generic-modal-background:var(--color-fill);--color-grid:var(--color-fill-gray);--color-header-text:var(--color-figure-gray);--color-hero-eyebrow:#ccc;--color-link:var(--color-figure-blue);--color-loading-placeholder-background:var(--color-fill);--color-nav-color:#666;--color-nav-current-link:rgba(0,0,0,0.6);--color-nav-expanded:#fff;--color-nav-hierarchy-collapse-background:#f0f0f0;--color-nav-hierarchy-collapse-borders:#ccc;--color-nav-hierarchy-item-borders:#ccc;--color-nav-keyline:rgba(0,0,0,0.2);--color-nav-link-color:#000;--color-nav-link-color-hover:#36f;--color-nav-outlines:#ccc;--color-nav-rule:hsla(0,0%,94.1%,0.5);--color-nav-solid-background:#fff;--color-nav-sticking-expanded-keyline:rgba(0,0,0,0.1);--color-nav-stuck:hsla(0,0%,100%,0.9);--color-nav-uiblur-expanded:hsla(0,0%,100%,0.9);--color-nav-uiblur-stuck:hsla(0,0%,100%,0.7);--color-nav-root-subhead:var(--color-tutorials-teal);--color-nav-dark-border-top-color:hsla(0,0%,100%,0.4);--color-nav-dark-color:#b0b0b0;--color-nav-dark-current-link:hsla(0,0%,100%,0.6);--color-nav-dark-expanded:#2a2a2a;--color-nav-dark-hierarchy-collapse-background:#424242;--color-nav-dark-hierarchy-collapse-borders:#666;--color-nav-dark-hierarchy-item-borders:#424242;--color-nav-dark-keyline:rgba(66,66,66,0.95);--color-nav-dark-link-color:#fff;--color-nav-dark-link-color-hover:#09f;--color-nav-dark-outlines:#575757;--color-nav-dark-rule:#575757;--color-nav-dark-solid-background:#000;--color-nav-dark-sticking-expanded-keyline:rgba(66,66,66,0.7);--color-nav-dark-stuck:rgba(42,42,42,0.9);--color-nav-dark-uiblur-expanded:rgba(42,42,42,0.9);--color-nav-dark-uiblur-stuck:rgba(42,42,42,0.7);--color-nav-dark-root-subhead:#fff;--color-runtime-preview-background:var(--color-fill-tertiary);--color-runtime-preview-disabled-text:hsla(0,0%,40%,0.6);--color-runtime-preview-text:var(--color-figure-gray-secondary);--color-secondary-label:var(--color-figure-gray-secondary);--color-step-background:var(--color-fill-secondary);--color-step-caption:var(--color-figure-gray-secondary);--color-step-focused:var(--color-figure-light-gray);--color-step-text:var(--color-figure-gray-secondary);--color-svg-icon:#666;--color-syntax-addition:var(--color-figure-green);--color-syntax-attributes:#947100;--color-syntax-characters:#272ad8;--color-syntax-comments:#707f8c;--color-syntax-deletion:var(--color-figure-red);--color-syntax-documentation-markup:#506375;--color-syntax-documentation-markup-keywords:#506375;--color-syntax-heading:#ba2da2;--color-syntax-keywords:#ad3da4;--color-syntax-marks:#000;--color-syntax-numbers:#272ad8;--color-syntax-other-class-names:#703daa;--color-syntax-other-constants:#4b21b0;--color-syntax-other-declarations:#047cb0;--color-syntax-other-function-and-method-names:#4b21b0;--color-syntax-other-instance-variables-and-globals:#703daa;--color-syntax-other-preprocessor-macros:#78492a;--color-syntax-other-type-names:#703daa;--color-syntax-param-internal-name:#404040;--color-syntax-plain-text:#000;--color-syntax-preprocessor-statements:#78492a;--color-syntax-project-class-names:#3e8087;--color-syntax-project-constants:#2d6469;--color-syntax-project-function-and-method-names:#2d6469;--color-syntax-project-instance-variables-and-globals:#3e8087;--color-syntax-project-preprocessor-macros:#78492a;--color-syntax-project-type-names:#3e8087;--color-syntax-strings:#d12f1b;--color-syntax-type-declarations:#03638c;--color-syntax-urls:#1337ff;--color-tabnav-item-border-color:var(--color-fill-gray);--color-text:var(--color-figure-gray);--color-text-background:var(--color-fill);--color-tutorial-assessments-background:var(--color-fill-secondary);--color-tutorial-background:var(--color-fill);--color-tutorial-navbar-dropdown-background:var(--color-fill);--color-tutorial-navbar-dropdown-border:var(--color-fill-gray);--color-tutorial-quiz-border-active:var(--color-figure-blue);--color-tutorials-overview-background:#161616;--color-tutorials-overview-content:#fff;--color-tutorials-overview-content-alt:#fff;--color-tutorials-overview-eyebrow:#ccc;--color-tutorials-overview-icon:#b0b0b0;--color-tutorials-overview-link:#09f;--color-tutorials-overview-navigation-link:#ccc;--color-tutorials-overview-navigation-link-active:#fff;--color-tutorials-overview-navigation-link-hover:#fff;--color-tutorial-hero-text:#fff;--color-tutorial-hero-background:#000;--color-navigator-item-hover:rgba(0,0,255,0.05);--color-card-background:var(--color-fill);--color-card-content-text:var(--color-figure-gray);--color-card-eyebrow:var(--color-figure-gray-secondary-alt);--color-card-shadow:rgba(0,0,0,0.04);--color-link-block-card-border:rgba(0,0,0,0.04);--color-standard-red:#8b0000;--color-standard-orange:#8b4000;--color-standard-yellow:#8f7200;--color-standard-blue:#002d75;--color-standard-green:#023b2d;--color-standard-purple:#512b55;--color-standard-gray:#2a2a2a}@media screen{body[data-color-scheme=dark]{--color-fill:#000;--color-fill-secondary:#161616;--color-fill-tertiary:#2a2a2a;--color-fill-blue:#06f;--color-fill-light-blue-secondary:#004ec4;--color-fill-gray:#575757;--color-fill-gray-secondary:#222;--color-fill-gray-tertiary:#424242;--color-fill-gray-quaternary:#424242;--color-fill-green-secondary:#030;--color-fill-orange-secondary:#472400;--color-fill-red-secondary:#300;--color-figure-blue:#09f;--color-figure-gray:#fff;--color-figure-gray-secondary:#ccc;--color-figure-gray-secondary-alt:#b0b0b0;--color-figure-gray-tertiary:#b0b0b0;--color-figure-green:#090;--color-figure-light-gray:#b0b0b0;--color-figure-orange:#f60;--color-figure-red:#f33;--color-tutorials-teal:#fff;--color-article-body-background:#111;--color-badge-default:var(--color-badge-dark-default);--color-button-background-active:#06f;--color-code-line-highlight:rgba(0,153,255,0.08);--color-dropdown-background:var(--color-dropdown-dark-background);--color-dropdown-border:var(--color-dropdown-dark-border);--color-dropdown-option-text:var(--color-dropdown-dark-option-text);--color-dropdown-text:var(--color-dropdown-dark-text);--color-nav-color:var(--color-nav-dark-color);--color-nav-current-link:var(--color-nav-dark-current-link);--color-nav-expanded:var(--color-nav-dark-expanded);--color-nav-hierarchy-collapse-background:var(--color-nav-dark-hierarchy-collapse-background);--color-nav-hierarchy-collapse-borders:var(--color-nav-dark-hierarchy-collapse-borders);--color-nav-hierarchy-item-borders:var(--color-nav-dark-hierarchy-item-borders);--color-nav-keyline:var(--color-nav-dark-keyline);--color-nav-link-color:var(--color-nav-dark-link-color);--color-nav-link-color-hover:var(--color-nav-dark-link-color-hover);--color-nav-outlines:var(--color-nav-dark-outlines);--color-nav-rule:var(--color-nav-dark-rule);--color-nav-solid-background:var(--color-nav-dark-solid-background);--color-nav-sticking-expanded-keyline:var(--color-nav-dark-sticking-expanded-keyline);--color-nav-stuck:var(--color-nav-dark-stuck);--color-nav-uiblur-expanded:var(--color-nav-dark-uiblur-expanded);--color-nav-uiblur-stuck:var(--color-nav-dark-uiblur-stuck);--color-runtime-preview-disabled-text:hsla(0,0%,80%,0.6);--color-syntax-attributes:#cc9768;--color-syntax-characters:#d9c97c;--color-syntax-comments:#7f8c98;--color-syntax-documentation-markup:#7f8c98;--color-syntax-documentation-markup-keywords:#a3b1bf;--color-syntax-keywords:#ff7ab2;--color-syntax-marks:#fff;--color-syntax-numbers:#d9c97c;--color-syntax-other-class-names:#dabaff;--color-syntax-other-constants:#a7ebdd;--color-syntax-other-declarations:#4eb0cc;--color-syntax-other-function-and-method-names:#b281eb;--color-syntax-other-instance-variables-and-globals:#b281eb;--color-syntax-other-preprocessor-macros:#ffa14f;--color-syntax-other-type-names:#dabaff;--color-syntax-param-internal-name:#bfbfbf;--color-syntax-plain-text:#fff;--color-syntax-preprocessor-statements:#ffa14f;--color-syntax-project-class-names:#acf2e4;--color-syntax-project-constants:#78c2b3;--color-syntax-project-function-and-method-names:#78c2b3;--color-syntax-project-instance-variables-and-globals:#78c2b3;--color-syntax-project-preprocessor-macros:#ffa14f;--color-syntax-project-type-names:#acf2e4;--color-syntax-strings:#ff8170;--color-syntax-type-declarations:#6bdfff;--color-syntax-urls:#69f;--color-tutorial-background:var(--color-fill-tertiary);--color-navigator-item-hover:rgba(0,102,255,0.5);--color-card-shadow:hsla(0,0%,100%,0.04);--color-link-block-card-border:hsla(0,0%,100%,0.25)}}@media screen and (prefers-color-scheme:dark){body[data-color-scheme=auto]{--color-fill:#000;--color-fill-secondary:#161616;--color-fill-tertiary:#2a2a2a;--color-fill-blue:#06f;--color-fill-light-blue-secondary:#004ec4;--color-fill-gray:#575757;--color-fill-gray-secondary:#222;--color-fill-gray-tertiary:#424242;--color-fill-gray-quaternary:#424242;--color-fill-green-secondary:#030;--color-fill-orange-secondary:#472400;--color-fill-red-secondary:#300;--color-figure-blue:#09f;--color-figure-gray:#fff;--color-figure-gray-secondary:#ccc;--color-figure-gray-secondary-alt:#b0b0b0;--color-figure-gray-tertiary:#b0b0b0;--color-figure-green:#090;--color-figure-light-gray:#b0b0b0;--color-figure-orange:#f60;--color-figure-red:#f33;--color-tutorials-teal:#fff;--color-article-body-background:#111;--color-badge-default:var(--color-badge-dark-default);--color-button-background-active:#06f;--color-code-line-highlight:rgba(0,153,255,0.08);--color-dropdown-background:var(--color-dropdown-dark-background);--color-dropdown-border:var(--color-dropdown-dark-border);--color-dropdown-option-text:var(--color-dropdown-dark-option-text);--color-dropdown-text:var(--color-dropdown-dark-text);--color-nav-color:var(--color-nav-dark-color);--color-nav-current-link:var(--color-nav-dark-current-link);--color-nav-expanded:var(--color-nav-dark-expanded);--color-nav-hierarchy-collapse-background:var(--color-nav-dark-hierarchy-collapse-background);--color-nav-hierarchy-collapse-borders:var(--color-nav-dark-hierarchy-collapse-borders);--color-nav-hierarchy-item-borders:var(--color-nav-dark-hierarchy-item-borders);--color-nav-keyline:var(--color-nav-dark-keyline);--color-nav-link-color:var(--color-nav-dark-link-color);--color-nav-link-color-hover:var(--color-nav-dark-link-color-hover);--color-nav-outlines:var(--color-nav-dark-outlines);--color-nav-rule:var(--color-nav-dark-rule);--color-nav-solid-background:var(--color-nav-dark-solid-background);--color-nav-sticking-expanded-keyline:var(--color-nav-dark-sticking-expanded-keyline);--color-nav-stuck:var(--color-nav-dark-stuck);--color-nav-uiblur-expanded:var(--color-nav-dark-uiblur-expanded);--color-nav-uiblur-stuck:var(--color-nav-dark-uiblur-stuck);--color-runtime-preview-disabled-text:hsla(0,0%,80%,0.6);--color-syntax-attributes:#cc9768;--color-syntax-characters:#d9c97c;--color-syntax-comments:#7f8c98;--color-syntax-documentation-markup:#7f8c98;--color-syntax-documentation-markup-keywords:#a3b1bf;--color-syntax-keywords:#ff7ab2;--color-syntax-marks:#fff;--color-syntax-numbers:#d9c97c;--color-syntax-other-class-names:#dabaff;--color-syntax-other-constants:#a7ebdd;--color-syntax-other-declarations:#4eb0cc;--color-syntax-other-function-and-method-names:#b281eb;--color-syntax-other-instance-variables-and-globals:#b281eb;--color-syntax-other-preprocessor-macros:#ffa14f;--color-syntax-other-type-names:#dabaff;--color-syntax-param-internal-name:#bfbfbf;--color-syntax-plain-text:#fff;--color-syntax-preprocessor-statements:#ffa14f;--color-syntax-project-class-names:#acf2e4;--color-syntax-project-constants:#78c2b3;--color-syntax-project-function-and-method-names:#78c2b3;--color-syntax-project-instance-variables-and-globals:#78c2b3;--color-syntax-project-preprocessor-macros:#ffa14f;--color-syntax-project-type-names:#acf2e4;--color-syntax-strings:#ff8170;--color-syntax-type-declarations:#6bdfff;--color-syntax-urls:#69f;--color-tutorial-background:var(--color-fill-tertiary);--color-navigator-item-hover:rgba(0,102,255,0.5);--color-card-shadow:hsla(0,0%,100%,0.04);--color-link-block-card-border:hsla(0,0%,100%,0.25)}}#main{outline-style:none}:root{--app-height:100vh}[data-v-7d594ed9] :focus:not(input):not(textarea):not(select){outline:none}.fromkeyboard[data-v-7d594ed9] :focus:not(input):not(textarea):not(select){outline:4px solid var(--color-focus-color);outline-offset:1px}#app[data-v-7d594ed9]{display:flex;flex-flow:column;min-height:100%}#app[data-v-7d594ed9]>*{min-width:0}#app .router-content[data-v-7d594ed9]{flex:1}.container[data-v-1f05d9ec]{margin-left:auto;margin-right:auto;width:980px;outline-style:none;margin-top:92px;margin-bottom:140px}@media only screen and (max-width:1250px){.container[data-v-1f05d9ec]{width:692px}}@media only screen and (max-width:735px){.container[data-v-1f05d9ec]{width:87.5%}}@media only screen and (max-width:320px){.container[data-v-1f05d9ec]{width:215px}}.error-content[data-v-1f05d9ec]{box-sizing:border-box;width:502px;margin-left:auto;margin-right:auto;margin-bottom:54px}@media only screen and (max-width:1250px){.error-content[data-v-1f05d9ec]{width:420px;margin-bottom:45px}}@media only screen and (max-width:735px){.error-content[data-v-1f05d9ec]{max-width:330px;width:auto;margin-bottom:35px}}.title[data-v-1f05d9ec]{text-align:center;font-size:2.82353rem;line-height:1.08333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){.title[data-v-1f05d9ec]{font-size:2.35294rem;line-height:1.1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.title[data-v-1f05d9ec]{font-size:1.88235rem;line-height:1.125;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}} \ No newline at end of file diff --git a/docs/css/index.d5b499b0.css b/docs/css/index.d5b499b0.css deleted file mode 100644 index 41ab3dd..0000000 --- a/docs/css/index.d5b499b0.css +++ /dev/null @@ -1,9 +0,0 @@ -/*! - * This source file is part of the Swift.org open source project - * - * Copyright (c) 2021 Apple Inc. and the Swift project authors - * Licensed under Apache License v2.0 with Runtime Library Exception - * - * See https://swift.org/LICENSE.txt for license information - * See https://swift.org/CONTRIBUTORS.txt for Swift project authors - */.color-scheme-toggle[data-v-8890c4d6]{--toggle-color-fill:var(--color-button-background);--toggle-color-text:var(--color-fill-blue);font-size:.70588rem;line-height:1.33333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);border:1px solid var(--toggle-color-fill);border-radius:var(--toggle-border-radius-outer,var(--border-radius,4px));display:inline-flex;padding:1px}@media screen{[data-color-scheme=dark] .color-scheme-toggle[data-v-8890c4d6]{--toggle-color-text:var(--color-figure-blue)}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .color-scheme-toggle[data-v-8890c4d6]{--toggle-color-text:var(--color-figure-blue)}}@media print{.color-scheme-toggle[data-v-8890c4d6]{display:none}}input[data-v-8890c4d6]{position:absolute;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(0 0 99.9% 99.9%);clip-path:inset(0 0 99.9% 99.9%);overflow:hidden;height:1px;width:1px;padding:0;border:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.fromkeyboard label[data-v-8890c4d6]:focus-within{outline:4px solid var(--color-focus-color);outline-offset:1px}.text[data-v-8890c4d6]{border:1px solid transparent;border-radius:var(--toggle-border-radius-inner,2px);color:var(--toggle-color-text);display:inline-block;text-align:center;padding:1px 6px;min-width:42px;box-sizing:border-box}.text[data-v-8890c4d6]:hover{cursor:pointer}input:checked+.text[data-v-8890c4d6]{--toggle-color-text:var(--color-button-text);background:var(--toggle-color-fill);border-color:var(--toggle-color-fill)}.footer[data-v-72f2e2dc]{border-top:1px solid var(--color-grid)}.row[data-v-72f2e2dc]{margin-left:auto;margin-right:auto;width:980px;display:flex;flex-direction:row-reverse;padding:20px 0}@media only screen and (max-width:1250px){.row[data-v-72f2e2dc]{width:692px}}@media only screen and (max-width:735px){.row[data-v-72f2e2dc]{width:87.5%;width:100%;padding:20px .94118rem;box-sizing:border-box}}.InitialLoadingPlaceholder[data-v-35c356b6]{background:var(--colors-loading-placeholder-background,var(--color-loading-placeholder-background));height:100vh;width:100%}html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;background-color:var(--colors-text-background,var(--color-text-background));height:100%}abbr,blockquote,body,button,dd,dl,dt,fieldset,figure,form,h1,h2,h3,h4,h5,h6,hgroup,input,legend,li,ol,p,pre,ul{margin:0;padding:0}address,caption,code,figcaption,pre,th{font-size:1em;font-weight:400;font-style:normal}fieldset,iframe,img{border:0}caption,th{text-align:left}table{border-collapse:collapse;border-spacing:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}button{background:none;border:0;box-sizing:content-box;color:inherit;cursor:pointer;font:inherit;line-height:inherit;overflow:visible;vertical-align:inherit}button:disabled{cursor:default}:focus{outline:4px solid var(--color-focus-color);outline-offset:1px}::-moz-focus-inner{border:0;padding:0}@media print{#content,#main,body{color:#000}a,a:link,a:visited{color:#000;text-decoration:none}.hide,.noprint{display:none}}body{height:100%;min-width:320px}html{font:var(--typography-html-font,17px "Helvetica Neue","Helvetica","Arial",sans-serif);quotes:"“" "”"}body{font-size:1rem;line-height:1.47059;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);background-color:var(--color-text-background);color:var(--colors-text,var(--color-text));font-style:normal;word-wrap:break-word}body,button,input,select,textarea{font-synthesis:none;-moz-font-feature-settings:"kern";-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;direction:ltr;text-align:left}h1,h2,h3,h4,h5,h6{color:var(--colors-header-text,var(--color-header-text))}h1+*,h2+*,h3+*,h4+*,h5+*,h6+*{margin-top:.8em}ol+h1,ol+h2,ol+h3,ol+h4,ol+h5,ol+h6,p+h1,p+h2,p+h3,p+h4,p+h5,p+h6,ul+h1,ul+h2,ul+h3,ul+h4,ul+h5,ul+h6{margin-top:1.6em}ol+*,p+*,ul+*{margin-top:.8em}ol,ul{margin-left:1.17647em}ol ol,ol ul,ul ol,ul ul{margin-top:0;margin-bottom:0}nav ol,nav ul{margin:0;list-style:none}li li{font-size:1em}a{color:var(--colors-link,var(--color-link))}a:link,a:visited{text-decoration:none}a:hover{text-decoration:underline}a:active{text-decoration:none}p+a{display:inline-block}b,strong{font-weight:600}cite,dfn,em,i{font-style:italic}sup{font-size:.6em;vertical-align:top;position:relative;bottom:-.2em}h1 sup,h2 sup,h3 sup{font-size:.4em}sup a{vertical-align:inherit;color:inherit}sup a:hover{color:var(--figure-blue);text-decoration:none}sub{line-height:1}abbr{border:0}pre{overflow:auto;-webkit-overflow-scrolling:auto;white-space:pre;word-wrap:normal}code{font-family:var(--typography-html-font-mono,Menlo,monospace);font-weight:inherit;letter-spacing:0}.syntax-comment{color:var(--syntax-comment,var(--color-syntax-comments))}.syntax-quote{color:var(--syntax-quote,var(--color-syntax-comments))}.syntax-keyword{color:var(--syntax-keyword,var(--color-syntax-keywords))}.syntax-literal{color:var(--syntax-literal,var(--color-syntax-keywords))}.syntax-selector-tag{color:var(--syntax-selector-tag,var(--color-syntax-keywords))}.syntax-string{color:var(--syntax-string,var(--color-syntax-strings))}.syntax-bullet{color:var(--syntax-bullet,var(--color-syntax-characters))}.syntax-meta{color:var(--syntax-meta,var(--color-syntax-characters))}.syntax-number{color:var(--syntax-number,var(--color-syntax-characters))}.syntax-symbol{color:var(--syntax-symbol,var(--color-syntax-characters))}.syntax-tag{color:var(--syntax-tag,var(--color-syntax-characters))}.syntax-attr{color:var(--syntax-attr,var(--color-syntax-other-type-names))}.syntax-built_in{color:var(--syntax-built_in,var(--color-syntax-other-type-names))}.syntax-builtin-name{color:var(--syntax-builtin-name,var(--color-syntax-other-type-names))}.syntax-class{color:var(--syntax-class,var(--color-syntax-other-type-names))}.syntax-params{color:var(--syntax-params,var(--color-syntax-other-type-names))}.syntax-section{color:var(--syntax-section,var(--color-syntax-other-type-names))}.syntax-title{color:var(--syntax-title,var(--color-syntax-other-type-names))}.syntax-type{color:var(--syntax-type,var(--color-syntax-other-type-names))}.syntax-attribute{color:var(--syntax-attribute,var(--color-syntax-plain-text))}.syntax-identifier{color:var(--syntax-identifier,var(--color-syntax-plain-text))}.syntax-subst{color:var(--syntax-subst,var(--color-syntax-plain-text))}.syntax-doctag,.syntax-strong{font-weight:700}.syntax-emphasis,.syntax-link{font-style:italic}[data-syntax=swift] .syntax-meta{color:var(--syntax-meta,var(--color-syntax-keywords))}[data-syntax=swift] .syntax-class,[data-syntax=swift] .syntax-keyword+.syntax-params,[data-syntax=swift] .syntax-params+.syntax-params{color:unset}[data-syntax=json] .syntax-attr{color:var(--syntax-attr,var(--color-syntax-strings))}#skip-nav{position:absolute;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(0 0 99.9% 99.9%);clip-path:inset(0 0 99.9% 99.9%);overflow:hidden;height:1px;width:1px;padding:0;border:0}#skip-nav:active,#skip-nav:focus{position:relative;float:left;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;color:var(--color-figure-blue);font-size:1em;padding:0 10px;z-index:100000;top:0;left:0;height:44px;line-height:44px;-webkit-clip-path:unset;clip-path:unset}.nav--in-breakpoint-range #skip-nav{display:none}.visuallyhidden{position:absolute;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(0 0 99.9% 99.9%);clip-path:inset(0 0 99.9% 99.9%);overflow:hidden;height:1px;width:1px;padding:0;border:0}@-webkit-keyframes pulse{0%{opacity:0}33%{opacity:1}66%{opacity:1}to{opacity:0}}@keyframes pulse{0%{opacity:0}33%{opacity:1}66%{opacity:1}to{opacity:0}}.changed{border:1px solid var(--color-changes-modified);border-radius:var(--border-radius,4px);position:relative}.changed.has-multiple-lines,.has-multiple-lines .changed{border-radius:var(--border-radius,4px)}.changed:after{left:8px;background-image:url(../img/modified-icon.f496e73d.svg);background-repeat:no-repeat;bottom:0;content:" ";margin:auto;margin-right:8px;position:absolute;top:0;width:1.17647rem;height:1.17647rem;margin-top:.61765rem;z-index:2}@media screen{[data-color-scheme=dark] .changed:after{background-image:url(../img/modified-icon.f496e73d.svg)}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .changed:after{background-image:url(../img/modified-icon.f496e73d.svg)}}.changed-added{border-color:var(--color-changes-added)}.changed-added:after{background-image:url(../img/added-icon.d6f7e47d.svg)}@media screen{[data-color-scheme=dark] .changed-added:after{background-image:url(../img/added-icon.d6f7e47d.svg)}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .changed-added:after{background-image:url(../img/added-icon.d6f7e47d.svg)}}.changed-deprecated{border-color:var(--color-changes-deprecated)}.changed-deprecated:after{background-image:url(../img/deprecated-icon.015b4f17.svg)}@media screen{[data-color-scheme=dark] .changed-deprecated:after{background-image:url(../img/deprecated-icon.015b4f17.svg)}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .changed-deprecated:after{background-image:url(../img/deprecated-icon.015b4f17.svg)}}.changed.link-block:after,.changed.relationships-item:after,.link-block .changed:after{margin-top:10px}.change-added,.change-removed{padding:2px 0}.change-removed{background-color:var(--color-highlight-red)}.change-added{background-color:var(--color-highlight-green)}body{color-scheme:light dark}body[data-color-scheme=light]{color-scheme:light}body[data-color-scheme=dark]{color-scheme:dark}body{--color-fill:#fff;--color-fill-secondary:#f7f7f7;--color-fill-tertiary:#f0f0f0;--color-fill-quaternary:#282828;--color-fill-blue:#00f;--color-fill-light-blue-secondary:#d1d1ff;--color-fill-gray:#ccc;--color-fill-gray-secondary:#f5f5f5;--color-fill-gray-tertiary:#f0f0f0;--color-fill-gray-quaternary:#f0f0f0;--color-fill-green-secondary:#f0fff0;--color-fill-orange-secondary:#fffaf6;--color-fill-red-secondary:#fff0f5;--color-figure-blue:#36f;--color-figure-gray:#000;--color-figure-gray-secondary:#666;--color-figure-gray-secondary-alt:#666;--color-figure-gray-tertiary:#666;--color-figure-green:green;--color-figure-light-gray:#666;--color-figure-orange:#c30;--color-figure-red:red;--color-tutorials-teal:#000;--color-article-background:var(--color-fill-tertiary);--color-article-body-background:var(--color-fill);--color-aside-deprecated:var(--color-figure-gray);--color-aside-deprecated-background:var(--color-fill-orange-secondary);--color-aside-deprecated-border:var(--color-figure-orange);--color-aside-experiment:var(--color-figure-gray);--color-aside-experiment-background:var(--color-fill-gray-secondary);--color-aside-experiment-border:var(--color-figure-light-gray);--color-aside-important:var(--color-figure-gray);--color-aside-important-background:var(--color-fill-gray-secondary);--color-aside-important-border:var(--color-figure-light-gray);--color-aside-note:var(--color-figure-gray);--color-aside-note-background:var(--color-fill-gray-secondary);--color-aside-note-border:var(--color-figure-light-gray);--color-aside-tip:var(--color-figure-gray);--color-aside-tip-background:var(--color-fill-gray-secondary);--color-aside-tip-border:var(--color-figure-light-gray);--color-aside-warning:var(--color-figure-gray);--color-aside-warning-background:var(--color-fill-red-secondary);--color-aside-warning-border:var(--color-figure-red);--color-badge-default:var(--color-figure-light-gray);--color-badge-beta:var(--color-figure-gray-tertiary);--color-badge-deprecated:var(--color-figure-orange);--color-badge-dark-default:#fff;--color-badge-dark-beta:#b0b0b0;--color-badge-dark-deprecated:#f60;--color-button-background:var(--color-fill-blue);--color-button-background-active:#36f;--color-button-background-hover:var(--color-figure-blue);--color-button-text:#fff;--color-call-to-action-background:var(--color-fill-secondary);--color-changes-added:var(--color-figure-light-gray);--color-changes-added-hover:var(--color-figure-light-gray);--color-changes-deprecated:var(--color-figure-light-gray);--color-changes-deprecated-hover:var(--color-figure-light-gray);--color-changes-modified:var(--color-figure-light-gray);--color-changes-modified-hover:var(--color-figure-light-gray);--color-changes-modified-previous-background:var(--color-fill);--color-code-background:var(--color-fill-secondary);--color-code-collapsible-background:var(--color-fill-tertiary);--color-code-collapsible-text:var(--color-figure-gray-secondary-alt);--color-code-line-highlight:rgba(51,102,255,0.08);--color-code-line-highlight-border:var(--color-figure-blue);--color-code-plain:var(--color-figure-gray);--color-dropdown-background:hsla(0,0%,100%,0.8);--color-dropdown-border:#ccc;--color-dropdown-option-text:#666;--color-dropdown-text:#000;--color-dropdown-dark-background:hsla(0,0%,100%,0.1);--color-dropdown-dark-border:hsla(0,0%,94.1%,0.2);--color-dropdown-dark-option-text:#ccc;--color-dropdown-dark-text:#fff;--color-eyebrow:var(--color-figure-gray-secondary);--color-focus-border-color:var(--color-fill-blue);--color-focus-color:rgba(0,125,250,0.6);--color-form-error:var(--color-figure-red);--color-form-error-background:var(--color-fill-red-secondary);--color-form-valid:var(--color-figure-green);--color-form-valid-background:var(--color-fill-green-secondary);--color-generic-modal-background:var(--color-fill);--color-grid:var(--color-fill-gray);--color-header-text:var(--color-figure-gray);--color-hero-eyebrow:#ccc;--color-link:var(--color-figure-blue);--color-loading-placeholder-background:var(--color-fill);--color-nav-color:#666;--color-nav-current-link:rgba(0,0,0,0.6);--color-nav-expanded:#fff;--color-nav-hierarchy-collapse-background:#f0f0f0;--color-nav-hierarchy-collapse-borders:#ccc;--color-nav-hierarchy-item-borders:#ccc;--color-nav-keyline:rgba(0,0,0,0.2);--color-nav-link-color:#000;--color-nav-link-color-hover:#36f;--color-nav-outlines:#ccc;--color-nav-rule:hsla(0,0%,94.1%,0.5);--color-nav-solid-background:#fff;--color-nav-sticking-expanded-keyline:rgba(0,0,0,0.1);--color-nav-stuck:hsla(0,0%,100%,0.9);--color-nav-uiblur-expanded:hsla(0,0%,100%,0.9);--color-nav-uiblur-stuck:hsla(0,0%,100%,0.7);--color-nav-root-subhead:var(--color-tutorials-teal);--color-nav-dark-border-top-color:hsla(0,0%,100%,0.4);--color-nav-dark-color:#b0b0b0;--color-nav-dark-current-link:hsla(0,0%,100%,0.6);--color-nav-dark-expanded:#2a2a2a;--color-nav-dark-hierarchy-collapse-background:#424242;--color-nav-dark-hierarchy-collapse-borders:#666;--color-nav-dark-hierarchy-item-borders:#424242;--color-nav-dark-keyline:rgba(66,66,66,0.95);--color-nav-dark-link-color:#fff;--color-nav-dark-link-color-hover:#09f;--color-nav-dark-outlines:#575757;--color-nav-dark-rule:#575757;--color-nav-dark-solid-background:#000;--color-nav-dark-sticking-expanded-keyline:rgba(66,66,66,0.7);--color-nav-dark-stuck:rgba(42,42,42,0.9);--color-nav-dark-uiblur-expanded:rgba(42,42,42,0.9);--color-nav-dark-uiblur-stuck:rgba(42,42,42,0.7);--color-nav-dark-root-subhead:#fff;--color-runtime-preview-background:var(--color-fill-tertiary);--color-runtime-preview-disabled-text:hsla(0,0%,40%,0.6);--color-runtime-preview-text:var(--color-figure-gray-secondary);--color-secondary-label:var(--color-figure-gray-secondary);--color-step-background:var(--color-fill-secondary);--color-step-caption:var(--color-figure-gray-secondary);--color-step-focused:var(--color-figure-light-gray);--color-step-text:var(--color-figure-gray-secondary);--color-svg-icon:#666;--color-syntax-attributes:#947100;--color-syntax-characters:#272ad8;--color-syntax-comments:#707f8c;--color-syntax-documentation-markup:#506375;--color-syntax-documentation-markup-keywords:#506375;--color-syntax-heading:#ba2da2;--color-syntax-keywords:#ad3da4;--color-syntax-marks:#000;--color-syntax-numbers:#272ad8;--color-syntax-other-class-names:#703daa;--color-syntax-other-constants:#4b21b0;--color-syntax-other-declarations:#047cb0;--color-syntax-other-function-and-method-names:#4b21b0;--color-syntax-other-instance-variables-and-globals:#703daa;--color-syntax-other-preprocessor-macros:#78492a;--color-syntax-other-type-names:#703daa;--color-syntax-param-internal-name:#404040;--color-syntax-plain-text:#000;--color-syntax-preprocessor-statements:#78492a;--color-syntax-project-class-names:#3e8087;--color-syntax-project-constants:#2d6469;--color-syntax-project-function-and-method-names:#2d6469;--color-syntax-project-instance-variables-and-globals:#3e8087;--color-syntax-project-preprocessor-macros:#78492a;--color-syntax-project-type-names:#3e8087;--color-syntax-strings:#d12f1b;--color-syntax-type-declarations:#03638c;--color-syntax-urls:#1337ff;--color-tabnav-item-border-color:var(--color-fill-gray);--color-text:var(--color-figure-gray);--color-text-background:var(--color-fill);--color-tutorial-assessments-background:var(--color-fill-secondary);--color-tutorial-background:var(--color-fill);--color-tutorial-navbar-dropdown-background:var(--color-fill);--color-tutorial-navbar-dropdown-border:var(--color-fill-gray);--color-tutorial-quiz-border-active:var(--color-figure-blue);--color-tutorials-overview-background:#161616;--color-tutorials-overview-content:#fff;--color-tutorials-overview-content-alt:#fff;--color-tutorials-overview-eyebrow:#ccc;--color-tutorials-overview-icon:#b0b0b0;--color-tutorials-overview-link:#09f;--color-tutorials-overview-navigation-link:#ccc;--color-tutorials-overview-navigation-link-active:#fff;--color-tutorials-overview-navigation-link-hover:#fff;--color-tutorial-hero-text:#fff;--color-tutorial-hero-background:#000;--color-navigator-item-hover:rgba(0,0,255,0.05);--color-card-background:var(--color-fill);--color-card-content-text:var(--color-figure-gray);--color-card-eyebrow:var(--color-figure-gray-secondary-alt);--color-card-shadow:rgba(0,0,0,0.04)}@media screen{body[data-color-scheme=dark]{--color-fill:#000;--color-fill-secondary:#161616;--color-fill-tertiary:#2a2a2a;--color-fill-blue:#06f;--color-fill-light-blue-secondary:#004ec4;--color-fill-gray:#575757;--color-fill-gray-secondary:#222;--color-fill-gray-tertiary:#424242;--color-fill-gray-quaternary:#424242;--color-fill-green-secondary:#030;--color-fill-orange-secondary:#472400;--color-fill-red-secondary:#300;--color-figure-blue:#09f;--color-figure-gray:#fff;--color-figure-gray-secondary:#ccc;--color-figure-gray-secondary-alt:#b0b0b0;--color-figure-gray-tertiary:#b0b0b0;--color-figure-green:#090;--color-figure-light-gray:#b0b0b0;--color-figure-orange:#f60;--color-figure-red:#f33;--color-tutorials-teal:#fff;--color-article-body-background:#111;--color-badge-default:var(--color-badge-dark-default);--color-button-background-active:#06f;--color-code-line-highlight:rgba(0,153,255,0.08);--color-dropdown-background:var(--color-dropdown-dark-background);--color-dropdown-border:var(--color-dropdown-dark-border);--color-dropdown-option-text:var(--color-dropdown-dark-option-text);--color-dropdown-text:var(--color-dropdown-dark-text);--color-nav-color:var(--color-nav-dark-color);--color-nav-current-link:var(--color-nav-dark-current-link);--color-nav-expanded:var(--color-nav-dark-expanded);--color-nav-hierarchy-collapse-background:var(--color-nav-dark-hierarchy-collapse-background);--color-nav-hierarchy-collapse-borders:var(--color-nav-dark-hierarchy-collapse-borders);--color-nav-hierarchy-item-borders:var(--color-nav-dark-hierarchy-item-borders);--color-nav-keyline:var(--color-nav-dark-keyline);--color-nav-link-color:var(--color-nav-dark-link-color);--color-nav-link-color-hover:var(--color-nav-dark-link-color-hover);--color-nav-outlines:var(--color-nav-dark-outlines);--color-nav-rule:var(--color-nav-dark-rule);--color-nav-solid-background:var(--color-nav-dark-solid-background);--color-nav-sticking-expanded-keyline:var(--color-nav-dark-sticking-expanded-keyline);--color-nav-stuck:var(--color-nav-dark-stuck);--color-nav-uiblur-expanded:var(--color-nav-dark-uiblur-expanded);--color-nav-uiblur-stuck:var(--color-nav-dark-uiblur-stuck);--color-runtime-preview-disabled-text:hsla(0,0%,80%,0.6);--color-syntax-attributes:#cc9768;--color-syntax-characters:#d9c97c;--color-syntax-comments:#7f8c98;--color-syntax-documentation-markup:#7f8c98;--color-syntax-documentation-markup-keywords:#a3b1bf;--color-syntax-keywords:#ff7ab2;--color-syntax-marks:#fff;--color-syntax-numbers:#d9c97c;--color-syntax-other-class-names:#dabaff;--color-syntax-other-constants:#a7ebdd;--color-syntax-other-declarations:#4eb0cc;--color-syntax-other-function-and-method-names:#b281eb;--color-syntax-other-instance-variables-and-globals:#b281eb;--color-syntax-other-preprocessor-macros:#ffa14f;--color-syntax-other-type-names:#dabaff;--color-syntax-param-internal-name:#bfbfbf;--color-syntax-plain-text:#fff;--color-syntax-preprocessor-statements:#ffa14f;--color-syntax-project-class-names:#acf2e4;--color-syntax-project-constants:#78c2b3;--color-syntax-project-function-and-method-names:#78c2b3;--color-syntax-project-instance-variables-and-globals:#78c2b3;--color-syntax-project-preprocessor-macros:#ffa14f;--color-syntax-project-type-names:#acf2e4;--color-syntax-strings:#ff8170;--color-syntax-type-declarations:#6bdfff;--color-syntax-urls:#69f;--color-tutorial-background:var(--color-fill-tertiary);--color-navigator-item-hover:rgba(0,102,255,0.5);--color-card-shadow:hsla(0,0%,100%,0.04)}}@media screen and (prefers-color-scheme:dark){body[data-color-scheme=auto]{--color-fill:#000;--color-fill-secondary:#161616;--color-fill-tertiary:#2a2a2a;--color-fill-blue:#06f;--color-fill-light-blue-secondary:#004ec4;--color-fill-gray:#575757;--color-fill-gray-secondary:#222;--color-fill-gray-tertiary:#424242;--color-fill-gray-quaternary:#424242;--color-fill-green-secondary:#030;--color-fill-orange-secondary:#472400;--color-fill-red-secondary:#300;--color-figure-blue:#09f;--color-figure-gray:#fff;--color-figure-gray-secondary:#ccc;--color-figure-gray-secondary-alt:#b0b0b0;--color-figure-gray-tertiary:#b0b0b0;--color-figure-green:#090;--color-figure-light-gray:#b0b0b0;--color-figure-orange:#f60;--color-figure-red:#f33;--color-tutorials-teal:#fff;--color-article-body-background:#111;--color-badge-default:var(--color-badge-dark-default);--color-button-background-active:#06f;--color-code-line-highlight:rgba(0,153,255,0.08);--color-dropdown-background:var(--color-dropdown-dark-background);--color-dropdown-border:var(--color-dropdown-dark-border);--color-dropdown-option-text:var(--color-dropdown-dark-option-text);--color-dropdown-text:var(--color-dropdown-dark-text);--color-nav-color:var(--color-nav-dark-color);--color-nav-current-link:var(--color-nav-dark-current-link);--color-nav-expanded:var(--color-nav-dark-expanded);--color-nav-hierarchy-collapse-background:var(--color-nav-dark-hierarchy-collapse-background);--color-nav-hierarchy-collapse-borders:var(--color-nav-dark-hierarchy-collapse-borders);--color-nav-hierarchy-item-borders:var(--color-nav-dark-hierarchy-item-borders);--color-nav-keyline:var(--color-nav-dark-keyline);--color-nav-link-color:var(--color-nav-dark-link-color);--color-nav-link-color-hover:var(--color-nav-dark-link-color-hover);--color-nav-outlines:var(--color-nav-dark-outlines);--color-nav-rule:var(--color-nav-dark-rule);--color-nav-solid-background:var(--color-nav-dark-solid-background);--color-nav-sticking-expanded-keyline:var(--color-nav-dark-sticking-expanded-keyline);--color-nav-stuck:var(--color-nav-dark-stuck);--color-nav-uiblur-expanded:var(--color-nav-dark-uiblur-expanded);--color-nav-uiblur-stuck:var(--color-nav-dark-uiblur-stuck);--color-runtime-preview-disabled-text:hsla(0,0%,80%,0.6);--color-syntax-attributes:#cc9768;--color-syntax-characters:#d9c97c;--color-syntax-comments:#7f8c98;--color-syntax-documentation-markup:#7f8c98;--color-syntax-documentation-markup-keywords:#a3b1bf;--color-syntax-keywords:#ff7ab2;--color-syntax-marks:#fff;--color-syntax-numbers:#d9c97c;--color-syntax-other-class-names:#dabaff;--color-syntax-other-constants:#a7ebdd;--color-syntax-other-declarations:#4eb0cc;--color-syntax-other-function-and-method-names:#b281eb;--color-syntax-other-instance-variables-and-globals:#b281eb;--color-syntax-other-preprocessor-macros:#ffa14f;--color-syntax-other-type-names:#dabaff;--color-syntax-param-internal-name:#bfbfbf;--color-syntax-plain-text:#fff;--color-syntax-preprocessor-statements:#ffa14f;--color-syntax-project-class-names:#acf2e4;--color-syntax-project-constants:#78c2b3;--color-syntax-project-function-and-method-names:#78c2b3;--color-syntax-project-instance-variables-and-globals:#78c2b3;--color-syntax-project-preprocessor-macros:#ffa14f;--color-syntax-project-type-names:#acf2e4;--color-syntax-strings:#ff8170;--color-syntax-type-declarations:#6bdfff;--color-syntax-urls:#69f;--color-tutorial-background:var(--color-fill-tertiary);--color-navigator-item-hover:rgba(0,102,255,0.5);--color-card-shadow:hsla(0,0%,100%,0.04)}}#main{outline-style:none}:root{--app-height:100vh}[data-v-0a4c340a] :focus:not(input):not(textarea):not(select){outline:none}.fromkeyboard[data-v-0a4c340a] :focus:not(input):not(textarea):not(select){outline:4px solid var(--color-focus-color);outline-offset:1px}#app[data-v-0a4c340a]{display:flex;flex-flow:column;min-height:100%}#app[data-v-0a4c340a]>*{min-width:0}#app .router-content[data-v-0a4c340a]{flex:1}.container[data-v-790053de]{margin-left:auto;margin-right:auto;width:980px;outline-style:none;margin-top:92px;margin-bottom:140px}@media only screen and (max-width:1250px){.container[data-v-790053de]{width:692px}}@media only screen and (max-width:735px){.container[data-v-790053de]{width:87.5%}}.error-content[data-v-790053de]{box-sizing:border-box;width:502px;margin-left:auto;margin-right:auto;margin-bottom:54px}@media only screen and (max-width:1250px){.error-content[data-v-790053de]{width:420px;margin-bottom:45px}}@media only screen and (max-width:735px){.error-content[data-v-790053de]{max-width:330px;width:auto;margin-bottom:35px}}.title[data-v-790053de]{text-align:center;font-size:2.82353rem;line-height:1.08333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){.title[data-v-790053de]{font-size:2.35294rem;line-height:1.1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.title[data-v-790053de]{font-size:1.88235rem;line-height:1.125;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}} \ No newline at end of file diff --git a/docs/css/topic.726a35dc.css b/docs/css/topic.726a35dc.css deleted file mode 100644 index b2d8490..0000000 --- a/docs/css/topic.726a35dc.css +++ /dev/null @@ -1,9 +0,0 @@ -/*! - * This source file is part of the Swift.org open source project - * - * Copyright (c) 2021 Apple Inc. and the Swift project authors - * Licensed under Apache License v2.0 with Runtime Library Exception - * - * See https://swift.org/LICENSE.txt for license information - * See https://swift.org/CONTRIBUTORS.txt for Swift project authors - */.nav-title-content[data-v-854b4dd6]{max-width:100%}.title[data-v-854b4dd6]{color:var(--color-nav-root-title,currentColor);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:inline-block;vertical-align:top;max-width:296px}@media only screen and (max-width:1023px){.title[data-v-854b4dd6]{max-width:205px}}@media only screen and (max-width:767px){.title[data-v-854b4dd6]{flex-basis:fill;display:initial;vertical-align:initial;max-width:none}}.subhead[data-v-854b4dd6]{color:var(--color-nav-root-subhead)}.theme-dark .subhead[data-v-854b4dd6]{color:var(--color-nav-dark-root-subhead)}.mobile-dropdown[data-v-154acfbd]{box-sizing:border-box}.nav--in-breakpoint-range .mobile-dropdown[data-v-154acfbd]{padding-left:.23529rem;padding-right:.23529rem}.mobile-dropdown ul[data-v-154acfbd]{list-style:none}.mobile-dropdown .option[data-v-154acfbd]{cursor:pointer;font-size:.70588rem;padding:.5rem 0;display:block;text-decoration:none;color:inherit}.mobile-dropdown .option[data-v-154acfbd]:focus{outline-offset:0}.mobile-dropdown .option.depth1[data-v-154acfbd]{padding-left:.47059rem}.active[data-v-154acfbd],.tutorial.router-link-active[data-v-154acfbd]{font-weight:600}.active[data-v-154acfbd]:focus,.tutorial.router-link-active[data-v-154acfbd]:focus{outline:none}.chapter-list[data-v-154acfbd]:not(:first-child){margin-top:1rem}.chapter-name[data-v-154acfbd],.tutorial[data-v-154acfbd]{padding:.5rem 0;font-size:1rem;line-height:1.47059;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.section-list[data-v-154acfbd],.tutorial-list[data-v-154acfbd]{padding:0 .58824rem}.chapter-list:last-child .tutorial-list[data-v-154acfbd]:last-child{padding-bottom:10em}.chapter-list[data-v-154acfbd]{display:inline-block}.form-element[data-v-998803d8]{position:relative}.form-dropdown[data-v-998803d8]{font-size:1rem;line-height:1.23529;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);display:block;box-sizing:border-box;width:100%;height:3.3em;color:var(--color-dropdown-text);padding:1.11765rem 2.35294rem 0 .94118rem;text-align:left;border:1px solid var(--color-dropdown-border);border-radius:var(--border-radius,4px);background-clip:padding-box;margin-bottom:.82353rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;min-height:32px}.form-dropdown[data-v-998803d8]:focus{box-shadow:0 0 0 4px var(--color-focus-color);outline:none;border-color:var(--color-focus-border-color)}.form-dropdown.no-eyebrow[data-v-998803d8]{padding-top:0}.form-dropdown[data-v-998803d8]:-moz-focusring{color:transparent;text-shadow:0 0 0 var(--color-dropdown-text)}.form-dropdown[data-v-998803d8]::-ms-expand{opacity:0}.form-dropdown~.form-icon[data-v-998803d8]{position:absolute;display:block;pointer-events:none;fill:var(--color-figure-gray-tertiary);right:14px;width:13px;height:auto;top:50%;transform:translateY(-50%)}.is-open .form-dropdown~.form-icon[data-v-998803d8]{transform:translateY(-50%) scale(-1)}@media only screen and (max-width:735px){.form-dropdown~.form-icon[data-v-998803d8]{right:14px}}.form-dropdown~.form-label[data-v-998803d8]{font-size:.70588rem;line-height:1.75;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);position:absolute;top:.47059rem;left:17px;color:var(--color-figure-gray-secondary);pointer-events:none;padding:0;z-index:1}.form-dropdown[data-v-998803d8] option{color:var(--color-dropdown-text)}.form-dropdown-selectnone[data-v-998803d8]{color:transparent}.form-dropdown-selectnone~.form-label[data-v-998803d8]{font-size:1rem;line-height:1.23529;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);top:19px;left:17px;color:var(--color-figure-gray-tertiary)}.form-dropdown-selectnone[data-v-998803d8]:-moz-focusring{text-shadow:none}.form-dropdown-selectnone[data-v-998803d8]::-ms-value{display:none}.theme-dark .form-dropdown[data-v-998803d8]{color:var(--color-dropdown-dark-text);background-color:var(--color-dropdown-dark-background);border-color:var(--color-dropdown-dark-border)}.theme-dark .form-dropdown~.form-label[data-v-998803d8]{color:#ccc}.theme-dark .form-dropdown[data-v-998803d8]:-moz-focusring{color:transparent;text-shadow:0 0 0 var(--color-dropdown-dark-text)}.theme-dark .form-dropdown.form-dropdown-selectnone[data-v-998803d8]{color:transparent}.theme-dark .form-dropdown.form-dropdown-selectnone[data-v-998803d8]:-moz-focusring{text-shadow:none}.theme-dark .form-dropdown-selectnone~.form-label[data-v-998803d8]{color:#b0b0b0}.dropdown-small[data-v-12dd746a]{height:30px;display:flex;align-items:center;position:relative;background:var(--color-fill)}.dropdown-small .form-dropdown-toggle[data-v-12dd746a]{line-height:1.5;font-size:12px;padding-top:0;padding-bottom:0;padding-left:20px;min-height:unset;height:30px;display:flex;align-items:center}.dropdown-small .form-dropdown-toggle[data-v-12dd746a]:focus{box-shadow:none;border-color:var(--color-dropdown-border)}.fromkeyboard .dropdown-small .form-dropdown-toggle[data-v-12dd746a]:focus{box-shadow:0 0 0 2px var(--color-focus-color);outline:none;border-color:var(--color-focus-border-color)}.form-dropdown-toggle[data-v-12dd746a]{margin:0}.is-open .form-dropdown-toggle[data-v-12dd746a]{border-radius:var(--border-radius,4px) var(--border-radius,4px) 0 0;border-bottom:none;padding-bottom:1px}.fromkeyboard .is-open .form-dropdown-toggle[data-v-12dd746a]{box-shadow:1px -1px 0 1px var(--color-focus-color),-1px -1px 0 1px var(--color-focus-color);border-color:var(--color-focus-border-color)}.form-dropdown-title[data-v-12dd746a]{margin:0;padding:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.dropdown-custom[data-v-12dd746a]{border-radius:var(--border-radius,4px)}.dropdown-custom.is-open[data-v-12dd746a]{border-radius:var(--border-radius,4px) var(--border-radius,4px) 0 0}.dropdown-custom[data-v-12dd746a] .form-dropdown-content{background:var(--color-fill);position:absolute;right:0;left:0;top:100%;border-bottom-left-radius:var(--border-radius,4px);border-bottom-right-radius:var(--border-radius,4px);border:1px solid var(--color-dropdown-border);border-top:none;display:none;overflow-y:auto}.dropdown-custom[data-v-12dd746a] .form-dropdown-content.is-open{display:block}.fromkeyboard .dropdown-custom[data-v-12dd746a] .form-dropdown-content.is-open{box-shadow:1px 1px 0 1px var(--color-focus-color),-1px 1px 0 1px var(--color-focus-color);border-color:var(--color-focus-border-color);border-top-color:transparent}.nav .dropdown-custom[data-v-12dd746a] .form-dropdown-content{max-height:calc(100vh - 116px - 3.05882rem)}.nav--is-sticking.nav .dropdown-custom[data-v-12dd746a] .form-dropdown-content{max-height:calc(100vh - 3.05882rem - 72px)}.dropdown-custom[data-v-12dd746a] .options{list-style:none;margin:0;padding:0 0 20px}.dropdown-custom[data-v-12dd746a] .option{cursor:pointer;padding:5px 20px;font-size:12px;line-height:20px;outline:none}.dropdown-custom[data-v-12dd746a] .option:hover{background-color:var(--color-fill-tertiary)}.dropdown-custom[data-v-12dd746a] .option.option-active{font-weight:600}.fromkeyboard .dropdown-custom[data-v-12dd746a] .option:hover{background-color:transparent}.fromkeyboard .dropdown-custom[data-v-12dd746a] .option:focus{background-color:var(--color-fill-tertiary);outline:none}.tutorial-dropdown[data-v-4a151342]{grid-column:3}.section-tracker[data-v-4a151342]{font-size:.70588rem;line-height:1.33333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-figure-gray-secondary);margin-left:15px}.tutorial-dropdown[data-v-78dc103f]{grid-column:1/2}.tutorial-dropdown .options[data-v-78dc103f]{padding-top:1rem;padding-bottom:0}.tutorial-dropdown .option[data-v-78dc103f]{padding:5px 20px 5px 30px}.chapter-list[data-v-78dc103f]{padding-bottom:20px}.chapter-name[data-v-78dc103f]{margin:0 20px 5px 20px;line-height:normal;color:var(--color-figure-gray-secondary)}.chevron-icon[data-v-af20c2a0]{padding:0;color:var(--color-nav-outlines);grid-column:2;height:20px;width:20px;margin:0 4px}@media only screen and (min-width:768px){.nav[data-v-af20c2a0] .nav-content{display:grid;grid-template-columns:auto auto 3fr;align-items:center}.nav[data-v-af20c2a0] .nav-menu{padding:0;grid-column:3/5}.nav[data-v-af20c2a0] .nav-menu-item{margin:0}}.dropdown-container[data-v-af20c2a0]{height:3.05882rem;display:grid;grid-template-columns:minmax(230px,285px) auto minmax(230px,1fr);align-items:center}@media only screen and (max-width:1023px){.dropdown-container[data-v-af20c2a0]{grid-template-columns:minmax(173px,216px) auto minmax(173px,1fr)}}.separator[data-v-af20c2a0]{height:20px;border-right:1px solid;border-color:var(--color-nav-outlines);margin:0 20px;grid-column:2}.mobile-dropdown-container[data-v-af20c2a0],.nav--in-breakpoint-range.nav .dropdown-container[data-v-af20c2a0],.nav--in-breakpoint-range.nav .separator[data-v-af20c2a0]{display:none}.nav--in-breakpoint-range.nav .mobile-dropdown-container[data-v-af20c2a0]{display:block}.nav--in-breakpoint-range.nav[data-v-af20c2a0] .nav-title{grid-area:title}.nav--in-breakpoint-range.nav[data-v-af20c2a0] .pre-title{display:none}.nav[data-v-af20c2a0] .nav-title{grid-column:1;width:90%;padding-top:0}.primary-dropdown[data-v-af20c2a0],.secondary-dropdown[data-v-af20c2a0]{background:var(--color-tutorial-navbar-dropdown-background);border-color:var(--color-tutorial-navbar-dropdown-border)}.primary-dropdown[data-v-af20c2a0] .form-dropdown,.primary-dropdown[data-v-af20c2a0] .form-dropdown:focus,.secondary-dropdown[data-v-af20c2a0] .form-dropdown,.secondary-dropdown[data-v-af20c2a0] .form-dropdown:focus{border-color:var(--color-tutorial-navbar-dropdown-border)}.primary-dropdown[data-v-af20c2a0] .options,.secondary-dropdown[data-v-af20c2a0] .options{background:var(--color-tutorial-navbar-dropdown-background);border-color:var(--color-tutorial-navbar-dropdown-border)}[data-v-3cfe1c35] .code-listing+*,[data-v-3cfe1c35] aside+*,[data-v-3cfe1c35] h2+*,[data-v-3cfe1c35] h3+*,[data-v-3cfe1c35] ol+*,[data-v-3cfe1c35] p+*,[data-v-3cfe1c35] ul+*{margin-top:20px}[data-v-3cfe1c35] ol ol,[data-v-3cfe1c35] ol ul,[data-v-3cfe1c35] ul ol,[data-v-3cfe1c35] ul ul{margin-top:0}[data-v-3cfe1c35] h2{font-size:1.88235rem;line-height:1.25;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){[data-v-3cfe1c35] h2{font-size:1.64706rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){[data-v-3cfe1c35] h2{font-size:1.41176rem;line-height:1.33333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}[data-v-3cfe1c35] h3{font-size:1.41176rem;line-height:1.16667;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){[data-v-3cfe1c35] h3{font-size:1.23529rem;line-height:1.19048;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}[data-v-3cfe1c35] .code-listing{background:var(--color-code-background);border-color:var(--colors-grid,var(--color-grid));border-style:solid;border-width:1px}[data-v-3cfe1c35] .code-listing pre{font-size:.70588rem;line-height:1.83333;font-weight:400;font-family:var(--typography-html-font-mono,Menlo,monospace);padding:20px 0}.columns[data-v-30edf911]{display:grid;grid-template-rows:repeat(2,auto)}.columns.cols-2[data-v-30edf911]{gap:20px 8.33333%;grid-template-columns:repeat(2,1fr)}.columns.cols-3[data-v-30edf911]{gap:20px 4.16667%;grid-template-columns:repeat(3,1fr)}.asset[data-v-30edf911]{align-self:end;grid-row:1}.content[data-v-30edf911]{grid-row:2}@media only screen and (max-width:735px){.columns.cols-2[data-v-30edf911],.columns.cols-3[data-v-30edf911]{grid-template-columns:unset}.asset[data-v-30edf911],.content[data-v-30edf911]{grid-row:auto}}.content-and-media[data-v-3fa44f9e]{display:flex}.content-and-media.media-leading[data-v-3fa44f9e]{flex-direction:row-reverse}.content-and-media.media-trailing[data-v-3fa44f9e]{flex-direction:row}@media only screen and (min-width:736px){.content-and-media[data-v-3fa44f9e]{align-items:center;justify-content:center}}.content[data-v-3fa44f9e]{width:62.5%}.asset[data-v-3fa44f9e]{width:29.16667%}.media-leading .asset[data-v-3fa44f9e]{margin-right:8.33333%}.media-trailing .asset[data-v-3fa44f9e]{margin-left:8.33333%}@media only screen and (max-width:735px){.content-and-media.media-leading[data-v-3fa44f9e],.content-and-media.media-trailing[data-v-3fa44f9e]{flex-direction:column}.asset[data-v-3fa44f9e],.content[data-v-3fa44f9e]{width:100%}.media-leading .asset[data-v-3fa44f9e],.media-trailing .asset[data-v-3fa44f9e]{margin:20px 0 0 0}}.group[id][data-v-1f2be54b]{margin-top:20px;padding-top:20px}[data-v-1f2be54b] img,[data-v-1f2be54b] video{display:block;margin:0 auto;max-width:100%}.layout+[data-v-4d5a806e]{margin-top:40px}@media only screen and (max-width:735px){.layout[data-v-4d5a806e]:first-child>:not(.group[id]){margin-top:40px}}.body[data-v-6499e2f2]{background:var(--colors-text-background,var(--color-article-body-background));margin-left:auto;margin-right:auto;width:980px;border-radius:10px;transform:translateY(-120px)}@media only screen and (max-width:1250px){.body[data-v-6499e2f2]{width:692px}}@media only screen and (max-width:735px){.body[data-v-6499e2f2]{width:87.5%;border-radius:0;transform:none}}.body[data-v-6499e2f2]~*{margin-top:-40px}.body-content[data-v-6499e2f2]{padding:40px 8.33333% 80px 8.33333%}@media only screen and (max-width:735px){.body-content[data-v-6499e2f2]{padding:0 0 40px 0}}.call-to-action[data-v-2016b288]{padding:65px 0;background:var(--color-call-to-action-background)}.theme-dark .call-to-action[data-v-2016b288]{--color-call-to-action-background:#424242}.row[data-v-2016b288]{margin-left:auto;margin-right:auto;width:980px;display:flex;align-items:center}@media only screen and (max-width:1250px){.row[data-v-2016b288]{width:692px}}@media only screen and (max-width:735px){.row[data-v-2016b288]{width:87.5%}}[data-v-2016b288] img,[data-v-2016b288] video{max-height:560px}h2[data-v-2016b288]{font-size:1.88235rem;line-height:1.25;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){h2[data-v-2016b288]{font-size:1.64706rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){h2[data-v-2016b288]{font-size:1.41176rem;line-height:1.33333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.label[data-v-2016b288]{display:block;font-size:1.23529rem;line-height:1.19048;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);margin-bottom:.4em;color:var(--color-eyebrow)}@media only screen and (max-width:735px){.label[data-v-2016b288]{font-size:1.11765rem;line-height:1.21053;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.content[data-v-2016b288]{margin-bottom:1.5rem}.right-column[data-v-2016b288]{margin-left:auto}@media only screen and (max-width:735px){.row[data-v-2016b288]{display:block}.col+.col[data-v-2016b288]{margin-top:40px}}@media only screen and (max-width:735px){.call-to-action[data-v-426a965c]{margin-top:0}}.headline[data-v-1898f592]{margin-bottom:.8em}.heading[data-v-1898f592]{font-size:2.82353rem;line-height:1.08333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-header-text)}@media only screen and (max-width:1250px){.heading[data-v-1898f592]{font-size:2.35294rem;line-height:1.1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.heading[data-v-1898f592]{font-size:1.88235rem;line-height:1.125;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.dark .heading[data-v-1898f592]{color:#fff}.eyebrow[data-v-1898f592]{font-size:1.41176rem;line-height:1.16667;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);display:block;margin-bottom:.4em;color:var(--color-eyebrow)}@media only screen and (max-width:1250px){.eyebrow[data-v-1898f592]{font-size:1.23529rem;line-height:1.19048;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.metadata[data-v-2fa6f125]{display:flex}.item[data-v-2fa6f125]{font-size:.70588rem;line-height:1.33333;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);display:flex;flex-direction:column;justify-content:flex-end;align-items:center;border-right:1px solid #fff;padding:0 27.5px}@media only screen and (max-width:735px){.item[data-v-2fa6f125]{font-size:.64706rem;line-height:1.63636;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);padding:0 8px}}.item[data-v-2fa6f125]:first-of-type{padding-left:0}.item[data-v-2fa6f125]:last-of-type{border:none}@media only screen and (max-width:735px){.item[data-v-2fa6f125]:last-of-type{padding-right:0}}.content[data-v-2fa6f125]{color:#fff}.icon[data-v-2fa6f125]{font-size:2.82353rem;line-height:1.08333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){.icon[data-v-2fa6f125]{font-size:2.35294rem;line-height:1.1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.icon[data-v-2fa6f125]{font-size:1.88235rem;line-height:1.125;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.small-icon[data-v-2fa6f125]{width:1em;height:1em;margin-left:.2rem}.small-icon.xcode-icon[data-v-2fa6f125]{width:.8em;height:.8em}.content-link[data-v-2fa6f125]{display:flex;align-items:center}a[data-v-2fa6f125]{color:var(--colors-link,var(--color-tutorials-overview-link))}.duration[data-v-2fa6f125]{display:flex;align-items:baseline;font-size:2.35294rem;line-height:1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);line-height:1.8rem}@media only screen and (max-width:735px){.duration[data-v-2fa6f125]{font-size:1.64706rem;line-height:1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);line-height:1.3rem}}.minutes[data-v-2fa6f125]{display:inline-block;font-size:1.64706rem;line-height:1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);line-height:1.3rem}@media only screen and (max-width:735px){.minutes[data-v-2fa6f125]{font-size:1rem;line-height:1.23529;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);line-height:.8rem}}.item-large-icon[data-v-2fa6f125]{height:2.3rem;max-width:100%}@media only screen and (max-width:735px){.item-large-icon[data-v-2fa6f125]{height:1.5rem;max-width:100%}}.bottom[data-v-2fa6f125]{margin-top:13px}@media only screen and (max-width:735px){.bottom[data-v-2fa6f125]{margin-top:8px}}.hero[data-v-1a8cd6d3]{color:var(--color-tutorial-hero-text);position:relative}.bg[data-v-1a8cd6d3],.hero[data-v-1a8cd6d3]{background-color:var(--color-tutorial-hero-background)}.bg[data-v-1a8cd6d3]{background-position:top;background-repeat:no-repeat;background-size:cover;content:"";height:100%;left:0;opacity:.3;position:absolute;top:0;width:100%}.row[data-v-1a8cd6d3]{margin-left:auto;margin-right:auto;width:980px;padding:80px 0}@media only screen and (max-width:1250px){.row[data-v-1a8cd6d3]{width:692px}}@media only screen and (max-width:735px){.row[data-v-1a8cd6d3]{width:87.5%}}.col[data-v-1a8cd6d3]{z-index:1}[data-v-1a8cd6d3] .eyebrow{font-size:1.41176rem;line-height:1.16667;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-hero-eyebrow)}@media only screen and (max-width:1250px){[data-v-1a8cd6d3] .eyebrow{font-size:1.23529rem;line-height:1.19048;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.headline[data-v-1a8cd6d3]{font-size:2.82353rem;line-height:1.08333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);margin-bottom:2rem}@media only screen and (max-width:1250px){.headline[data-v-1a8cd6d3]{font-size:2.35294rem;line-height:1.1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.headline[data-v-1a8cd6d3]{font-size:1.88235rem;line-height:1.125;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.intro[data-v-1a8cd6d3]{font-size:1.23529rem;line-height:1.38095;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:735px){.intro[data-v-1a8cd6d3]{font-size:1.11765rem;line-height:1.42105;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.content+p[data-v-1a8cd6d3]{margin-top:.8em}@media only screen and (max-width:735px){.content+p[data-v-1a8cd6d3]{margin-top:8px}}.call-to-action[data-v-1a8cd6d3]{display:flex;align-items:center}.call-to-action .cta-icon[data-v-1a8cd6d3]{margin-left:.4rem;width:1em;height:1em}.metadata[data-v-1a8cd6d3]{margin-top:2rem}.video-asset[data-v-1a8cd6d3]{display:grid;height:100vh;margin:0;place-items:center center}.video-asset[data-v-1a8cd6d3] video{max-width:1280px;min-width:320px;width:100%}@media only screen and (max-width:735px){.headline[data-v-1a8cd6d3]{margin-bottom:19px}}.tutorial-hero[data-v-35a9482f]{margin-bottom:80px}@media only screen and (max-width:735px){.tutorial-hero[data-v-35a9482f]{margin-bottom:0}}.title[data-v-8ec95972]{font-size:.70588rem;line-height:1.33333;color:var(--colors-secondary-label,var(--color-secondary-label))}.title[data-v-8ec95972],.title[data-v-455ff2a6]{font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.title[data-v-455ff2a6]{font-size:1.11765rem;line-height:1.21053;color:var(--colors-header-text,var(--color-header-text));margin:25px 0}.question-content[data-v-455ff2a6] code{font-size:.76471rem;line-height:1.84615;font-weight:400;font-family:var(--typography-html-font-mono,Menlo,monospace)}.choices[data-v-455ff2a6]{display:flex;flex-direction:column;padding:0;list-style:none;margin:25px 0}.choice[data-v-455ff2a6]{font-size:.82353rem;line-height:1.42857;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);flex:1;border-radius:var(--border-radius,4px);margin:8px 0;padding:1.5rem 40px;cursor:pointer;background:var(--colors-text-background,var(--color-text-background));display:flex;flex-direction:column;justify-content:center;border-width:1px;border-style:solid;border-color:var(--colors-grid,var(--color-grid));position:relative}.choice[data-v-455ff2a6] img{max-height:23.52941rem}.choice[data-v-455ff2a6]:first-of-type{margin-top:0}.choice[data-v-455ff2a6] code{font-size:.76471rem;line-height:1.84615;font-weight:400;font-family:var(--typography-html-font-mono,Menlo,monospace)}.controls[data-v-455ff2a6]{text-align:center;margin-bottom:40px}.controls .button-cta[data-v-455ff2a6]{margin:.5rem;margin-top:0;padding:.3rem 3rem;min-width:8rem}input[type=radio][data-v-455ff2a6]{position:absolute;width:100%;left:0;height:100%;opacity:0;z-index:-1}.active[data-v-455ff2a6]{border-color:var(--color-tutorial-quiz-border-active);box-shadow:0 0 0 4px var(--color-focus-color);outline:none}.active [data-v-455ff2a6]{color:var(--colors-text,var(--color-text))}.correct[data-v-455ff2a6]{background:var(--color-form-valid-background);border-color:var(--color-form-valid)}.correct .choice-icon[data-v-455ff2a6]{fill:var(--color-form-valid)}.incorrect[data-v-455ff2a6]{background:var(--color-form-error-background);border-color:var(--color-form-error)}.incorrect .choice-icon[data-v-455ff2a6]{fill:var(--color-form-error)}.correct[data-v-455ff2a6],.incorrect[data-v-455ff2a6]{position:relative}.correct .choice-icon[data-v-455ff2a6],.incorrect .choice-icon[data-v-455ff2a6]{position:absolute;top:11px;left:10px;font-size:20px;width:1.05em}.disabled[data-v-455ff2a6]{pointer-events:none}.answer[data-v-455ff2a6]{margin:.5rem 1.5rem .5rem 0;font-size:.70588rem;line-height:1.33333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.answer[data-v-455ff2a6]:last-of-type{margin-bottom:0}[data-v-455ff2a6] .question>.code-listing{padding:unset;border-radius:0}[data-v-455ff2a6] pre{padding:0}[data-v-455ff2a6] img{display:block;margin-left:auto;margin-right:auto;max-width:100%}.title[data-v-c1de71de]{font-size:1.88235rem;line-height:1.25;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--colors-header-text,var(--color-header-text))}@media only screen and (max-width:1250px){.title[data-v-c1de71de]{font-size:1.64706rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.title[data-v-c1de71de]{font-size:1.41176rem;line-height:1.33333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.title p[data-v-c1de71de]{color:var(--colors-text,var(--color-text))}.assessments[data-v-c1de71de]{box-sizing:content-box;padding:0 1rem;background:var(--color-tutorial-assessments-background);margin-left:auto;margin-right:auto;width:980px;margin-bottom:80px}@media only screen and (max-width:1250px){.assessments[data-v-c1de71de]{width:692px}}@media only screen and (max-width:735px){.assessments[data-v-c1de71de]{width:87.5%}}.banner[data-v-c1de71de]{padding:40px 0;border-bottom:1px solid;margin-bottom:40px;border-color:var(--colors-grid,var(--color-grid));text-align:center}.success[data-v-c1de71de]{text-align:center;padding-bottom:40px;font-size:1.88235rem;line-height:1.25;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--colors-text,var(--color-text))}@media only screen and (max-width:1250px){.success[data-v-c1de71de]{font-size:1.64706rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.success[data-v-c1de71de]{font-size:1.41176rem;line-height:1.33333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.assessments-wrapper[data-v-c1de71de]{padding-top:80px}.assessments-wrapper[data-v-3c94366b]{padding-bottom:40px;padding-top:0}@media only screen and (max-width:735px){.assessments-wrapper[data-v-3c94366b]{padding-top:80px}}.article[data-v-d9f204d0]{background:var(--colors-article-background,var(--color-article-background))}@media only screen and (max-width:735px){.article[data-v-d9f204d0]{background:var(--colors-text-background,var(--color-article-body-background))}}.intro-container[data-v-54daa228]{margin-bottom:80px}.intro[data-v-54daa228]{display:flex;align-items:center}@media only screen and (max-width:735px){.intro[data-v-54daa228]{padding-bottom:0;flex-direction:column}}.intro.ide .media[data-v-54daa228] img{background-color:var(--colors-text-background,var(--color-text-background))}.col.left[data-v-54daa228]{padding-right:40px}@media only screen and (max-width:1250px){.col.left[data-v-54daa228]{padding-right:28px}}@media only screen and (max-width:735px){.col.left[data-v-54daa228]{margin-left:auto;margin-right:auto;width:980px;padding-right:0}}@media only screen and (max-width:735px) and (max-width:1250px){.col.left[data-v-54daa228]{width:692px}}@media only screen and (max-width:735px) and (max-width:735px){.col.left[data-v-54daa228]{width:87.5%}}.col.right[data-v-54daa228]{padding-left:40px}@media only screen and (max-width:1250px){.col.right[data-v-54daa228]{padding-left:28px}}@media only screen and (max-width:735px){.col.right[data-v-54daa228]{padding-left:0}}.content[data-v-54daa228]{font-size:1rem;line-height:1.47059;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.media[data-v-54daa228] img{width:auto;max-height:560px;min-height:18.82353rem;-o-object-fit:scale-down;object-fit:scale-down}@media only screen and (max-width:735px){.media[data-v-54daa228]{margin:0;margin-top:40px}.media[data-v-54daa228] img,.media[data-v-54daa228] video{max-height:80vh}}.media[data-v-54daa228] .asset{padding:0 20px}.headline[data-v-54daa228]{color:var(--colors-header-text,var(--color-header-text))}[data-v-54daa228] .eyebrow{font-size:1.23529rem;line-height:1.19048;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:735px){[data-v-54daa228] .eyebrow{font-size:1.11765rem;line-height:1.21053;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}[data-v-54daa228] .eyebrow a{color:inherit}[data-v-54daa228] .heading{font-size:1.88235rem;line-height:1.25;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){[data-v-54daa228] .heading{font-size:1.64706rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){[data-v-54daa228] .heading{font-size:1.41176rem;line-height:1.33333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.expanded-intro[data-v-54daa228]{margin-left:auto;margin-right:auto;width:980px;margin-top:40px}@media only screen and (max-width:1250px){.expanded-intro[data-v-54daa228]{width:692px}}@media only screen and (max-width:735px){.expanded-intro[data-v-54daa228]{width:87.5%}}[data-v-54daa228] .cols-2{gap:20px 16.66667%}[data-v-54daa228] .cols-3 .column{gap:20px 12.5%}.code-preview[data-v-9acc0234]{position:sticky;overflow-y:auto;-webkit-overflow-scrolling:touch;background-color:var(--background,var(--color-step-background));height:calc(100vh - 3.05882rem)}.code-preview.ide[data-v-9acc0234]{height:100vh}.code-preview[data-v-9acc0234] .code-listing{color:var(--text,var(--color-code-plain))}.code-preview[data-v-9acc0234] pre{font-size:.70588rem;line-height:1.83333;font-weight:400;font-family:var(--typography-html-font-mono,Menlo,monospace)}.header[data-v-9acc0234]{font-size:.70588rem;line-height:1.33333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);position:relative;display:flex;justify-content:space-between;align-items:center;width:-webkit-fill-available;width:-moz-available;width:stretch;cursor:pointer;font-weight:600;padding:8px 12px;border-radius:var(--border-radius,4px) var(--border-radius,4px) 0 0;z-index:1;background:var(--color-runtime-preview-background);color:var(--colors-runtime-preview-text,var(--color-runtime-preview-text))}.header[data-v-9acc0234]:focus{outline-style:none}#app.fromkeyboard .header[data-v-9acc0234]:focus{box-shadow:0 0 0 4px var(--color-focus-color);outline:none;border-color:var(--color-focus-border-color)}.runtime-preview[data-v-9acc0234]{--color-runtime-preview-shadow:rgba(0,0,0,0.4);position:absolute;top:0;right:0;background:var(--color-runtime-preview-background);border-radius:var(--border-radius,4px);margin:1rem;margin-left:0;transition:width .2s ease-in;box-shadow:0 0 3px 0 var(--color-runtime-preview-shadow)}@media screen{[data-color-scheme=dark] .runtime-preview[data-v-9acc0234]{--color-runtime-preview-shadow:hsla(0,0%,100%,0.4)}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .runtime-preview[data-v-9acc0234]{--color-runtime-preview-shadow:hsla(0,0%,100%,0.4)}}@supports not ((width:-webkit-fill-available) or (width:-moz-available) or (width:stretch)){.runtime-preview[data-v-9acc0234]{display:flex;flex-direction:column}}.runtime-preview .runtimve-preview__container[data-v-9acc0234]{border-radius:var(--border-radius,4px);overflow:hidden}.runtime-preview-ide[data-v-9acc0234]{top:0}.runtime-preview-ide .runtime-preview-asset[data-v-9acc0234] img{background-color:var(--color-runtime-preview-background)}.runtime-preview.collapsed[data-v-9acc0234]{box-shadow:0 0 3px 0 var(--color-runtime-preview-shadow);width:102px}.runtime-preview.collapsed .header[data-v-9acc0234]{border-radius:var(--border-radius,4px)}.runtime-preview.disabled[data-v-9acc0234]{box-shadow:0 0 3px 0 transparent}.runtime-preview.disabled .header[data-v-9acc0234]{color:var(--color-runtime-preview-disabled-text);cursor:auto}.runtime-preview-asset[data-v-9acc0234]{border-radius:0 0 var(--border-radius,4px) var(--border-radius,4px)}.runtime-preview-asset[data-v-9acc0234] img{border-bottom-left-radius:var(--border-radius,4px);border-bottom-right-radius:var(--border-radius,4px)}.preview-icon[data-v-9acc0234]{height:.8em;width:.8em;-webkit-user-select:none;-moz-user-select:none;user-select:none}.preview-show[data-v-9acc0234]{transform:scale(-1)}[data-v-5ad4e037] pre{padding:10px 0}.toggle-preview[data-v-d0709828]{color:var(--color-runtime-preview-disabled-text);display:flex;align-items:center}a[data-v-d0709828]{color:var(--url,var(--color-link))}.toggle-text[data-v-d0709828]{display:flex;align-items:center}svg.toggle-icon[data-v-d0709828]{width:1em;height:1em;margin-left:.5em}.mobile-code-preview[data-v-3bee1128]{background-color:var(--background,var(--color-step-background));padding:14px 0}@media only screen and (max-width:735px){.mobile-code-preview[data-v-3bee1128]{display:flex;flex-direction:column}}.runtime-preview-modal-content[data-v-3bee1128]{padding:45px 60px 0 60px;min-width:200px}.runtime-preview-modal-content[data-v-3bee1128] img:not(.file-icon){border-radius:var(--border-radius,4px);box-shadow:0 0 3px rgba(0,0,0,.4);max-height:80vh;width:auto;display:block;margin-bottom:1rem}.runtime-preview-modal-content .runtime-preview-label[data-v-3bee1128]{font-size:.70588rem;line-height:1.33333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-runtime-preview-text);display:block;text-align:center;padding:.5em}[data-v-3bee1128] .code-listing{color:var(--text,var(--color-code-plain))}[data-v-3bee1128] .full-code-listing{padding-top:60px;min-height:calc(100vh - 60px)}[data-v-3bee1128] pre{font-size:.70588rem;line-height:1.83333;font-weight:400;font-family:var(--typography-html-font-mono,Menlo,monospace)}.preview-toggle-container[data-v-3bee1128]{align-self:flex-end;margin-right:20px}.step-container[data-v-295730d0]{margin:0}.step-container[data-v-295730d0]:not(:last-child){margin-bottom:100px}@media only screen and (max-width:735px){.step-container[data-v-295730d0]:not(:last-child){margin-bottom:80px}}.step[data-v-295730d0]{position:relative;border-radius:var(--tutorial-step-border-radius,var(--border-radius,4px));padding:1rem 2rem;background-color:var(--color-step-background);overflow:hidden;-webkit-mask-image:-webkit-radial-gradient(#fff,#000)}.step[data-v-295730d0]:before{content:"";position:absolute;top:0;left:0;border:1px solid var(--color-step-focused);background-color:var(--color-step-focused);height:calc(100% - 2px);width:4px;opacity:0;transition:opacity .15s ease-in}.step.focused[data-v-295730d0],.step[data-v-295730d0]:focus{outline:none}.step.focused[data-v-295730d0]:before,.step[data-v-295730d0]:focus:before{opacity:1}@media only screen and (max-width:735px){.step[data-v-295730d0]{padding-left:2rem}.step[data-v-295730d0]:before{opacity:1}}.step-label[data-v-295730d0]{font-size:.70588rem;line-height:1.33333;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--colors-text,var(--color-step-text));margin-bottom:.4em}.caption[data-v-295730d0]{border-top:1px solid;border-color:var(--color-step-caption);padding:1rem 0 0 0;margin-top:1rem}.media-container[data-v-295730d0]{display:none}@media only screen and (max-width:735px){.step[data-v-295730d0]{margin:0 .58824rem 1.17647rem .58824rem}.step.focused[data-v-295730d0],.step[data-v-295730d0]:focus{outline:none}.media-container[data-v-295730d0]{display:block;position:relative}.media-container[data-v-295730d0] img,.media-container[data-v-295730d0] video{max-height:80vh}[data-v-295730d0] .asset{padding:0 20px}}.steps[data-v-25d30c2c]{position:relative;font-size:.82353rem;line-height:1.42857;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);display:flex;color:var(--colors-text,var(--color-text))}@media only screen and (max-width:735px){.steps[data-v-25d30c2c]{padding-top:80px}.steps[data-v-25d30c2c]:before{position:absolute;top:0;border-top:1px solid var(--color-fill-gray-tertiary);content:"";width:calc(100% - 2.35294rem);margin:0 1.17647rem}}.content-container[data-v-25d30c2c]{flex:none;margin-right:4.16667%;width:37.5%;margin-top:140px;margin-bottom:94vh}@media only screen and (max-width:735px){.content-container[data-v-25d30c2c]{margin-top:0;margin-bottom:0;height:100%;margin-left:0;margin-right:0;position:relative;width:100%}}.asset-container[data-v-25d30c2c]{flex:none;height:calc(100vh - 3.05882rem);background-color:var(--background,var(--color-step-background));max-width:921px;width:calc(50vw + 8.33333%);position:sticky;top:3.05882rem;transition:margin .1s ease-in-out}@media only screen and (max-width:767px){.asset-container[data-v-25d30c2c]{top:2.82353rem;height:calc(100vh - 2.82353rem)}}.asset-container[data-v-25d30c2c]:not(.for-step-code){overflow-y:auto;-webkit-overflow-scrolling:touch}.asset-container.ide[data-v-25d30c2c]{height:100vh;top:0}@media only screen and (min-width:736px){.asset-container[data-v-25d30c2c]{display:grid}.asset-container>[data-v-25d30c2c]{grid-row:1;grid-column:1;height:calc(100vh - 3.05882rem)}.asset-container.ide>[data-v-25d30c2c]{height:100vh}}.asset-container .step-asset[data-v-25d30c2c]{box-sizing:border-box;padding:0;padding-left:40px;min-height:320px;height:100%}.asset-container .step-asset[data-v-25d30c2c],.asset-container .step-asset[data-v-25d30c2c] picture{height:100%;display:flex;align-items:center}.asset-container .step-asset[data-v-25d30c2c] .video-replay-container{height:100%;display:flex;flex-direction:column;justify-content:center}.asset-container .step-asset[data-v-25d30c2c] img,.asset-container .step-asset[data-v-25d30c2c] video{width:auto;max-height:calc(100vh - 3.05882rem - 80px);max-width:531.6634px;margin:0}@media only screen and (max-width:1250px){.asset-container .step-asset[data-v-25d30c2c] img,.asset-container .step-asset[data-v-25d30c2c] video{max-width:363.66436px}}.asset-container .step-asset[data-v-25d30c2c] .video-replay-container,.asset-container .step-asset[data-v-25d30c2c] img{min-height:320px}.asset-container .step-asset[data-v-25d30c2c] .video-replay-container video{min-height:280px}@media only screen and (max-width:735px){.asset-container[data-v-25d30c2c]{display:none}}.asset-wrapper[data-v-25d30c2c]{width:63.2%;align-self:center;transition:transform .25s ease-out;will-change:transform}.asset-wrapper.ide .step-asset[data-v-25d30c2c] img{background-color:var(--background,var(--color-step-background))}[data-v-25d30c2c] .runtime-preview-asset{display:grid}[data-v-25d30c2c] .runtime-preview-asset>*{grid-row:1;grid-column:1}.interstitial[data-v-25d30c2c]{padding:0 2rem}.interstitial[data-v-25d30c2c]:not(:first-child){margin-top:5.88235rem}.interstitial[data-v-25d30c2c]:not(:last-child){margin-bottom:30px}@media only screen and (max-width:735px){.interstitial[data-v-25d30c2c]{margin-left:auto;margin-right:auto;width:980px;padding:0}}@media only screen and (max-width:735px) and (max-width:1250px){.interstitial[data-v-25d30c2c]{width:692px}}@media only screen and (max-width:735px) and (max-width:735px){.interstitial[data-v-25d30c2c]{width:87.5%}}@media only screen and (max-width:735px){.interstitial[data-v-25d30c2c]:not(:first-child){margin-top:0}}.fade-enter-active[data-v-25d30c2c],.fade-leave-active[data-v-25d30c2c]{transition:opacity .3s ease-in-out}.fade-enter[data-v-25d30c2c],.fade-leave-to[data-v-25d30c2c]{opacity:0}.section[data-v-6b3a0b3a]{padding-top:80px}.sections[data-v-79a75e9e]{margin-left:auto;margin-right:auto;width:980px}@media only screen and (max-width:1250px){.sections[data-v-79a75e9e]{width:692px}}@media only screen and (max-width:735px){.sections[data-v-79a75e9e]{width:87.5%;margin:0;width:100%}}.tutorial[data-v-0f871b08]{background-color:var(--colors-text-background,var(--color-tutorial-background))} \ No newline at end of file diff --git a/docs/css/topic.d8c126f3.css b/docs/css/topic.d8c126f3.css new file mode 100644 index 0000000..5d8319b --- /dev/null +++ b/docs/css/topic.d8c126f3.css @@ -0,0 +1,9 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */.nav-title-content[data-v-854b4dd6]{max-width:100%}.title[data-v-854b4dd6]{color:var(--color-nav-root-title,currentColor);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:inline-block;vertical-align:top;max-width:296px}@media only screen and (max-width:1023px){.title[data-v-854b4dd6]{max-width:205px}}@media only screen and (max-width:767px){.title[data-v-854b4dd6]{flex-basis:fill;display:initial;vertical-align:initial;max-width:none}}.subhead[data-v-854b4dd6]{color:var(--color-nav-root-subhead)}.theme-dark .subhead[data-v-854b4dd6]{color:var(--color-nav-dark-root-subhead)}.mobile-dropdown[data-v-154acfbd]{box-sizing:border-box}.nav--in-breakpoint-range .mobile-dropdown[data-v-154acfbd]{padding-left:.23529rem;padding-right:.23529rem}.mobile-dropdown ul[data-v-154acfbd]{list-style:none}.mobile-dropdown .option[data-v-154acfbd]{cursor:pointer;font-size:.70588rem;padding:.5rem 0;display:block;text-decoration:none;color:inherit}.mobile-dropdown .option[data-v-154acfbd]:focus{outline-offset:0}.mobile-dropdown .option.depth1[data-v-154acfbd]{padding-left:.47059rem}.active[data-v-154acfbd],.tutorial.router-link-active[data-v-154acfbd]{font-weight:600}.active[data-v-154acfbd]:focus,.tutorial.router-link-active[data-v-154acfbd]:focus{outline:none}.chapter-list[data-v-154acfbd]:not(:first-child){margin-top:1rem}.chapter-name[data-v-154acfbd],.tutorial[data-v-154acfbd]{padding:.5rem 0;font-size:1rem;line-height:1.47059;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.section-list[data-v-154acfbd],.tutorial-list[data-v-154acfbd]{padding:0 .58824rem}.chapter-list:last-child .tutorial-list[data-v-154acfbd]:last-child{padding-bottom:10em}.chapter-list[data-v-154acfbd]{display:inline-block}.form-element[data-v-998803d8]{position:relative}.form-dropdown[data-v-998803d8]{font-size:1rem;line-height:1.23529;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);display:block;box-sizing:border-box;width:100%;height:3.3em;color:var(--color-dropdown-text);padding:1.11765rem 2.35294rem 0 .94118rem;text-align:left;border:1px solid var(--color-dropdown-border);border-radius:var(--border-radius,4px);background-clip:padding-box;margin-bottom:.82353rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;min-height:32px}.form-dropdown[data-v-998803d8]:focus{box-shadow:0 0 0 4px var(--color-focus-color);outline:none;border-color:var(--color-focus-border-color)}.form-dropdown.no-eyebrow[data-v-998803d8]{padding-top:0}.form-dropdown[data-v-998803d8]:-moz-focusring{color:transparent;text-shadow:0 0 0 var(--color-dropdown-text)}.form-dropdown[data-v-998803d8]::-ms-expand{opacity:0}.form-dropdown~.form-icon[data-v-998803d8]{position:absolute;display:block;pointer-events:none;fill:var(--color-figure-gray-tertiary);right:14px;width:13px;height:auto;top:50%;transform:translateY(-50%)}.is-open .form-dropdown~.form-icon[data-v-998803d8]{transform:translateY(-50%) scale(-1)}@media only screen and (max-width:735px){.form-dropdown~.form-icon[data-v-998803d8]{right:14px}}.form-dropdown~.form-label[data-v-998803d8]{font-size:.70588rem;line-height:1.75;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);position:absolute;top:.47059rem;left:17px;color:var(--color-figure-gray-secondary);pointer-events:none;padding:0;z-index:1}.form-dropdown[data-v-998803d8] option{color:var(--color-dropdown-text)}.form-dropdown-selectnone[data-v-998803d8]{color:transparent}.form-dropdown-selectnone~.form-label[data-v-998803d8]{font-size:1rem;line-height:1.23529;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);top:19px;left:17px;color:var(--color-figure-gray-tertiary)}.form-dropdown-selectnone[data-v-998803d8]:-moz-focusring{text-shadow:none}.form-dropdown-selectnone[data-v-998803d8]::-ms-value{display:none}.theme-dark .form-dropdown[data-v-998803d8]{color:var(--color-dropdown-dark-text);background-color:var(--color-dropdown-dark-background);border-color:var(--color-dropdown-dark-border)}.theme-dark .form-dropdown~.form-label[data-v-998803d8]{color:#ccc}.theme-dark .form-dropdown[data-v-998803d8]:-moz-focusring{color:transparent;text-shadow:0 0 0 var(--color-dropdown-dark-text)}.theme-dark .form-dropdown.form-dropdown-selectnone[data-v-998803d8]{color:transparent}.theme-dark .form-dropdown.form-dropdown-selectnone[data-v-998803d8]:-moz-focusring{text-shadow:none}.theme-dark .form-dropdown-selectnone~.form-label[data-v-998803d8]{color:#b0b0b0}.dropdown-small[data-v-12dd746a]{height:30px;display:flex;align-items:center;position:relative;background:var(--color-fill)}.dropdown-small .form-dropdown-toggle[data-v-12dd746a]{line-height:1.5;font-size:12px;padding-top:0;padding-bottom:0;padding-left:20px;min-height:unset;height:30px;display:flex;align-items:center}.dropdown-small .form-dropdown-toggle[data-v-12dd746a]:focus{box-shadow:none;border-color:var(--color-dropdown-border)}.fromkeyboard .dropdown-small .form-dropdown-toggle[data-v-12dd746a]:focus{box-shadow:0 0 0 2px var(--color-focus-color);outline:none;border-color:var(--color-focus-border-color)}.form-dropdown-toggle[data-v-12dd746a]{margin:0}.is-open .form-dropdown-toggle[data-v-12dd746a]{border-radius:var(--border-radius,4px) var(--border-radius,4px) 0 0;border-bottom:none;padding-bottom:1px}.fromkeyboard .is-open .form-dropdown-toggle[data-v-12dd746a]{box-shadow:1px -1px 0 1px var(--color-focus-color),-1px -1px 0 1px var(--color-focus-color);border-color:var(--color-focus-border-color)}.form-dropdown-title[data-v-12dd746a]{margin:0;padding:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.dropdown-custom[data-v-12dd746a]{border-radius:var(--border-radius,4px)}.dropdown-custom.is-open[data-v-12dd746a]{border-radius:var(--border-radius,4px) var(--border-radius,4px) 0 0}.dropdown-custom[data-v-12dd746a] .form-dropdown-content{background:var(--color-fill);position:absolute;right:0;left:0;top:100%;border-bottom-left-radius:var(--border-radius,4px);border-bottom-right-radius:var(--border-radius,4px);border:1px solid var(--color-dropdown-border);border-top:none;display:none;overflow-y:auto}.dropdown-custom[data-v-12dd746a] .form-dropdown-content.is-open{display:block}.fromkeyboard .dropdown-custom[data-v-12dd746a] .form-dropdown-content.is-open{box-shadow:1px 1px 0 1px var(--color-focus-color),-1px 1px 0 1px var(--color-focus-color);border-color:var(--color-focus-border-color);border-top-color:transparent}.nav .dropdown-custom[data-v-12dd746a] .form-dropdown-content{max-height:calc(100vh - 116px - 3.05882rem)}.nav--is-sticking.nav .dropdown-custom[data-v-12dd746a] .form-dropdown-content{max-height:calc(100vh - 3.05882rem - 72px)}.dropdown-custom[data-v-12dd746a] .options{list-style:none;margin:0;padding:0 0 20px}.dropdown-custom[data-v-12dd746a] .option{cursor:pointer;padding:5px 20px;font-size:12px;line-height:20px;outline:none}.dropdown-custom[data-v-12dd746a] .option:hover{background-color:var(--color-fill-tertiary)}.dropdown-custom[data-v-12dd746a] .option.option-active{font-weight:600}.fromkeyboard .dropdown-custom[data-v-12dd746a] .option:hover{background-color:transparent}.fromkeyboard .dropdown-custom[data-v-12dd746a] .option:focus{background-color:var(--color-fill-tertiary);outline:none}.tutorial-dropdown[data-v-554d62b6]{grid-column:3}.section-tracker[data-v-554d62b6]{font-size:.70588rem;line-height:1.33333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-figure-gray-secondary);margin-left:15px}.tutorial-dropdown[data-v-4bddb6e6]{grid-column:1/2}.tutorial-dropdown .options[data-v-4bddb6e6]{padding-top:1rem;padding-bottom:0}.tutorial-dropdown .option[data-v-4bddb6e6]{padding:5px 20px 5px 30px}.chapter-list[data-v-4bddb6e6]{padding-bottom:20px}.chapter-name[data-v-4bddb6e6]{margin:0 20px 5px 20px;line-height:normal;color:var(--color-figure-gray-secondary)}.chevron-icon[data-v-717bc942]{padding:0;color:var(--color-nav-outlines);grid-column:2;height:20px;width:20px;margin:0 4px}@media only screen and (min-width:768px){.nav[data-v-717bc942] .nav-content{display:grid;grid-template-columns:auto auto 3fr;align-items:center}.nav[data-v-717bc942] .nav-menu{padding:0;grid-column:3/5}.nav[data-v-717bc942] .nav-menu-item{margin:0}}.dropdown-container[data-v-717bc942]{height:3.05882rem;display:grid;grid-template-columns:minmax(230px,285px) auto minmax(230px,1fr);align-items:center}@media only screen and (max-width:1023px){.dropdown-container[data-v-717bc942]{grid-template-columns:minmax(173px,216px) auto minmax(173px,1fr)}}.separator[data-v-717bc942]{height:20px;border-right:1px solid;border-color:var(--color-nav-outlines);margin:0 20px;grid-column:2}.mobile-dropdown-container[data-v-717bc942],.nav--in-breakpoint-range.nav .dropdown-container[data-v-717bc942],.nav--in-breakpoint-range.nav .separator[data-v-717bc942]{display:none}.nav--in-breakpoint-range.nav .mobile-dropdown-container[data-v-717bc942]{display:block}.nav--in-breakpoint-range.nav[data-v-717bc942] .nav-title{grid-area:title}.nav--in-breakpoint-range.nav[data-v-717bc942] .pre-title{display:none}.nav[data-v-717bc942] .nav-title{grid-column:1;width:90%;padding-top:0}.primary-dropdown[data-v-717bc942],.secondary-dropdown[data-v-717bc942]{background:var(--color-tutorial-navbar-dropdown-background);border-color:var(--color-tutorial-navbar-dropdown-border)}.primary-dropdown[data-v-717bc942] .form-dropdown,.primary-dropdown[data-v-717bc942] .form-dropdown:focus,.secondary-dropdown[data-v-717bc942] .form-dropdown,.secondary-dropdown[data-v-717bc942] .form-dropdown:focus{border-color:var(--color-tutorial-navbar-dropdown-border)}.primary-dropdown[data-v-717bc942] .options,.secondary-dropdown[data-v-717bc942] .options{background:var(--color-tutorial-navbar-dropdown-background);border-color:var(--color-tutorial-navbar-dropdown-border)}[data-v-3cfe1c35] .code-listing+*,[data-v-3cfe1c35] aside+*,[data-v-3cfe1c35] h2+*,[data-v-3cfe1c35] h3+*,[data-v-3cfe1c35] ol+*,[data-v-3cfe1c35] p+*,[data-v-3cfe1c35] ul+*{margin-top:20px}[data-v-3cfe1c35] ol ol,[data-v-3cfe1c35] ol ul,[data-v-3cfe1c35] ul ol,[data-v-3cfe1c35] ul ul{margin-top:0}[data-v-3cfe1c35] h2{font-size:1.88235rem;line-height:1.25;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){[data-v-3cfe1c35] h2{font-size:1.64706rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){[data-v-3cfe1c35] h2{font-size:1.41176rem;line-height:1.33333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}[data-v-3cfe1c35] h3{font-size:1.41176rem;line-height:1.16667;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){[data-v-3cfe1c35] h3{font-size:1.23529rem;line-height:1.19048;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}[data-v-3cfe1c35] .code-listing{background:var(--color-code-background);border-color:var(--colors-grid,var(--color-grid));border-style:solid;border-width:1px}[data-v-3cfe1c35] .code-listing pre{font-size:.70588rem;line-height:1.83333;font-weight:400;font-family:var(--typography-html-font-mono,Menlo,monospace);padding:20px 0}.columns[data-v-30edf911]{display:grid;grid-template-rows:repeat(2,auto)}.columns.cols-2[data-v-30edf911]{gap:20px 8.33333%;grid-template-columns:repeat(2,1fr)}.columns.cols-3[data-v-30edf911]{gap:20px 4.16667%;grid-template-columns:repeat(3,1fr)}.asset[data-v-30edf911]{align-self:end;grid-row:1}.content[data-v-30edf911]{grid-row:2}@media only screen and (max-width:735px){.columns.cols-2[data-v-30edf911],.columns.cols-3[data-v-30edf911]{grid-template-columns:unset}.asset[data-v-30edf911],.content[data-v-30edf911]{grid-row:auto}}.content-and-media[data-v-3fa44f9e]{display:flex}.content-and-media.media-leading[data-v-3fa44f9e]{flex-direction:row-reverse}.content-and-media.media-trailing[data-v-3fa44f9e]{flex-direction:row}@media only screen and (min-width:736px){.content-and-media[data-v-3fa44f9e]{align-items:center;justify-content:center}}.content[data-v-3fa44f9e]{width:62.5%}.asset[data-v-3fa44f9e]{width:29.16667%}.media-leading .asset[data-v-3fa44f9e]{margin-right:8.33333%}.media-trailing .asset[data-v-3fa44f9e]{margin-left:8.33333%}@media only screen and (max-width:735px){.content-and-media.media-leading[data-v-3fa44f9e],.content-and-media.media-trailing[data-v-3fa44f9e]{flex-direction:column}.asset[data-v-3fa44f9e],.content[data-v-3fa44f9e]{width:100%}.media-leading .asset[data-v-3fa44f9e],.media-trailing .asset[data-v-3fa44f9e]{margin:20px 0 0 0}}.group[id][data-v-1f2be54b]{margin-top:20px;padding-top:20px}[data-v-1f2be54b] img,[data-v-1f2be54b] video{display:block;margin:0 auto;max-width:100%}.layout+[data-v-4d5a806e]{margin-top:40px}@media only screen and (max-width:735px){.layout[data-v-4d5a806e]:first-child>:not(.group[id]){margin-top:40px}}.body[data-v-6499e2f2]{background:var(--colors-text-background,var(--color-article-body-background));margin-left:auto;margin-right:auto;width:980px;border-radius:10px;transform:translateY(-120px)}@media only screen and (max-width:1250px){.body[data-v-6499e2f2]{width:692px}}@media only screen and (max-width:735px){.body[data-v-6499e2f2]{width:87.5%}}@media only screen and (max-width:320px){.body[data-v-6499e2f2]{width:215px}}@media only screen and (max-width:735px){.body[data-v-6499e2f2]{border-radius:0;transform:none}}.body[data-v-6499e2f2]~*{margin-top:-40px}.body-content[data-v-6499e2f2]{padding:40px 8.33333% 80px 8.33333%}@media only screen and (max-width:735px){.body-content[data-v-6499e2f2]{padding:0 0 40px 0}}.call-to-action[data-v-042a0474]{padding:65px 0;background:var(--color-call-to-action-background)}.theme-dark .call-to-action[data-v-042a0474]{--color-call-to-action-background:#424242}.row[data-v-042a0474]{margin-left:auto;margin-right:auto;width:980px;display:flex;align-items:center}@media only screen and (max-width:1250px){.row[data-v-042a0474]{width:692px}}@media only screen and (max-width:735px){.row[data-v-042a0474]{width:87.5%}}@media only screen and (max-width:320px){.row[data-v-042a0474]{width:215px}}[data-v-042a0474] img,[data-v-042a0474] video{max-height:560px}h2[data-v-042a0474]{font-size:1.88235rem;line-height:1.25;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){h2[data-v-042a0474]{font-size:1.64706rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){h2[data-v-042a0474]{font-size:1.41176rem;line-height:1.33333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.label[data-v-042a0474]{display:block;font-size:1.23529rem;line-height:1.19048;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);margin-bottom:var(--spacing-stacked-margin-small);color:var(--color-eyebrow)}@media only screen and (max-width:735px){.label[data-v-042a0474]{font-size:1.11765rem;line-height:1.21053;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.content[data-v-042a0474]{margin-bottom:1.5rem}.right-column[data-v-042a0474]{margin-left:auto}@media only screen and (max-width:735px){.row[data-v-042a0474]{display:block}.col+.col[data-v-042a0474]{margin-top:40px}}@media only screen and (max-width:735px){.call-to-action[data-v-426a965c]{margin-top:0}}.headline[data-v-d46a1474]{margin-bottom:var(--spacing-stacked-margin-large)}.heading[data-v-d46a1474]{font-size:2.82353rem;line-height:1.08333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-header-text)}@media only screen and (max-width:1250px){.heading[data-v-d46a1474]{font-size:2.35294rem;line-height:1.1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.heading[data-v-d46a1474]{font-size:1.88235rem;line-height:1.125;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.dark .heading[data-v-d46a1474]{color:#fff}.eyebrow[data-v-d46a1474]{font-size:1.41176rem;line-height:1.16667;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);display:block;margin-bottom:var(--spacing-stacked-margin-small);color:var(--color-eyebrow)}@media only screen and (max-width:1250px){.eyebrow[data-v-d46a1474]{font-size:1.23529rem;line-height:1.19048;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.metadata[data-v-94ff76c0]{display:flex}.item[data-v-94ff76c0]{font-size:.70588rem;line-height:1.33333;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);display:flex;flex-direction:column;justify-content:flex-end;align-items:center;border-right:1px solid #fff;padding:0 27.5px}@media only screen and (max-width:735px){.item[data-v-94ff76c0]{font-size:.64706rem;line-height:1.63636;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);padding:0 8px}}.item[data-v-94ff76c0]:first-of-type{padding-left:0}.item[data-v-94ff76c0]:last-of-type{border:none}@media only screen and (max-width:735px){.item[data-v-94ff76c0]:last-of-type{padding-right:0}}.content[data-v-94ff76c0]{color:#fff}.icon[data-v-94ff76c0]{font-size:2.82353rem;line-height:1.08333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){.icon[data-v-94ff76c0]{font-size:2.35294rem;line-height:1.1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.icon[data-v-94ff76c0]{font-size:1.88235rem;line-height:1.125;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.small-icon[data-v-94ff76c0]{width:1em;height:1em;margin-left:.2rem}.small-icon.xcode-icon[data-v-94ff76c0]{width:.8em;height:.8em}.content-link[data-v-94ff76c0]{display:flex;align-items:center}a[data-v-94ff76c0]{color:var(--colors-link,var(--color-tutorials-overview-link))}.duration[data-v-94ff76c0]{display:flex;align-items:baseline;font-size:2.35294rem;line-height:1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);line-height:1.8rem}@media only screen and (max-width:735px){.duration[data-v-94ff76c0]{font-size:1.64706rem;line-height:1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);line-height:1.3rem}}.minutes[data-v-94ff76c0]{display:inline-block;font-size:1.64706rem;line-height:1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);line-height:1.3rem}@media only screen and (max-width:735px){.minutes[data-v-94ff76c0]{font-size:1rem;line-height:1.23529;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);line-height:.8rem}}.item-large-icon[data-v-94ff76c0]{height:2.3rem;max-width:100%}@media only screen and (max-width:735px){.item-large-icon[data-v-94ff76c0]{height:1.5rem;max-width:100%}}.bottom[data-v-94ff76c0]{margin-top:13px}@media only screen and (max-width:735px){.bottom[data-v-94ff76c0]{margin-top:8px}}.hero[data-v-55543c5a]{color:var(--color-tutorial-hero-text);position:relative}.bg[data-v-55543c5a],.hero[data-v-55543c5a]{background-color:var(--color-tutorial-hero-background)}.bg[data-v-55543c5a]{background-position:top;background-repeat:no-repeat;background-size:cover;content:"";height:100%;left:0;opacity:.3;position:absolute;top:0;width:100%}.row[data-v-55543c5a]{margin-left:auto;margin-right:auto;width:980px;padding:80px 0}@media only screen and (max-width:1250px){.row[data-v-55543c5a]{width:692px}}@media only screen and (max-width:735px){.row[data-v-55543c5a]{width:87.5%}}@media only screen and (max-width:320px){.row[data-v-55543c5a]{width:215px}}.col[data-v-55543c5a]{z-index:1}[data-v-55543c5a] .eyebrow{font-size:1.41176rem;line-height:1.16667;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-hero-eyebrow)}@media only screen and (max-width:1250px){[data-v-55543c5a] .eyebrow{font-size:1.23529rem;line-height:1.19048;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.headline[data-v-55543c5a]{font-size:2.82353rem;line-height:1.08333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);margin-bottom:2rem}@media only screen and (max-width:1250px){.headline[data-v-55543c5a]{font-size:2.35294rem;line-height:1.1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.headline[data-v-55543c5a]{font-size:1.88235rem;line-height:1.125;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.intro[data-v-55543c5a]{font-size:1.23529rem;line-height:1.38095;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:735px){.intro[data-v-55543c5a]{font-size:1.11765rem;line-height:1.42105;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.content+p[data-v-55543c5a]{margin-top:var(--spacing-stacked-margin-large)}@media only screen and (max-width:735px){.content+p[data-v-55543c5a]{margin-top:8px}}.call-to-action[data-v-55543c5a]{display:flex;align-items:center}.call-to-action .cta-icon[data-v-55543c5a]{margin-left:.4rem;width:1em;height:1em}.metadata[data-v-55543c5a]{margin-top:2rem}.video-asset[data-v-55543c5a]{display:grid;height:100vh;margin:0;place-items:center center}.video-asset[data-v-55543c5a] video{max-width:1280px;min-width:320px;width:100%}@media only screen and (max-width:735px){.headline[data-v-55543c5a]{margin-bottom:19px}}.tutorial-hero[data-v-35a9482f]{margin-bottom:80px}@media only screen and (max-width:735px){.tutorial-hero[data-v-35a9482f]{margin-bottom:0}}.title[data-v-28135d78]{font-size:.70588rem;line-height:1.33333;color:var(--colors-secondary-label,var(--color-secondary-label))}.title[data-v-19ed40e2],.title[data-v-28135d78]{font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.title[data-v-19ed40e2]{font-size:1.11765rem;line-height:1.21053;color:var(--colors-header-text,var(--color-header-text));margin:25px 0}.question-content[data-v-19ed40e2] code{font-size:.76471rem;line-height:1.84615;font-weight:400;font-family:var(--typography-html-font-mono,Menlo,monospace)}.choices[data-v-19ed40e2]{display:flex;flex-direction:column;padding:0;list-style:none;margin:25px 0}.choice[data-v-19ed40e2]{font-size:.82353rem;line-height:1.42857;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);flex:1;border-radius:var(--border-radius,4px);margin:8px 0;padding:1.5rem 40px;cursor:pointer;background:var(--colors-text-background,var(--color-text-background));display:flex;flex-direction:column;justify-content:center;border-width:1px;border-style:solid;border-color:var(--colors-grid,var(--color-grid));position:relative}.choice[data-v-19ed40e2] img{max-height:23.52941rem}.choice[data-v-19ed40e2]:first-of-type{margin-top:0}.choice[data-v-19ed40e2] code{font-size:.76471rem;line-height:1.84615;font-weight:400;font-family:var(--typography-html-font-mono,Menlo,monospace)}.controls[data-v-19ed40e2]{text-align:center;margin-bottom:40px}.controls .button-cta[data-v-19ed40e2]{margin:.5rem;margin-top:0;padding:.3rem 3rem;min-width:8rem}input[type=radio][data-v-19ed40e2]{position:absolute;width:100%;left:0;height:100%;opacity:0;z-index:-1}.active[data-v-19ed40e2]{border-color:var(--color-tutorial-quiz-border-active);box-shadow:0 0 0 4px var(--color-focus-color);outline:none}.active [data-v-19ed40e2]{color:var(--colors-text,var(--color-text))}.correct[data-v-19ed40e2]{background:var(--color-form-valid-background);border-color:var(--color-form-valid)}.correct .choice-icon[data-v-19ed40e2]{fill:var(--color-form-valid)}.incorrect[data-v-19ed40e2]{background:var(--color-form-error-background);border-color:var(--color-form-error)}.incorrect .choice-icon[data-v-19ed40e2]{fill:var(--color-form-error)}.correct[data-v-19ed40e2],.incorrect[data-v-19ed40e2]{position:relative}.correct .choice-icon[data-v-19ed40e2],.incorrect .choice-icon[data-v-19ed40e2]{position:absolute;top:11px;left:10px;font-size:20px;width:1.05em}.disabled[data-v-19ed40e2]{pointer-events:none}.answer[data-v-19ed40e2]{margin:.5rem 1.5rem .5rem 0;font-size:.70588rem;line-height:1.33333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.answer[data-v-19ed40e2]:last-of-type{margin-bottom:0}[data-v-19ed40e2] .question>.code-listing{padding:unset;border-radius:0}[data-v-19ed40e2] pre{padding:0}[data-v-19ed40e2] img{display:block;margin-left:auto;margin-right:auto;max-width:100%}.title[data-v-65e3c02c]{font-size:1.88235rem;line-height:1.25;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--colors-header-text,var(--color-header-text))}@media only screen and (max-width:1250px){.title[data-v-65e3c02c]{font-size:1.64706rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.title[data-v-65e3c02c]{font-size:1.41176rem;line-height:1.33333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.title p[data-v-65e3c02c]{color:var(--colors-text,var(--color-text))}.assessments[data-v-65e3c02c]{box-sizing:content-box;padding:0 1rem;background:var(--color-tutorial-assessments-background);margin-left:auto;margin-right:auto;width:980px;margin-bottom:80px}@media only screen and (max-width:1250px){.assessments[data-v-65e3c02c]{width:692px}}@media only screen and (max-width:735px){.assessments[data-v-65e3c02c]{width:87.5%}}@media only screen and (max-width:320px){.assessments[data-v-65e3c02c]{width:215px}}.banner[data-v-65e3c02c]{padding:40px 0;border-bottom:1px solid;margin-bottom:40px;border-color:var(--colors-grid,var(--color-grid));text-align:center}.success[data-v-65e3c02c]{text-align:center;padding-bottom:40px;font-size:1.88235rem;line-height:1.25;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--colors-text,var(--color-text))}@media only screen and (max-width:1250px){.success[data-v-65e3c02c]{font-size:1.64706rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.success[data-v-65e3c02c]{font-size:1.41176rem;line-height:1.33333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.assessments-wrapper[data-v-65e3c02c]{padding-top:80px}.assessments-wrapper[data-v-3c94366b]{padding-bottom:40px;padding-top:0}@media only screen and (max-width:735px){.assessments-wrapper[data-v-3c94366b]{padding-top:80px}}.article[data-v-7d4562ea]{background:var(--colors-article-background,var(--color-article-background))}@media only screen and (max-width:735px){.article[data-v-7d4562ea]{background:var(--colors-text-background,var(--color-article-body-background))}}.intro-container[data-v-7f9a8f65]{margin-bottom:80px}.intro[data-v-7f9a8f65]{display:flex;align-items:center}@media only screen and (max-width:735px){.intro[data-v-7f9a8f65]{padding-bottom:0;flex-direction:column}}.intro.ide .media[data-v-7f9a8f65] img{background-color:var(--colors-text-background,var(--color-text-background))}.col.left[data-v-7f9a8f65]{padding-right:40px}@media only screen and (max-width:1250px){.col.left[data-v-7f9a8f65]{padding-right:28px}}@media only screen and (max-width:735px){.col.left[data-v-7f9a8f65]{margin-left:auto;margin-right:auto;width:980px;padding-right:0}}@media only screen and (max-width:735px) and (max-width:1250px){.col.left[data-v-7f9a8f65]{width:692px}}@media only screen and (max-width:735px) and (max-width:735px){.col.left[data-v-7f9a8f65]{width:87.5%}}@media only screen and (max-width:735px) and (max-width:320px){.col.left[data-v-7f9a8f65]{width:215px}}.col.right[data-v-7f9a8f65]{padding-left:40px}@media only screen and (max-width:1250px){.col.right[data-v-7f9a8f65]{padding-left:28px}}@media only screen and (max-width:735px){.col.right[data-v-7f9a8f65]{padding-left:0}}.content[data-v-7f9a8f65]{font-size:1rem;line-height:1.47059;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.media[data-v-7f9a8f65] img{width:auto;max-height:560px;min-height:18.82353rem;-o-object-fit:scale-down;object-fit:scale-down}@media only screen and (max-width:735px){.media[data-v-7f9a8f65]{margin:0;margin-top:40px}.media[data-v-7f9a8f65] img,.media[data-v-7f9a8f65] video{max-height:80vh}}.media[data-v-7f9a8f65] .asset{padding:0 20px}.headline[data-v-7f9a8f65]{color:var(--colors-header-text,var(--color-header-text))}[data-v-7f9a8f65] .eyebrow{font-size:1.23529rem;line-height:1.19048;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:735px){[data-v-7f9a8f65] .eyebrow{font-size:1.11765rem;line-height:1.21053;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}[data-v-7f9a8f65] .eyebrow a{color:inherit}[data-v-7f9a8f65] .heading{font-size:1.88235rem;line-height:1.25;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:1250px){[data-v-7f9a8f65] .heading{font-size:1.64706rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){[data-v-7f9a8f65] .heading{font-size:1.41176rem;line-height:1.33333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.expanded-intro[data-v-7f9a8f65]{margin-left:auto;margin-right:auto;width:980px;margin-top:40px}@media only screen and (max-width:1250px){.expanded-intro[data-v-7f9a8f65]{width:692px}}@media only screen and (max-width:735px){.expanded-intro[data-v-7f9a8f65]{width:87.5%}}@media only screen and (max-width:320px){.expanded-intro[data-v-7f9a8f65]{width:215px}}[data-v-7f9a8f65] .cols-2{gap:20px 16.66667%}[data-v-7f9a8f65] .cols-3 .column{gap:20px 12.5%}.code-preview[data-v-4f53426a]{position:sticky;overflow-y:auto;-webkit-overflow-scrolling:touch;background-color:var(--background,var(--color-step-background));height:calc(100vh - 3.05882rem)}.code-preview.ide[data-v-4f53426a]{height:100vh}.code-preview[data-v-4f53426a] .code-listing{color:var(--text,var(--color-code-plain))}.code-preview[data-v-4f53426a] .code-listing .code-line-container{padding-right:14px}.code-preview[data-v-4f53426a] pre{font-size:.70588rem;line-height:1.83333;font-weight:400;font-family:var(--typography-html-font-mono,Menlo,monospace)}.header[data-v-4f53426a]{font-size:.70588rem;line-height:1.33333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);position:relative;display:flex;justify-content:space-between;align-items:center;width:-webkit-fill-available;width:-moz-available;width:stretch;cursor:pointer;font-weight:600;padding:8px 12px;border-radius:var(--border-radius,4px) var(--border-radius,4px) 0 0;z-index:1;background:var(--color-runtime-preview-background);color:var(--colors-runtime-preview-text,var(--color-runtime-preview-text))}.header[data-v-4f53426a]:focus{outline-style:none}#app.fromkeyboard .header[data-v-4f53426a]:focus{box-shadow:0 0 0 4px var(--color-focus-color);outline:none;border-color:var(--color-focus-border-color)}.runtime-preview[data-v-4f53426a]{--color-runtime-preview-shadow:rgba(0,0,0,0.4);position:absolute;top:0;right:0;background:var(--color-runtime-preview-background);border-radius:var(--border-radius,4px);margin:1rem;margin-left:0;transition:width .2s ease-in;box-shadow:0 0 3px 0 var(--color-runtime-preview-shadow)}@media screen{[data-color-scheme=dark] .runtime-preview[data-v-4f53426a]{--color-runtime-preview-shadow:hsla(0,0%,100%,0.4)}}@media screen and (prefers-color-scheme:dark){[data-color-scheme=auto] .runtime-preview[data-v-4f53426a]{--color-runtime-preview-shadow:hsla(0,0%,100%,0.4)}}@supports not ((width:-webkit-fill-available) or (width:-moz-available) or (width:stretch)){.runtime-preview[data-v-4f53426a]{display:flex;flex-direction:column}}.runtime-preview .runtimve-preview__container[data-v-4f53426a]{border-radius:var(--border-radius,4px);overflow:hidden}.runtime-preview-ide[data-v-4f53426a]{top:0}.runtime-preview-ide .runtime-preview-asset[data-v-4f53426a] img{background-color:var(--color-runtime-preview-background)}.runtime-preview.collapsed[data-v-4f53426a]{box-shadow:0 0 3px 0 var(--color-runtime-preview-shadow);width:102px}.runtime-preview.collapsed .header[data-v-4f53426a]{border-radius:var(--border-radius,4px)}.runtime-preview.disabled[data-v-4f53426a]{box-shadow:0 0 3px 0 transparent}.runtime-preview.disabled .header[data-v-4f53426a]{color:var(--color-runtime-preview-disabled-text);cursor:auto}.runtime-preview-asset[data-v-4f53426a]{border-radius:0 0 var(--border-radius,4px) var(--border-radius,4px)}.runtime-preview-asset[data-v-4f53426a] img{border-bottom-left-radius:var(--border-radius,4px);border-bottom-right-radius:var(--border-radius,4px)}.preview-icon[data-v-4f53426a]{height:.8em;width:.8em;-webkit-user-select:none;-moz-user-select:none;user-select:none}.preview-show[data-v-4f53426a]{transform:scale(-1)}[data-v-5ad4e037] pre{padding:10px 0}.toggle-preview[data-v-78763c14]{color:var(--color-runtime-preview-disabled-text);display:flex;align-items:center}a[data-v-78763c14]{color:var(--url,var(--color-link))}.toggle-text[data-v-78763c14]{display:flex;align-items:center}svg.toggle-icon[data-v-78763c14]{width:1em;height:1em;margin-left:.5em}.mobile-code-preview[data-v-1aed4baa]{background-color:var(--background,var(--color-step-background));padding:14px 0}@media only screen and (max-width:735px){.mobile-code-preview[data-v-1aed4baa]{display:flex;flex-direction:column}}.runtime-preview-modal-content[data-v-1aed4baa]{padding:45px 60px 0 60px;min-width:200px}.runtime-preview-modal-content[data-v-1aed4baa] img:not(.file-icon){border-radius:var(--border-radius,4px);box-shadow:0 0 3px rgba(0,0,0,.4);max-height:80vh;width:auto;display:block;margin-bottom:1rem}.runtime-preview-modal-content .runtime-preview-label[data-v-1aed4baa]{font-size:.70588rem;line-height:1.33333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-runtime-preview-text);display:block;text-align:center;padding:.5em}[data-v-1aed4baa] .code-listing{color:var(--text,var(--color-code-plain))}[data-v-1aed4baa] .full-code-listing{padding-top:60px;min-height:calc(100vh - 60px)}[data-v-1aed4baa] pre{font-size:.70588rem;line-height:1.83333;font-weight:400;font-family:var(--typography-html-font-mono,Menlo,monospace)}.preview-toggle-container[data-v-1aed4baa]{align-self:flex-end;margin-right:20px}.step-container[data-v-eb45ec92]{margin:0}.step-container[data-v-eb45ec92]:not(:last-child){margin-bottom:100px}@media only screen and (max-width:735px){.step-container[data-v-eb45ec92]:not(:last-child){margin-bottom:80px}}.step[data-v-eb45ec92]{position:relative;border-radius:var(--tutorial-step-border-radius,var(--border-radius,4px));padding:1rem 2rem;background-color:var(--color-step-background);overflow:hidden;filter:blur(0)}.step[data-v-eb45ec92]:before{content:"";position:absolute;top:0;left:0;border:1px solid var(--color-step-focused);background-color:var(--color-step-focused);height:calc(100% - 2px);width:4px;opacity:0;transition:opacity .15s ease-in}.step.focused[data-v-eb45ec92],.step[data-v-eb45ec92]:focus{outline:none}.step.focused[data-v-eb45ec92]:before,.step[data-v-eb45ec92]:focus:before{opacity:1}@media only screen and (max-width:735px){.step[data-v-eb45ec92]{padding-left:2rem}.step[data-v-eb45ec92]:before{opacity:1}}.step-label[data-v-eb45ec92]{font-size:.70588rem;line-height:1.33333;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--colors-text,var(--color-step-text));margin-bottom:var(--spacing-stacked-margin-small)}.caption[data-v-eb45ec92]{border-top:1px solid;border-color:var(--color-step-caption);padding:1rem 0 0 0;margin-top:1rem}.media-container[data-v-eb45ec92]{display:none}@media only screen and (max-width:735px){.step[data-v-eb45ec92]{margin:0 .58824rem 1.17647rem .58824rem}.step.focused[data-v-eb45ec92],.step[data-v-eb45ec92]:focus{outline:none}.media-container[data-v-eb45ec92]{display:block;position:relative}.media-container[data-v-eb45ec92] img,.media-container[data-v-eb45ec92] video{max-height:80vh}[data-v-eb45ec92] .asset{padding:0 20px}}.steps[data-v-2786be2a]{position:relative;font-size:.82353rem;line-height:1.42857;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);display:flex;color:var(--colors-text,var(--color-text))}@media only screen and (max-width:735px){.steps[data-v-2786be2a]{padding-top:80px}.steps[data-v-2786be2a]:before{position:absolute;top:0;border-top:1px solid var(--color-fill-gray-tertiary);content:"";width:calc(100% - 2.35294rem);margin:0 1.17647rem}}.steps[data-v-2786be2a] aside{background:unset;border:unset;box-shadow:unset;-moz-column-break-inside:unset;break-inside:unset;padding:unset}.steps[data-v-2786be2a] aside .label{font-size:.70588rem;line-height:1.33333;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.content-container[data-v-2786be2a]{flex:none;margin-right:4.16667%;width:37.5%;margin-top:140px;margin-bottom:94vh}@media only screen and (max-width:735px){.content-container[data-v-2786be2a]{margin-top:0;margin-bottom:0;height:100%;margin-left:0;margin-right:0;position:relative;width:100%}}.asset-container[data-v-2786be2a]{flex:none;height:calc(100vh - 3.05882rem);background-color:var(--background,var(--color-step-background));max-width:921px;width:calc(50vw + 8.33333%);position:sticky;top:3.05882rem;transition:margin .1s ease-in-out}@media only screen and (max-width:767px){.asset-container[data-v-2786be2a]{top:2.82353rem;height:calc(100vh - 2.82353rem)}}.asset-container[data-v-2786be2a]:not(.for-step-code){overflow-y:auto;-webkit-overflow-scrolling:touch}.asset-container.ide[data-v-2786be2a]{height:100vh;top:0}@media only screen and (min-width:736px){.asset-container[data-v-2786be2a]{display:grid}.asset-container>[data-v-2786be2a]{grid-row:1;grid-column:1;height:calc(100vh - 3.05882rem)}.asset-container.ide>[data-v-2786be2a]{height:100vh}}.asset-container .step-asset[data-v-2786be2a]{box-sizing:border-box;padding:0;padding-left:40px;min-height:320px;height:100%}.asset-container .step-asset[data-v-2786be2a],.asset-container .step-asset[data-v-2786be2a] picture{height:100%;display:flex;align-items:center}.asset-container .step-asset[data-v-2786be2a] .video-replay-container{height:100%;display:flex;flex-direction:column;justify-content:center}.asset-container .step-asset[data-v-2786be2a] img,.asset-container .step-asset[data-v-2786be2a] video{width:auto;max-height:calc(100vh - 3.05882rem - 80px);max-width:531.6634px;margin:0}@media only screen and (max-width:1250px){.asset-container .step-asset[data-v-2786be2a] img,.asset-container .step-asset[data-v-2786be2a] video{max-width:363.66436px}}.asset-container .step-asset[data-v-2786be2a] .video-replay-container,.asset-container .step-asset[data-v-2786be2a] img{min-height:320px}.asset-container .step-asset[data-v-2786be2a] .video-replay-container video{min-height:280px}@media only screen and (max-width:735px){.asset-container[data-v-2786be2a]{display:none}}.asset-wrapper[data-v-2786be2a]{width:63.2%;align-self:center;transition:transform .25s ease-out;will-change:transform}.asset-wrapper.ide .step-asset[data-v-2786be2a] img{background-color:var(--background,var(--color-step-background))}[data-v-2786be2a] .runtime-preview-asset{display:grid}[data-v-2786be2a] .runtime-preview-asset>*{grid-row:1;grid-column:1}.interstitial[data-v-2786be2a]{padding:0 2rem}.interstitial[data-v-2786be2a]:not(:first-child){margin-top:5.88235rem}.interstitial[data-v-2786be2a]:not(:last-child){margin-bottom:30px}@media only screen and (max-width:735px){.interstitial[data-v-2786be2a]{margin-left:auto;margin-right:auto;width:980px;padding:0}}@media only screen and (max-width:735px) and (max-width:1250px){.interstitial[data-v-2786be2a]{width:692px}}@media only screen and (max-width:735px) and (max-width:735px){.interstitial[data-v-2786be2a]{width:87.5%}}@media only screen and (max-width:735px) and (max-width:320px){.interstitial[data-v-2786be2a]{width:215px}}@media only screen and (max-width:735px){.interstitial[data-v-2786be2a]:not(:first-child){margin-top:0}}.fade-enter-active[data-v-2786be2a],.fade-leave-active[data-v-2786be2a]{transition:opacity .3s ease-in-out}.fade-enter[data-v-2786be2a],.fade-leave-to[data-v-2786be2a]{opacity:0}.section[data-v-6b3a0b3a]{padding-top:80px}.sections[data-v-79a75e9e]{margin-left:auto;margin-right:auto;width:980px}@media only screen and (max-width:1250px){.sections[data-v-79a75e9e]{width:692px}}@media only screen and (max-width:735px){.sections[data-v-79a75e9e]{width:87.5%}}@media only screen and (max-width:320px){.sections[data-v-79a75e9e]{width:215px}}@media only screen and (max-width:735px){.sections[data-v-79a75e9e]{margin:0;width:100%}}.tutorial[data-v-611d0574]{background-color:var(--colors-text-background,var(--color-tutorial-background))} \ No newline at end of file diff --git a/docs/css/tutorials-overview.2a582c39.css b/docs/css/tutorials-overview.2a582c39.css deleted file mode 100644 index f4e1be7..0000000 --- a/docs/css/tutorials-overview.2a582c39.css +++ /dev/null @@ -1,9 +0,0 @@ -/*! - * This source file is part of the Swift.org open source project - * - * Copyright (c) 2021 Apple Inc. and the Swift project authors - * Licensed under Apache License v2.0 with Runtime Library Exception - * - * See https://swift.org/LICENSE.txt for license information - * See https://swift.org/CONTRIBUTORS.txt for Swift project authors - */.tutorials-navigation-link[data-v-e9f9b59c]{color:var(--color-tutorials-overview-navigation-link);transition:color .3s linear}.tutorials-navigation-link[data-v-e9f9b59c]:hover{text-decoration:none;transition:none;color:var(--color-tutorials-overview-navigation-link-hover)}.tutorials-navigation-link.active[data-v-e9f9b59c]{color:var(--color-tutorials-overview-navigation-link-active)}.tutorials-navigation-list[data-v-6f2800d1]{list-style-type:none;margin:0}.tutorials-navigation-list li+li[data-v-6f2800d1]:not(.volume--named){margin-top:24px}.tutorials-navigation-list .volume--named+.volume--named[data-v-6f2800d1]{margin-top:12px}.expand-enter-active,.expand-leave-active{transition:height .3s ease-in-out;overflow:hidden}.expand-enter,.expand-leave-to{height:0}.toggle[data-v-6513d652]{color:#f0f0f0;line-height:21px;display:flex;align-items:center;width:100%;font-weight:600;padding:6px 6px 6px 0;border-bottom:1px solid #2a2a2a;text-decoration:none;box-sizing:border-box}@media only screen and (max-width:767px){.toggle[data-v-6513d652]{padding-right:6px;border-bottom-color:hsla(0,0%,100%,.1)}}.toggle .text[data-v-6513d652]{word-break:break-word}.toggle[data-v-6513d652]:hover{text-decoration:none}.toggle .toggle-icon[data-v-6513d652]{display:inline-block;transition:transform .2s ease-in;height:.4em;width:.4em;margin-left:auto;margin-right:.2em}.collapsed .toggle .toggle-icon[data-v-6513d652]{transform:rotate(45deg)}.collapsed .toggle[data-v-6513d652],.collapsed .toggle[data-v-6513d652]:hover{color:#b0b0b0}.tutorials-navigation-menu-content[data-v-6513d652]{opacity:1;transition:height .2s ease-in,opacity .2s ease-in}.collapsed .tutorials-navigation-menu-content[data-v-6513d652]{height:0;opacity:0}.tutorials-navigation-menu-content .tutorials-navigation-list[data-v-6513d652]{padding:24px 0 12px 0}.tutorials-navigation[data-v-0cbd8adb]{font-size:1rem;line-height:1.23529;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.nav-title-content[data-v-854b4dd6]{max-width:100%}.title[data-v-854b4dd6]{color:var(--color-nav-root-title,currentColor);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:inline-block;vertical-align:top;max-width:296px}@media only screen and (max-width:1023px){.title[data-v-854b4dd6]{max-width:205px}}@media only screen and (max-width:767px){.title[data-v-854b4dd6]{flex-basis:fill;display:initial;vertical-align:initial;max-width:none}}.subhead[data-v-854b4dd6]{color:var(--color-nav-root-subhead)}.theme-dark .subhead[data-v-854b4dd6]{color:var(--color-nav-dark-root-subhead)}.nav[data-v-1001350c] .nav-menu{padding-top:0}.nav[data-v-1001350c] .nav-menu .nav-menu-items{margin-left:auto}@media only screen and (min-width:768px){.nav[data-v-1001350c] .nav-menu .nav-menu-items .in-page-navigation{display:none}}@media only screen and (min-width:320px) and (max-width:735px){.nav[data-v-1001350c] .nav-menu .nav-menu-items{padding:18px 0 40px}}.hero[data-v-549fca98]{margin-left:auto;margin-right:auto;width:980px;padding-bottom:4.70588rem;padding-top:4.70588rem}@media only screen and (max-width:1250px){.hero[data-v-549fca98]{width:692px}}@media only screen and (max-width:735px){.hero[data-v-549fca98]{width:87.5%}}.copy-container[data-v-549fca98]{margin:0 auto;text-align:center;width:720px}.title[data-v-549fca98]{font-size:2.82353rem;line-height:1.08333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-tutorials-overview-content)}@media only screen and (max-width:1250px){.title[data-v-549fca98]{font-size:2.35294rem;line-height:1.1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.title[data-v-549fca98]{font-size:1.88235rem;line-height:1.125;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.content[data-v-549fca98]{font-size:1.23529rem;line-height:1.38095;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-tutorials-overview-content)}@media only screen and (max-width:735px){.content[data-v-549fca98]{font-size:1.11765rem;line-height:1.42105;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.meta[data-v-549fca98]{color:var(--color-tutorials-overview-content-alt);align-items:center;display:flex;justify-content:center}.meta-content[data-v-549fca98]{font-size:.82353rem;line-height:1.42857;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.meta .timer-icon[data-v-549fca98]{margin-right:.35294rem;height:16px;width:16px;fill:var(--color-tutorials-overview-icon)}@media only screen and (max-width:735px){.meta .timer-icon[data-v-549fca98]{margin-right:.29412rem;height:.82353rem;width:.82353rem}}.meta .time[data-v-549fca98]{font-size:1.11765rem;line-height:1.21053;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:735px){.meta .time[data-v-549fca98]{font-size:1rem;line-height:1.11765;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.title+.content[data-v-549fca98]{margin-top:1.47059rem}.content+.meta[data-v-549fca98]{margin-top:1.17647rem}.button-cta[data-v-549fca98]{margin-top:1.76471rem}*+.asset[data-v-549fca98]{margin-top:4.11765rem}@media only screen and (max-width:1250px){.copy-container[data-v-549fca98]{width:636px}}@media only screen and (max-width:735px){.hero[data-v-549fca98]{padding-bottom:1.76471rem;padding-top:2.35294rem}.copy-container[data-v-549fca98]{width:100%}.title+.content[data-v-549fca98]{margin-top:.88235rem}.button-cta[data-v-549fca98]{margin-top:1.41176rem}*+.asset[data-v-549fca98]{margin-top:2.23529rem}}.image[data-v-569db166]{margin-bottom:10px}.name[data-v-569db166]{font-size:1.88235rem;line-height:1.125;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-tutorials-overview-header-text,#f0f0f0);word-break:break-word}@media only screen and (max-width:1250px){.name[data-v-569db166]{font-size:1.64706rem;line-height:1.14286;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.name[data-v-569db166]{font-size:1.41176rem;line-height:1.16667;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.content[data-v-569db166]{font-size:1rem;line-height:1.23529;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-tutorials-overview-content-alt);margin-top:10px}.volume-name[data-v-569db166]{padding:50px 60px;text-align:center;background:var(--color-tutorials-overview-fill-secondary,#161616);margin:2px 0}@media only screen and (max-width:735px){.volume-name[data-v-569db166]{padding:40px 20px}}.document-icon[data-v-3a80772b]{margin-left:-3px}.tile[data-v-96abac22]{background:var(--color-tutorials-overview-fill-secondary,#161616);padding:40px 30px;color:var(--color-tutorials-overview-content-alt)}.content[data-v-96abac22] a,a[data-v-96abac22]{color:var(--colors-link,var(--color-tutorials-overview-link))}.icon[data-v-96abac22]{display:block;height:1.47059rem;line-height:1.47059rem;margin-bottom:.58824rem;width:1.47059rem}.icon[data-v-96abac22] svg.svg-icon{width:100%;max-height:100%;fill:var(--color-tutorials-overview-icon)}.icon[data-v-96abac22] svg.svg-icon .svg-icon-stroke{stroke:var(--color-tutorials-overview-content-alt)}.title[data-v-96abac22]{font-size:1.23529rem;line-height:1.19048;font-weight:600;margin-bottom:.8em}.content[data-v-96abac22],.link[data-v-96abac22],.title[data-v-96abac22]{font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.content[data-v-96abac22],.link[data-v-96abac22]{font-size:.82353rem;line-height:1.42857;font-weight:400}.content[data-v-96abac22]{color:var(--color-tutorials-overview-content-alt)}.link[data-v-96abac22]{display:block;margin-top:1.17647rem}.link .link-icon[data-v-96abac22]{margin-left:.2em;width:.6em;height:.6em}[data-v-96abac22] .content ul{list-style-type:none;margin-left:0;font-size:.82353rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}[data-v-96abac22] .content ul li:before{content:"\200B";position:absolute}[data-v-96abac22] .content li+li{margin-top:8px}@media only screen and (max-width:735px){.tile[data-v-96abac22]{padding:1.76471rem 1.17647rem}}.tile-group[data-v-015f9f13]{display:grid;grid-column-gap:2px;grid-row-gap:2px}.tile-group.count-1[data-v-015f9f13]{grid-template-columns:1fr;text-align:center}.tile-group.count-1[data-v-015f9f13] .icon{margin-left:auto;margin-right:auto}.tile-group.count-2[data-v-015f9f13]{grid-template-columns:repeat(2,1fr)}.tile-group.count-3[data-v-015f9f13]{grid-template-columns:repeat(3,1fr)}.tile-group.count-4[data-v-015f9f13]{grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,auto)}.tile-group.count-5[data-v-015f9f13]{grid-template-columns:repeat(6,1fr);grid-template-rows:repeat(2,auto)}.tile-group.count-5 .tile[data-v-015f9f13]{grid-column-end:span 2}.tile-group.count-5 .tile[data-v-015f9f13]:nth-of-type(-n+2){grid-column-end:span 3}.tile-group.count-6[data-v-015f9f13]{grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(3,auto)}@media only screen and (min-width:768px) and (max-width:1250px){.tile-group.tile-group[data-v-015f9f13]{grid-template-columns:1fr;grid-template-rows:auto}}@media only screen and (max-width:735px){.tile-group.count-1[data-v-015f9f13],.tile-group.count-2[data-v-015f9f13],.tile-group.count-3[data-v-015f9f13],.tile-group.count-4[data-v-015f9f13],.tile-group.count-5[data-v-015f9f13],.tile-group.count-6[data-v-015f9f13]{grid-template-columns:1fr;grid-template-rows:auto}}.title[data-v-49ba6f62]{font-size:1.88235rem;line-height:1.125;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:#f0f0f0}@media only screen and (max-width:1250px){.title[data-v-49ba6f62]{font-size:1.64706rem;line-height:1.14286;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.title[data-v-49ba6f62]{font-size:1.41176rem;line-height:1.16667;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.content[data-v-49ba6f62]{font-size:1rem;line-height:1.23529;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:#b0b0b0;margin-top:10px}.topic-list[data-v-da979188]{list-style-type:none;margin:50px 0 0 0;position:relative}.topic-list li[data-v-da979188]:before{content:"\200B";position:absolute}.topic-list[data-v-da979188]:before{content:"";border-left:1px solid var(--color-fill-quaternary);display:block;height:calc(100% - .88235rem);left:.88235rem;position:absolute;top:50%;transform:translateY(-50%);width:0}.topic[data-v-da979188]{font-size:1rem;line-height:1.47059;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);display:flex;align-items:flex-start}@media only screen and (max-width:735px){.topic[data-v-da979188]{font-size:.82353rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.topic+.topic[data-v-da979188]{margin-top:.58824rem}.topic .topic-icon[data-v-da979188]{background-color:var(--color-fill-quaternary);border-radius:50%;flex-shrink:0;height:1.76471rem;width:1.76471rem;margin-right:1.17647rem;position:relative;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:.47059rem;box-sizing:border-box;display:flex;justify-content:center;align-items:center}.topic .topic-icon svg[data-v-da979188]{fill:var(--color-tutorials-overview-icon);max-width:100%;max-height:100%;width:100%}.container[data-v-da979188]{align-items:baseline;display:flex;justify-content:space-between;width:100%;padding-top:.11765rem}.container[data-v-da979188]:hover{text-decoration:none}.container:hover .link[data-v-da979188]{text-decoration:underline}.timer-icon[data-v-da979188]{margin-right:.29412rem;height:.70588rem;width:.70588rem;fill:var(--color-tutorials-overview-icon)}.time[data-v-da979188]{font-size:.82353rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-tutorials-overview-content-alt);align-items:center;display:inline-flex}.link[data-v-da979188]{padding-right:.58824rem;color:var(--colors-link,var(--color-tutorials-overview-link))}@media only screen and (min-width:768px) and (max-width:1250px){.topic-list[data-v-da979188]{margin-top:2.35294rem}}@media only screen and (max-width:735px){.topic-list[data-v-da979188]{margin-top:1.76471rem}.topic[data-v-da979188]{height:auto;align-items:flex-start}.topic.no-time-estimate[data-v-da979188]{align-items:center}.topic.no-time-estimate .topic-icon[data-v-da979188]{align-self:flex-start;top:0}.topic+.topic[data-v-da979188]{margin-top:1.17647rem}.topic .topic-icon[data-v-da979188]{top:.29412rem;margin-right:.76471rem}.container[data-v-da979188]{flex-wrap:wrap;padding-top:0}.link[data-v-da979188],.time[data-v-da979188]{flex-basis:100%}.time[data-v-da979188]{margin-top:.29412rem}}.chapter[data-v-512b66f6]:focus{outline:none!important}.info[data-v-512b66f6]{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between}.name[data-v-512b66f6]{font-size:1.23529rem;line-height:1.19048;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-tutorials-overview-header-text,#f0f0f0)}.name-text[data-v-512b66f6]{word-break:break-word}.eyebrow[data-v-512b66f6]{font-size:1rem;line-height:1.23529;font-weight:400;color:var(--color-tutorials-overview-eyebrow);display:block;font-weight:600;margin-bottom:5px}.content[data-v-512b66f6],.eyebrow[data-v-512b66f6]{font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.content[data-v-512b66f6]{font-size:.82353rem;line-height:1.42857;font-weight:400;color:var(--color-tutorials-overview-content-alt)}.asset[data-v-512b66f6]{flex:0 0 190px}.intro[data-v-512b66f6]{flex:0 1 360px}@media only screen and (min-width:768px) and (max-width:1250px){.asset[data-v-512b66f6]{flex:0 0 130px}.intro[data-v-512b66f6]{flex:0 1 260px}}@media only screen and (max-width:767px){.intro[data-v-512b66f6]{flex:0 1 340px}}@media only screen and (max-width:735px){.info[data-v-512b66f6]{display:block;text-align:center}.asset[data-v-512b66f6]{margin:0 45px}.eyebrow[data-v-512b66f6]{margin-bottom:7px}.intro[data-v-512b66f6]{margin-top:40px}}.tile[data-v-2d1dbe98]{background:var(--color-tutorials-overview-fill-secondary,#161616);margin:2px 0;padding:50px 60px}.asset[data-v-2d1dbe98]{margin-bottom:10px}@media only screen and (min-width:768px) and (max-width:1250px){.tile[data-v-2d1dbe98]{padding:40px 30px}}@media only screen and (max-width:735px){.volume[data-v-2d1dbe98]{border-radius:0}.tile[data-v-2d1dbe98]{padding:40px 20px}}.learning-path[data-v-18755bc2]{background:var(--color-tutorials-overview-fill,#000);padding:4.70588rem 0}.main-container[data-v-18755bc2]{margin-left:auto;margin-right:auto;width:980px;align-items:stretch;display:flex;justify-content:space-between}@media only screen and (max-width:1250px){.main-container[data-v-18755bc2]{width:692px}}@media only screen and (max-width:735px){.main-container[data-v-18755bc2]{width:87.5%}}.ide .main-container[data-v-18755bc2]{justify-content:center}.secondary-content-container[data-v-18755bc2]{flex:0 0 200px;width:200px}.tutorials-navigation[data-v-18755bc2]{position:sticky;top:7.76471rem}.primary-content-container[data-v-18755bc2]{flex:0 1 720px;max-width:100%}.content-sections-container .content-section[data-v-18755bc2]{border-radius:12px;overflow:hidden}.content-sections-container .content-section+.content-section[data-v-18755bc2]{margin-top:1.17647rem}@media only screen and (min-width:768px) and (max-width:1250px){.learning-path[data-v-18755bc2]{padding:2.35294rem 0}.primary-content-container[data-v-18755bc2]{flex-basis:auto;margin-left:1.29412rem}.secondary-content-container[data-v-18755bc2]{flex:0 0 180px;width:180px}}@media only screen and (max-width:767px){.secondary-content-container[data-v-18755bc2]{display:none}}@media only screen and (max-width:735px){.content-sections-container .content-section[data-v-18755bc2]{border-radius:0}.content-sections-container .content-section.volume[data-v-18755bc2]{margin-top:1.17647rem}.learning-path[data-v-18755bc2]{padding:0}.main-container[data-v-18755bc2]{width:100%}}.tutorials-overview[data-v-2d1816cc]{height:100%}.tutorials-overview .radial-gradient[data-v-2d1816cc]{margin-top:-3.05882rem;padding-top:3.05882rem;background:var(--color-tutorials-overview-fill-secondary,var(--color-tutorials-overview-background))}@media only screen and (max-width:735px){.tutorials-overview .radial-gradient[data-v-2d1816cc]{margin-top:-2.82353rem;padding-top:2.82353rem}}@-moz-document url-prefix(){.tutorials-overview .radial-gradient{background:#111!important}} \ No newline at end of file diff --git a/docs/css/tutorials-overview.c249c765.css b/docs/css/tutorials-overview.c249c765.css new file mode 100644 index 0000000..01d1d25 --- /dev/null +++ b/docs/css/tutorials-overview.c249c765.css @@ -0,0 +1,9 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */.tutorials-navigation-link[data-v-e9f9b59c]{color:var(--color-tutorials-overview-navigation-link);transition:color .3s linear}.tutorials-navigation-link[data-v-e9f9b59c]:hover{text-decoration:none;transition:none;color:var(--color-tutorials-overview-navigation-link-hover)}.tutorials-navigation-link.active[data-v-e9f9b59c]{color:var(--color-tutorials-overview-navigation-link-active)}.tutorials-navigation-list[data-v-6f2800d1]{list-style-type:none;margin:0}.tutorials-navigation-list li+li[data-v-6f2800d1]:not(.volume--named){margin-top:24px}.tutorials-navigation-list .volume--named+.volume--named[data-v-6f2800d1]{margin-top:12px}.expand-enter-active,.expand-leave-active{transition:height .3s ease-in-out;overflow:hidden}.expand-enter,.expand-leave-to{height:0}.toggle[data-v-489416f8]{color:#f0f0f0;line-height:21px;display:flex;align-items:center;width:100%;font-weight:600;padding:6px 6px 6px 0;border-bottom:1px solid #2a2a2a;text-decoration:none;box-sizing:border-box}@media only screen and (max-width:767px){.toggle[data-v-489416f8]{padding-right:6px;border-bottom-color:hsla(0,0%,100%,.1)}}.toggle .text[data-v-489416f8]{word-break:break-word}.toggle[data-v-489416f8]:hover{text-decoration:none}.toggle .toggle-icon[data-v-489416f8]{display:inline-block;transition:transform .2s ease-in;height:.4em;width:.4em;margin-left:auto;margin-right:.2em}.collapsed .toggle .toggle-icon[data-v-489416f8]{transform:rotate(45deg)}.collapsed .toggle[data-v-489416f8],.collapsed .toggle[data-v-489416f8]:hover{color:#b0b0b0}.tutorials-navigation-menu-content[data-v-489416f8]{opacity:1;transition:height .2s ease-in,opacity .2s ease-in}.collapsed .tutorials-navigation-menu-content[data-v-489416f8]{height:0;opacity:0}.tutorials-navigation-menu-content .tutorials-navigation-list[data-v-489416f8]{padding:24px 0 12px 0}.tutorials-navigation[data-v-79093ed6]{font-size:1rem;line-height:1.23529;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.nav-title-content[data-v-854b4dd6]{max-width:100%}.title[data-v-854b4dd6]{color:var(--color-nav-root-title,currentColor);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:inline-block;vertical-align:top;max-width:296px}@media only screen and (max-width:1023px){.title[data-v-854b4dd6]{max-width:205px}}@media only screen and (max-width:767px){.title[data-v-854b4dd6]{flex-basis:fill;display:initial;vertical-align:initial;max-width:none}}.subhead[data-v-854b4dd6]{color:var(--color-nav-root-subhead)}.theme-dark .subhead[data-v-854b4dd6]{color:var(--color-nav-dark-root-subhead)}.nav[data-v-b806ee20] .nav-menu{padding-top:0}.nav[data-v-b806ee20] .nav-menu .nav-menu-items{margin-left:auto}@media only screen and (min-width:768px){.nav[data-v-b806ee20] .nav-menu .nav-menu-items .in-page-navigation{display:none}}@media only screen and (min-width:320px) and (max-width:735px){.nav[data-v-b806ee20] .nav-menu .nav-menu-items{padding:18px 0 40px}}.hero[data-v-383dab71]{margin-left:auto;margin-right:auto;width:980px;padding-bottom:4.70588rem;padding-top:4.70588rem}@media only screen and (max-width:1250px){.hero[data-v-383dab71]{width:692px}}@media only screen and (max-width:735px){.hero[data-v-383dab71]{width:87.5%}}@media only screen and (max-width:320px){.hero[data-v-383dab71]{width:215px}}.copy-container[data-v-383dab71]{margin:0 auto;text-align:center;width:720px}.title[data-v-383dab71]{font-size:2.82353rem;line-height:1.08333;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-tutorials-overview-content)}@media only screen and (max-width:1250px){.title[data-v-383dab71]{font-size:2.35294rem;line-height:1.1;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.title[data-v-383dab71]{font-size:1.88235rem;line-height:1.125;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.content[data-v-383dab71]{font-size:1.23529rem;line-height:1.38095;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-tutorials-overview-content)}@media only screen and (max-width:735px){.content[data-v-383dab71]{font-size:1.11765rem;line-height:1.42105;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.meta[data-v-383dab71]{color:var(--color-tutorials-overview-content-alt);align-items:center;display:flex;justify-content:center}.meta-content[data-v-383dab71]{font-size:.82353rem;line-height:1.42857;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.meta .timer-icon[data-v-383dab71]{margin-right:.35294rem;height:16px;width:16px;fill:var(--color-tutorials-overview-icon)}@media only screen and (max-width:735px){.meta .timer-icon[data-v-383dab71]{margin-right:.29412rem;height:.82353rem;width:.82353rem}}.meta .time[data-v-383dab71]{font-size:1.11765rem;line-height:1.21053;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}@media only screen and (max-width:735px){.meta .time[data-v-383dab71]{font-size:1rem;line-height:1.11765;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.title+.content[data-v-383dab71]{margin-top:1.47059rem}.content+.meta[data-v-383dab71]{margin-top:1.17647rem}.button-cta[data-v-383dab71]{margin-top:1.76471rem}*+.asset[data-v-383dab71]{margin-top:4.11765rem}@media only screen and (max-width:1250px){.copy-container[data-v-383dab71]{width:636px}}@media only screen and (max-width:735px){.hero[data-v-383dab71]{padding-bottom:1.76471rem;padding-top:2.35294rem}.copy-container[data-v-383dab71]{width:100%}.title+.content[data-v-383dab71]{margin-top:.88235rem}.button-cta[data-v-383dab71]{margin-top:1.41176rem}*+.asset[data-v-383dab71]{margin-top:2.23529rem}}.image[data-v-569db166]{margin-bottom:10px}.name[data-v-569db166]{font-size:1.88235rem;line-height:1.125;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-tutorials-overview-header-text,#f0f0f0);word-break:break-word}@media only screen and (max-width:1250px){.name[data-v-569db166]{font-size:1.64706rem;line-height:1.14286;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.name[data-v-569db166]{font-size:1.41176rem;line-height:1.16667;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.content[data-v-569db166]{font-size:1rem;line-height:1.23529;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-tutorials-overview-content-alt);margin-top:10px}.volume-name[data-v-569db166]{padding:50px 60px;text-align:center;background:var(--color-tutorials-overview-fill-secondary,#161616);margin:2px 0}@media only screen and (max-width:735px){.volume-name[data-v-569db166]{padding:40px 20px}}.document-icon[data-v-3a80772b]{margin-left:-3px}.tile[data-v-96abac22]{background:var(--color-tutorials-overview-fill-secondary,#161616);padding:40px 30px;color:var(--color-tutorials-overview-content-alt)}.content[data-v-96abac22] a,a[data-v-96abac22]{color:var(--colors-link,var(--color-tutorials-overview-link))}.icon[data-v-96abac22]{display:block;height:1.47059rem;line-height:1.47059rem;margin-bottom:.58824rem;width:1.47059rem}.icon[data-v-96abac22] svg.svg-icon{width:100%;max-height:100%;fill:var(--color-tutorials-overview-icon)}.icon[data-v-96abac22] svg.svg-icon .svg-icon-stroke{stroke:var(--color-tutorials-overview-content-alt)}.title[data-v-96abac22]{font-size:1.23529rem;line-height:1.19048;font-weight:600;margin-bottom:.8em}.content[data-v-96abac22],.link[data-v-96abac22],.title[data-v-96abac22]{font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.content[data-v-96abac22],.link[data-v-96abac22]{font-size:.82353rem;line-height:1.42857;font-weight:400}.content[data-v-96abac22]{color:var(--color-tutorials-overview-content-alt)}.link[data-v-96abac22]{display:block;margin-top:1.17647rem}.link .link-icon[data-v-96abac22]{margin-left:.2em;width:.6em;height:.6em}[data-v-96abac22] .content ul{list-style-type:none;margin-left:0;font-size:.82353rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}[data-v-96abac22] .content ul li:before{content:"\200B";position:absolute}[data-v-96abac22] .content li+li{margin-top:8px}@media only screen and (max-width:735px){.tile[data-v-96abac22]{padding:1.76471rem 1.17647rem}}.tile-group[data-v-015f9f13]{display:grid;grid-column-gap:2px;grid-row-gap:2px}.tile-group.count-1[data-v-015f9f13]{grid-template-columns:1fr;text-align:center}.tile-group.count-1[data-v-015f9f13] .icon{margin-left:auto;margin-right:auto}.tile-group.count-2[data-v-015f9f13]{grid-template-columns:repeat(2,1fr)}.tile-group.count-3[data-v-015f9f13]{grid-template-columns:repeat(3,1fr)}.tile-group.count-4[data-v-015f9f13]{grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,auto)}.tile-group.count-5[data-v-015f9f13]{grid-template-columns:repeat(6,1fr);grid-template-rows:repeat(2,auto)}.tile-group.count-5 .tile[data-v-015f9f13]{grid-column-end:span 2}.tile-group.count-5 .tile[data-v-015f9f13]:nth-of-type(-n+2){grid-column-end:span 3}.tile-group.count-6[data-v-015f9f13]{grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(3,auto)}@media only screen and (min-width:768px) and (max-width:1250px){.tile-group.tile-group[data-v-015f9f13]{grid-template-columns:1fr;grid-template-rows:auto}}@media only screen and (max-width:735px){.tile-group.count-1[data-v-015f9f13],.tile-group.count-2[data-v-015f9f13],.tile-group.count-3[data-v-015f9f13],.tile-group.count-4[data-v-015f9f13],.tile-group.count-5[data-v-015f9f13],.tile-group.count-6[data-v-015f9f13]{grid-template-columns:1fr;grid-template-rows:auto}}.title[data-v-7f8022c1]{font-size:1.88235rem;line-height:1.125;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:#f0f0f0}@media only screen and (max-width:1250px){.title[data-v-7f8022c1]{font-size:1.64706rem;line-height:1.14286;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}@media only screen and (max-width:735px){.title[data-v-7f8022c1]{font-size:1.41176rem;line-height:1.16667;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.content[data-v-7f8022c1]{font-size:1rem;line-height:1.23529;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:#b0b0b0;margin-top:10px}.topic-list[data-v-45ec37c5]{list-style-type:none;margin:50px 0 0 0;position:relative}.topic-list li[data-v-45ec37c5]:before{content:"\200B";position:absolute}.topic-list[data-v-45ec37c5]:before{content:"";border-left:1px solid var(--color-fill-quaternary);display:block;height:calc(100% - .88235rem);left:.88235rem;position:absolute;top:50%;transform:translateY(-50%);width:0}.topic[data-v-45ec37c5]{font-size:1rem;line-height:1.47059;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);display:flex;align-items:flex-start}@media only screen and (max-width:735px){.topic[data-v-45ec37c5]{font-size:.82353rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}}.topic+.topic[data-v-45ec37c5]{margin-top:.58824rem}.topic .topic-icon[data-v-45ec37c5]{background-color:var(--color-fill-quaternary);border-radius:50%;flex-shrink:0;height:1.76471rem;width:1.76471rem;margin-right:1.17647rem;position:relative;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:.47059rem;box-sizing:border-box;display:flex;justify-content:center;align-items:center}.topic .topic-icon svg[data-v-45ec37c5]{fill:var(--color-tutorials-overview-icon);max-width:100%;max-height:100%;width:100%}.container[data-v-45ec37c5]{align-items:baseline;display:flex;justify-content:space-between;width:100%;padding-top:.11765rem}.container[data-v-45ec37c5]:hover{text-decoration:none}.container:hover .link[data-v-45ec37c5]{text-decoration:underline}.timer-icon[data-v-45ec37c5]{margin-right:.29412rem;height:.70588rem;width:.70588rem;fill:var(--color-tutorials-overview-icon)}.time[data-v-45ec37c5]{font-size:.82353rem;line-height:1.28571;font-weight:400;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-tutorials-overview-content-alt);align-items:center;display:inline-flex}.link[data-v-45ec37c5]{padding-right:.58824rem;color:var(--colors-link,var(--color-tutorials-overview-link))}@media only screen and (min-width:768px) and (max-width:1250px){.topic-list[data-v-45ec37c5]{margin-top:2.35294rem}}@media only screen and (max-width:735px){.topic-list[data-v-45ec37c5]{margin-top:1.76471rem}.topic[data-v-45ec37c5]{height:auto;align-items:flex-start}.topic.no-time-estimate[data-v-45ec37c5]{align-items:center}.topic.no-time-estimate .topic-icon[data-v-45ec37c5]{align-self:flex-start;top:0}.topic+.topic[data-v-45ec37c5]{margin-top:1.17647rem}.topic .topic-icon[data-v-45ec37c5]{top:.29412rem;margin-right:.76471rem}.container[data-v-45ec37c5]{flex-wrap:wrap;padding-top:0}.link[data-v-45ec37c5],.time[data-v-45ec37c5]{flex-basis:100%}.time[data-v-45ec37c5]{margin-top:.29412rem}}.chapter[data-v-7468bc5e]:focus{outline:none!important}.info[data-v-7468bc5e]{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between}.name[data-v-7468bc5e]{font-size:1.23529rem;line-height:1.19048;font-weight:600;font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif);color:var(--color-tutorials-overview-header-text,#f0f0f0)}.name-text[data-v-7468bc5e]{word-break:break-word}.eyebrow[data-v-7468bc5e]{font-size:1rem;line-height:1.23529;font-weight:400;color:var(--color-tutorials-overview-eyebrow);display:block;font-weight:600;margin-bottom:5px}.content[data-v-7468bc5e],.eyebrow[data-v-7468bc5e]{font-family:var(--typography-html-font,"Helvetica Neue","Helvetica","Arial",sans-serif)}.content[data-v-7468bc5e]{font-size:.82353rem;line-height:1.42857;font-weight:400;color:var(--color-tutorials-overview-content-alt)}.asset[data-v-7468bc5e]{flex:0 0 190px}.intro[data-v-7468bc5e]{flex:0 1 360px}@media only screen and (min-width:768px) and (max-width:1250px){.asset[data-v-7468bc5e]{flex:0 0 130px}.intro[data-v-7468bc5e]{flex:0 1 260px}}@media only screen and (max-width:767px){.intro[data-v-7468bc5e]{flex:0 1 340px}}@media only screen and (max-width:735px){.info[data-v-7468bc5e]{display:block;text-align:center}.asset[data-v-7468bc5e]{margin:0 45px}.eyebrow[data-v-7468bc5e]{margin-bottom:7px}.intro[data-v-7468bc5e]{margin-top:40px}}.tile[data-v-540dbf10]{background:var(--color-tutorials-overview-fill-secondary,#161616);margin:2px 0;padding:50px 60px}.asset[data-v-540dbf10]{margin-bottom:10px}@media only screen and (min-width:768px) and (max-width:1250px){.tile[data-v-540dbf10]{padding:40px 30px}}@media only screen and (max-width:735px){.volume[data-v-540dbf10]{border-radius:0}.tile[data-v-540dbf10]{padding:40px 20px}}.learning-path[data-v-69a72bbc]{background:var(--color-tutorials-overview-fill,#000);padding:4.70588rem 0}.main-container[data-v-69a72bbc]{margin-left:auto;margin-right:auto;width:980px;align-items:stretch;display:flex;justify-content:space-between}@media only screen and (max-width:1250px){.main-container[data-v-69a72bbc]{width:692px}}@media only screen and (max-width:735px){.main-container[data-v-69a72bbc]{width:87.5%}}@media only screen and (max-width:320px){.main-container[data-v-69a72bbc]{width:215px}}.ide .main-container[data-v-69a72bbc]{justify-content:center}.secondary-content-container[data-v-69a72bbc]{flex:0 0 200px;width:200px}.tutorials-navigation[data-v-69a72bbc]{position:sticky;top:7.76471rem}.primary-content-container[data-v-69a72bbc]{flex:0 1 720px;max-width:100%}.content-sections-container .content-section[data-v-69a72bbc]{border-radius:12px;overflow:hidden}.content-sections-container .content-section+.content-section[data-v-69a72bbc]{margin-top:1.17647rem}@media only screen and (min-width:768px) and (max-width:1250px){.learning-path[data-v-69a72bbc]{padding:2.35294rem 0}.primary-content-container[data-v-69a72bbc]{flex-basis:auto;margin-left:1.29412rem}.secondary-content-container[data-v-69a72bbc]{flex:0 0 180px;width:180px}}@media only screen and (max-width:767px){.secondary-content-container[data-v-69a72bbc]{display:none}}@media only screen and (max-width:735px){.content-sections-container .content-section[data-v-69a72bbc]{border-radius:0}.content-sections-container .content-section.volume[data-v-69a72bbc]{margin-top:1.17647rem}.learning-path[data-v-69a72bbc]{padding:0}.main-container[data-v-69a72bbc]{width:100%}}.tutorials-overview[data-v-29ed9b58]{height:100%}.tutorials-overview .radial-gradient[data-v-29ed9b58]{margin-top:-3.05882rem;padding-top:3.05882rem;background:var(--color-tutorials-overview-fill-secondary,var(--color-tutorials-overview-background))}@media only screen and (max-width:735px){.tutorials-overview .radial-gradient[data-v-29ed9b58]{margin-top:-2.82353rem;padding-top:2.82353rem}}@-moz-document url-prefix(){.tutorials-overview .radial-gradient{background:#111!important}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink.json b/docs/data/documentation/deeplink.json index bf7daea..cd5b039 100644 --- a/docs/data/documentation/deeplink.json +++ b/docs/data/documentation/deeplink.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"content","content":[{"anchor":"Overview","level":2,"type":"heading","text":"Overview"},{"type":"paragraph","inlineContent":[{"type":"text","text":"To support deeplinking in your app you just need to follow these steps:"}]},{"type":"unorderedList","items":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Define the data you want to parse as simple "},{"type":"codeVoice","code":"struct"},{"type":"text","text":"s."}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Define the deeplink templates that you want to support using the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink"},{"type":"text","text":" object."}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Register behaviors for each template using the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"},{"type":"text","text":" "},{"type":"codeVoice","code":"register"},{"type":"text","text":" methods."}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"You’re ready to parse URLs now 🙌! Follow the tutorial for more details and examples."}]}]}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"When parsing a URL, the parameter is associated with the KeyPath that occupies the same location in the URL: if the match is successful, the value of the parameter will be assigned to an instance of the Deeplink’s "},{"type":"codeVoice","code":"Value"},{"type":"text","text":" type, to the corresponding keypath."}]},{"type":"paragraph","inlineContent":[{"type":"image","identifier":"ExampleParsing"}]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/deeplink"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"kind":"symbol","metadata":{"roleHeading":"Framework","externalID":"Deeplink","title":"Deeplink","symbolKind":"module","role":"collection","modules":[{"name":"Deeplink"}]},"hierarchy":{"paths":[[]]},"topicSections":[{"title":"Essentials","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/Getting-started-with-Deeplinking","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"]},{"title":"Tests","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink"]},{"title":"Utility","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/DefaultInitializable"]},{"title":"Implementation details","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder"]},{"title":"Tutorial","identifiers":["doc:\/\/Deeplink\/tutorials\/Table-of-Contents"]}],"references":{"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder":{"role":"symbol","title":"DeeplinkBuilder","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinkBuilder"}],"abstract":[{"type":"text","text":"A "},{"type":"codeVoice","code":"@resultBuilder"},{"type":"text","text":" that allows you to register deeplink templates using a DSL-like syntax."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinkBuilder"}],"url":"\/documentation\/deeplink\/deeplinkbuilder"},"doc://Deeplink/documentation/Deeplink/SampleDeeplink":{"role":"symbol","title":"SampleDeeplink","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"SampleDeeplink"}],"abstract":[{"type":"text","text":"You can use a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink"},{"type":"text","text":" to create unit tests that verify that the order of registrations of deeplinks in your "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"},{"type":"text","text":" is sound, and no template stops another from being detected."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SampleDeeplink"}],"url":"\/documentation\/deeplink\/sampledeeplink"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"role":"symbol","title":"DeeplinksCenter","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinksCenter"}],"abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinksCenter"}],"url":"\/documentation\/deeplink\/deeplinkscenter"},"doc://Deeplink/documentation/Deeplink/AnyDeeplink":{"role":"symbol","title":"AnyDeeplink","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"AnyDeeplink"}],"abstract":[{"type":"text","text":"Type-erased version of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"},{"type":"text","text":". Used to keep a list of Deeplinks in the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"},{"type":"text","text":" where every element of the list might have different type parameters."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"AnyDeeplink"}],"url":"\/documentation\/deeplink\/anydeeplink"},"doc://Deeplink/documentation/Deeplink/DefaultInitializable":{"role":"symbol","title":"DefaultInitializable","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"DefaultInitializable"}],"abstract":[{"type":"text","text":"A protocol which only requirement is an empty initializer."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DefaultInitializable","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DefaultInitializable"}],"url":"\/documentation\/deeplink\/defaultinitializable"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"role":"symbol","title":"Deeplink","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"abstract":[{"type":"text","text":"An "},{"type":"codeVoice","code":"enum"},{"type":"text","text":" that represents a deeplink template."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Deeplink"}],"url":"\/documentation\/deeplink\/deeplink"},"doc://Deeplink/tutorials/Table-of-Contents":{"role":"overview","title":"🎣 All about Deeplinks","abstract":[{"type":"text","text":"These tutorials will explain how to add deeplinks to your app, and how to manage more complex situations like overlapping deeplink templates or choosing at runtime whether to match a URL or not."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Table-of-Contents","kind":"overview","type":"topic","url":"\/tutorials\/table-of-contents"},"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"},"doc://Deeplink/documentation/Deeplink/Getting-started-with-Deeplinking":{"role":"article","title":"Getting started with Deeplinking","abstract":[{"type":"text","text":"From 0 to "},{"type":"codeVoice","code":"\/hero"},{"type":"text","text":"."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Getting-started-with-Deeplinking","kind":"article","type":"topic","url":"\/documentation\/deeplink\/getting-started-with-deeplinking"},"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation":{"role":"symbol","title":"DeeplinkInterpolation","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinkInterpolation"}],"abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinkInterpolation"}],"url":"\/documentation\/deeplink\/deeplinkinterpolation"},"ExampleParsing":{"alt":"How data goes from inside the URL to inside your model object","type":"image","identifier":"ExampleParsing","variants":[{"url":"\/images\/ExampleParsing.png","traits":["1x","light"]},{"url":"\/images\/ExampleParsing@2x.png","traits":["2x","light"]},{"url":"\/images\/ExampleParsing~dark.png","traits":["1x","dark"]},{"url":"\/images\/ExampleParsing~dark@2x.png","traits":["2x","dark"]}]}}} \ No newline at end of file +{"kind":"symbol","topicSections":[{"title":"Essentials","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/Getting-started-with-Deeplinking","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"]},{"title":"Tests","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink"]},{"identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/DefaultInitializable"],"title":"Utility"},{"title":"Implementation details","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder"]},{"title":"Tutorial","identifiers":["doc:\/\/Deeplink\/tutorials\/Table-of-Contents"]}],"hierarchy":{"paths":[[]]},"schemaVersion":{"patch":0,"minor":3,"major":0},"variants":[{"paths":["\/documentation\/deeplink"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"metadata":{"externalID":"Deeplink","modules":[{"name":"Deeplink"}],"roleHeading":"Framework","symbolKind":"module","title":"Deeplink","role":"collection"},"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink","interfaceLanguage":"swift"},"primaryContentSections":[{"content":[{"anchor":"Overview","level":2,"type":"heading","text":"Overview"},{"type":"paragraph","inlineContent":[{"type":"text","text":"To support deeplinking in your app you just need to follow these steps:"}]},{"items":[{"content":[{"inlineContent":[{"text":"Define the data you want to parse as simple ","type":"text"},{"code":"struct","type":"codeVoice"},{"text":"s.","type":"text"}],"type":"paragraph"}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Define the deeplink templates that you want to support using the "},{"isActive":true,"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"},{"text":" object.","type":"text"}]}]},{"content":[{"inlineContent":[{"type":"text","text":"Register behaviors for each template using the "},{"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","isActive":true},{"type":"text","text":" "},{"code":"register","type":"codeVoice"},{"type":"text","text":" methods."}],"type":"paragraph"}]},{"content":[{"inlineContent":[{"type":"text","text":"You’re ready to parse URLs now 🙌! Follow the tutorial for more details and examples."}],"type":"paragraph"}]}],"type":"unorderedList"},{"type":"paragraph","inlineContent":[{"type":"text","text":"When parsing a URL, the parameter is associated with the KeyPath that occupies the same location in the URL: if the match is successful, the value of the parameter will be assigned to an instance of the Deeplink’s "},{"type":"codeVoice","code":"Value"},{"type":"text","text":" type, to the corresponding keypath."}]},{"type":"paragraph","inlineContent":[{"type":"image","identifier":"ExampleParsing"}]}],"kind":"content"}],"references":{"doc://Deeplink/documentation/Deeplink/DefaultInitializable":{"type":"topic","navigatorTitle":[{"text":"DefaultInitializable","kind":"identifier"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DefaultInitializable","role":"symbol","abstract":[{"text":"A protocol which only requirement is an empty initializer.","type":"text"}],"kind":"symbol","title":"DefaultInitializable","url":"\/documentation\/deeplink\/defaultinitializable","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"DefaultInitializable"}]},"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation":{"fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinkInterpolation"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation","navigatorTitle":[{"text":"DeeplinkInterpolation","kind":"identifier"}],"role":"symbol","title":"DeeplinkInterpolation","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkinterpolation","type":"topic","abstract":[]},"doc://Deeplink/documentation/Deeplink/Getting-started-with-Deeplinking":{"url":"\/documentation\/deeplink\/getting-started-with-deeplinking","kind":"article","role":"article","type":"topic","abstract":[{"type":"text","text":"From 0 to "},{"type":"codeVoice","code":"\/hero"},{"type":"text","text":"."}],"title":"Getting started with Deeplinking","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Getting-started-with-Deeplinking"},"doc://Deeplink/documentation/Deeplink/AnyDeeplink":{"url":"\/documentation\/deeplink\/anydeeplink","role":"symbol","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink","navigatorTitle":[{"text":"AnyDeeplink","kind":"identifier"}],"kind":"symbol","type":"topic","abstract":[{"type":"text","text":"Type-erased version of "},{"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","isActive":true},{"type":"text","text":". Used to keep a list of Deeplinks in the "},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","type":"reference","isActive":true},{"text":" where every element of the list might have different type parameters.","type":"text"}],"fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"AnyDeeplink","kind":"identifier"}],"title":"AnyDeeplink"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"url":"\/documentation\/deeplink\/deeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","navigatorTitle":[{"text":"Deeplink","kind":"identifier"}],"abstract":[{"type":"text","text":"An "},{"code":"enum","type":"codeVoice"},{"text":" that represents a deeplink template.","type":"text"}],"title":"Deeplink","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"type":"topic"},"doc://Deeplink/tutorials/Table-of-Contents":{"identifier":"doc:\/\/Deeplink\/tutorials\/Table-of-Contents","abstract":[{"text":"These tutorials will explain how to add deeplinks to your app, and how to manage more complex situations like overlapping deeplink templates or choosing at runtime whether to match a URL or not.","type":"text"}],"title":"🎣 All about Deeplinks","role":"overview","kind":"overview","url":"\/tutorials\/table-of-contents","type":"topic"},"ExampleParsing":{"identifier":"ExampleParsing","type":"image","alt":"How data goes from inside the URL to inside your model object","variants":[{"traits":["1x","light"],"url":"\/images\/ExampleParsing.png"},{"traits":["2x","light"],"url":"\/images\/ExampleParsing@2x.png"},{"traits":["1x","dark"],"url":"\/images\/ExampleParsing~dark.png"},{"url":"\/images\/ExampleParsing~dark@2x.png","traits":["2x","dark"]}]},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinksCenter"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","navigatorTitle":[{"text":"DeeplinksCenter","kind":"identifier"}],"role":"symbol","title":"DeeplinksCenter","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkscenter","type":"topic","abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}]},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","url":"\/documentation\/deeplink\/deeplinkbuilder","abstract":[{"text":"A ","type":"text"},{"code":"@resultBuilder","type":"codeVoice"},{"type":"text","text":" that allows you to register deeplink templates using a DSL-like syntax."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinkBuilder"}],"type":"topic","navigatorTitle":[{"text":"DeeplinkBuilder","kind":"identifier"}],"title":"DeeplinkBuilder","kind":"symbol","role":"symbol"},"doc://Deeplink/documentation/Deeplink/SampleDeeplink":{"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"SampleDeeplink","kind":"identifier"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink","abstract":[{"text":"You can use a ","type":"text"},{"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink","isActive":true},{"type":"text","text":" to create unit tests that verify that the order of registrations of deeplinks in your "},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","type":"reference","isActive":true},{"text":" is sound, and no template stops another from being detected.","type":"text"}],"title":"SampleDeeplink","type":"topic","kind":"symbol","url":"\/documentation\/deeplink\/sampledeeplink","navigatorTitle":[{"kind":"identifier","text":"SampleDeeplink"}],"role":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/anydeeplink.json b/docs/data/documentation/deeplink/anydeeplink.json index 58a62f2..acba157 100644 --- a/docs/data/documentation/deeplink/anydeeplink.json +++ b/docs/data/documentation/deeplink/anydeeplink.json @@ -1 +1 @@ -{"seeAlsoSections":[{"title":"Implementation details","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder"],"generated":true}],"schemaVersion":{"major":0,"minor":3,"patch":0},"metadata":{"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"AnyDeeplink"}],"title":"AnyDeeplink","roleHeading":"Structure","role":"symbol","symbolKind":"struct","externalID":"s:8Deeplink03AnyA0V","modules":[{"name":"Deeplink"}],"navigatorTitle":[{"kind":"identifier","text":"AnyDeeplink"}]},"abstract":[{"type":"text","text":"Type-erased version of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"},{"type":"text","text":". Used to keep a list of Deeplinks in the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"},{"type":"text","text":" where every element of the list might have different type parameters."}],"sections":[],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink","interfaceLanguage":"swift"},"relationshipsSections":[{"identifiers":["doc:\/\/Deeplink\/s23CustomStringConvertibleP"],"kind":"relationships","title":"Conforms To","type":"conformsTo"}],"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink"]]},"topicSections":[{"title":"Instance Properties","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink\/description"]}],"variants":[{"paths":["\/documentation\/deeplink\/anydeeplink"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"AnyDeeplink"}],"languages":["swift"],"platforms":["macOS"]}]}],"references":{"doc://Deeplink/documentation/Deeplink/AnyDeeplink/description":{"role":"symbol","title":"description","fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"description"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink\/description","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/anydeeplink\/description"},"doc://Deeplink/documentation/Deeplink/AnyDeeplink":{"role":"symbol","title":"AnyDeeplink","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"AnyDeeplink"}],"abstract":[{"type":"text","text":"Type-erased version of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"},{"type":"text","text":". Used to keep a list of Deeplinks in the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"},{"type":"text","text":" where every element of the list might have different type parameters."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"AnyDeeplink"}],"url":"\/documentation\/deeplink\/anydeeplink"},"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"},"doc://Deeplink/s23CustomStringConvertibleP":{"type":"unresolvable","title":"Swift.CustomStringConvertible","identifier":"doc:\/\/Deeplink\/s23CustomStringConvertibleP"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"role":"symbol","title":"Deeplink","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"abstract":[{"type":"text","text":"An "},{"type":"codeVoice","code":"enum"},{"type":"text","text":" that represents a deeplink template."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Deeplink"}],"url":"\/documentation\/deeplink\/deeplink"},"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation":{"role":"symbol","title":"DeeplinkInterpolation","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinkInterpolation"}],"abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinkInterpolation"}],"url":"\/documentation\/deeplink\/deeplinkinterpolation"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder":{"role":"symbol","title":"DeeplinkBuilder","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinkBuilder"}],"abstract":[{"type":"text","text":"A "},{"type":"codeVoice","code":"@resultBuilder"},{"type":"text","text":" that allows you to register deeplink templates using a DSL-like syntax."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinkBuilder"}],"url":"\/documentation\/deeplink\/deeplinkbuilder"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"role":"symbol","title":"DeeplinksCenter","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinksCenter"}],"abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinksCenter"}],"url":"\/documentation\/deeplink\/deeplinkscenter"}}} \ No newline at end of file +{"schemaVersion":{"major":0,"patch":0,"minor":3},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink"},"sections":[],"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink"]]},"kind":"symbol","relationshipsSections":[{"kind":"relationships","type":"conformsTo","title":"Conforms To","identifiers":["doc:\/\/Deeplink\/s23CustomStringConvertibleP"]}],"metadata":{"symbolKind":"struct","navigatorTitle":[{"text":"AnyDeeplink","kind":"identifier"}],"externalID":"s:8Deeplink03AnyA0V","modules":[{"name":"Deeplink"}],"fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"AnyDeeplink"}],"title":"AnyDeeplink","role":"symbol","roleHeading":"Structure"},"seeAlsoSections":[{"title":"Implementation details","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder"],"generated":true}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"AnyDeeplink"}],"languages":["swift"]}],"kind":"declarations"}],"abstract":[{"text":"Type-erased version of ","type":"text"},{"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","isActive":true},{"text":". Used to keep a list of Deeplinks in the ","type":"text"},{"isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","type":"reference"},{"type":"text","text":" where every element of the list might have different type parameters."}],"topicSections":[{"title":"Instance Properties","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink\/description"]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/deeplink\/anydeeplink"]}],"references":{"doc://Deeplink/documentation/Deeplink/AnyDeeplink/description":{"type":"topic","abstract":[],"url":"\/documentation\/deeplink\/anydeeplink\/description","kind":"symbol","role":"symbol","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"description","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink\/description","title":"description"},"doc://Deeplink/documentation/Deeplink/AnyDeeplink":{"url":"\/documentation\/deeplink\/anydeeplink","role":"symbol","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink","navigatorTitle":[{"text":"AnyDeeplink","kind":"identifier"}],"kind":"symbol","type":"topic","abstract":[{"type":"text","text":"Type-erased version of "},{"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","isActive":true},{"type":"text","text":". Used to keep a list of Deeplinks in the "},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","type":"reference","isActive":true},{"text":" where every element of the list might have different type parameters.","type":"text"}],"fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"AnyDeeplink","kind":"identifier"}],"title":"AnyDeeplink"},"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation":{"fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinkInterpolation"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation","navigatorTitle":[{"text":"DeeplinkInterpolation","kind":"identifier"}],"role":"symbol","title":"DeeplinkInterpolation","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkinterpolation","type":"topic","abstract":[]},"doc://Deeplink/s23CustomStringConvertibleP":{"identifier":"doc:\/\/Deeplink\/s23CustomStringConvertibleP","type":"unresolvable","title":"Swift.CustomStringConvertible"},"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","url":"\/documentation\/deeplink\/deeplinkbuilder","abstract":[{"text":"A ","type":"text"},{"code":"@resultBuilder","type":"codeVoice"},{"type":"text","text":" that allows you to register deeplink templates using a DSL-like syntax."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinkBuilder"}],"type":"topic","navigatorTitle":[{"text":"DeeplinkBuilder","kind":"identifier"}],"title":"DeeplinkBuilder","kind":"symbol","role":"symbol"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"url":"\/documentation\/deeplink\/deeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","navigatorTitle":[{"text":"Deeplink","kind":"identifier"}],"abstract":[{"type":"text","text":"An "},{"code":"enum","type":"codeVoice"},{"text":" that represents a deeplink template.","type":"text"}],"title":"Deeplink","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"type":"topic"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinksCenter"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","navigatorTitle":[{"text":"DeeplinksCenter","kind":"identifier"}],"role":"symbol","title":"DeeplinksCenter","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkscenter","type":"topic","abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}]}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/anydeeplink/description.json b/docs/data/documentation/deeplink/anydeeplink/description.json index e9768a8..aba6e4f 100644 --- a/docs/data/documentation/deeplink/anydeeplink/description.json +++ b/docs/data/documentation/deeplink/anydeeplink/description.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"description"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/deeplink\/anydeeplink\/description"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink\/description","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"CustomStringConvertible.description"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"description"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"title":"description","roleHeading":"Instance Property","role":"symbol","symbolKind":"property","externalID":"s:8Deeplink03AnyA0V11descriptionSSvp","modules":[{"name":"Deeplink"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink"]]},"references":{"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"role":"symbol","title":"Deeplink","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"abstract":[{"type":"text","text":"An "},{"type":"codeVoice","code":"enum"},{"type":"text","text":" that represents a deeplink template."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Deeplink"}],"url":"\/documentation\/deeplink\/deeplink"},"doc://Deeplink/documentation/Deeplink/AnyDeeplink":{"role":"symbol","title":"AnyDeeplink","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"AnyDeeplink"}],"abstract":[{"type":"text","text":"Type-erased version of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"},{"type":"text","text":". Used to keep a list of Deeplinks in the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"},{"type":"text","text":" where every element of the list might have different type parameters."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"AnyDeeplink"}],"url":"\/documentation\/deeplink\/anydeeplink"},"doc://Deeplink/documentation/Deeplink/AnyDeeplink/description":{"role":"symbol","title":"description","fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"description"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink\/description","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/anydeeplink\/description"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"role":"symbol","title":"DeeplinksCenter","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinksCenter"}],"abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinksCenter"}],"url":"\/documentation\/deeplink\/deeplinkscenter"}}} \ No newline at end of file +{"sections":[],"kind":"symbol","variants":[{"paths":["\/documentation\/deeplink\/anydeeplink\/description"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"description"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"}],"languages":["swift"]}],"kind":"declarations"}],"metadata":{"modules":[{"name":"Deeplink"}],"role":"symbol","roleHeading":"Instance Property","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"description"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"}],"externalID":"s:8Deeplink03AnyA0V11descriptionSSvp","title":"description","symbolKind":"property"},"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink\/description","interfaceLanguage":"swift"},"schemaVersion":{"minor":3,"patch":0,"major":0},"abstract":[{"type":"text","text":"Inherited from "},{"code":"CustomStringConvertible.description","type":"codeVoice"},{"type":"text","text":"."}],"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink"]]},"references":{"doc://Deeplink/documentation/Deeplink/AnyDeeplink":{"url":"\/documentation\/deeplink\/anydeeplink","role":"symbol","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink","navigatorTitle":[{"text":"AnyDeeplink","kind":"identifier"}],"kind":"symbol","type":"topic","abstract":[{"type":"text","text":"Type-erased version of "},{"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","isActive":true},{"type":"text","text":". Used to keep a list of Deeplinks in the "},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","type":"reference","isActive":true},{"text":" where every element of the list might have different type parameters.","type":"text"}],"fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"AnyDeeplink","kind":"identifier"}],"title":"AnyDeeplink"},"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/AnyDeeplink/description":{"type":"topic","abstract":[],"url":"\/documentation\/deeplink\/anydeeplink\/description","kind":"symbol","role":"symbol","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"description","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink\/description","title":"description"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinksCenter"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","navigatorTitle":[{"text":"DeeplinksCenter","kind":"identifier"}],"role":"symbol","title":"DeeplinksCenter","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkscenter","type":"topic","abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}]},"doc://Deeplink/documentation/Deeplink/Deeplink":{"url":"\/documentation\/deeplink\/deeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","navigatorTitle":[{"text":"Deeplink","kind":"identifier"}],"abstract":[{"type":"text","text":"An "},{"code":"enum","type":"codeVoice"},{"text":" that represents a deeplink template.","type":"text"}],"title":"Deeplink","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplink.json b/docs/data/documentation/deeplink/deeplink.json index 1a8d647..711d1a3 100644 --- a/docs/data/documentation/deeplink/deeplink.json +++ b/docs/data/documentation/deeplink/deeplink.json @@ -1 +1 @@ -{"seeAlsoSections":[{"title":"Essentials","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/Getting-started-with-Deeplinking","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"],"generated":true}],"schemaVersion":{"major":0,"minor":3,"patch":0},"metadata":{"fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"title":"Deeplink","roleHeading":"Enumeration","role":"symbol","symbolKind":"enum","externalID":"s:8DeeplinkAAO","modules":[{"name":"Deeplink"}],"navigatorTitle":[{"kind":"identifier","text":"Deeplink"}]},"abstract":[{"type":"text","text":"An "},{"type":"codeVoice","code":"enum"},{"type":"text","text":" that represents a deeplink template."}],"sections":[],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","interfaceLanguage":"swift"},"relationshipsSections":[{"identifiers":["doc:\/\/Deeplink\/s23CustomStringConvertibleP","doc:\/\/Deeplink\/SQ","doc:\/\/Deeplink\/s43ExpressibleByExtendedGraphemeClusterLiteralP","doc:\/\/Deeplink\/s32ExpressibleByStringInterpolationP","doc:\/\/Deeplink\/s26ExpressibleByStringLiteralP","doc:\/\/Deeplink\/s33ExpressibleByUnicodeScalarLiteralP","doc:\/\/Deeplink\/SH"],"kind":"relationships","title":"Conforms To","type":"conformsTo"}],"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink"]]},"topicSections":[{"title":"Create a Deeplink template","abstract":[{"type":"text","text":"Don’t use these initializer directly, use String literals and String interpolation instead."}],"identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/init(stringLiteral:)","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/init(stringInterpolation:)"]},{"title":"Parse a URL","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/parse(_:)","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/parse(_:into:)"]},{"title":"DeeplinkBuilder closures","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/callAsFunction(_:)-9eb8h","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/callAsFunction(_:)-34acp","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/callAsFunction(assigningTo:_:)"]},{"title":"Enumeration Cases","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/interpolated(_:)","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/literal(_:)"]},{"title":"Type Aliases","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/StringLiteralType"]},{"title":"Type Properties","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/catchAll"]},{"title":"Default Implementations","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/CustomStringConvertible-Implementations","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/Equatable-Implementations","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/ExpressibleByExtendedGraphemeClusterLiteral-Implementations","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/ExpressibleByStringInterpolation-Implementations","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/ExpressibleByStringLiteral-Implementations","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/ExpressibleByUnicodeScalarLiteral-Implementations"],"generated":true}],"variants":[{"paths":["\/documentation\/deeplink\/deeplink"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"Value"},{"kind":"text","text":">"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"Overview","level":2,"type":"heading","text":"Overview"},{"type":"paragraph","inlineContent":[{"type":"text","text":"You can define one of these and use it to check if a URL matches the same pattern, and extract some information from it."}]},{"type":"paragraph","inlineContent":[{"type":"image","identifier":"ExampleURL"}]},{"type":"codeListing","syntax":"swift","code":["struct Product {"," var productId: String?","}","","let productDeeplink: Deeplink = try! \"\/product\/\\(\\.productId)\"","","var productInfo = Product()","productDeeplink.parse(url: someURL, into: &productInfo)","","print(productInfo.productId ?? \"nil\")"]},{"type":"paragraph","inlineContent":[{"type":"text","text":"A Deeplink can be or a literal deeplink with no parameters or an interpolated deeplink, where there are one or more parameters each represented by a "},{"type":"codeVoice","code":"KeyPath"},{"type":"text","text":"."}]},{"type":"codeListing","syntax":"swift","code":["let productDeeplink: Deeplink = try! \"\/product\/\\(\\.productId)\"","let accountDeeplink: Deeplink = \"\/account\""]},{"type":"paragraph","inlineContent":[{"type":"text","text":"The string interpolation initializer "},{"type":"codeVoice","code":"throws"},{"type":"text","text":" because there are a couple cases that cannot be handled via Deeplink templates yet:"}]},{"type":"unorderedList","items":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"We cannot define a template with two consecutive parameters because we don’t know when the first parameter needs to end and where the second one starts."}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"We cannot define a template that uses the same keypath twice or more in the same template. No technical reason, I just thought that this would be result of a mistake in most cases, and I’d prefer to catch it early."}]}]}]},{"type":"codeListing","syntax":"swift","code":["let badDeeplink1: Deeplink = try! \"\/product\/\\(\\.productId)\\(\\.name)\"","let badDeeplink2: Deeplink = try! \"\/product\/\\(\\.productId)\/\\(\\.productId)\""]}]}],"references":{"doc://Deeplink/documentation/Deeplink/Deeplink/StringLiteralType":{"role":"symbol","title":"Deeplink.StringLiteralType","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"StringLiteralType"}],"abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/StringLiteralType","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StringLiteralType"}],"url":"\/documentation\/deeplink\/deeplink\/stringliteraltype"},"doc://Deeplink/documentation/Deeplink/Deeplink/ExpressibleByStringInterpolation-Implementations":{"role":"collectionGroup","title":"ExpressibleByStringInterpolation Implementations","abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/ExpressibleByStringInterpolation-Implementations","kind":"article","type":"topic","url":"\/documentation\/deeplink\/deeplink\/expressiblebystringinterpolation-implementations"},"doc://Deeplink/SH":{"type":"unresolvable","title":"Swift.Hashable","identifier":"doc:\/\/Deeplink\/SH"},"doc://Deeplink/s32ExpressibleByStringInterpolationP":{"type":"unresolvable","title":"Swift.ExpressibleByStringInterpolation","identifier":"doc:\/\/Deeplink\/s32ExpressibleByStringInterpolationP"},"doc://Deeplink/s43ExpressibleByExtendedGraphemeClusterLiteralP":{"type":"unresolvable","title":"Swift.ExpressibleByExtendedGraphemeClusterLiteral","identifier":"doc:\/\/Deeplink\/s43ExpressibleByExtendedGraphemeClusterLiteralP"},"doc://Deeplink/documentation/Deeplink/Deeplink/init(stringInterpolation:)":{"role":"symbol","title":"init(stringInterpolation:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"stringInterpolation"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"DeeplinkInterpolation","preciseIdentifier":"s:8Deeplink0A13InterpolationV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">)"}],"abstract":[{"type":"text","text":"Initialize a deeplink template with a string interpolation pattern. This will attempt to pattern match the string components of the interpolation, while assigning the extra parts of the URL to the property specified by keypaths from the argument components."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/init(stringInterpolation:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplink\/init(stringinterpolation:)"},"doc://Deeplink/documentation/Deeplink/Deeplink/callAsFunction(_:)-34acp":{"conformance":{"constraints":[{"type":"codeVoice","code":"Value"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"DefaultInitializable"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"callAsFunction(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"callAsFunction"},{"kind":"text","text":"(("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V"}],"abstract":[{"type":"text","text":"Embeds the action to take when matching this deeplink into the deeplink itself, producing a AnyDeeplink instance."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/callAsFunction(_:)-34acp","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplink\/callasfunction(_:)-34acp"},"doc://Deeplink/documentation/Deeplink/Deeplink/ExpressibleByExtendedGraphemeClusterLiteral-Implementations":{"role":"collectionGroup","title":"ExpressibleByExtendedGraphemeClusterLiteral Implementations","abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/ExpressibleByExtendedGraphemeClusterLiteral-Implementations","kind":"article","type":"topic","url":"\/documentation\/deeplink\/deeplink\/expressiblebyextendedgraphemeclusterliteral-implementations"},"doc://Deeplink/documentation/Deeplink/Deeplink/callAsFunction(assigningTo:_:)":{"role":"symbol","title":"callAsFunction(assigningTo:_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"callAsFunction"},{"kind":"text","text":"("},{"kind":"externalParam","text":"assigningTo"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":", ("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V"}],"abstract":[{"type":"text","text":"Embeds the action to take when matching this deeplink into the deeplink itself, producing a AnyDeeplink instance."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/callAsFunction(assigningTo:_:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplink\/callasfunction(assigningto:_:)"},"doc://Deeplink/documentation/Deeplink/Deeplink/catchAll":{"conformance":{"constraints":[{"type":"codeVoice","code":"Value"},{"type":"text","text":" is "},{"type":"codeVoice","code":"()"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"catchAll","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"catchAll"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":">"}],"abstract":[{"type":"text","text":"A placeholder deeplink to match any URL."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/catchAll","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplink\/catchall"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"role":"symbol","title":"DeeplinksCenter","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinksCenter"}],"abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinksCenter"}],"url":"\/documentation\/deeplink\/deeplinkscenter"},"doc://Deeplink/documentation/Deeplink/Deeplink/literal(_:)":{"role":"symbol","title":"Deeplink.literal(_:)","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"literal"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"A “literal” deeplink is a simple string: you can have a deeplink with no arguments and still attempt pattern matching it with a URL."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/literal(_:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplink\/literal(_:)"},"doc://Deeplink/documentation/Deeplink/Deeplink/callAsFunction(_:)-9eb8h":{"conformance":{"constraints":[{"type":"codeVoice","code":"Value"},{"type":"text","text":" is "},{"type":"codeVoice","code":"()"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"callAsFunction(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"callAsFunction"},{"kind":"text","text":"(("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V"}],"abstract":[{"type":"text","text":"Embeds the action to take when matching this deeplink into the deeplink itself, producing a AnyDeeplink instance."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/callAsFunction(_:)-9eb8h","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplink\/callasfunction(_:)-9eb8h"},"doc://Deeplink/s26ExpressibleByStringLiteralP":{"type":"unresolvable","title":"Swift.ExpressibleByStringLiteral","identifier":"doc:\/\/Deeplink\/s26ExpressibleByStringLiteralP"},"doc://Deeplink/documentation/Deeplink/Deeplink/CustomStringConvertible-Implementations":{"role":"collectionGroup","title":"CustomStringConvertible Implementations","abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/CustomStringConvertible-Implementations","kind":"article","type":"topic","url":"\/documentation\/deeplink\/deeplink\/customstringconvertible-implementations"},"doc://Deeplink/s33ExpressibleByUnicodeScalarLiteralP":{"type":"unresolvable","title":"Swift.ExpressibleByUnicodeScalarLiteral","identifier":"doc:\/\/Deeplink\/s33ExpressibleByUnicodeScalarLiteralP"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"role":"symbol","title":"Deeplink","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"abstract":[{"type":"text","text":"An "},{"type":"codeVoice","code":"enum"},{"type":"text","text":" that represents a deeplink template."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Deeplink"}],"url":"\/documentation\/deeplink\/deeplink"},"doc://Deeplink/documentation/Deeplink/Deeplink/ExpressibleByUnicodeScalarLiteral-Implementations":{"role":"collectionGroup","title":"ExpressibleByUnicodeScalarLiteral Implementations","abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/ExpressibleByUnicodeScalarLiteral-Implementations","kind":"article","type":"topic","url":"\/documentation\/deeplink\/deeplink\/expressiblebyunicodescalarliteral-implementations"},"doc://Deeplink/SQ":{"type":"unresolvable","title":"Swift.Equatable","identifier":"doc:\/\/Deeplink\/SQ"},"ExampleURL":{"alt":"Example of a URL that contains one parameter.","type":"image","identifier":"ExampleURL","variants":[{"url":"\/images\/ExampleURL.png","traits":["1x","light"]},{"url":"\/images\/ExampleURL@2x.png","traits":["2x","light"]},{"url":"\/images\/ExampleURL~dark.png","traits":["1x","dark"]},{"url":"\/images\/ExampleURL~dark@2x.png","traits":["2x","dark"]}]},"doc://Deeplink/documentation/Deeplink/Deeplink/ExpressibleByStringLiteral-Implementations":{"role":"collectionGroup","title":"ExpressibleByStringLiteral Implementations","abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/ExpressibleByStringLiteral-Implementations","kind":"article","type":"topic","url":"\/documentation\/deeplink\/deeplink\/expressiblebystringliteral-implementations"},"doc://Deeplink/documentation/Deeplink/Deeplink/Equatable-Implementations":{"role":"collectionGroup","title":"Equatable Implementations","abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/Equatable-Implementations","kind":"article","type":"topic","url":"\/documentation\/deeplink\/deeplink\/equatable-implementations"},"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"},"doc://Deeplink/documentation/Deeplink/Deeplink/init(stringLiteral:)":{"role":"symbol","title":"init(stringLiteral:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"stringLiteral"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">."},{"kind":"typeIdentifier","text":"StringLiteralType","preciseIdentifier":"s:8DeeplinkAAO17StringLiteralTypea"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Initialize a deeplink template with a "},{"type":"codeVoice","code":"String"},{"type":"text","text":" literal. This will simply attempt to pattern match this string with the "},{"type":"codeVoice","code":"URL"},{"type":"text","text":" passed to the "},{"type":"codeVoice","code":"parse(_:into:)"},{"type":"text","text":" function."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/init(stringLiteral:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplink\/init(stringliteral:)"},"doc://Deeplink/s23CustomStringConvertibleP":{"type":"unresolvable","title":"Swift.CustomStringConvertible","identifier":"doc:\/\/Deeplink\/s23CustomStringConvertibleP"},"doc://Deeplink/documentation/Deeplink/Deeplink/interpolated(_:)":{"role":"symbol","title":"Deeplink.interpolated(_:)","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"interpolated"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"DeeplinkInterpolation","preciseIdentifier":"s:8Deeplink0A13InterpolationV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">)"}],"abstract":[{"type":"text","text":"An “interpolated” deeplink is a string that also contains string interpolation arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/interpolated(_:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplink\/interpolated(_:)"},"doc://Deeplink/documentation/Deeplink/Deeplink/parse(_:)":{"conformance":{"constraints":[{"type":"codeVoice","code":"Value"},{"type":"text","text":" is "},{"type":"codeVoice","code":"()"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"parse(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"parse"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Attempt to parse a "},{"type":"codeVoice","code":"URL"},{"type":"text","text":" by using the current deeplink. This is a utility for literal deeplinks that do not contain any argument, as they don’t need an instance to assign values to."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/parse(_:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplink\/parse(_:)"},"doc://Deeplink/documentation/Deeplink/Deeplink/parse(_:into:)":{"role":"symbol","title":"parse(_:into:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"parse"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"into"},{"kind":"text","text":": "},{"kind":"keyword","text":"inout"},{"kind":"text","text":" "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Attempt to parse a "},{"type":"codeVoice","code":"URL"},{"type":"text","text":" by using the current deeplink. In case of success, the argument found by the pattern matching will be assigned to their corresponding keypath to the "},{"type":"codeVoice","code":"instance"},{"type":"text","text":" object."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/parse(_:into:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplink\/parse(_:into:)"},"doc://Deeplink/documentation/Deeplink/Getting-started-with-Deeplinking":{"role":"article","title":"Getting started with Deeplinking","abstract":[{"type":"text","text":"From 0 to "},{"type":"codeVoice","code":"\/hero"},{"type":"text","text":"."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Getting-started-with-Deeplinking","kind":"article","type":"topic","url":"\/documentation\/deeplink\/getting-started-with-deeplinking"}}} \ No newline at end of file +{"metadata":{"externalID":"s:8DeeplinkAAO","role":"symbol","roleHeading":"Enumeration","symbolKind":"enum","title":"Deeplink","modules":[{"name":"Deeplink"}],"fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"navigatorTitle":[{"text":"Deeplink","kind":"identifier"}]},"sections":[],"relationshipsSections":[{"title":"Conforms To","kind":"relationships","type":"conformsTo","identifiers":["doc:\/\/Deeplink\/s23CustomStringConvertibleP","doc:\/\/Deeplink\/SQ","doc:\/\/Deeplink\/s43ExpressibleByExtendedGraphemeClusterLiteralP","doc:\/\/Deeplink\/s32ExpressibleByStringInterpolationP","doc:\/\/Deeplink\/s26ExpressibleByStringLiteralP","doc:\/\/Deeplink\/s33ExpressibleByUnicodeScalarLiteralP","doc:\/\/Deeplink\/SH"]}],"abstract":[{"type":"text","text":"An "},{"type":"codeVoice","code":"enum"},{"type":"text","text":" that represents a deeplink template."}],"seeAlsoSections":[{"generated":true,"title":"Essentials","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/Getting-started-with-Deeplinking","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/deeplink\/deeplink"]}],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"Deeplink","kind":"identifier"},{"text":"<","kind":"text"},{"kind":"genericParameter","text":"Value"},{"kind":"text","text":">"}],"platforms":["macOS"],"languages":["swift"]}]},{"content":[{"level":2,"text":"Overview","type":"heading","anchor":"Overview"},{"inlineContent":[{"type":"text","text":"You can define one of these and use it to check if a URL matches the same pattern, and extract some information from it."}],"type":"paragraph"},{"inlineContent":[{"identifier":"ExampleURL","type":"image"}],"type":"paragraph"},{"syntax":"swift","code":["struct Product {"," var productId: String?","}","","let productDeeplink: Deeplink = try! \"\/product\/\\(\\.productId)\"","","var productInfo = Product()","productDeeplink.parse(url: someURL, into: &productInfo)","","print(productInfo.productId ?? \"nil\")"],"type":"codeListing"},{"type":"paragraph","inlineContent":[{"type":"text","text":"A Deeplink can be or a literal deeplink with no parameters or an interpolated deeplink, where there are one or more parameters each represented by a "},{"type":"codeVoice","code":"KeyPath"},{"type":"text","text":"."}]},{"code":["let productDeeplink: Deeplink = try! \"\/product\/\\(\\.productId)\"","let accountDeeplink: Deeplink = \"\/account\""],"syntax":"swift","type":"codeListing"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The string interpolation initializer "},{"type":"codeVoice","code":"throws"},{"type":"text","text":" because there are a couple cases that cannot be handled via Deeplink templates yet:"}]},{"items":[{"content":[{"inlineContent":[{"text":"We cannot define a template with two consecutive parameters because we don’t know when the first parameter needs to end and where the second one starts.","type":"text"}],"type":"paragraph"}]},{"content":[{"type":"paragraph","inlineContent":[{"text":"We cannot define a template that uses the same keypath twice or more in the same template. No technical reason, I just thought that this would be result of a mistake in most cases, and I’d prefer to catch it early.","type":"text"}]}]}],"type":"unorderedList"},{"type":"codeListing","code":["let badDeeplink1: Deeplink = try! \"\/product\/\\(\\.productId)\\(\\.name)\"","let badDeeplink2: Deeplink = try! \"\/product\/\\(\\.productId)\/\\(\\.productId)\""],"syntax":"swift"}],"kind":"content"}],"topicSections":[{"identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/init(stringLiteral:)","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/init(stringInterpolation:)"],"title":"Create a Deeplink template","abstract":[{"type":"text","text":"Don’t use these initializer directly, use String literals and String interpolation instead."}]},{"identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/parse(_:)","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/parse(_:into:)"],"title":"Parse a URL"},{"title":"DeeplinkBuilder closures","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/callAsFunction(_:)-9eb8h","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/callAsFunction(_:)-34acp","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/callAsFunction(assigningTo:_:)"]},{"identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/interpolated(_:)","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/literal(_:)"],"title":"Enumeration Cases"},{"title":"Instance Methods","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/encode(_:)"]},{"identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/StringLiteralType"],"title":"Type Aliases"},{"title":"Type Properties","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/catchAll"]},{"title":"Default Implementations","generated":true,"identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/CustomStringConvertible-Implementations","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/Equatable-Implementations","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/ExpressibleByExtendedGraphemeClusterLiteral-Implementations","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/ExpressibleByStringInterpolation-Implementations","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/ExpressibleByStringLiteral-Implementations","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/ExpressibleByUnicodeScalarLiteral-Implementations"]}],"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink"]]},"references":{"doc://Deeplink/documentation/Deeplink/Deeplink/ExpressibleByStringInterpolation-Implementations":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/ExpressibleByStringInterpolation-Implementations","abstract":[],"title":"ExpressibleByStringInterpolation Implementations","role":"collectionGroup","kind":"article","url":"\/documentation\/deeplink\/deeplink\/expressiblebystringinterpolation-implementations","type":"topic"},"doc://Deeplink/documentation/Deeplink/Deeplink/callAsFunction(_:)-9eb8h":{"kind":"symbol","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"callAsFunction"},{"text":"((","kind":"text"},{"text":"URL","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation3URLV"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink03AnyA0V","text":"AnyDeeplink"}],"role":"symbol","title":"callAsFunction(_:)","conformance":{"availabilityPrefix":[{"text":"Available when","type":"text"}],"conformancePrefix":[{"text":"Conforms when","type":"text"}],"constraints":[{"code":"Value","type":"codeVoice"},{"type":"text","text":" is "},{"type":"codeVoice","code":"()"},{"type":"text","text":"."}]},"abstract":[{"type":"text","text":"Embeds the action to take when matching this deeplink into the deeplink itself, producing a AnyDeeplink instance."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/callAsFunction(_:)-9eb8h","type":"topic","url":"\/documentation\/deeplink\/deeplink\/callasfunction(_:)-9eb8h"},"doc://Deeplink/s23CustomStringConvertibleP":{"type":"unresolvable","identifier":"doc:\/\/Deeplink\/s23CustomStringConvertibleP","title":"Swift.CustomStringConvertible"},"doc://Deeplink/documentation/Deeplink/Deeplink/encode(_:)":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/encode(_:)","url":"\/documentation\/deeplink\/deeplink\/encode(_:)","type":"topic","title":"encode(_:)","role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"encode"},{"text":"(","kind":"text"},{"text":"Value","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"}],"kind":"symbol","abstract":[{"type":"text","text":"Encodes object into string representation of deeplink"}]},"doc://Deeplink/documentation/Deeplink/Deeplink/init(stringInterpolation:)":{"url":"\/documentation\/deeplink\/deeplink\/init(stringinterpolation:)","kind":"symbol","role":"symbol","type":"topic","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/init(stringInterpolation:)","abstract":[{"type":"text","text":"Initialize a deeplink template with a string interpolation pattern. This will attempt to pattern match the string components of the interpolation, while assigning the extra parts of the URL to the property specified by keypaths from the argument components."}],"title":"init(stringInterpolation:)","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"stringInterpolation","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"DeeplinkInterpolation","preciseIdentifier":"s:8Deeplink0A13InterpolationV"},{"kind":"text","text":"<"},{"text":"Value","kind":"typeIdentifier"},{"text":">)","kind":"text"}]},"doc://Deeplink/SQ":{"type":"unresolvable","identifier":"doc:\/\/Deeplink\/SQ","title":"Swift.Equatable"},"doc://Deeplink/documentation/Deeplink/Deeplink/init(stringLiteral:)":{"url":"\/documentation\/deeplink\/deeplink\/init(stringliteral:)","kind":"symbol","role":"symbol","type":"topic","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/init(stringLiteral:)","abstract":[{"text":"Initialize a deeplink template with a ","type":"text"},{"code":"String","type":"codeVoice"},{"text":" literal. This will simply attempt to pattern match this string with the ","type":"text"},{"type":"codeVoice","code":"URL"},{"text":" passed to the ","type":"text"},{"type":"codeVoice","code":"parse(_:into:)"},{"type":"text","text":" function."}],"title":"init(stringLiteral:)","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"stringLiteral"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:8DeeplinkAAO","text":"Deeplink"},{"text":"<","kind":"text"},{"text":"Value","kind":"typeIdentifier"},{"text":">.","kind":"text"},{"text":"StringLiteralType","kind":"typeIdentifier","preciseIdentifier":"s:8DeeplinkAAO17StringLiteralTypea"},{"text":")","kind":"text"}]},"doc://Deeplink/s33ExpressibleByUnicodeScalarLiteralP":{"type":"unresolvable","identifier":"doc:\/\/Deeplink\/s33ExpressibleByUnicodeScalarLiteralP","title":"Swift.ExpressibleByUnicodeScalarLiteral"},"doc://Deeplink/s43ExpressibleByExtendedGraphemeClusterLiteralP":{"type":"unresolvable","identifier":"doc:\/\/Deeplink\/s43ExpressibleByExtendedGraphemeClusterLiteralP","title":"Swift.ExpressibleByExtendedGraphemeClusterLiteral"},"doc://Deeplink/SH":{"type":"unresolvable","identifier":"doc:\/\/Deeplink\/SH","title":"Swift.Hashable"},"doc://Deeplink/documentation/Deeplink/Deeplink/parse(_:into:)":{"title":"parse(_:into:)","url":"\/documentation\/deeplink\/deeplink\/parse(_:into:)","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"parse"},{"text":"(","kind":"text"},{"text":"URL","preciseIdentifier":"s:10Foundation3URLV","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"into"},{"text":": ","kind":"text"},{"text":"inout","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Value","kind":"typeIdentifier"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/parse(_:into:)","abstract":[{"text":"Attempt to parse a ","type":"text"},{"code":"URL","type":"codeVoice"},{"type":"text","text":" by using the current deeplink. In case of success, the argument found by the pattern matching will be assigned to their corresponding keypath to the "},{"code":"instance","type":"codeVoice"},{"text":" object.","type":"text"}],"role":"symbol","type":"topic","kind":"symbol"},"doc://Deeplink/documentation/Deeplink/Deeplink/callAsFunction(_:)-34acp":{"kind":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"callAsFunction","kind":"identifier"},{"text":"((","kind":"text"},{"preciseIdentifier":"s:10Foundation3URLV","text":"URL","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"Value"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","text":"AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V"}],"role":"symbol","title":"callAsFunction(_:)","conformance":{"constraints":[{"type":"codeVoice","code":"Value"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"DefaultInitializable"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"abstract":[{"type":"text","text":"Embeds the action to take when matching this deeplink into the deeplink itself, producing a AnyDeeplink instance."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/callAsFunction(_:)-34acp","type":"topic","url":"\/documentation\/deeplink\/deeplink\/callasfunction(_:)-34acp"},"doc://Deeplink/documentation/Deeplink/Deeplink/ExpressibleByStringLiteral-Implementations":{"type":"topic","url":"\/documentation\/deeplink\/deeplink\/expressiblebystringliteral-implementations","abstract":[],"title":"ExpressibleByStringLiteral Implementations","kind":"article","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/ExpressibleByStringLiteral-Implementations","role":"collectionGroup"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"url":"\/documentation\/deeplink\/deeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","navigatorTitle":[{"text":"Deeplink","kind":"identifier"}],"abstract":[{"type":"text","text":"An "},{"code":"enum","type":"codeVoice"},{"text":" that represents a deeplink template.","type":"text"}],"title":"Deeplink","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"type":"topic"},"doc://Deeplink/documentation/Deeplink/Deeplink/Equatable-Implementations":{"url":"\/documentation\/deeplink\/deeplink\/equatable-implementations","kind":"article","role":"collectionGroup","type":"topic","abstract":[],"title":"Equatable Implementations","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/Equatable-Implementations"},"doc://Deeplink/documentation/Deeplink/Deeplink/callAsFunction(assigningTo:_:)":{"kind":"symbol","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"callAsFunction","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"assigningTo"},{"text":": ","kind":"text"},{"text":"Value","kind":"typeIdentifier"},{"kind":"text","text":", ("},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation3URLV","text":"URL"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"Value"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink03AnyA0V","text":"AnyDeeplink"}],"role":"symbol","title":"callAsFunction(assigningTo:_:)","abstract":[{"type":"text","text":"Embeds the action to take when matching this deeplink into the deeplink itself, producing a AnyDeeplink instance."}],"type":"topic","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/callAsFunction(assigningTo:_:)","url":"\/documentation\/deeplink\/deeplink\/callasfunction(assigningto:_:)"},"doc://Deeplink/documentation/Deeplink/Getting-started-with-Deeplinking":{"url":"\/documentation\/deeplink\/getting-started-with-deeplinking","kind":"article","role":"article","type":"topic","abstract":[{"type":"text","text":"From 0 to "},{"type":"codeVoice","code":"\/hero"},{"type":"text","text":"."}],"title":"Getting started with Deeplinking","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Getting-started-with-Deeplinking"},"doc://Deeplink/s26ExpressibleByStringLiteralP":{"type":"unresolvable","identifier":"doc:\/\/Deeplink\/s26ExpressibleByStringLiteralP","title":"Swift.ExpressibleByStringLiteral"},"doc://Deeplink/documentation/Deeplink/Deeplink/ExpressibleByExtendedGraphemeClusterLiteral-Implementations":{"url":"\/documentation\/deeplink\/deeplink\/expressiblebyextendedgraphemeclusterliteral-implementations","kind":"article","role":"collectionGroup","type":"topic","abstract":[],"title":"ExpressibleByExtendedGraphemeClusterLiteral Implementations","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/ExpressibleByExtendedGraphemeClusterLiteral-Implementations"},"doc://Deeplink/documentation/Deeplink/Deeplink/CustomStringConvertible-Implementations":{"url":"\/documentation\/deeplink\/deeplink\/customstringconvertible-implementations","kind":"article","role":"collectionGroup","type":"topic","abstract":[],"title":"CustomStringConvertible Implementations","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/CustomStringConvertible-Implementations"},"doc://Deeplink/documentation/Deeplink/Deeplink/StringLiteralType":{"abstract":[],"type":"topic","url":"\/documentation\/deeplink\/deeplink\/stringliteraltype","title":"Deeplink.StringLiteralType","fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"kind":"identifier","text":"StringLiteralType"}],"navigatorTitle":[{"kind":"identifier","text":"StringLiteralType"}],"kind":"symbol","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/StringLiteralType","role":"symbol"},"doc://Deeplink/documentation/Deeplink/Deeplink/catchAll":{"url":"\/documentation\/deeplink\/deeplink\/catchall","kind":"symbol","role":"symbol","type":"topic","abstract":[{"text":"A placeholder deeplink to match any URL.","type":"text"}],"fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"catchAll"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"text":"Void","kind":"typeIdentifier","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":">"}],"title":"catchAll","conformance":{"availabilityPrefix":[{"type":"text","text":"Available when"}],"constraints":[{"code":"Value","type":"codeVoice"},{"text":" is ","type":"text"},{"type":"codeVoice","code":"()"},{"type":"text","text":"."}],"conformancePrefix":[{"text":"Conforms when","type":"text"}]},"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/catchAll"},"doc://Deeplink/documentation/Deeplink/Deeplink/literal(_:)":{"url":"\/documentation\/deeplink\/deeplink\/literal(_:)","kind":"symbol","role":"symbol","type":"topic","abstract":[{"text":"A “literal” deeplink is a simple string: you can have a deeplink with no arguments and still attempt pattern matching it with a URL.","type":"text"}],"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"literal","kind":"identifier"},{"kind":"text","text":"("},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"title":"Deeplink.literal(_:)","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/literal(_:)"},"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinksCenter"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","navigatorTitle":[{"text":"DeeplinksCenter","kind":"identifier"}],"role":"symbol","title":"DeeplinksCenter","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkscenter","type":"topic","abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}]},"doc://Deeplink/documentation/Deeplink/Deeplink/interpolated(_:)":{"url":"\/documentation\/deeplink\/deeplink\/interpolated(_:)","kind":"symbol","role":"symbol","type":"topic","abstract":[{"type":"text","text":"An “interpolated” deeplink is a string that also contains string interpolation arguments."}],"fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"interpolated","kind":"identifier"},{"text":"(","kind":"text"},{"text":"DeeplinkInterpolation","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A13InterpolationV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"text":">)","kind":"text"}],"title":"Deeplink.interpolated(_:)","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/interpolated(_:)"},"doc://Deeplink/s32ExpressibleByStringInterpolationP":{"type":"unresolvable","identifier":"doc:\/\/Deeplink\/s32ExpressibleByStringInterpolationP","title":"Swift.ExpressibleByStringInterpolation"},"ExampleURL":{"variants":[{"url":"\/images\/ExampleURL.png","traits":["1x","light"]},{"url":"\/images\/ExampleURL@2x.png","traits":["2x","light"]},{"url":"\/images\/ExampleURL~dark.png","traits":["1x","dark"]},{"traits":["2x","dark"],"url":"\/images\/ExampleURL~dark@2x.png"}],"alt":"Example of a URL that contains one parameter.","type":"image","identifier":"ExampleURL"},"doc://Deeplink/documentation/Deeplink/Deeplink/ExpressibleByUnicodeScalarLiteral-Implementations":{"type":"topic","title":"ExpressibleByUnicodeScalarLiteral Implementations","kind":"article","abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/ExpressibleByUnicodeScalarLiteral-Implementations","url":"\/documentation\/deeplink\/deeplink\/expressiblebyunicodescalarliteral-implementations","role":"collectionGroup"},"doc://Deeplink/documentation/Deeplink/Deeplink/parse(_:)":{"url":"\/documentation\/deeplink\/deeplink\/parse(_:)","title":"parse(_:)","role":"symbol","abstract":[{"text":"Attempt to parse a ","type":"text"},{"code":"URL","type":"codeVoice"},{"text":" by using the current deeplink. This is a utility for literal deeplinks that do not contain any argument, as they don’t need an instance to assign values to.","type":"text"}],"kind":"symbol","type":"topic","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/parse(_:)","conformance":{"availabilityPrefix":[{"type":"text","text":"Available when"}],"constraints":[{"type":"codeVoice","code":"Value"},{"type":"text","text":" is "},{"type":"codeVoice","code":"()"},{"text":".","type":"text"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"parse"},{"text":"(","kind":"text"},{"text":"URL","preciseIdentifier":"s:10Foundation3URLV","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplink/!=(_:_:).json b/docs/data/documentation/deeplink/deeplink/!=(_:_:).json index 319b579..2b83c66 100644 --- a/docs/data/documentation/deeplink/deeplink/!=(_:_:).json +++ b/docs/data/documentation/deeplink/deeplink/!=(_:_:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"kind":"text","text":"("},{"kind":"internalParam","text":"lhs"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"kind":"internalParam","text":"rhs"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/deeplink\/deeplink\/!=(_:_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/!=(_:_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"Equatable.!=(_:_:)"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"role":"symbol","title":"!=(_:_:)","roleHeading":"Operator","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"symbolKind":"op","externalID":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:8DeeplinkAAO","extendedModule":"Swift","modules":[{"name":"Deeplink"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/Equatable-Implementations"]]},"references":{"doc://Deeplink/documentation/Deeplink/Deeplink":{"role":"symbol","title":"Deeplink","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"abstract":[{"type":"text","text":"An "},{"type":"codeVoice","code":"enum"},{"type":"text","text":" that represents a deeplink template."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Deeplink"}],"url":"\/documentation\/deeplink\/deeplink"},"doc://Deeplink/documentation/Deeplink/Deeplink/Equatable-Implementations":{"role":"collectionGroup","title":"Equatable Implementations","abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/Equatable-Implementations","kind":"article","type":"topic","url":"\/documentation\/deeplink\/deeplink\/equatable-implementations"},"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"},"doc://Deeplink/documentation/Deeplink/Deeplink/!=(_:_:)":{"role":"symbol","title":"!=(_:_:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/!=(_:_:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplink\/!=(_:_:)"}}} \ No newline at end of file +{"sections":[],"kind":"symbol","abstract":[{"text":"Inherited from ","type":"text"},{"type":"codeVoice","code":"Equatable.!=(_:_:)"},{"type":"text","text":"."}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"!=","kind":"identifier"},{"kind":"text","text":" "},{"kind":"text","text":"("},{"text":"lhs","kind":"internalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Self"},{"text":", ","kind":"text"},{"text":"rhs","kind":"internalParam"},{"text":": ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"}]}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/!=(_:_:)","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/deeplink\/deeplink\/!=(_:_:)"]}],"metadata":{"role":"symbol","roleHeading":"Operator","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"!=","kind":"identifier"},{"kind":"text","text":" "},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":") -> "},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"}],"title":"!=(_:_:)","externalID":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:8DeeplinkAAO","extendedModule":"Swift","symbolKind":"op","modules":[{"relatedModules":["Swift"],"name":"Deeplink"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/Equatable-Implementations"]]},"schemaVersion":{"major":0,"minor":3,"patch":0},"references":{"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"url":"\/documentation\/deeplink\/deeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","navigatorTitle":[{"text":"Deeplink","kind":"identifier"}],"abstract":[{"type":"text","text":"An "},{"code":"enum","type":"codeVoice"},{"text":" that represents a deeplink template.","type":"text"}],"title":"Deeplink","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"type":"topic"},"doc://Deeplink/documentation/Deeplink/Deeplink/!=(_:_:)":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/!=(_:_:)","url":"\/documentation\/deeplink\/deeplink\/!=(_:_:)","title":"!=(_:_:)","role":"symbol","type":"topic","abstract":[],"kind":"symbol","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"!=","kind":"identifier"},{"kind":"text","text":" "},{"text":"(","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}]},"doc://Deeplink/documentation/Deeplink/Deeplink/Equatable-Implementations":{"url":"\/documentation\/deeplink\/deeplink\/equatable-implementations","kind":"article","role":"collectionGroup","type":"topic","abstract":[],"title":"Equatable Implementations","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/Equatable-Implementations"}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplink/callasfunction(_:)-34acp.json b/docs/data/documentation/deeplink/deeplink/callasfunction(_:)-34acp.json index 77f8f3a..e34865b 100644 --- a/docs/data/documentation/deeplink/deeplink/callasfunction(_:)-34acp.json +++ b/docs/data/documentation/deeplink/deeplink/callasfunction(_:)-34acp.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"callAsFunction"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"completion"},{"kind":"text","text":": "},{"kind":"keyword","text":"@escaping"},{"kind":"text","text":" ("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V","text":"AnyDeeplink"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"completion","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Closure to run when the deeplink is matched."}]}]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink"},{"type":"text","text":" ready to be added to the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"}]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/deeplink\/deeplink\/callasfunction(_:)-34acp"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/callAsFunction(_:)-34acp","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Embeds the action to take when matching this deeplink into the deeplink itself, producing a AnyDeeplink instance."}],"kind":"symbol","metadata":{"conformance":{"constraints":[{"type":"codeVoice","code":"Value"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"DefaultInitializable"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"callAsFunction(_:)","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"callAsFunction"},{"kind":"text","text":"(("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V"}],"symbolKind":"method","externalID":"s:8DeeplinkAAOA2A20DefaultInitializableRzlE14callAsFunctionyAA03AnyA0VSb10Foundation3URLV_xtKcF","extendedModule":"Deeplink","modules":[{"name":"Deeplink"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"]]},"seeAlsoSections":[{"title":"DeeplinkBuilder closures","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/callAsFunction(_:)-9eb8h","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/callAsFunction(assigningTo:_:)"],"generated":true}],"references":{"doc://Deeplink/documentation/Deeplink/AnyDeeplink":{"role":"symbol","title":"AnyDeeplink","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"AnyDeeplink"}],"abstract":[{"type":"text","text":"Type-erased version of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"},{"type":"text","text":". Used to keep a list of Deeplinks in the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"},{"type":"text","text":" where every element of the list might have different type parameters."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"AnyDeeplink"}],"url":"\/documentation\/deeplink\/anydeeplink"},"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"},"doc://Deeplink/documentation/Deeplink/Deeplink/callAsFunction(_:)-34acp":{"conformance":{"constraints":[{"type":"codeVoice","code":"Value"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"DefaultInitializable"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"callAsFunction(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"callAsFunction"},{"kind":"text","text":"(("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V"}],"abstract":[{"type":"text","text":"Embeds the action to take when matching this deeplink into the deeplink itself, producing a AnyDeeplink instance."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/callAsFunction(_:)-34acp","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplink\/callasfunction(_:)-34acp"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"role":"symbol","title":"Deeplink","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"abstract":[{"type":"text","text":"An "},{"type":"codeVoice","code":"enum"},{"type":"text","text":" that represents a deeplink template."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Deeplink"}],"url":"\/documentation\/deeplink\/deeplink"},"doc://Deeplink/documentation/Deeplink/Deeplink/callAsFunction(_:)-9eb8h":{"conformance":{"constraints":[{"type":"codeVoice","code":"Value"},{"type":"text","text":" is "},{"type":"codeVoice","code":"()"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"callAsFunction(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"callAsFunction"},{"kind":"text","text":"(("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V"}],"abstract":[{"type":"text","text":"Embeds the action to take when matching this deeplink into the deeplink itself, producing a AnyDeeplink instance."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/callAsFunction(_:)-9eb8h","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplink\/callasfunction(_:)-9eb8h"},"doc://Deeplink/documentation/Deeplink/Deeplink/callAsFunction(assigningTo:_:)":{"role":"symbol","title":"callAsFunction(assigningTo:_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"callAsFunction"},{"kind":"text","text":"("},{"kind":"externalParam","text":"assigningTo"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":", ("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V"}],"abstract":[{"type":"text","text":"Embeds the action to take when matching this deeplink into the deeplink itself, producing a AnyDeeplink instance."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/callAsFunction(assigningTo:_:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplink\/callasfunction(assigningto:_:)"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"role":"symbol","title":"DeeplinksCenter","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinksCenter"}],"abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinksCenter"}],"url":"\/documentation\/deeplink\/deeplinkscenter"}}} \ No newline at end of file +{"abstract":[{"type":"text","text":"Embeds the action to take when matching this deeplink into the deeplink itself, producing a AnyDeeplink instance."}],"schemaVersion":{"patch":0,"major":0,"minor":3},"metadata":{"roleHeading":"Instance Method","modules":[{"name":"Deeplink"}],"symbolKind":"method","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"callAsFunction"},{"kind":"text","text":"(("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V"}],"title":"callAsFunction(_:)","role":"symbol","extendedModule":"Deeplink","externalID":"s:8DeeplinkAAOA2A20DefaultInitializableRzlE14callAsFunctionyAA03AnyA0VSb10Foundation3URLV_xtKcF","conformance":{"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"code":"Value","type":"codeVoice"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"DefaultInitializable"},{"type":"text","text":"."}]}},"kind":"symbol","identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/callAsFunction(_:)-34acp","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"]]},"seeAlsoSections":[{"identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/callAsFunction(_:)-9eb8h","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/callAsFunction(assigningTo:_:)"],"title":"DeeplinkBuilder closures","generated":true}],"sections":[],"variants":[{"paths":["\/documentation\/deeplink\/deeplink\/callasfunction(_:)-34acp"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"callAsFunction","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"completion"},{"text":": ","kind":"text"},{"kind":"keyword","text":"@escaping"},{"kind":"text","text":" ("},{"text":"URL","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation3URLV"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"Value"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink03AnyA0V","text":"AnyDeeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink"}],"languages":["swift"]}]},{"kind":"parameters","parameters":[{"content":[{"inlineContent":[{"type":"text","text":"Closure to run when the deeplink is matched."}],"type":"paragraph"}],"name":"completion"}]},{"kind":"content","content":[{"type":"heading","level":2,"text":"Return Value","anchor":"return-value"},{"type":"paragraph","inlineContent":[{"text":"A ","type":"text"},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink","isActive":true,"type":"reference"},{"type":"text","text":" ready to be added to the "},{"isActive":true,"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"}]}]}],"references":{"doc://Deeplink/documentation/Deeplink/Deeplink":{"url":"\/documentation\/deeplink\/deeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","navigatorTitle":[{"text":"Deeplink","kind":"identifier"}],"abstract":[{"type":"text","text":"An "},{"code":"enum","type":"codeVoice"},{"text":" that represents a deeplink template.","type":"text"}],"title":"Deeplink","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"type":"topic"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinksCenter"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","navigatorTitle":[{"text":"DeeplinksCenter","kind":"identifier"}],"role":"symbol","title":"DeeplinksCenter","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkscenter","type":"topic","abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}]},"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/Deeplink/callAsFunction(_:)-34acp":{"kind":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"callAsFunction","kind":"identifier"},{"text":"((","kind":"text"},{"preciseIdentifier":"s:10Foundation3URLV","text":"URL","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"Value"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","text":"AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V"}],"role":"symbol","title":"callAsFunction(_:)","conformance":{"constraints":[{"type":"codeVoice","code":"Value"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"DefaultInitializable"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"abstract":[{"type":"text","text":"Embeds the action to take when matching this deeplink into the deeplink itself, producing a AnyDeeplink instance."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/callAsFunction(_:)-34acp","type":"topic","url":"\/documentation\/deeplink\/deeplink\/callasfunction(_:)-34acp"},"doc://Deeplink/documentation/Deeplink/Deeplink/callAsFunction(assigningTo:_:)":{"kind":"symbol","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"callAsFunction","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"assigningTo"},{"text":": ","kind":"text"},{"text":"Value","kind":"typeIdentifier"},{"kind":"text","text":", ("},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation3URLV","text":"URL"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"Value"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink03AnyA0V","text":"AnyDeeplink"}],"role":"symbol","title":"callAsFunction(assigningTo:_:)","abstract":[{"type":"text","text":"Embeds the action to take when matching this deeplink into the deeplink itself, producing a AnyDeeplink instance."}],"type":"topic","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/callAsFunction(assigningTo:_:)","url":"\/documentation\/deeplink\/deeplink\/callasfunction(assigningto:_:)"},"doc://Deeplink/documentation/Deeplink/Deeplink/callAsFunction(_:)-9eb8h":{"kind":"symbol","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"callAsFunction"},{"text":"((","kind":"text"},{"text":"URL","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation3URLV"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink03AnyA0V","text":"AnyDeeplink"}],"role":"symbol","title":"callAsFunction(_:)","conformance":{"availabilityPrefix":[{"text":"Available when","type":"text"}],"conformancePrefix":[{"text":"Conforms when","type":"text"}],"constraints":[{"code":"Value","type":"codeVoice"},{"type":"text","text":" is "},{"type":"codeVoice","code":"()"},{"type":"text","text":"."}]},"abstract":[{"type":"text","text":"Embeds the action to take when matching this deeplink into the deeplink itself, producing a AnyDeeplink instance."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/callAsFunction(_:)-9eb8h","type":"topic","url":"\/documentation\/deeplink\/deeplink\/callasfunction(_:)-9eb8h"},"doc://Deeplink/documentation/Deeplink/AnyDeeplink":{"url":"\/documentation\/deeplink\/anydeeplink","role":"symbol","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink","navigatorTitle":[{"text":"AnyDeeplink","kind":"identifier"}],"kind":"symbol","type":"topic","abstract":[{"type":"text","text":"Type-erased version of "},{"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","isActive":true},{"type":"text","text":". Used to keep a list of Deeplinks in the "},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","type":"reference","isActive":true},{"text":" where every element of the list might have different type parameters.","type":"text"}],"fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"AnyDeeplink","kind":"identifier"}],"title":"AnyDeeplink"}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplink/callasfunction(_:)-9eb8h.json b/docs/data/documentation/deeplink/deeplink/callasfunction(_:)-9eb8h.json index cf6192a..dbf5d48 100644 --- a/docs/data/documentation/deeplink/deeplink/callasfunction(_:)-9eb8h.json +++ b/docs/data/documentation/deeplink/deeplink/callasfunction(_:)-9eb8h.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"callAsFunction"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"completion"},{"kind":"text","text":": "},{"kind":"keyword","text":"@escaping"},{"kind":"text","text":" ("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V","text":"AnyDeeplink"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"completion","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Closure to run when the deeplink is matched."}]}]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink"},{"type":"text","text":" ready to be added to the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"}]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/deeplink\/deeplink\/callasfunction(_:)-9eb8h"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/callAsFunction(_:)-9eb8h","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Embeds the action to take when matching this deeplink into the deeplink itself, producing a AnyDeeplink instance."}],"kind":"symbol","metadata":{"conformance":{"constraints":[{"type":"codeVoice","code":"Value"},{"type":"text","text":" is "},{"type":"codeVoice","code":"()"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"callAsFunction(_:)","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"callAsFunction"},{"kind":"text","text":"(("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V"}],"symbolKind":"method","externalID":"s:8DeeplinkAAOAAytRszlE14callAsFunctionyAA03AnyA0VSb10Foundation3URLVKcF","extendedModule":"Deeplink","modules":[{"name":"Deeplink"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"]]},"seeAlsoSections":[{"title":"DeeplinkBuilder closures","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/callAsFunction(_:)-34acp","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/callAsFunction(assigningTo:_:)"],"generated":true}],"references":{"doc://Deeplink/documentation/Deeplink/Deeplink/callAsFunction(_:)-34acp":{"conformance":{"constraints":[{"type":"codeVoice","code":"Value"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"DefaultInitializable"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"callAsFunction(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"callAsFunction"},{"kind":"text","text":"(("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V"}],"abstract":[{"type":"text","text":"Embeds the action to take when matching this deeplink into the deeplink itself, producing a AnyDeeplink instance."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/callAsFunction(_:)-34acp","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplink\/callasfunction(_:)-34acp"},"doc://Deeplink/documentation/Deeplink/Deeplink/callAsFunction(assigningTo:_:)":{"role":"symbol","title":"callAsFunction(assigningTo:_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"callAsFunction"},{"kind":"text","text":"("},{"kind":"externalParam","text":"assigningTo"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":", ("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V"}],"abstract":[{"type":"text","text":"Embeds the action to take when matching this deeplink into the deeplink itself, producing a AnyDeeplink instance."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/callAsFunction(assigningTo:_:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplink\/callasfunction(assigningto:_:)"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"role":"symbol","title":"DeeplinksCenter","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinksCenter"}],"abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinksCenter"}],"url":"\/documentation\/deeplink\/deeplinkscenter"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"role":"symbol","title":"Deeplink","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"abstract":[{"type":"text","text":"An "},{"type":"codeVoice","code":"enum"},{"type":"text","text":" that represents a deeplink template."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Deeplink"}],"url":"\/documentation\/deeplink\/deeplink"},"doc://Deeplink/documentation/Deeplink/Deeplink/callAsFunction(_:)-9eb8h":{"conformance":{"constraints":[{"type":"codeVoice","code":"Value"},{"type":"text","text":" is "},{"type":"codeVoice","code":"()"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"callAsFunction(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"callAsFunction"},{"kind":"text","text":"(("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V"}],"abstract":[{"type":"text","text":"Embeds the action to take when matching this deeplink into the deeplink itself, producing a AnyDeeplink instance."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/callAsFunction(_:)-9eb8h","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplink\/callasfunction(_:)-9eb8h"},"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"},"doc://Deeplink/documentation/Deeplink/AnyDeeplink":{"role":"symbol","title":"AnyDeeplink","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"AnyDeeplink"}],"abstract":[{"type":"text","text":"Type-erased version of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"},{"type":"text","text":". Used to keep a list of Deeplinks in the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"},{"type":"text","text":" where every element of the list might have different type parameters."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"AnyDeeplink"}],"url":"\/documentation\/deeplink\/anydeeplink"}}} \ No newline at end of file +{"kind":"symbol","sections":[],"schemaVersion":{"major":0,"minor":3,"patch":0},"abstract":[{"text":"Embeds the action to take when matching this deeplink into the deeplink itself, producing a AnyDeeplink instance.","type":"text"}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/callAsFunction(_:)-9eb8h","interfaceLanguage":"swift"},"seeAlsoSections":[{"identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/callAsFunction(_:)-34acp","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/callAsFunction(assigningTo:_:)"],"title":"DeeplinkBuilder closures","generated":true}],"metadata":{"modules":[{"name":"Deeplink"}],"title":"callAsFunction(_:)","symbolKind":"method","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"callAsFunction","kind":"identifier"},{"kind":"text","text":"(("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V"}],"externalID":"s:8DeeplinkAAOAAytRszlE14callAsFunctionyAA03AnyA0VSb10Foundation3URLVKcF","roleHeading":"Instance Method","role":"symbol","conformance":{"conformancePrefix":[{"text":"Conforms when","type":"text"}],"constraints":[{"code":"Value","type":"codeVoice"},{"type":"text","text":" is "},{"type":"codeVoice","code":"()"},{"text":".","type":"text"}],"availabilityPrefix":[{"type":"text","text":"Available when"}]},"extendedModule":"Deeplink"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/deeplink\/deeplink\/callasfunction(_:)-9eb8h"]}],"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"callAsFunction","kind":"identifier"},{"text":"(","kind":"text"},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"text":"completion","kind":"internalParam"},{"kind":"text","text":": "},{"kind":"keyword","text":"@escaping"},{"text":" (","kind":"text"},{"text":"URL","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation3URLV"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:8Deeplink03AnyA0V","text":"AnyDeeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink","kind":"typeIdentifier"}]}]},{"kind":"parameters","parameters":[{"content":[{"inlineContent":[{"type":"text","text":"Closure to run when the deeplink is matched."}],"type":"paragraph"}],"name":"completion"}]},{"kind":"content","content":[{"type":"heading","text":"Return Value","level":2,"anchor":"return-value"},{"inlineContent":[{"type":"text","text":"A "},{"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink","isActive":true},{"type":"text","text":" ready to be added to the "},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","isActive":true,"type":"reference"}],"type":"paragraph"}]}],"references":{"doc://Deeplink/documentation/Deeplink/Deeplink/callAsFunction(_:)-9eb8h":{"kind":"symbol","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"callAsFunction"},{"text":"((","kind":"text"},{"text":"URL","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation3URLV"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink03AnyA0V","text":"AnyDeeplink"}],"role":"symbol","title":"callAsFunction(_:)","conformance":{"availabilityPrefix":[{"text":"Available when","type":"text"}],"conformancePrefix":[{"text":"Conforms when","type":"text"}],"constraints":[{"code":"Value","type":"codeVoice"},{"type":"text","text":" is "},{"type":"codeVoice","code":"()"},{"type":"text","text":"."}]},"abstract":[{"type":"text","text":"Embeds the action to take when matching this deeplink into the deeplink itself, producing a AnyDeeplink instance."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/callAsFunction(_:)-9eb8h","type":"topic","url":"\/documentation\/deeplink\/deeplink\/callasfunction(_:)-9eb8h"},"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/Deeplink/callAsFunction(assigningTo:_:)":{"kind":"symbol","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"callAsFunction","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"assigningTo"},{"text":": ","kind":"text"},{"text":"Value","kind":"typeIdentifier"},{"kind":"text","text":", ("},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation3URLV","text":"URL"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"Value"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink03AnyA0V","text":"AnyDeeplink"}],"role":"symbol","title":"callAsFunction(assigningTo:_:)","abstract":[{"type":"text","text":"Embeds the action to take when matching this deeplink into the deeplink itself, producing a AnyDeeplink instance."}],"type":"topic","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/callAsFunction(assigningTo:_:)","url":"\/documentation\/deeplink\/deeplink\/callasfunction(assigningto:_:)"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"url":"\/documentation\/deeplink\/deeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","navigatorTitle":[{"text":"Deeplink","kind":"identifier"}],"abstract":[{"type":"text","text":"An "},{"code":"enum","type":"codeVoice"},{"text":" that represents a deeplink template.","type":"text"}],"title":"Deeplink","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"type":"topic"},"doc://Deeplink/documentation/Deeplink/Deeplink/callAsFunction(_:)-34acp":{"kind":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"callAsFunction","kind":"identifier"},{"text":"((","kind":"text"},{"preciseIdentifier":"s:10Foundation3URLV","text":"URL","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"Value"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","text":"AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V"}],"role":"symbol","title":"callAsFunction(_:)","conformance":{"constraints":[{"type":"codeVoice","code":"Value"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"DefaultInitializable"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"abstract":[{"type":"text","text":"Embeds the action to take when matching this deeplink into the deeplink itself, producing a AnyDeeplink instance."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/callAsFunction(_:)-34acp","type":"topic","url":"\/documentation\/deeplink\/deeplink\/callasfunction(_:)-34acp"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinksCenter"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","navigatorTitle":[{"text":"DeeplinksCenter","kind":"identifier"}],"role":"symbol","title":"DeeplinksCenter","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkscenter","type":"topic","abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}]},"doc://Deeplink/documentation/Deeplink/AnyDeeplink":{"url":"\/documentation\/deeplink\/anydeeplink","role":"symbol","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink","navigatorTitle":[{"text":"AnyDeeplink","kind":"identifier"}],"kind":"symbol","type":"topic","abstract":[{"type":"text","text":"Type-erased version of "},{"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","isActive":true},{"type":"text","text":". Used to keep a list of Deeplinks in the "},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","type":"reference","isActive":true},{"text":" where every element of the list might have different type parameters.","type":"text"}],"fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"AnyDeeplink","kind":"identifier"}],"title":"AnyDeeplink"}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplink/callasfunction(assigningto:_:).json b/docs/data/documentation/deeplink/deeplink/callasfunction(assigningto:_:).json index 709b1c1..efad7c0 100644 --- a/docs/data/documentation/deeplink/deeplink/callasfunction(assigningto:_:).json +++ b/docs/data/documentation/deeplink/deeplink/callasfunction(assigningto:_:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"callAsFunction"},{"kind":"text","text":"("},{"kind":"externalParam","text":"assigningTo"},{"kind":"text","text":" "},{"kind":"internalParam","text":"value"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":", "},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"completion"},{"kind":"text","text":": "},{"kind":"keyword","text":"@escaping"},{"kind":"text","text":" ("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V","text":"AnyDeeplink"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"value","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Value to assign the content of the deeplink to."}]}]},{"name":"completion","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Closure to run when the deeplink is matched."}]}]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink"},{"type":"text","text":" ready to be added to the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"}]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/deeplink\/deeplink\/callasfunction(assigningto:_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/callAsFunction(assigningTo:_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Embeds the action to take when matching this deeplink into the deeplink itself, producing a AnyDeeplink instance."}],"kind":"symbol","metadata":{"role":"symbol","title":"callAsFunction(assigningTo:_:)","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"callAsFunction"},{"kind":"text","text":"("},{"kind":"externalParam","text":"assigningTo"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":", ("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V"}],"symbolKind":"method","externalID":"s:8DeeplinkAAO14callAsFunction11assigningTo_AA03AnyA0Vx_Sb10Foundation3URLV_xtKctF","extendedModule":"Deeplink","modules":[{"name":"Deeplink"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"]]},"seeAlsoSections":[{"title":"DeeplinkBuilder closures","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/callAsFunction(_:)-9eb8h","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/callAsFunction(_:)-34acp"],"generated":true}],"references":{"doc://Deeplink/documentation/Deeplink/Deeplink/callAsFunction(_:)-9eb8h":{"conformance":{"constraints":[{"type":"codeVoice","code":"Value"},{"type":"text","text":" is "},{"type":"codeVoice","code":"()"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"callAsFunction(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"callAsFunction"},{"kind":"text","text":"(("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V"}],"abstract":[{"type":"text","text":"Embeds the action to take when matching this deeplink into the deeplink itself, producing a AnyDeeplink instance."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/callAsFunction(_:)-9eb8h","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplink\/callasfunction(_:)-9eb8h"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"role":"symbol","title":"DeeplinksCenter","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinksCenter"}],"abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinksCenter"}],"url":"\/documentation\/deeplink\/deeplinkscenter"},"doc://Deeplink/documentation/Deeplink/Deeplink/callAsFunction(_:)-34acp":{"conformance":{"constraints":[{"type":"codeVoice","code":"Value"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"DefaultInitializable"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"callAsFunction(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"callAsFunction"},{"kind":"text","text":"(("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V"}],"abstract":[{"type":"text","text":"Embeds the action to take when matching this deeplink into the deeplink itself, producing a AnyDeeplink instance."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/callAsFunction(_:)-34acp","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplink\/callasfunction(_:)-34acp"},"doc://Deeplink/documentation/Deeplink/AnyDeeplink":{"role":"symbol","title":"AnyDeeplink","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"AnyDeeplink"}],"abstract":[{"type":"text","text":"Type-erased version of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"},{"type":"text","text":". Used to keep a list of Deeplinks in the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"},{"type":"text","text":" where every element of the list might have different type parameters."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"AnyDeeplink"}],"url":"\/documentation\/deeplink\/anydeeplink"},"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"},"doc://Deeplink/documentation/Deeplink/Deeplink/callAsFunction(assigningTo:_:)":{"role":"symbol","title":"callAsFunction(assigningTo:_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"callAsFunction"},{"kind":"text","text":"("},{"kind":"externalParam","text":"assigningTo"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":", ("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V"}],"abstract":[{"type":"text","text":"Embeds the action to take when matching this deeplink into the deeplink itself, producing a AnyDeeplink instance."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/callAsFunction(assigningTo:_:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplink\/callasfunction(assigningto:_:)"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"role":"symbol","title":"Deeplink","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"abstract":[{"type":"text","text":"An "},{"type":"codeVoice","code":"enum"},{"type":"text","text":" that represents a deeplink template."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Deeplink"}],"url":"\/documentation\/deeplink\/deeplink"}}} \ No newline at end of file +{"kind":"symbol","metadata":{"role":"symbol","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"callAsFunction","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"assigningTo"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Value"},{"text":", (","kind":"text"},{"text":"URL","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation3URLV"},{"text":", ","kind":"text"},{"text":"Value","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink03AnyA0V","text":"AnyDeeplink"}],"title":"callAsFunction(assigningTo:_:)","externalID":"s:8DeeplinkAAO14callAsFunction11assigningTo_AA03AnyA0Vx_Sb10Foundation3URLV_xtKctF","extendedModule":"Deeplink","symbolKind":"method","modules":[{"name":"Deeplink"}]},"abstract":[{"text":"Embeds the action to take when matching this deeplink into the deeplink itself, producing a AnyDeeplink instance.","type":"text"}],"seeAlsoSections":[{"identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/callAsFunction(_:)-9eb8h","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/callAsFunction(_:)-34acp"],"title":"DeeplinkBuilder closures","generated":true}],"variants":[{"paths":["\/documentation\/deeplink\/deeplink\/callasfunction(assigningto:_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/callAsFunction(assigningTo:_:)","interfaceLanguage":"swift"},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"callAsFunction","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"assigningTo"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"value"},{"kind":"text","text":": "},{"text":"Value","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"kind":"internalParam","text":"completion"},{"kind":"text","text":": "},{"text":"@escaping","kind":"keyword"},{"text":" (","kind":"text"},{"preciseIdentifier":"s:10Foundation3URLV","kind":"typeIdentifier","text":"URL"},{"text":", ","kind":"text"},{"text":"Value","kind":"typeIdentifier"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V","text":"AnyDeeplink"}],"languages":["swift"]}]},{"parameters":[{"content":[{"inlineContent":[{"type":"text","text":"Value to assign the content of the deeplink to."}],"type":"paragraph"}],"name":"value"},{"name":"completion","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Closure to run when the deeplink is matched."}]}]}],"kind":"parameters"},{"content":[{"type":"heading","text":"Return Value","level":2,"anchor":"return-value"},{"inlineContent":[{"type":"text","text":"A "},{"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink","isActive":true},{"type":"text","text":" ready to be added to the "},{"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","isActive":true}],"type":"paragraph"}],"kind":"content"}],"schemaVersion":{"minor":3,"patch":0,"major":0},"sections":[],"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"]]},"references":{"doc://Deeplink/documentation/Deeplink/Deeplink/callAsFunction(_:)-9eb8h":{"kind":"symbol","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"callAsFunction"},{"text":"((","kind":"text"},{"text":"URL","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation3URLV"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink03AnyA0V","text":"AnyDeeplink"}],"role":"symbol","title":"callAsFunction(_:)","conformance":{"availabilityPrefix":[{"text":"Available when","type":"text"}],"conformancePrefix":[{"text":"Conforms when","type":"text"}],"constraints":[{"code":"Value","type":"codeVoice"},{"type":"text","text":" is "},{"type":"codeVoice","code":"()"},{"type":"text","text":"."}]},"abstract":[{"type":"text","text":"Embeds the action to take when matching this deeplink into the deeplink itself, producing a AnyDeeplink instance."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/callAsFunction(_:)-9eb8h","type":"topic","url":"\/documentation\/deeplink\/deeplink\/callasfunction(_:)-9eb8h"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinksCenter"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","navigatorTitle":[{"text":"DeeplinksCenter","kind":"identifier"}],"role":"symbol","title":"DeeplinksCenter","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkscenter","type":"topic","abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}]},"doc://Deeplink/documentation/Deeplink/AnyDeeplink":{"url":"\/documentation\/deeplink\/anydeeplink","role":"symbol","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink","navigatorTitle":[{"text":"AnyDeeplink","kind":"identifier"}],"kind":"symbol","type":"topic","abstract":[{"type":"text","text":"Type-erased version of "},{"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","isActive":true},{"type":"text","text":". Used to keep a list of Deeplinks in the "},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","type":"reference","isActive":true},{"text":" where every element of the list might have different type parameters.","type":"text"}],"fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"AnyDeeplink","kind":"identifier"}],"title":"AnyDeeplink"},"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/Deeplink/callAsFunction(_:)-34acp":{"kind":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"callAsFunction","kind":"identifier"},{"text":"((","kind":"text"},{"preciseIdentifier":"s:10Foundation3URLV","text":"URL","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"Value"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","text":"AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V"}],"role":"symbol","title":"callAsFunction(_:)","conformance":{"constraints":[{"type":"codeVoice","code":"Value"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"DefaultInitializable"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"abstract":[{"type":"text","text":"Embeds the action to take when matching this deeplink into the deeplink itself, producing a AnyDeeplink instance."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/callAsFunction(_:)-34acp","type":"topic","url":"\/documentation\/deeplink\/deeplink\/callasfunction(_:)-34acp"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"url":"\/documentation\/deeplink\/deeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","navigatorTitle":[{"text":"Deeplink","kind":"identifier"}],"abstract":[{"type":"text","text":"An "},{"code":"enum","type":"codeVoice"},{"text":" that represents a deeplink template.","type":"text"}],"title":"Deeplink","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"type":"topic"},"doc://Deeplink/documentation/Deeplink/Deeplink/callAsFunction(assigningTo:_:)":{"kind":"symbol","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"callAsFunction","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"assigningTo"},{"text":": ","kind":"text"},{"text":"Value","kind":"typeIdentifier"},{"kind":"text","text":", ("},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation3URLV","text":"URL"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"Value"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink03AnyA0V","text":"AnyDeeplink"}],"role":"symbol","title":"callAsFunction(assigningTo:_:)","abstract":[{"type":"text","text":"Embeds the action to take when matching this deeplink into the deeplink itself, producing a AnyDeeplink instance."}],"type":"topic","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/callAsFunction(assigningTo:_:)","url":"\/documentation\/deeplink\/deeplink\/callasfunction(assigningto:_:)"}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplink/catchall.json b/docs/data/documentation/deeplink/deeplink/catchall.json index 34d41fb..1510b56 100644 --- a/docs/data/documentation/deeplink/deeplink/catchall.json +++ b/docs/data/documentation/deeplink/deeplink/catchall.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"catchAll"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","preciseIdentifier":"s:8DeeplinkAAO","text":"Deeplink"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":"> { "},{"kind":"keyword","text":"get"},{"kind":"text","text":" }"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/deeplink\/deeplink\/catchall"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/catchAll","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"A placeholder deeplink to match any URL."}],"kind":"symbol","metadata":{"conformance":{"constraints":[{"type":"codeVoice","code":"Value"},{"type":"text","text":" is "},{"type":"codeVoice","code":"()"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"catchAll","roleHeading":"Type Property","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"catchAll"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":">"}],"symbolKind":"property","externalID":"s:8DeeplinkAAOAAytRszlE8catchAllAByytGvpZ","extendedModule":"Deeplink","modules":[{"name":"Deeplink"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"]]},"references":{"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"role":"symbol","title":"Deeplink","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"abstract":[{"type":"text","text":"An "},{"type":"codeVoice","code":"enum"},{"type":"text","text":" that represents a deeplink template."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Deeplink"}],"url":"\/documentation\/deeplink\/deeplink"},"doc://Deeplink/documentation/Deeplink/Deeplink/catchAll":{"conformance":{"constraints":[{"type":"codeVoice","code":"Value"},{"type":"text","text":" is "},{"type":"codeVoice","code":"()"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"catchAll","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"catchAll"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":">"}],"abstract":[{"type":"text","text":"A placeholder deeplink to match any URL."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/catchAll","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplink\/catchall"}}} \ No newline at end of file +{"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/catchAll","interfaceLanguage":"swift"},"schemaVersion":{"major":0,"minor":3,"patch":0},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"]]},"sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"catchAll"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4Voida","text":"Void"},{"text":"> { ","kind":"text"},{"kind":"keyword","text":"get"},{"text":" }","kind":"text"}]}]}],"abstract":[{"type":"text","text":"A placeholder deeplink to match any URL."}],"metadata":{"externalID":"s:8DeeplinkAAOAAytRszlE8catchAllAByytGvpZ","conformance":{"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"type":"codeVoice","code":"Value"},{"type":"text","text":" is "},{"code":"()","type":"codeVoice"},{"type":"text","text":"."}]},"roleHeading":"Type Property","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"catchAll","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"text":"Void","kind":"typeIdentifier","preciseIdentifier":"s:s4Voida"},{"text":">","kind":"text"}],"title":"catchAll","extendedModule":"Deeplink","symbolKind":"property","role":"symbol","modules":[{"name":"Deeplink"}]},"variants":[{"paths":["\/documentation\/deeplink\/deeplink\/catchall"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/Deeplink/catchAll":{"url":"\/documentation\/deeplink\/deeplink\/catchall","kind":"symbol","role":"symbol","type":"topic","abstract":[{"text":"A placeholder deeplink to match any URL.","type":"text"}],"fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"catchAll"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"text":"Void","kind":"typeIdentifier","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":">"}],"title":"catchAll","conformance":{"availabilityPrefix":[{"type":"text","text":"Available when"}],"constraints":[{"code":"Value","type":"codeVoice"},{"text":" is ","type":"text"},{"type":"codeVoice","code":"()"},{"type":"text","text":"."}],"conformancePrefix":[{"text":"Conforms when","type":"text"}]},"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/catchAll"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"url":"\/documentation\/deeplink\/deeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","navigatorTitle":[{"text":"Deeplink","kind":"identifier"}],"abstract":[{"type":"text","text":"An "},{"code":"enum","type":"codeVoice"},{"text":" that represents a deeplink template.","type":"text"}],"title":"Deeplink","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplink/customstringconvertible-implementations.json b/docs/data/documentation/deeplink/deeplink/customstringconvertible-implementations.json index b957133..9496bd3 100644 --- a/docs/data/documentation/deeplink/deeplink/customstringconvertible-implementations.json +++ b/docs/data/documentation/deeplink/deeplink/customstringconvertible-implementations.json @@ -1 +1 @@ -{"variants":[{"paths":["\/documentation\/deeplink\/deeplink\/customstringconvertible-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/CustomStringConvertible-Implementations","interfaceLanguage":"swift"},"topicSections":[{"title":"Instance Properties","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/description"],"generated":true}],"kind":"article","metadata":{"modules":[{"name":"Deeplink"}],"role":"collectionGroup","title":"CustomStringConvertible Implementations"},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"]]},"references":{"doc://Deeplink/documentation/Deeplink/Deeplink":{"role":"symbol","title":"Deeplink","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"abstract":[{"type":"text","text":"An "},{"type":"codeVoice","code":"enum"},{"type":"text","text":" that represents a deeplink template."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Deeplink"}],"url":"\/documentation\/deeplink\/deeplink"},"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"},"doc://Deeplink/documentation/Deeplink/Deeplink/description":{"role":"symbol","title":"description","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"description"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/description","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplink\/description"}}} \ No newline at end of file +{"sections":[],"kind":"article","topicSections":[{"identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/description"],"title":"Instance Properties","generated":true}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/CustomStringConvertible-Implementations","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/deeplink\/deeplink\/customstringconvertible-implementations"]}],"metadata":{"role":"collectionGroup","title":"CustomStringConvertible Implementations","modules":[{"name":"Deeplink"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"]]},"schemaVersion":{"minor":3,"major":0,"patch":0},"references":{"doc://Deeplink/documentation/Deeplink/Deeplink/description":{"kind":"symbol","title":"description","role":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"description"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/description","url":"\/documentation\/deeplink\/deeplink\/description","abstract":[]},"doc://Deeplink/documentation/Deeplink/Deeplink":{"url":"\/documentation\/deeplink\/deeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","navigatorTitle":[{"text":"Deeplink","kind":"identifier"}],"abstract":[{"type":"text","text":"An "},{"code":"enum","type":"codeVoice"},{"text":" that represents a deeplink template.","type":"text"}],"title":"Deeplink","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"type":"topic"},"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplink/description.json b/docs/data/documentation/deeplink/deeplink/description.json index 63e281b..cd8758e 100644 --- a/docs/data/documentation/deeplink/deeplink/description.json +++ b/docs/data/documentation/deeplink/deeplink/description.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"description"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":" { "},{"kind":"keyword","text":"get"},{"kind":"text","text":" }"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/deeplink\/deeplink\/description"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/description","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"CustomStringConvertible.description"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"role":"symbol","title":"description","roleHeading":"Instance Property","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"description"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"symbolKind":"property","externalID":"s:8DeeplinkAAO11descriptionSSvp","extendedModule":"Deeplink","modules":[{"name":"Deeplink"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/CustomStringConvertible-Implementations"]]},"references":{"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"role":"symbol","title":"Deeplink","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"abstract":[{"type":"text","text":"An "},{"type":"codeVoice","code":"enum"},{"type":"text","text":" that represents a deeplink template."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Deeplink"}],"url":"\/documentation\/deeplink\/deeplink"},"doc://Deeplink/documentation/Deeplink/Deeplink/CustomStringConvertible-Implementations":{"role":"collectionGroup","title":"CustomStringConvertible Implementations","abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/CustomStringConvertible-Implementations","kind":"article","type":"topic","url":"\/documentation\/deeplink\/deeplink\/customstringconvertible-implementations"},"doc://Deeplink/documentation/Deeplink/Deeplink/description":{"role":"symbol","title":"description","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"description"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/description","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplink\/description"}}} \ No newline at end of file +{"abstract":[{"text":"Inherited from ","type":"text"},{"code":"CustomStringConvertible.description","type":"codeVoice"},{"type":"text","text":"."}],"kind":"symbol","schemaVersion":{"minor":3,"patch":0,"major":0},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/deeplink\/deeplink\/description"]}],"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/description"},"metadata":{"symbolKind":"property","extendedModule":"Deeplink","externalID":"s:8DeeplinkAAO11descriptionSSvp","modules":[{"name":"Deeplink"}],"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"description","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"}],"title":"description","role":"symbol","roleHeading":"Instance Property"},"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"description","kind":"identifier"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":" { ","kind":"text"},{"kind":"keyword","text":"get"},{"text":" }","kind":"text"}],"platforms":["macOS"]}],"kind":"declarations"}],"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/CustomStringConvertible-Implementations"]]},"references":{"doc://Deeplink/documentation/Deeplink/Deeplink":{"url":"\/documentation\/deeplink\/deeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","navigatorTitle":[{"text":"Deeplink","kind":"identifier"}],"abstract":[{"type":"text","text":"An "},{"code":"enum","type":"codeVoice"},{"text":" that represents a deeplink template.","type":"text"}],"title":"Deeplink","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"type":"topic"},"doc://Deeplink/documentation/Deeplink/Deeplink/description":{"kind":"symbol","title":"description","role":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"description"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/description","url":"\/documentation\/deeplink\/deeplink\/description","abstract":[]},"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/Deeplink/CustomStringConvertible-Implementations":{"url":"\/documentation\/deeplink\/deeplink\/customstringconvertible-implementations","kind":"article","role":"collectionGroup","type":"topic","abstract":[],"title":"CustomStringConvertible Implementations","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/CustomStringConvertible-Implementations"}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplink/encode(_:).json b/docs/data/documentation/deeplink/deeplink/encode(_:).json new file mode 100644 index 0000000..8baa0e4 --- /dev/null +++ b/docs/data/documentation/deeplink/deeplink/encode(_:).json @@ -0,0 +1 @@ +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/deeplink\/deeplink\/encode(_:)"]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"encode","kind":"identifier"},{"text":"(","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"value"},{"kind":"text","text":": "},{"text":"Value","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"}],"languages":["swift"]}]},{"kind":"parameters","parameters":[{"content":[{"type":"paragraph","inlineContent":[{"text":"object to encode","type":"text"}]}],"name":"value"}]},{"content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"string representation of deeplink with specified object"}]}],"kind":"content"},{"kind":"content","content":[{"anchor":"discussion","text":"Discussion","level":2,"type":"heading"},{"inlineContent":[{"text":"Example","type":"text"}],"type":"paragraph"},{"code":["struct Ticket {"," var ticketId: String?","}","","let deeplink = try! \"\/sell\/\\(\\.ticketId)\" as Deeplink","","var ticket = Ticket(ticketId: \"123\")","let encoded = deeplink.encode(ticket)","","print(encoded) \/\/ \"\/sell\/123\""],"type":"codeListing","syntax":"swift"},{"type":"paragraph","inlineContent":[{"type":"text","text":"Opposite to parse"}]}]}],"abstract":[{"type":"text","text":"Encodes object into string representation of deeplink"}],"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"]]},"schemaVersion":{"patch":0,"major":0,"minor":3},"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/encode(_:)"},"sections":[],"metadata":{"fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"encode"},{"kind":"text","text":"("},{"text":"Value","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"}],"title":"encode(_:)","externalID":"s:8DeeplinkAAO6encodeySSxF","roleHeading":"Instance Method","modules":[{"name":"Deeplink"}],"symbolKind":"method","role":"symbol"},"references":{"doc://Deeplink/documentation/Deeplink/Deeplink/encode(_:)":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/encode(_:)","url":"\/documentation\/deeplink\/deeplink\/encode(_:)","type":"topic","title":"encode(_:)","role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"encode"},{"text":"(","kind":"text"},{"text":"Value","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"}],"kind":"symbol","abstract":[{"type":"text","text":"Encodes object into string representation of deeplink"}]},"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"url":"\/documentation\/deeplink\/deeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","navigatorTitle":[{"text":"Deeplink","kind":"identifier"}],"abstract":[{"type":"text","text":"An "},{"code":"enum","type":"codeVoice"},{"text":" that represents a deeplink template.","type":"text"}],"title":"Deeplink","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplink/equatable-implementations.json b/docs/data/documentation/deeplink/deeplink/equatable-implementations.json index 76cad87..589a26a 100644 --- a/docs/data/documentation/deeplink/deeplink/equatable-implementations.json +++ b/docs/data/documentation/deeplink/deeplink/equatable-implementations.json @@ -1 +1 @@ -{"variants":[{"paths":["\/documentation\/deeplink\/deeplink\/equatable-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/Equatable-Implementations","interfaceLanguage":"swift"},"topicSections":[{"title":"Operators","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/!=(_:_:)"],"generated":true}],"kind":"article","metadata":{"modules":[{"name":"Deeplink"}],"role":"collectionGroup","title":"Equatable Implementations"},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"]]},"references":{"doc://Deeplink/documentation/Deeplink/Deeplink":{"role":"symbol","title":"Deeplink","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"abstract":[{"type":"text","text":"An "},{"type":"codeVoice","code":"enum"},{"type":"text","text":" that represents a deeplink template."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Deeplink"}],"url":"\/documentation\/deeplink\/deeplink"},"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"},"doc://Deeplink/documentation/Deeplink/Deeplink/!=(_:_:)":{"role":"symbol","title":"!=(_:_:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/!=(_:_:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplink\/!=(_:_:)"}}} \ No newline at end of file +{"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/deeplink\/deeplink\/equatable-implementations"]}],"schemaVersion":{"patch":0,"major":0,"minor":3},"kind":"article","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/Equatable-Implementations"},"topicSections":[{"identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/!=(_:_:)"],"title":"Operators","generated":true}],"metadata":{"modules":[{"name":"Deeplink"}],"role":"collectionGroup","title":"Equatable Implementations"},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"]]},"references":{"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"url":"\/documentation\/deeplink\/deeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","navigatorTitle":[{"text":"Deeplink","kind":"identifier"}],"abstract":[{"type":"text","text":"An "},{"code":"enum","type":"codeVoice"},{"text":" that represents a deeplink template.","type":"text"}],"title":"Deeplink","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"type":"topic"},"doc://Deeplink/documentation/Deeplink/Deeplink/!=(_:_:)":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/!=(_:_:)","url":"\/documentation\/deeplink\/deeplink\/!=(_:_:)","title":"!=(_:_:)","role":"symbol","type":"topic","abstract":[],"kind":"symbol","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"!=","kind":"identifier"},{"kind":"text","text":" "},{"text":"(","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplink/expressiblebyextendedgraphemeclusterliteral-implementations.json b/docs/data/documentation/deeplink/deeplink/expressiblebyextendedgraphemeclusterliteral-implementations.json index bb429c8..8f3ae93 100644 --- a/docs/data/documentation/deeplink/deeplink/expressiblebyextendedgraphemeclusterliteral-implementations.json +++ b/docs/data/documentation/deeplink/deeplink/expressiblebyextendedgraphemeclusterliteral-implementations.json @@ -1 +1 @@ -{"variants":[{"paths":["\/documentation\/deeplink\/deeplink\/expressiblebyextendedgraphemeclusterliteral-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/ExpressibleByExtendedGraphemeClusterLiteral-Implementations","interfaceLanguage":"swift"},"topicSections":[{"title":"Initializers","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/init(extendedGraphemeClusterLiteral:)"],"generated":true}],"kind":"article","metadata":{"modules":[{"name":"Deeplink"}],"role":"collectionGroup","title":"ExpressibleByExtendedGraphemeClusterLiteral Implementations"},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"]]},"references":{"doc://Deeplink/documentation/Deeplink/Deeplink":{"role":"symbol","title":"Deeplink","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"abstract":[{"type":"text","text":"An "},{"type":"codeVoice","code":"enum"},{"type":"text","text":" that represents a deeplink template."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Deeplink"}],"url":"\/documentation\/deeplink\/deeplink"},"doc://Deeplink/documentation/Deeplink/Deeplink/init(extendedGraphemeClusterLiteral:)":{"conformance":{"constraints":[{"type":"codeVoice","code":"ExtendedGraphemeClusterLiteralType"},{"type":"text","text":" is "},{"type":"codeVoice","code":"Self.StringLiteralType"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"init(extendedGraphemeClusterLiteral:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"extendedGraphemeClusterLiteral"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"StringLiteralType"},{"kind":"text","text":")"}],"abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/init(extendedGraphemeClusterLiteral:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplink\/init(extendedgraphemeclusterliteral:)"},"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"}}} \ No newline at end of file +{"sections":[],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/ExpressibleByExtendedGraphemeClusterLiteral-Implementations","interfaceLanguage":"swift"},"topicSections":[{"title":"Initializers","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/init(extendedGraphemeClusterLiteral:)"],"generated":true}],"metadata":{"modules":[{"name":"Deeplink"}],"role":"collectionGroup","title":"ExpressibleByExtendedGraphemeClusterLiteral Implementations"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/deeplink\/deeplink\/expressiblebyextendedgraphemeclusterliteral-implementations"]}],"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"]]},"kind":"article","schemaVersion":{"major":0,"minor":3,"patch":0},"references":{"doc://Deeplink/documentation/Deeplink/Deeplink/init(extendedGraphemeClusterLiteral:)":{"title":"init(extendedGraphemeClusterLiteral:)","role":"symbol","type":"topic","conformance":{"conformancePrefix":[{"type":"text","text":"Conforms when"}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"constraints":[{"type":"codeVoice","code":"ExtendedGraphemeClusterLiteralType"},{"text":" is ","type":"text"},{"type":"codeVoice","code":"Self.StringLiteralType"},{"type":"text","text":"."}]},"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/init(extendedGraphemeClusterLiteral:)","fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"text":"extendedGraphemeClusterLiteral","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":"."},{"text":"StringLiteralType","kind":"typeIdentifier"},{"kind":"text","text":")"}],"abstract":[],"kind":"symbol","url":"\/documentation\/deeplink\/deeplink\/init(extendedgraphemeclusterliteral:)"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"url":"\/documentation\/deeplink\/deeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","navigatorTitle":[{"text":"Deeplink","kind":"identifier"}],"abstract":[{"type":"text","text":"An "},{"code":"enum","type":"codeVoice"},{"text":" that represents a deeplink template.","type":"text"}],"title":"Deeplink","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"type":"topic"},"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplink/expressiblebystringinterpolation-implementations.json b/docs/data/documentation/deeplink/deeplink/expressiblebystringinterpolation-implementations.json index 646b556..7fe6e19 100644 --- a/docs/data/documentation/deeplink/deeplink/expressiblebystringinterpolation-implementations.json +++ b/docs/data/documentation/deeplink/deeplink/expressiblebystringinterpolation-implementations.json @@ -1 +1 @@ -{"variants":[{"paths":["\/documentation\/deeplink\/deeplink\/expressiblebystringinterpolation-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/ExpressibleByStringInterpolation-Implementations","interfaceLanguage":"swift"},"topicSections":[{"title":"Initializers","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/init(stringInterpolation:)"],"generated":true}],"kind":"article","metadata":{"modules":[{"name":"Deeplink"}],"role":"collectionGroup","title":"ExpressibleByStringInterpolation Implementations"},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"]]},"references":{"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"},"doc://Deeplink/documentation/Deeplink/Deeplink/init(stringInterpolation:)":{"role":"symbol","title":"init(stringInterpolation:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"stringInterpolation"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"DeeplinkInterpolation","preciseIdentifier":"s:8Deeplink0A13InterpolationV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">)"}],"abstract":[{"type":"text","text":"Initialize a deeplink template with a string interpolation pattern. This will attempt to pattern match the string components of the interpolation, while assigning the extra parts of the URL to the property specified by keypaths from the argument components."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/init(stringInterpolation:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplink\/init(stringinterpolation:)"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"role":"symbol","title":"Deeplink","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"abstract":[{"type":"text","text":"An "},{"type":"codeVoice","code":"enum"},{"type":"text","text":" that represents a deeplink template."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Deeplink"}],"url":"\/documentation\/deeplink\/deeplink"}}} \ No newline at end of file +{"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"]]},"metadata":{"modules":[{"name":"Deeplink"}],"role":"collectionGroup","title":"ExpressibleByStringInterpolation Implementations"},"kind":"article","topicSections":[{"generated":true,"identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/init(stringInterpolation:)"],"title":"Initializers"}],"schemaVersion":{"major":0,"minor":3,"patch":0},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/ExpressibleByStringInterpolation-Implementations"},"variants":[{"paths":["\/documentation\/deeplink\/deeplink\/expressiblebystringinterpolation-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"references":{"doc://Deeplink/documentation/Deeplink/Deeplink/init(stringInterpolation:)":{"url":"\/documentation\/deeplink\/deeplink\/init(stringinterpolation:)","kind":"symbol","role":"symbol","type":"topic","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/init(stringInterpolation:)","abstract":[{"type":"text","text":"Initialize a deeplink template with a string interpolation pattern. This will attempt to pattern match the string components of the interpolation, while assigning the extra parts of the URL to the property specified by keypaths from the argument components."}],"title":"init(stringInterpolation:)","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"stringInterpolation","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"DeeplinkInterpolation","preciseIdentifier":"s:8Deeplink0A13InterpolationV"},{"kind":"text","text":"<"},{"text":"Value","kind":"typeIdentifier"},{"text":">)","kind":"text"}]},"doc://Deeplink/documentation/Deeplink/Deeplink":{"url":"\/documentation\/deeplink\/deeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","navigatorTitle":[{"text":"Deeplink","kind":"identifier"}],"abstract":[{"type":"text","text":"An "},{"code":"enum","type":"codeVoice"},{"text":" that represents a deeplink template.","type":"text"}],"title":"Deeplink","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"type":"topic"},"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplink/expressiblebystringliteral-implementations.json b/docs/data/documentation/deeplink/deeplink/expressiblebystringliteral-implementations.json index c6393fa..3aec1f5 100644 --- a/docs/data/documentation/deeplink/deeplink/expressiblebystringliteral-implementations.json +++ b/docs/data/documentation/deeplink/deeplink/expressiblebystringliteral-implementations.json @@ -1 +1 @@ -{"variants":[{"paths":["\/documentation\/deeplink\/deeplink\/expressiblebystringliteral-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/ExpressibleByStringLiteral-Implementations","interfaceLanguage":"swift"},"topicSections":[{"title":"Initializers","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/init(stringLiteral:)"],"generated":true}],"kind":"article","metadata":{"modules":[{"name":"Deeplink"}],"role":"collectionGroup","title":"ExpressibleByStringLiteral Implementations"},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"]]},"references":{"doc://Deeplink/documentation/Deeplink/Deeplink/init(stringLiteral:)":{"role":"symbol","title":"init(stringLiteral:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"stringLiteral"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">."},{"kind":"typeIdentifier","text":"StringLiteralType","preciseIdentifier":"s:8DeeplinkAAO17StringLiteralTypea"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Initialize a deeplink template with a "},{"type":"codeVoice","code":"String"},{"type":"text","text":" literal. This will simply attempt to pattern match this string with the "},{"type":"codeVoice","code":"URL"},{"type":"text","text":" passed to the "},{"type":"codeVoice","code":"parse(_:into:)"},{"type":"text","text":" function."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/init(stringLiteral:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplink\/init(stringliteral:)"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"role":"symbol","title":"Deeplink","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"abstract":[{"type":"text","text":"An "},{"type":"codeVoice","code":"enum"},{"type":"text","text":" that represents a deeplink template."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Deeplink"}],"url":"\/documentation\/deeplink\/deeplink"},"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"}}} \ No newline at end of file +{"metadata":{"title":"ExpressibleByStringLiteral Implementations","modules":[{"name":"Deeplink"}],"role":"collectionGroup"},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"]]},"kind":"article","sections":[],"topicSections":[{"identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/init(stringLiteral:)"],"title":"Initializers","generated":true}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/deeplink\/deeplink\/expressiblebystringliteral-implementations"]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/ExpressibleByStringLiteral-Implementations","interfaceLanguage":"swift"},"schemaVersion":{"patch":0,"major":0,"minor":3},"references":{"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"url":"\/documentation\/deeplink\/deeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","navigatorTitle":[{"text":"Deeplink","kind":"identifier"}],"abstract":[{"type":"text","text":"An "},{"code":"enum","type":"codeVoice"},{"text":" that represents a deeplink template.","type":"text"}],"title":"Deeplink","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"type":"topic"},"doc://Deeplink/documentation/Deeplink/Deeplink/init(stringLiteral:)":{"url":"\/documentation\/deeplink\/deeplink\/init(stringliteral:)","kind":"symbol","role":"symbol","type":"topic","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/init(stringLiteral:)","abstract":[{"text":"Initialize a deeplink template with a ","type":"text"},{"code":"String","type":"codeVoice"},{"text":" literal. This will simply attempt to pattern match this string with the ","type":"text"},{"type":"codeVoice","code":"URL"},{"text":" passed to the ","type":"text"},{"type":"codeVoice","code":"parse(_:into:)"},{"type":"text","text":" function."}],"title":"init(stringLiteral:)","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"stringLiteral"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:8DeeplinkAAO","text":"Deeplink"},{"text":"<","kind":"text"},{"text":"Value","kind":"typeIdentifier"},{"text":">.","kind":"text"},{"text":"StringLiteralType","kind":"typeIdentifier","preciseIdentifier":"s:8DeeplinkAAO17StringLiteralTypea"},{"text":")","kind":"text"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplink/expressiblebyunicodescalarliteral-implementations.json b/docs/data/documentation/deeplink/deeplink/expressiblebyunicodescalarliteral-implementations.json index 7acebfb..2672bc9 100644 --- a/docs/data/documentation/deeplink/deeplink/expressiblebyunicodescalarliteral-implementations.json +++ b/docs/data/documentation/deeplink/deeplink/expressiblebyunicodescalarliteral-implementations.json @@ -1 +1 @@ -{"variants":[{"paths":["\/documentation\/deeplink\/deeplink\/expressiblebyunicodescalarliteral-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/ExpressibleByUnicodeScalarLiteral-Implementations","interfaceLanguage":"swift"},"topicSections":[{"title":"Initializers","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/init(unicodeScalarLiteral:)"],"generated":true}],"kind":"article","metadata":{"modules":[{"name":"Deeplink"}],"role":"collectionGroup","title":"ExpressibleByUnicodeScalarLiteral Implementations"},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"]]},"references":{"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"},"doc://Deeplink/documentation/Deeplink/Deeplink/init(unicodeScalarLiteral:)":{"conformance":{"constraints":[{"type":"codeVoice","code":"ExtendedGraphemeClusterLiteralType"},{"type":"text","text":" is "},{"type":"codeVoice","code":"Self.UnicodeScalarLiteralType"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"init(unicodeScalarLiteral:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"unicodeScalarLiteral"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"ExtendedGraphemeClusterLiteralType"},{"kind":"text","text":")"}],"abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/init(unicodeScalarLiteral:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplink\/init(unicodescalarliteral:)"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"role":"symbol","title":"Deeplink","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"abstract":[{"type":"text","text":"An "},{"type":"codeVoice","code":"enum"},{"type":"text","text":" that represents a deeplink template."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Deeplink"}],"url":"\/documentation\/deeplink\/deeplink"}}} \ No newline at end of file +{"sections":[],"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"]]},"variants":[{"paths":["\/documentation\/deeplink\/deeplink\/expressiblebyunicodescalarliteral-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"topicSections":[{"generated":true,"identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/init(unicodeScalarLiteral:)"],"title":"Initializers"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/ExpressibleByUnicodeScalarLiteral-Implementations"},"schemaVersion":{"patch":0,"major":0,"minor":3},"metadata":{"title":"ExpressibleByUnicodeScalarLiteral Implementations","modules":[{"name":"Deeplink"}],"role":"collectionGroup"},"kind":"article","references":{"doc://Deeplink/documentation/Deeplink/Deeplink":{"url":"\/documentation\/deeplink\/deeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","navigatorTitle":[{"text":"Deeplink","kind":"identifier"}],"abstract":[{"type":"text","text":"An "},{"code":"enum","type":"codeVoice"},{"text":" that represents a deeplink template.","type":"text"}],"title":"Deeplink","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"type":"topic"},"doc://Deeplink/documentation/Deeplink/Deeplink/init(unicodeScalarLiteral:)":{"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"text":"unicodeScalarLiteral","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"ExtendedGraphemeClusterLiteralType","kind":"typeIdentifier"},{"kind":"text","text":")"}],"type":"topic","kind":"symbol","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/init(unicodeScalarLiteral:)","conformance":{"constraints":[{"code":"ExtendedGraphemeClusterLiteralType","type":"codeVoice"},{"text":" is ","type":"text"},{"code":"Self.UnicodeScalarLiteralType","type":"codeVoice"},{"type":"text","text":"."}],"conformancePrefix":[{"text":"Conforms when","type":"text"}],"availabilityPrefix":[{"type":"text","text":"Available when"}]},"abstract":[],"title":"init(unicodeScalarLiteral:)","url":"\/documentation\/deeplink\/deeplink\/init(unicodescalarliteral:)","role":"symbol"},"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplink/init(extendedgraphemeclusterliteral:).json b/docs/data/documentation/deeplink/deeplink/init(extendedgraphemeclusterliteral:).json index 42b5d24..0928a37 100644 --- a/docs/data/documentation/deeplink/deeplink/init(extendedgraphemeclusterliteral:).json +++ b/docs/data/documentation/deeplink/deeplink/init(extendedgraphemeclusterliteral:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"extendedGraphemeClusterLiteral"},{"kind":"text","text":" "},{"kind":"internalParam","text":"value"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"StringLiteralType"},{"kind":"text","text":")"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/deeplink\/deeplink\/init(extendedgraphemeclusterliteral:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/init(extendedGraphemeClusterLiteral:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"ExpressibleByExtendedGraphemeClusterLiteral.init(extendedGraphemeClusterLiteral:)"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"conformance":{"constraints":[{"type":"codeVoice","code":"ExtendedGraphemeClusterLiteralType"},{"type":"text","text":" is "},{"type":"codeVoice","code":"Self.StringLiteralType"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"init(extendedGraphemeClusterLiteral:)","roleHeading":"Initializer","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"extendedGraphemeClusterLiteral"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"StringLiteralType"},{"kind":"text","text":")"}],"symbolKind":"init","externalID":"s:s26ExpressibleByStringLiteralPs0cD4TypeQz023ExtendedGraphemeClusterdE0RtzrlE08extendedghD0xAF_tcfc::SYNTHESIZED::s:8DeeplinkAAO","extendedModule":"Swift","modules":[{"name":"Deeplink"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/ExpressibleByExtendedGraphemeClusterLiteral-Implementations"]]},"references":{"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"role":"symbol","title":"Deeplink","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"abstract":[{"type":"text","text":"An "},{"type":"codeVoice","code":"enum"},{"type":"text","text":" that represents a deeplink template."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Deeplink"}],"url":"\/documentation\/deeplink\/deeplink"},"doc://Deeplink/documentation/Deeplink/Deeplink/init(extendedGraphemeClusterLiteral:)":{"conformance":{"constraints":[{"type":"codeVoice","code":"ExtendedGraphemeClusterLiteralType"},{"type":"text","text":" is "},{"type":"codeVoice","code":"Self.StringLiteralType"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"init(extendedGraphemeClusterLiteral:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"extendedGraphemeClusterLiteral"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"StringLiteralType"},{"kind":"text","text":")"}],"abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/init(extendedGraphemeClusterLiteral:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplink\/init(extendedgraphemeclusterliteral:)"},"doc://Deeplink/documentation/Deeplink/Deeplink/ExpressibleByExtendedGraphemeClusterLiteral-Implementations":{"role":"collectionGroup","title":"ExpressibleByExtendedGraphemeClusterLiteral Implementations","abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/ExpressibleByExtendedGraphemeClusterLiteral-Implementations","kind":"article","type":"topic","url":"\/documentation\/deeplink\/deeplink\/expressiblebyextendedgraphemeclusterliteral-implementations"}}} \ No newline at end of file +{"sections":[],"kind":"symbol","metadata":{"roleHeading":"Initializer","modules":[{"name":"Deeplink","relatedModules":["Swift"]}],"externalID":"s:s26ExpressibleByStringLiteralPs0cD4TypeQz023ExtendedGraphemeClusterdE0RtzrlE08extendedghD0xAF_tcfc::SYNTHESIZED::s:8DeeplinkAAO","title":"init(extendedGraphemeClusterLiteral:)","symbolKind":"init","conformance":{"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"code":"ExtendedGraphemeClusterLiteralType","type":"codeVoice"},{"type":"text","text":" is "},{"code":"Self.StringLiteralType","type":"codeVoice"},{"type":"text","text":"."}]},"fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"extendedGraphemeClusterLiteral","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Self"},{"text":".","kind":"text"},{"kind":"typeIdentifier","text":"StringLiteralType"},{"kind":"text","text":")"}],"role":"symbol","extendedModule":"Swift"},"abstract":[{"type":"text","text":"Inherited from "},{"code":"ExpressibleByExtendedGraphemeClusterLiteral.init(extendedGraphemeClusterLiteral:)","type":"codeVoice"},{"type":"text","text":"."}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/deeplink\/deeplink\/init(extendedgraphemeclusterliteral:)"]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"extendedGraphemeClusterLiteral"},{"kind":"text","text":" "},{"kind":"internalParam","text":"value"},{"text":": ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":"."},{"text":"StringLiteralType","kind":"typeIdentifier"},{"text":")","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/init(extendedGraphemeClusterLiteral:)"},"schemaVersion":{"patch":0,"major":0,"minor":3},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/ExpressibleByExtendedGraphemeClusterLiteral-Implementations"]]},"references":{"doc://Deeplink/documentation/Deeplink/Deeplink":{"url":"\/documentation\/deeplink\/deeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","navigatorTitle":[{"text":"Deeplink","kind":"identifier"}],"abstract":[{"type":"text","text":"An "},{"code":"enum","type":"codeVoice"},{"text":" that represents a deeplink template.","type":"text"}],"title":"Deeplink","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"type":"topic"},"doc://Deeplink/documentation/Deeplink/Deeplink/ExpressibleByExtendedGraphemeClusterLiteral-Implementations":{"url":"\/documentation\/deeplink\/deeplink\/expressiblebyextendedgraphemeclusterliteral-implementations","kind":"article","role":"collectionGroup","type":"topic","abstract":[],"title":"ExpressibleByExtendedGraphemeClusterLiteral Implementations","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/ExpressibleByExtendedGraphemeClusterLiteral-Implementations"},"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/Deeplink/init(extendedGraphemeClusterLiteral:)":{"title":"init(extendedGraphemeClusterLiteral:)","role":"symbol","type":"topic","conformance":{"conformancePrefix":[{"type":"text","text":"Conforms when"}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"constraints":[{"type":"codeVoice","code":"ExtendedGraphemeClusterLiteralType"},{"text":" is ","type":"text"},{"type":"codeVoice","code":"Self.StringLiteralType"},{"type":"text","text":"."}]},"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/init(extendedGraphemeClusterLiteral:)","fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"text":"extendedGraphemeClusterLiteral","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":"."},{"text":"StringLiteralType","kind":"typeIdentifier"},{"kind":"text","text":")"}],"abstract":[],"kind":"symbol","url":"\/documentation\/deeplink\/deeplink\/init(extendedgraphemeclusterliteral:)"}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplink/init(stringinterpolation:).json b/docs/data/documentation/deeplink/deeplink/init(stringinterpolation:).json index 9e6381a..a6a05d0 100644 --- a/docs/data/documentation/deeplink/deeplink/init(stringinterpolation:).json +++ b/docs/data/documentation/deeplink/deeplink/init(stringinterpolation:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"stringInterpolation"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation","preciseIdentifier":"s:8Deeplink0A13InterpolationV","text":"DeeplinkInterpolation"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">)"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"discussion","level":2,"type":"heading","text":"Discussion"},{"type":"paragraph","inlineContent":[{"type":"text","text":"Example:"},{"type":"text","text":" "},{"type":"text","text":"the deeplink "},{"type":"codeVoice","code":"\"\/sell\/\\(\\.ticketId)\""},{"type":"text","text":" will match these URLs:"},{"type":"text","text":" "},{"type":"codeVoice","code":"https:\/\/ticketswap.com\/sell\/123"},{"type":"text","text":" "},{"type":"codeVoice","code":"https:\/\/ticketswap.com\/sell\/123?some=else"},{"type":"text","text":" "},{"type":"codeVoice","code":"https:\/\/ticketswap.com\/sell\/123#fragment"},{"type":"text","text":" "},{"type":"codeVoice","code":"ticketswap:\/\/\/sell\/123#fragment"}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"But it will not match these URLs:"},{"type":"text","text":" "},{"type":"codeVoice","code":"https:\/\/ticketswap.com\/sells\/123"},{"type":"text","text":" "},{"type":"codeVoice","code":"https:\/\/ticketswap.com\/some\/sell\/123"},{"type":"text","text":" "},{"type":"codeVoice","code":"https:\/\/ticketswap.com\/sell?123"}]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/deeplink\/deeplink\/init(stringinterpolation:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/init(stringInterpolation:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Initialize a deeplink template with a string interpolation pattern. This will attempt to pattern match the string components of the interpolation, while assigning the extra parts of the URL to the property specified by keypaths from the argument components."}],"kind":"symbol","metadata":{"role":"symbol","title":"init(stringInterpolation:)","roleHeading":"Initializer","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"stringInterpolation"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"DeeplinkInterpolation","preciseIdentifier":"s:8Deeplink0A13InterpolationV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">)"}],"symbolKind":"init","externalID":"s:8DeeplinkAAO19stringInterpolationAByxGAA0aC0VyxG_tcfc","extendedModule":"Deeplink","modules":[{"name":"Deeplink"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"],["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/ExpressibleByStringInterpolation-Implementations"]]},"seeAlsoSections":[{"title":"Create a Deeplink template","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/init(stringLiteral:)"],"generated":true}],"references":{"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"},"doc://Deeplink/documentation/Deeplink/Deeplink/ExpressibleByStringInterpolation-Implementations":{"role":"collectionGroup","title":"ExpressibleByStringInterpolation Implementations","abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/ExpressibleByStringInterpolation-Implementations","kind":"article","type":"topic","url":"\/documentation\/deeplink\/deeplink\/expressiblebystringinterpolation-implementations"},"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation":{"role":"symbol","title":"DeeplinkInterpolation","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinkInterpolation"}],"abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinkInterpolation"}],"url":"\/documentation\/deeplink\/deeplinkinterpolation"},"doc://Deeplink/documentation/Deeplink/Deeplink/init(stringLiteral:)":{"role":"symbol","title":"init(stringLiteral:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"stringLiteral"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">."},{"kind":"typeIdentifier","text":"StringLiteralType","preciseIdentifier":"s:8DeeplinkAAO17StringLiteralTypea"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Initialize a deeplink template with a "},{"type":"codeVoice","code":"String"},{"type":"text","text":" literal. This will simply attempt to pattern match this string with the "},{"type":"codeVoice","code":"URL"},{"type":"text","text":" passed to the "},{"type":"codeVoice","code":"parse(_:into:)"},{"type":"text","text":" function."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/init(stringLiteral:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplink\/init(stringliteral:)"},"doc://Deeplink/documentation/Deeplink/Deeplink/init(stringInterpolation:)":{"role":"symbol","title":"init(stringInterpolation:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"stringInterpolation"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"DeeplinkInterpolation","preciseIdentifier":"s:8Deeplink0A13InterpolationV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">)"}],"abstract":[{"type":"text","text":"Initialize a deeplink template with a string interpolation pattern. This will attempt to pattern match the string components of the interpolation, while assigning the extra parts of the URL to the property specified by keypaths from the argument components."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/init(stringInterpolation:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplink\/init(stringinterpolation:)"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"role":"symbol","title":"Deeplink","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"abstract":[{"type":"text","text":"An "},{"type":"codeVoice","code":"enum"},{"type":"text","text":" that represents a deeplink template."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Deeplink"}],"url":"\/documentation\/deeplink\/deeplink"}}} \ No newline at end of file +{"schemaVersion":{"patch":0,"minor":3,"major":0},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/init(stringInterpolation:)"},"kind":"symbol","metadata":{"title":"init(stringInterpolation:)","roleHeading":"Initializer","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"text":"stringInterpolation","kind":"externalParam"},{"kind":"text","text":": "},{"text":"DeeplinkInterpolation","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A13InterpolationV"},{"kind":"text","text":"<"},{"text":"Value","kind":"typeIdentifier"},{"text":">)","kind":"text"}],"extendedModule":"Deeplink","symbolKind":"init","role":"symbol","modules":[{"name":"Deeplink"}],"externalID":"s:8DeeplinkAAO19stringInterpolationAByxGAA0aC0VyxG_tcfc"},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"],["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/ExpressibleByStringInterpolation-Implementations"]]},"sections":[],"seeAlsoSections":[{"identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/init(stringLiteral:)"],"generated":true,"title":"Create a Deeplink template"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"init","kind":"keyword"},{"kind":"text","text":"("},{"kind":"externalParam","text":"stringInterpolation"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation","text":"DeeplinkInterpolation","preciseIdentifier":"s:8Deeplink0A13InterpolationV"},{"kind":"text","text":"<"},{"text":"Value","kind":"typeIdentifier"},{"text":">)","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}]},{"kind":"content","content":[{"anchor":"discussion","type":"heading","level":2,"text":"Discussion"},{"type":"paragraph","inlineContent":[{"text":"Example:","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"the deeplink "},{"type":"codeVoice","code":"\"\/sell\/\\(\\.ticketId)\""},{"text":" will match these URLs:","type":"text"},{"text":" ","type":"text"},{"type":"codeVoice","code":"https:\/\/ticketswap.com\/sell\/123"},{"text":" ","type":"text"},{"type":"codeVoice","code":"https:\/\/ticketswap.com\/sell\/123?some=else"},{"type":"text","text":" "},{"code":"https:\/\/ticketswap.com\/sell\/123#fragment","type":"codeVoice"},{"type":"text","text":" "},{"code":"ticketswap:\/\/\/sell\/123#fragment","type":"codeVoice"}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"But it will not match these URLs:"},{"type":"text","text":" "},{"code":"https:\/\/ticketswap.com\/sells\/123","type":"codeVoice"},{"text":" ","type":"text"},{"code":"https:\/\/ticketswap.com\/some\/sell\/123","type":"codeVoice"},{"text":" ","type":"text"},{"type":"codeVoice","code":"https:\/\/ticketswap.com\/sell?123"}]}]}],"abstract":[{"text":"Initialize a deeplink template with a string interpolation pattern. This will attempt to pattern match the string components of the interpolation, while assigning the extra parts of the URL to the property specified by keypaths from the argument components.","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/deeplink\/deeplink\/init(stringinterpolation:)"]}],"references":{"doc://Deeplink/documentation/Deeplink/Deeplink/ExpressibleByStringInterpolation-Implementations":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/ExpressibleByStringInterpolation-Implementations","abstract":[],"title":"ExpressibleByStringInterpolation Implementations","role":"collectionGroup","kind":"article","url":"\/documentation\/deeplink\/deeplink\/expressiblebystringinterpolation-implementations","type":"topic"},"doc://Deeplink/documentation/Deeplink/Deeplink/init(stringInterpolation:)":{"url":"\/documentation\/deeplink\/deeplink\/init(stringinterpolation:)","kind":"symbol","role":"symbol","type":"topic","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/init(stringInterpolation:)","abstract":[{"type":"text","text":"Initialize a deeplink template with a string interpolation pattern. This will attempt to pattern match the string components of the interpolation, while assigning the extra parts of the URL to the property specified by keypaths from the argument components."}],"title":"init(stringInterpolation:)","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"stringInterpolation","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"DeeplinkInterpolation","preciseIdentifier":"s:8Deeplink0A13InterpolationV"},{"kind":"text","text":"<"},{"text":"Value","kind":"typeIdentifier"},{"text":">)","kind":"text"}]},"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation":{"fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinkInterpolation"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation","navigatorTitle":[{"text":"DeeplinkInterpolation","kind":"identifier"}],"role":"symbol","title":"DeeplinkInterpolation","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkinterpolation","type":"topic","abstract":[]},"doc://Deeplink/documentation/Deeplink/Deeplink/init(stringLiteral:)":{"url":"\/documentation\/deeplink\/deeplink\/init(stringliteral:)","kind":"symbol","role":"symbol","type":"topic","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/init(stringLiteral:)","abstract":[{"text":"Initialize a deeplink template with a ","type":"text"},{"code":"String","type":"codeVoice"},{"text":" literal. This will simply attempt to pattern match this string with the ","type":"text"},{"type":"codeVoice","code":"URL"},{"text":" passed to the ","type":"text"},{"type":"codeVoice","code":"parse(_:into:)"},{"type":"text","text":" function."}],"title":"init(stringLiteral:)","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"stringLiteral"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:8DeeplinkAAO","text":"Deeplink"},{"text":"<","kind":"text"},{"text":"Value","kind":"typeIdentifier"},{"text":">.","kind":"text"},{"text":"StringLiteralType","kind":"typeIdentifier","preciseIdentifier":"s:8DeeplinkAAO17StringLiteralTypea"},{"text":")","kind":"text"}]},"doc://Deeplink/documentation/Deeplink/Deeplink":{"url":"\/documentation\/deeplink\/deeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","navigatorTitle":[{"text":"Deeplink","kind":"identifier"}],"abstract":[{"type":"text","text":"An "},{"code":"enum","type":"codeVoice"},{"text":" that represents a deeplink template.","type":"text"}],"title":"Deeplink","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplink/init(stringliteral:).json b/docs/data/documentation/deeplink/deeplink/init(stringliteral:).json index 706a479..44c639b 100644 --- a/docs/data/documentation/deeplink/deeplink/init(stringliteral:).json +++ b/docs/data/documentation/deeplink/deeplink/init(stringliteral:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"stringLiteral"},{"kind":"text","text":" "},{"kind":"internalParam","text":"value"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","preciseIdentifier":"s:8DeeplinkAAO","text":"Deeplink"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">."},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/StringLiteralType","preciseIdentifier":"s:8DeeplinkAAO17StringLiteralTypea","text":"StringLiteralType"},{"kind":"text","text":")"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/deeplink\/deeplink\/init(stringliteral:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/init(stringLiteral:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Initialize a deeplink template with a "},{"type":"codeVoice","code":"String"},{"type":"text","text":" literal. This will simply attempt to pattern match this string with the "},{"type":"codeVoice","code":"URL"},{"type":"text","text":" passed to the "},{"type":"codeVoice","code":"parse(_:into:)"},{"type":"text","text":" function."}],"kind":"symbol","metadata":{"role":"symbol","title":"init(stringLiteral:)","roleHeading":"Initializer","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"stringLiteral"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">."},{"kind":"typeIdentifier","text":"StringLiteralType","preciseIdentifier":"s:8DeeplinkAAO17StringLiteralTypea"},{"kind":"text","text":")"}],"symbolKind":"init","externalID":"s:8DeeplinkAAO13stringLiteralAByxGSS_tcfc","extendedModule":"Deeplink","modules":[{"name":"Deeplink"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"],["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/ExpressibleByStringLiteral-Implementations"]]},"seeAlsoSections":[{"title":"Create a Deeplink template","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/init(stringInterpolation:)"],"generated":true}],"references":{"doc://Deeplink/documentation/Deeplink/Deeplink/StringLiteralType":{"role":"symbol","title":"Deeplink.StringLiteralType","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"StringLiteralType"}],"abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/StringLiteralType","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StringLiteralType"}],"url":"\/documentation\/deeplink\/deeplink\/stringliteraltype"},"doc://Deeplink/documentation/Deeplink/Deeplink/init(stringLiteral:)":{"role":"symbol","title":"init(stringLiteral:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"stringLiteral"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">."},{"kind":"typeIdentifier","text":"StringLiteralType","preciseIdentifier":"s:8DeeplinkAAO17StringLiteralTypea"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Initialize a deeplink template with a "},{"type":"codeVoice","code":"String"},{"type":"text","text":" literal. This will simply attempt to pattern match this string with the "},{"type":"codeVoice","code":"URL"},{"type":"text","text":" passed to the "},{"type":"codeVoice","code":"parse(_:into:)"},{"type":"text","text":" function."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/init(stringLiteral:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplink\/init(stringliteral:)"},"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"},"doc://Deeplink/documentation/Deeplink/Deeplink/ExpressibleByStringLiteral-Implementations":{"role":"collectionGroup","title":"ExpressibleByStringLiteral Implementations","abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/ExpressibleByStringLiteral-Implementations","kind":"article","type":"topic","url":"\/documentation\/deeplink\/deeplink\/expressiblebystringliteral-implementations"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"role":"symbol","title":"Deeplink","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"abstract":[{"type":"text","text":"An "},{"type":"codeVoice","code":"enum"},{"type":"text","text":" that represents a deeplink template."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Deeplink"}],"url":"\/documentation\/deeplink\/deeplink"},"doc://Deeplink/documentation/Deeplink/Deeplink/init(stringInterpolation:)":{"role":"symbol","title":"init(stringInterpolation:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"stringInterpolation"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"DeeplinkInterpolation","preciseIdentifier":"s:8Deeplink0A13InterpolationV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">)"}],"abstract":[{"type":"text","text":"Initialize a deeplink template with a string interpolation pattern. This will attempt to pattern match the string components of the interpolation, while assigning the extra parts of the URL to the property specified by keypaths from the argument components."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/init(stringInterpolation:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplink\/init(stringinterpolation:)"}}} \ No newline at end of file +{"abstract":[{"text":"Initialize a deeplink template with a ","type":"text"},{"code":"String","type":"codeVoice"},{"type":"text","text":" literal. This will simply attempt to pattern match this string with the "},{"type":"codeVoice","code":"URL"},{"type":"text","text":" passed to the "},{"type":"codeVoice","code":"parse(_:into:)"},{"text":" function.","type":"text"}],"kind":"symbol","seeAlsoSections":[{"identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/init(stringInterpolation:)"],"generated":true,"title":"Create a Deeplink template"}],"metadata":{"fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"stringLiteral"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"text":"Value","kind":"typeIdentifier"},{"kind":"text","text":">."},{"text":"StringLiteralType","kind":"typeIdentifier","preciseIdentifier":"s:8DeeplinkAAO17StringLiteralTypea"},{"kind":"text","text":")"}],"title":"init(stringLiteral:)","externalID":"s:8DeeplinkAAO13stringLiteralAByxGSS_tcfc","modules":[{"name":"Deeplink"}],"extendedModule":"Deeplink","role":"symbol","roleHeading":"Initializer","symbolKind":"init"},"variants":[{"paths":["\/documentation\/deeplink\/deeplink\/init(stringliteral:)"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"init","kind":"keyword"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"stringLiteral"},{"kind":"text","text":" "},{"text":"value","kind":"internalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:8DeeplinkAAO","kind":"typeIdentifier","text":"Deeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"text":">.","kind":"text"},{"text":"StringLiteralType","kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/StringLiteralType","preciseIdentifier":"s:8DeeplinkAAO17StringLiteralTypea"},{"text":")","kind":"text"}],"platforms":["macOS"]}],"kind":"declarations"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/init(stringLiteral:)"},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"],["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/ExpressibleByStringLiteral-Implementations"]]},"schemaVersion":{"major":0,"patch":0,"minor":3},"references":{"doc://Deeplink/documentation/Deeplink/Deeplink/StringLiteralType":{"abstract":[],"type":"topic","url":"\/documentation\/deeplink\/deeplink\/stringliteraltype","title":"Deeplink.StringLiteralType","fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"kind":"identifier","text":"StringLiteralType"}],"navigatorTitle":[{"kind":"identifier","text":"StringLiteralType"}],"kind":"symbol","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/StringLiteralType","role":"symbol"},"doc://Deeplink/documentation/Deeplink/Deeplink/init(stringLiteral:)":{"url":"\/documentation\/deeplink\/deeplink\/init(stringliteral:)","kind":"symbol","role":"symbol","type":"topic","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/init(stringLiteral:)","abstract":[{"text":"Initialize a deeplink template with a ","type":"text"},{"code":"String","type":"codeVoice"},{"text":" literal. This will simply attempt to pattern match this string with the ","type":"text"},{"type":"codeVoice","code":"URL"},{"text":" passed to the ","type":"text"},{"type":"codeVoice","code":"parse(_:into:)"},{"type":"text","text":" function."}],"title":"init(stringLiteral:)","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"stringLiteral"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:8DeeplinkAAO","text":"Deeplink"},{"text":"<","kind":"text"},{"text":"Value","kind":"typeIdentifier"},{"text":">.","kind":"text"},{"text":"StringLiteralType","kind":"typeIdentifier","preciseIdentifier":"s:8DeeplinkAAO17StringLiteralTypea"},{"text":")","kind":"text"}]},"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/Deeplink/init(stringInterpolation:)":{"url":"\/documentation\/deeplink\/deeplink\/init(stringinterpolation:)","kind":"symbol","role":"symbol","type":"topic","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/init(stringInterpolation:)","abstract":[{"type":"text","text":"Initialize a deeplink template with a string interpolation pattern. This will attempt to pattern match the string components of the interpolation, while assigning the extra parts of the URL to the property specified by keypaths from the argument components."}],"title":"init(stringInterpolation:)","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"stringInterpolation","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"DeeplinkInterpolation","preciseIdentifier":"s:8Deeplink0A13InterpolationV"},{"kind":"text","text":"<"},{"text":"Value","kind":"typeIdentifier"},{"text":">)","kind":"text"}]},"doc://Deeplink/documentation/Deeplink/Deeplink":{"url":"\/documentation\/deeplink\/deeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","navigatorTitle":[{"text":"Deeplink","kind":"identifier"}],"abstract":[{"type":"text","text":"An "},{"code":"enum","type":"codeVoice"},{"text":" that represents a deeplink template.","type":"text"}],"title":"Deeplink","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"type":"topic"},"doc://Deeplink/documentation/Deeplink/Deeplink/ExpressibleByStringLiteral-Implementations":{"type":"topic","url":"\/documentation\/deeplink\/deeplink\/expressiblebystringliteral-implementations","abstract":[],"title":"ExpressibleByStringLiteral Implementations","kind":"article","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/ExpressibleByStringLiteral-Implementations","role":"collectionGroup"}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplink/init(unicodescalarliteral:).json b/docs/data/documentation/deeplink/deeplink/init(unicodescalarliteral:).json index a0ac0d5..652a705 100644 --- a/docs/data/documentation/deeplink/deeplink/init(unicodescalarliteral:).json +++ b/docs/data/documentation/deeplink/deeplink/init(unicodescalarliteral:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"unicodeScalarLiteral"},{"kind":"text","text":" "},{"kind":"internalParam","text":"value"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"ExtendedGraphemeClusterLiteralType"},{"kind":"text","text":")"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/deeplink\/deeplink\/init(unicodescalarliteral:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/init(unicodeScalarLiteral:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"ExpressibleByUnicodeScalarLiteral.init(unicodeScalarLiteral:)"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"conformance":{"constraints":[{"type":"codeVoice","code":"ExtendedGraphemeClusterLiteralType"},{"type":"text","text":" is "},{"type":"codeVoice","code":"Self.UnicodeScalarLiteralType"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"init(unicodeScalarLiteral:)","roleHeading":"Initializer","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"unicodeScalarLiteral"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"ExtendedGraphemeClusterLiteralType"},{"kind":"text","text":")"}],"symbolKind":"init","externalID":"s:s43ExpressibleByExtendedGraphemeClusterLiteralPs013UnicodeScalarF4TypeQz0cdefI0RtzrlE07unicodehF0xAF_tcfc::SYNTHESIZED::s:8DeeplinkAAO","extendedModule":"Swift","modules":[{"name":"Deeplink"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/ExpressibleByUnicodeScalarLiteral-Implementations"]]},"references":{"doc://Deeplink/documentation/Deeplink/Deeplink/ExpressibleByUnicodeScalarLiteral-Implementations":{"role":"collectionGroup","title":"ExpressibleByUnicodeScalarLiteral Implementations","abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/ExpressibleByUnicodeScalarLiteral-Implementations","kind":"article","type":"topic","url":"\/documentation\/deeplink\/deeplink\/expressiblebyunicodescalarliteral-implementations"},"doc://Deeplink/documentation/Deeplink/Deeplink/init(unicodeScalarLiteral:)":{"conformance":{"constraints":[{"type":"codeVoice","code":"ExtendedGraphemeClusterLiteralType"},{"type":"text","text":" is "},{"type":"codeVoice","code":"Self.UnicodeScalarLiteralType"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"init(unicodeScalarLiteral:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"unicodeScalarLiteral"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"ExtendedGraphemeClusterLiteralType"},{"kind":"text","text":")"}],"abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/init(unicodeScalarLiteral:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplink\/init(unicodescalarliteral:)"},"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"role":"symbol","title":"Deeplink","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"abstract":[{"type":"text","text":"An "},{"type":"codeVoice","code":"enum"},{"type":"text","text":" that represents a deeplink template."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Deeplink"}],"url":"\/documentation\/deeplink\/deeplink"}}} \ No newline at end of file +{"schemaVersion":{"patch":0,"major":0,"minor":3},"kind":"symbol","metadata":{"role":"symbol","roleHeading":"Initializer","title":"init(unicodeScalarLiteral:)","fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"unicodeScalarLiteral"},{"text":": ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"ExtendedGraphemeClusterLiteralType","kind":"typeIdentifier"},{"kind":"text","text":")"}],"symbolKind":"init","conformance":{"availabilityPrefix":[{"text":"Available when","type":"text"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"type":"codeVoice","code":"ExtendedGraphemeClusterLiteralType"},{"type":"text","text":" is "},{"code":"Self.UnicodeScalarLiteralType","type":"codeVoice"},{"text":".","type":"text"}]},"externalID":"s:s43ExpressibleByExtendedGraphemeClusterLiteralPs013UnicodeScalarF4TypeQz0cdefI0RtzrlE07unicodehF0xAF_tcfc::SYNTHESIZED::s:8DeeplinkAAO","extendedModule":"Swift","modules":[{"relatedModules":["Swift"],"name":"Deeplink"}]},"abstract":[{"type":"text","text":"Inherited from "},{"code":"ExpressibleByUnicodeScalarLiteral.init(unicodeScalarLiteral:)","type":"codeVoice"},{"text":".","type":"text"}],"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"unicodeScalarLiteral"},{"kind":"text","text":" "},{"text":"value","kind":"internalParam"},{"kind":"text","text":": "},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"ExtendedGraphemeClusterLiteralType"},{"text":")","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"sections":[],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/init(unicodeScalarLiteral:)","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/ExpressibleByUnicodeScalarLiteral-Implementations"]]},"variants":[{"paths":["\/documentation\/deeplink\/deeplink\/init(unicodescalarliteral:)"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://Deeplink/documentation/Deeplink/Deeplink/ExpressibleByUnicodeScalarLiteral-Implementations":{"type":"topic","title":"ExpressibleByUnicodeScalarLiteral Implementations","kind":"article","abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/ExpressibleByUnicodeScalarLiteral-Implementations","url":"\/documentation\/deeplink\/deeplink\/expressiblebyunicodescalarliteral-implementations","role":"collectionGroup"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"url":"\/documentation\/deeplink\/deeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","navigatorTitle":[{"text":"Deeplink","kind":"identifier"}],"abstract":[{"type":"text","text":"An "},{"code":"enum","type":"codeVoice"},{"text":" that represents a deeplink template.","type":"text"}],"title":"Deeplink","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"type":"topic"},"doc://Deeplink/documentation/Deeplink/Deeplink/init(unicodeScalarLiteral:)":{"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"text":"unicodeScalarLiteral","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"ExtendedGraphemeClusterLiteralType","kind":"typeIdentifier"},{"kind":"text","text":")"}],"type":"topic","kind":"symbol","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/init(unicodeScalarLiteral:)","conformance":{"constraints":[{"code":"ExtendedGraphemeClusterLiteralType","type":"codeVoice"},{"text":" is ","type":"text"},{"code":"Self.UnicodeScalarLiteralType","type":"codeVoice"},{"type":"text","text":"."}],"conformancePrefix":[{"text":"Conforms when","type":"text"}],"availabilityPrefix":[{"type":"text","text":"Available when"}]},"abstract":[],"title":"init(unicodeScalarLiteral:)","url":"\/documentation\/deeplink\/deeplink\/init(unicodescalarliteral:)","role":"symbol"},"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplink/interpolated(_:).json b/docs/data/documentation/deeplink/deeplink/interpolated(_:).json index 2b30524..f669051 100644 --- a/docs/data/documentation/deeplink/deeplink/interpolated(_:).json +++ b/docs/data/documentation/deeplink/deeplink/interpolated(_:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"interpolated"},{"kind":"text","text":"("},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation","preciseIdentifier":"s:8Deeplink0A13InterpolationV","text":"DeeplinkInterpolation"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">)"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"discussion","level":2,"type":"heading","text":"Discussion"},{"type":"paragraph","inlineContent":[{"type":"text","text":"In our case, the arguments are "},{"type":"codeVoice","code":"WritableKeyPath"},{"type":"text","text":" that will be used to assign their corresponding string argument to that property on the "},{"type":"codeVoice","code":"T"},{"type":"text","text":" "},{"type":"codeVoice","code":"assigningTo"},{"type":"text","text":" instance (see "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"},{"type":"text","text":")."}]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/deeplink\/deeplink\/interpolated(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/interpolated(_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"An “interpolated” deeplink is a string that also contains string interpolation arguments."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"interpolated"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"DeeplinkInterpolation","preciseIdentifier":"s:8Deeplink0A13InterpolationV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">)"}],"title":"Deeplink.interpolated(_:)","roleHeading":"Case","role":"symbol","symbolKind":"case","externalID":"s:8DeeplinkAAO12interpolatedyAByxGAA0A13InterpolationVyxGcADmlF","modules":[{"name":"Deeplink"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"]]},"references":{"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"role":"symbol","title":"DeeplinksCenter","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinksCenter"}],"abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinksCenter"}],"url":"\/documentation\/deeplink\/deeplinkscenter"},"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"role":"symbol","title":"Deeplink","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"abstract":[{"type":"text","text":"An "},{"type":"codeVoice","code":"enum"},{"type":"text","text":" that represents a deeplink template."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Deeplink"}],"url":"\/documentation\/deeplink\/deeplink"},"doc://Deeplink/documentation/Deeplink/Deeplink/interpolated(_:)":{"role":"symbol","title":"Deeplink.interpolated(_:)","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"interpolated"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"DeeplinkInterpolation","preciseIdentifier":"s:8Deeplink0A13InterpolationV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">)"}],"abstract":[{"type":"text","text":"An “interpolated” deeplink is a string that also contains string interpolation arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/interpolated(_:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplink\/interpolated(_:)"},"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation":{"role":"symbol","title":"DeeplinkInterpolation","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinkInterpolation"}],"abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinkInterpolation"}],"url":"\/documentation\/deeplink\/deeplinkinterpolation"}}} \ No newline at end of file +{"kind":"symbol","hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"]]},"metadata":{"externalID":"s:8DeeplinkAAO12interpolatedyAByxGAA0A13InterpolationVyxGcADmlF","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"interpolated"},{"text":"(","kind":"text"},{"text":"DeeplinkInterpolation","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A13InterpolationV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">)"}],"role":"symbol","modules":[{"name":"Deeplink"}],"title":"Deeplink.interpolated(_:)","symbolKind":"case","roleHeading":"Case"},"abstract":[{"type":"text","text":"An “interpolated” deeplink is a string that also contains string interpolation arguments."}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/interpolated(_:)","interfaceLanguage":"swift"},"schemaVersion":{"patch":0,"major":0,"minor":3},"primaryContentSections":[{"declarations":[{"tokens":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"interpolated"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A13InterpolationV","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation","text":"DeeplinkInterpolation"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">)"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"},{"content":[{"type":"heading","anchor":"discussion","level":2,"text":"Discussion"},{"type":"paragraph","inlineContent":[{"text":"In our case, the arguments are ","type":"text"},{"code":"WritableKeyPath","type":"codeVoice"},{"type":"text","text":" that will be used to assign their corresponding string argument to that property on the "},{"type":"codeVoice","code":"T"},{"type":"text","text":" "},{"type":"codeVoice","code":"assigningTo"},{"type":"text","text":" instance (see "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"},{"type":"text","text":")."}]}],"kind":"content"}],"sections":[],"variants":[{"paths":["\/documentation\/deeplink\/deeplink\/interpolated(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation":{"fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinkInterpolation"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation","navigatorTitle":[{"text":"DeeplinkInterpolation","kind":"identifier"}],"role":"symbol","title":"DeeplinkInterpolation","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkinterpolation","type":"topic","abstract":[]},"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/Deeplink/interpolated(_:)":{"url":"\/documentation\/deeplink\/deeplink\/interpolated(_:)","kind":"symbol","role":"symbol","type":"topic","abstract":[{"type":"text","text":"An “interpolated” deeplink is a string that also contains string interpolation arguments."}],"fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"interpolated","kind":"identifier"},{"text":"(","kind":"text"},{"text":"DeeplinkInterpolation","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A13InterpolationV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"text":">)","kind":"text"}],"title":"Deeplink.interpolated(_:)","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/interpolated(_:)"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"url":"\/documentation\/deeplink\/deeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","navigatorTitle":[{"text":"Deeplink","kind":"identifier"}],"abstract":[{"type":"text","text":"An "},{"code":"enum","type":"codeVoice"},{"text":" that represents a deeplink template.","type":"text"}],"title":"Deeplink","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"type":"topic"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinksCenter"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","navigatorTitle":[{"text":"DeeplinksCenter","kind":"identifier"}],"role":"symbol","title":"DeeplinksCenter","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkscenter","type":"topic","abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}]}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplink/literal(_:).json b/docs/data/documentation/deeplink/deeplink/literal(_:).json index 119f8a5..791bcfa 100644 --- a/docs/data/documentation/deeplink/deeplink/literal(_:).json +++ b/docs/data/documentation/deeplink/deeplink/literal(_:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"literal"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/deeplink\/deeplink\/literal(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/literal(_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"A “literal” deeplink is a simple string: you can have a deeplink with no arguments and still attempt pattern matching it with a URL."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"literal"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"title":"Deeplink.literal(_:)","roleHeading":"Case","role":"symbol","symbolKind":"case","externalID":"s:8DeeplinkAAO7literalyAByxGSScADmlF","modules":[{"name":"Deeplink"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"]]},"references":{"doc://Deeplink/documentation/Deeplink/Deeplink/literal(_:)":{"role":"symbol","title":"Deeplink.literal(_:)","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"literal"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"A “literal” deeplink is a simple string: you can have a deeplink with no arguments and still attempt pattern matching it with a URL."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/literal(_:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplink\/literal(_:)"},"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"role":"symbol","title":"Deeplink","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"abstract":[{"type":"text","text":"An "},{"type":"codeVoice","code":"enum"},{"type":"text","text":" that represents a deeplink template."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Deeplink"}],"url":"\/documentation\/deeplink\/deeplink"}}} \ No newline at end of file +{"schemaVersion":{"major":0,"patch":0,"minor":3},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/literal(_:)"},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"]]},"kind":"symbol","sections":[],"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"literal","kind":"identifier"},{"kind":"text","text":"("},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":")"}]}],"kind":"declarations"}],"abstract":[{"text":"A “literal” deeplink is a simple string: you can have a deeplink with no arguments and still attempt pattern matching it with a URL.","type":"text"}],"metadata":{"symbolKind":"case","externalID":"s:8DeeplinkAAO7literalyAByxGSScADmlF","roleHeading":"Case","role":"symbol","title":"Deeplink.literal(_:)","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"literal","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":")"}],"modules":[{"name":"Deeplink"}]},"variants":[{"paths":["\/documentation\/deeplink\/deeplink\/literal(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://Deeplink/documentation/Deeplink/Deeplink/literal(_:)":{"url":"\/documentation\/deeplink\/deeplink\/literal(_:)","kind":"symbol","role":"symbol","type":"topic","abstract":[{"text":"A “literal” deeplink is a simple string: you can have a deeplink with no arguments and still attempt pattern matching it with a URL.","type":"text"}],"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"literal","kind":"identifier"},{"kind":"text","text":"("},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"title":"Deeplink.literal(_:)","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/literal(_:)"},"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"url":"\/documentation\/deeplink\/deeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","navigatorTitle":[{"text":"Deeplink","kind":"identifier"}],"abstract":[{"type":"text","text":"An "},{"code":"enum","type":"codeVoice"},{"text":" that represents a deeplink template.","type":"text"}],"title":"Deeplink","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplink/parse(_:).json b/docs/data/documentation/deeplink/deeplink/parse(_:).json index 794a48e..3a4781d 100644 --- a/docs/data/documentation/deeplink/deeplink/parse(_:).json +++ b/docs/data/documentation/deeplink/deeplink/parse(_:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"parse"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"url"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"discussion","level":2,"type":"heading","text":"Discussion"},{"style":"note","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"a "},{"type":"codeVoice","code":"DeeplinkError"},{"type":"text","text":" if we cannot parse relative path, query items or fragments from the URL, or if there is no valid match."}]}],"type":"aside","name":"Throws"}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/deeplink\/deeplink\/parse(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/parse(_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Attempt to parse a "},{"type":"codeVoice","code":"URL"},{"type":"text","text":" by using the current deeplink. This is a utility for literal deeplinks that do not contain any argument, as they don’t need an instance to assign values to."}],"kind":"symbol","metadata":{"conformance":{"constraints":[{"type":"codeVoice","code":"Value"},{"type":"text","text":" is "},{"type":"codeVoice","code":"()"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"parse(_:)","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"parse"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"symbolKind":"method","externalID":"s:8DeeplinkAAOAAytRszlE5parseyy10Foundation3URLVKF","extendedModule":"Deeplink","modules":[{"name":"Deeplink"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"]]},"seeAlsoSections":[{"title":"Parse a URL","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/parse(_:into:)"],"generated":true}],"references":{"doc://Deeplink/documentation/Deeplink/Deeplink/parse(_:into:)":{"role":"symbol","title":"parse(_:into:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"parse"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"into"},{"kind":"text","text":": "},{"kind":"keyword","text":"inout"},{"kind":"text","text":" "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Attempt to parse a "},{"type":"codeVoice","code":"URL"},{"type":"text","text":" by using the current deeplink. In case of success, the argument found by the pattern matching will be assigned to their corresponding keypath to the "},{"type":"codeVoice","code":"instance"},{"type":"text","text":" object."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/parse(_:into:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplink\/parse(_:into:)"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"role":"symbol","title":"Deeplink","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"abstract":[{"type":"text","text":"An "},{"type":"codeVoice","code":"enum"},{"type":"text","text":" that represents a deeplink template."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Deeplink"}],"url":"\/documentation\/deeplink\/deeplink"},"doc://Deeplink/documentation/Deeplink/Deeplink/parse(_:)":{"conformance":{"constraints":[{"type":"codeVoice","code":"Value"},{"type":"text","text":" is "},{"type":"codeVoice","code":"()"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"parse(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"parse"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Attempt to parse a "},{"type":"codeVoice","code":"URL"},{"type":"text","text":" by using the current deeplink. This is a utility for literal deeplinks that do not contain any argument, as they don’t need an instance to assign values to."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/parse(_:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplink\/parse(_:)"},"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"}}} \ No newline at end of file +{"metadata":{"title":"parse(_:)","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"parse","kind":"identifier"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:10Foundation3URLV","text":"URL","kind":"typeIdentifier"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}],"conformance":{"conformancePrefix":[{"text":"Conforms when","type":"text"}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"constraints":[{"type":"codeVoice","code":"Value"},{"type":"text","text":" is "},{"type":"codeVoice","code":"()"},{"type":"text","text":"."}]},"symbolKind":"method","externalID":"s:8DeeplinkAAOAAytRszlE5parseyy10Foundation3URLVKF","role":"symbol","modules":[{"name":"Deeplink"}],"roleHeading":"Instance Method","extendedModule":"Deeplink"},"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/parse(_:)"},"abstract":[{"type":"text","text":"Attempt to parse a "},{"type":"codeVoice","code":"URL"},{"text":" by using the current deeplink. This is a utility for literal deeplinks that do not contain any argument, as they don’t need an instance to assign values to.","type":"text"}],"seeAlsoSections":[{"generated":true,"title":"Parse a URL","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/parse(_:into:)"]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"variants":[{"paths":["\/documentation\/deeplink\/deeplink\/parse(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"parse","kind":"identifier"},{"text":"(","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"url"},{"kind":"text","text":": "},{"text":"URL","preciseIdentifier":"s:10Foundation3URLV","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"level":2,"anchor":"discussion","text":"Discussion","type":"heading"},{"name":"Throws","type":"aside","style":"note","content":[{"inlineContent":[{"text":"a ","type":"text"},{"code":"DeeplinkError","type":"codeVoice"},{"type":"text","text":" if we cannot parse relative path, query items or fragments from the URL, or if there is no valid match."}],"type":"paragraph"}]}]}],"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"]]},"references":{"doc://Deeplink/documentation/Deeplink/Deeplink":{"url":"\/documentation\/deeplink\/deeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","navigatorTitle":[{"text":"Deeplink","kind":"identifier"}],"abstract":[{"type":"text","text":"An "},{"code":"enum","type":"codeVoice"},{"text":" that represents a deeplink template.","type":"text"}],"title":"Deeplink","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"type":"topic"},"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/Deeplink/parse(_:into:)":{"title":"parse(_:into:)","url":"\/documentation\/deeplink\/deeplink\/parse(_:into:)","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"parse"},{"text":"(","kind":"text"},{"text":"URL","preciseIdentifier":"s:10Foundation3URLV","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"into"},{"text":": ","kind":"text"},{"text":"inout","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Value","kind":"typeIdentifier"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/parse(_:into:)","abstract":[{"text":"Attempt to parse a ","type":"text"},{"code":"URL","type":"codeVoice"},{"type":"text","text":" by using the current deeplink. In case of success, the argument found by the pattern matching will be assigned to their corresponding keypath to the "},{"code":"instance","type":"codeVoice"},{"text":" object.","type":"text"}],"role":"symbol","type":"topic","kind":"symbol"},"doc://Deeplink/documentation/Deeplink/Deeplink/parse(_:)":{"url":"\/documentation\/deeplink\/deeplink\/parse(_:)","title":"parse(_:)","role":"symbol","abstract":[{"text":"Attempt to parse a ","type":"text"},{"code":"URL","type":"codeVoice"},{"text":" by using the current deeplink. This is a utility for literal deeplinks that do not contain any argument, as they don’t need an instance to assign values to.","type":"text"}],"kind":"symbol","type":"topic","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/parse(_:)","conformance":{"availabilityPrefix":[{"type":"text","text":"Available when"}],"constraints":[{"type":"codeVoice","code":"Value"},{"type":"text","text":" is "},{"type":"codeVoice","code":"()"},{"text":".","type":"text"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"parse"},{"text":"(","kind":"text"},{"text":"URL","preciseIdentifier":"s:10Foundation3URLV","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplink/parse(_:into:).json b/docs/data/documentation/deeplink/deeplink/parse(_:into:).json index db04c49..056ca29 100644 --- a/docs/data/documentation/deeplink/deeplink/parse(_:into:).json +++ b/docs/data/documentation/deeplink/deeplink/parse(_:into:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"parse"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"url"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"into"},{"kind":"text","text":" "},{"kind":"internalParam","text":"instance"},{"kind":"text","text":": "},{"kind":"keyword","text":"inout"},{"kind":"text","text":" "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"url","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"the "},{"type":"codeVoice","code":"URL"},{"type":"text","text":" to parse."}]}]},{"name":"into","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"the "},{"type":"codeVoice","code":"Value"},{"type":"text","text":" instance we will assign the parameters values to if the URL matches this deeplink template."}]}]}]},{"kind":"content","content":[{"anchor":"discussion","level":2,"type":"heading","text":"Discussion"},{"style":"note","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"a "},{"type":"codeVoice","code":"DeeplinkError"},{"type":"text","text":" if we cannot parse relative path, query items or fragments from the URL, or if there is no valid match."}]}],"type":"aside","name":"Throws"}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/deeplink\/deeplink\/parse(_:into:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/parse(_:into:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Attempt to parse a "},{"type":"codeVoice","code":"URL"},{"type":"text","text":" by using the current deeplink. In case of success, the argument found by the pattern matching will be assigned to their corresponding keypath to the "},{"type":"codeVoice","code":"instance"},{"type":"text","text":" object."}],"kind":"symbol","metadata":{"role":"symbol","title":"parse(_:into:)","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"parse"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"into"},{"kind":"text","text":": "},{"kind":"keyword","text":"inout"},{"kind":"text","text":" "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"symbolKind":"method","externalID":"s:8DeeplinkAAO5parse_4intoy10Foundation3URLV_xztKF","extendedModule":"Deeplink","modules":[{"name":"Deeplink"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"]]},"seeAlsoSections":[{"title":"Parse a URL","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/parse(_:)"],"generated":true}],"references":{"doc://Deeplink/documentation/Deeplink/Deeplink/parse(_:)":{"conformance":{"constraints":[{"type":"codeVoice","code":"Value"},{"type":"text","text":" is "},{"type":"codeVoice","code":"()"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"parse(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"parse"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Attempt to parse a "},{"type":"codeVoice","code":"URL"},{"type":"text","text":" by using the current deeplink. This is a utility for literal deeplinks that do not contain any argument, as they don’t need an instance to assign values to."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/parse(_:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplink\/parse(_:)"},"doc://Deeplink/documentation/Deeplink/Deeplink/parse(_:into:)":{"role":"symbol","title":"parse(_:into:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"parse"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"into"},{"kind":"text","text":": "},{"kind":"keyword","text":"inout"},{"kind":"text","text":" "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Attempt to parse a "},{"type":"codeVoice","code":"URL"},{"type":"text","text":" by using the current deeplink. In case of success, the argument found by the pattern matching will be assigned to their corresponding keypath to the "},{"type":"codeVoice","code":"instance"},{"type":"text","text":" object."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/parse(_:into:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplink\/parse(_:into:)"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"role":"symbol","title":"Deeplink","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"abstract":[{"type":"text","text":"An "},{"type":"codeVoice","code":"enum"},{"type":"text","text":" that represents a deeplink template."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Deeplink"}],"url":"\/documentation\/deeplink\/deeplink"},"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"}}} \ No newline at end of file +{"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"]]},"abstract":[{"text":"Attempt to parse a ","type":"text"},{"code":"URL","type":"codeVoice"},{"text":" by using the current deeplink. In case of success, the argument found by the pattern matching will be assigned to their corresponding keypath to the ","type":"text"},{"code":"instance","type":"codeVoice"},{"type":"text","text":" object."}],"sections":[],"metadata":{"modules":[{"name":"Deeplink"}],"extendedModule":"Deeplink","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"parse","kind":"identifier"},{"kind":"text","text":"("},{"text":"URL","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"into"},{"kind":"text","text":": "},{"text":"inout","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Value","kind":"typeIdentifier"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}],"role":"symbol","roleHeading":"Instance Method","externalID":"s:8DeeplinkAAO5parse_4intoy10Foundation3URLV_xztKF","title":"parse(_:into:)","symbolKind":"method"},"seeAlsoSections":[{"generated":true,"identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/parse(_:)"],"title":"Parse a URL"}],"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/parse(_:into:)"},"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"parse"},{"kind":"text","text":"("},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"kind":"internalParam","text":"url"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation3URLV","text":"URL"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"into"},{"kind":"text","text":" "},{"text":"instance","kind":"internalParam"},{"text":": ","kind":"text"},{"kind":"keyword","text":"inout"},{"kind":"text","text":" "},{"text":"Value","kind":"typeIdentifier"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"},{"kind":"parameters","parameters":[{"name":"url","content":[{"type":"paragraph","inlineContent":[{"text":"the ","type":"text"},{"type":"codeVoice","code":"URL"},{"type":"text","text":" to parse."}]}]},{"name":"into","content":[{"inlineContent":[{"type":"text","text":"the "},{"type":"codeVoice","code":"Value"},{"type":"text","text":" instance we will assign the parameters values to if the URL matches this deeplink template."}],"type":"paragraph"}]}]},{"content":[{"level":2,"anchor":"discussion","text":"Discussion","type":"heading"},{"style":"note","type":"aside","name":"Throws","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"a "},{"type":"codeVoice","code":"DeeplinkError"},{"type":"text","text":" if we cannot parse relative path, query items or fragments from the URL, or if there is no valid match."}]}]}],"kind":"content"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/deeplink\/deeplink\/parse(_:into:)"]}],"schemaVersion":{"minor":3,"patch":0,"major":0},"references":{"doc://Deeplink/documentation/Deeplink/Deeplink/parse(_:into:)":{"title":"parse(_:into:)","url":"\/documentation\/deeplink\/deeplink\/parse(_:into:)","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"parse"},{"text":"(","kind":"text"},{"text":"URL","preciseIdentifier":"s:10Foundation3URLV","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"into"},{"text":": ","kind":"text"},{"text":"inout","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Value","kind":"typeIdentifier"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/parse(_:into:)","abstract":[{"text":"Attempt to parse a ","type":"text"},{"code":"URL","type":"codeVoice"},{"type":"text","text":" by using the current deeplink. In case of success, the argument found by the pattern matching will be assigned to their corresponding keypath to the "},{"code":"instance","type":"codeVoice"},{"text":" object.","type":"text"}],"role":"symbol","type":"topic","kind":"symbol"},"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"url":"\/documentation\/deeplink\/deeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","navigatorTitle":[{"text":"Deeplink","kind":"identifier"}],"abstract":[{"type":"text","text":"An "},{"code":"enum","type":"codeVoice"},{"text":" that represents a deeplink template.","type":"text"}],"title":"Deeplink","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"type":"topic"},"doc://Deeplink/documentation/Deeplink/Deeplink/parse(_:)":{"url":"\/documentation\/deeplink\/deeplink\/parse(_:)","title":"parse(_:)","role":"symbol","abstract":[{"text":"Attempt to parse a ","type":"text"},{"code":"URL","type":"codeVoice"},{"text":" by using the current deeplink. This is a utility for literal deeplinks that do not contain any argument, as they don’t need an instance to assign values to.","type":"text"}],"kind":"symbol","type":"topic","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/parse(_:)","conformance":{"availabilityPrefix":[{"type":"text","text":"Available when"}],"constraints":[{"type":"codeVoice","code":"Value"},{"type":"text","text":" is "},{"type":"codeVoice","code":"()"},{"text":".","type":"text"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"parse"},{"text":"(","kind":"text"},{"text":"URL","preciseIdentifier":"s:10Foundation3URLV","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplink/stringliteraltype.json b/docs/data/documentation/deeplink/deeplink/stringliteraltype.json index afaa526..fbfad18 100644 --- a/docs/data/documentation/deeplink/deeplink/stringliteraltype.json +++ b/docs/data/documentation/deeplink/deeplink/stringliteraltype.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"StringLiteralType"},{"kind":"text","text":" = "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/deeplink\/deeplink\/stringliteraltype"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/StringLiteralType","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"ExpressibleByStringLiteral.StringLiteralType"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"StringLiteralType"}],"title":"Deeplink.StringLiteralType","roleHeading":"Type Alias","role":"symbol","symbolKind":"typealias","externalID":"s:8DeeplinkAAO17StringLiteralTypea","modules":[{"name":"Deeplink"}],"navigatorTitle":[{"kind":"identifier","text":"StringLiteralType"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"]]},"references":{"doc://Deeplink/documentation/Deeplink/Deeplink/StringLiteralType":{"role":"symbol","title":"Deeplink.StringLiteralType","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"StringLiteralType"}],"abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/StringLiteralType","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"StringLiteralType"}],"url":"\/documentation\/deeplink\/deeplink\/stringliteraltype"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"role":"symbol","title":"Deeplink","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"abstract":[{"type":"text","text":"An "},{"type":"codeVoice","code":"enum"},{"type":"text","text":" that represents a deeplink template."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Deeplink"}],"url":"\/documentation\/deeplink\/deeplink"},"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"}}} \ No newline at end of file +{"metadata":{"fragments":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"text":"StringLiteralType","kind":"identifier"}],"symbolKind":"typealias","roleHeading":"Type Alias","externalID":"s:8DeeplinkAAO17StringLiteralTypea","navigatorTitle":[{"text":"StringLiteralType","kind":"identifier"}],"role":"symbol","title":"Deeplink.StringLiteralType","modules":[{"name":"Deeplink"}]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/StringLiteralType"},"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/deeplink\/deeplink\/stringliteraltype"]}],"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"]]},"schemaVersion":{"minor":3,"patch":0,"major":0},"sections":[],"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"StringLiteralType"},{"text":" = ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"}]}],"kind":"declarations"}],"abstract":[{"text":"Inherited from ","type":"text"},{"type":"codeVoice","code":"ExpressibleByStringLiteral.StringLiteralType"},{"type":"text","text":"."}],"references":{"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/Deeplink/StringLiteralType":{"abstract":[],"type":"topic","url":"\/documentation\/deeplink\/deeplink\/stringliteraltype","title":"Deeplink.StringLiteralType","fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"kind":"identifier","text":"StringLiteralType"}],"navigatorTitle":[{"kind":"identifier","text":"StringLiteralType"}],"kind":"symbol","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink\/StringLiteralType","role":"symbol"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"url":"\/documentation\/deeplink\/deeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","navigatorTitle":[{"text":"Deeplink","kind":"identifier"}],"abstract":[{"type":"text","text":"An "},{"code":"enum","type":"codeVoice"},{"text":" that represents a deeplink template.","type":"text"}],"title":"Deeplink","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplinkbuilder.json b/docs/data/documentation/deeplink/deeplinkbuilder.json index bca6fe7..ded72c4 100644 --- a/docs/data/documentation/deeplink/deeplinkbuilder.json +++ b/docs/data/documentation/deeplink/deeplinkbuilder.json @@ -1 +1 @@ -{"seeAlsoSections":[{"title":"Implementation details","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation"],"generated":true}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"attribute","text":"@resultBuilder"},{"kind":"text","text":" "},{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinkBuilder"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"overview","level":2,"type":"heading","text":"Overview"},{"type":"paragraph","inlineContent":[{"type":"text","text":"See "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Using-a-ResultBuilder"},{"type":"text","text":" for more information."}]}]}],"variants":[{"paths":["\/documentation\/deeplink\/deeplinkbuilder"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"A "},{"type":"codeVoice","code":"@resultBuilder"},{"type":"text","text":" that allows you to register deeplink templates using a DSL-like syntax."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinkBuilder"}],"title":"DeeplinkBuilder","roleHeading":"Structure","role":"symbol","symbolKind":"struct","externalID":"s:8Deeplink0A7BuilderV","modules":[{"name":"Deeplink"}],"navigatorTitle":[{"kind":"identifier","text":"DeeplinkBuilder"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink"]]},"topicSections":[{"title":"Type Aliases","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component"]},{"title":"Type Methods","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildArray(_:)","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildBlock(_:)","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildEither(first:)","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildEither(second:)","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildExpression(_:)-6kuwv","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildExpression(_:)-8a26a","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildLimitedAvailability(_:)","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildOptional(_:)"]}],"references":{"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder":{"role":"symbol","title":"DeeplinkBuilder","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinkBuilder"}],"abstract":[{"type":"text","text":"A "},{"type":"codeVoice","code":"@resultBuilder"},{"type":"text","text":" that allows you to register deeplink templates using a DSL-like syntax."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinkBuilder"}],"url":"\/documentation\/deeplink\/deeplinkbuilder"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"role":"symbol","title":"Deeplink","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"abstract":[{"type":"text","text":"An "},{"type":"codeVoice","code":"enum"},{"type":"text","text":" that represents a deeplink template."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Deeplink"}],"url":"\/documentation\/deeplink\/deeplink"},"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/Component":{"role":"symbol","title":"DeeplinkBuilder.Component","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Component"}],"abstract":[{"type":"text","text":"The type of a partial result, which will be carried through all of the"},{"type":"text","text":" "},{"type":"text","text":"build methods."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Component"}],"url":"\/documentation\/deeplink\/deeplinkbuilder\/component"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/buildBlock(_:)":{"role":"symbol","title":"buildBlock(_:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"buildBlock"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"},{"kind":"text","text":"...) -> "},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"}],"abstract":[{"type":"text","text":"Required by every result builder to build combined results from"},{"type":"text","text":" "},{"type":"text","text":"statement blocks."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildBlock(_:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkbuilder\/buildblock(_:)"},"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation":{"role":"symbol","title":"DeeplinkInterpolation","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinkInterpolation"}],"abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinkInterpolation"}],"url":"\/documentation\/deeplink\/deeplinkinterpolation"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/buildEither(first:)":{"role":"symbol","title":"buildEither(first:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"buildEither"},{"kind":"text","text":"("},{"kind":"externalParam","text":"first"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"}],"abstract":[{"type":"text","text":"With buildEither(second:), enables support for ‘if-else’ and ‘switch’"},{"type":"text","text":" "},{"type":"text","text":"statements by folding conditional results into a single result."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildEither(first:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkbuilder\/buildeither(first:)"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/buildExpression(_:)-8a26a":{"role":"symbol","title":"buildExpression(_:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"buildExpression"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"}],"abstract":[{"type":"text","text":"If declared, provides contextual type information for statement"},{"type":"text","text":" "},{"type":"text","text":"expressions to translate them into partial results."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildExpression(_:)-8a26a","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkbuilder\/buildexpression(_:)-8a26a"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/buildArray(_:)":{"role":"symbol","title":"buildArray(_:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"buildArray"},{"kind":"text","text":"(["},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"},{"kind":"text","text":"]) -> "},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"}],"abstract":[{"type":"text","text":"Enables support for ‘for..in’ loops by combining the"},{"type":"text","text":" "},{"type":"text","text":"results of all iterations into a single result."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildArray(_:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkbuilder\/buildarray(_:)"},"doc://Deeplink/tutorials/Deeplink/Using-a-ResultBuilder":{"role":"project","title":"Registering Deeplinks with a ResultBuilder","estimatedTime":"10min","abstract":[{"type":"text","text":"If you need advanced behaviors, you can also register your "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"},{"type":"text","text":" templates using a "},{"type":"codeVoice","code":"@resultBuilder"},{"type":"text","text":"."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Using-a-ResultBuilder","kind":"project","type":"topic","url":"\/tutorials\/deeplink\/using-a-resultbuilder"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/buildOptional(_:)":{"role":"symbol","title":"buildOptional(_:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"buildOptional"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"},{"kind":"text","text":"?) -> "},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"}],"abstract":[{"type":"text","text":"Enables support for "},{"type":"codeVoice","code":"if"},{"type":"text","text":" statements that do not have an "},{"type":"codeVoice","code":"else"},{"type":"text","text":"."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildOptional(_:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkbuilder\/buildoptional(_:)"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/buildLimitedAvailability(_:)":{"role":"symbol","title":"buildLimitedAvailability(_:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"buildLimitedAvailability"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"}],"abstract":[{"type":"text","text":"If declared, this will be called on the partial result of an "},{"type":"codeVoice","code":"if #available"},{"type":"text","text":" block to allow the result builder to erase type"},{"type":"text","text":" "},{"type":"text","text":"information."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildLimitedAvailability(_:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkbuilder\/buildlimitedavailability(_:)"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/buildExpression(_:)-6kuwv":{"role":"symbol","title":"buildExpression(_:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"buildExpression"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V"},{"kind":"text","text":"?) -> "},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"}],"abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildExpression(_:)-6kuwv","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkbuilder\/buildexpression(_:)-6kuwv"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/buildEither(second:)":{"role":"symbol","title":"buildEither(second:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"buildEither"},{"kind":"text","text":"("},{"kind":"externalParam","text":"second"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"}],"abstract":[{"type":"text","text":"With buildEither(first:), enables support for ‘if-else’ and ‘switch’"},{"type":"text","text":" "},{"type":"text","text":"statements by folding conditional results into a single result."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildEither(second:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkbuilder\/buildeither(second:)"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"role":"symbol","title":"DeeplinksCenter","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinksCenter"}],"abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinksCenter"}],"url":"\/documentation\/deeplink\/deeplinkscenter"},"doc://Deeplink/documentation/Deeplink/AnyDeeplink":{"role":"symbol","title":"AnyDeeplink","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"AnyDeeplink"}],"abstract":[{"type":"text","text":"Type-erased version of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"},{"type":"text","text":". Used to keep a list of Deeplinks in the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"},{"type":"text","text":" where every element of the list might have different type parameters."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"AnyDeeplink"}],"url":"\/documentation\/deeplink\/anydeeplink"}}} \ No newline at end of file +{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder"},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink"]]},"variants":[{"paths":["\/documentation\/deeplink\/deeplinkbuilder"],"traits":[{"interfaceLanguage":"swift"}]}],"seeAlsoSections":[{"generated":true,"title":"Implementation details","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation"]}],"kind":"symbol","sections":[],"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"attribute","text":"@resultBuilder"},{"text":" ","kind":"text"},{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"DeeplinkBuilder","kind":"identifier"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"},{"content":[{"text":"Overview","anchor":"overview","type":"heading","level":2},{"inlineContent":[{"text":"See ","type":"text"},{"isActive":true,"type":"reference","identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Using-a-ResultBuilder"},{"type":"text","text":" for more information."}],"type":"paragraph"}],"kind":"content"}],"topicSections":[{"identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component"],"title":"Type Aliases"},{"title":"Type Methods","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildArray(_:)","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildBlock(_:)","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildEither(first:)","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildEither(second:)","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildExpression(_:)-6kuwv","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildExpression(_:)-8a26a","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildLimitedAvailability(_:)","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildOptional(_:)"]}],"schemaVersion":{"minor":3,"major":0,"patch":0},"metadata":{"fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinkBuilder"}],"navigatorTitle":[{"kind":"identifier","text":"DeeplinkBuilder"}],"roleHeading":"Structure","title":"DeeplinkBuilder","role":"symbol","symbolKind":"struct","externalID":"s:8Deeplink0A7BuilderV","modules":[{"name":"Deeplink"}]},"abstract":[{"type":"text","text":"A "},{"code":"@resultBuilder","type":"codeVoice"},{"type":"text","text":" that allows you to register deeplink templates using a DSL-like syntax."}],"references":{"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinksCenter"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","navigatorTitle":[{"text":"DeeplinksCenter","kind":"identifier"}],"role":"symbol","title":"DeeplinksCenter","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkscenter","type":"topic","abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}]},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/buildEither(second:)":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildEither(second:)","url":"\/documentation\/deeplink\/deeplinkbuilder\/buildeither(second:)","title":"buildEither(second:)","role":"symbol","type":"topic","abstract":[{"text":"With buildEither(first:), enables support for ‘if-else’ and ‘switch’","type":"text"},{"type":"text","text":" "},{"type":"text","text":"statements by folding conditional results into a single result."}],"kind":"symbol","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"buildEither","kind":"identifier"},{"kind":"text","text":"("},{"text":"second","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","text":"Component","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"DeeplinkBuilder","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"text":"Component","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"}]},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/buildExpression(_:)-8a26a":{"title":"buildExpression(_:)","abstract":[{"type":"text","text":"If declared, provides contextual type information for statement"},{"type":"text","text":" "},{"type":"text","text":"expressions to translate them into partial results."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildExpression(_:)-8a26a","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"buildExpression","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink03AnyA0V","text":"AnyDeeplink"},{"text":") -> ","kind":"text"},{"text":"DeeplinkBuilder","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","text":"Component"}],"role":"symbol","type":"topic","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkbuilder\/buildexpression(_:)-8a26a"},"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation":{"fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinkInterpolation"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation","navigatorTitle":[{"text":"DeeplinkInterpolation","kind":"identifier"}],"role":"symbol","title":"DeeplinkInterpolation","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkinterpolation","type":"topic","abstract":[]},"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/buildLimitedAvailability(_:)":{"kind":"symbol","title":"buildLimitedAvailability(_:)","role":"symbol","type":"topic","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"buildLimitedAvailability","kind":"identifier"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","text":"Component"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:8Deeplink0A7BuilderV","text":"DeeplinkBuilder","kind":"typeIdentifier"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","text":"Component"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildLimitedAvailability(_:)","url":"\/documentation\/deeplink\/deeplinkbuilder\/buildlimitedavailability(_:)","abstract":[{"type":"text","text":"If declared, this will be called on the partial result of an "},{"type":"codeVoice","code":"if #available"},{"type":"text","text":" block to allow the result builder to erase type"},{"type":"text","text":" "},{"type":"text","text":"information."}]},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/Component":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component","url":"\/documentation\/deeplink\/deeplinkbuilder\/component","abstract":[{"text":"The type of a partial result, which will be carried through all of the","type":"text"},{"type":"text","text":" "},{"type":"text","text":"build methods."}],"fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Component"}],"type":"topic","navigatorTitle":[{"text":"Component","kind":"identifier"}],"title":"DeeplinkBuilder.Component","kind":"symbol","role":"symbol"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/buildExpression(_:)-6kuwv":{"title":"buildExpression(_:)","abstract":[],"kind":"symbol","role":"symbol","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildExpression(_:)-6kuwv","type":"topic","url":"\/documentation\/deeplink\/deeplinkbuilder\/buildexpression(_:)-6kuwv","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"buildExpression"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V"},{"kind":"text","text":"?) -> "},{"text":"DeeplinkBuilder","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","text":"Component"}]},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","url":"\/documentation\/deeplink\/deeplinkbuilder","abstract":[{"text":"A ","type":"text"},{"code":"@resultBuilder","type":"codeVoice"},{"type":"text","text":" that allows you to register deeplink templates using a DSL-like syntax."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinkBuilder"}],"type":"topic","navigatorTitle":[{"text":"DeeplinkBuilder","kind":"identifier"}],"title":"DeeplinkBuilder","kind":"symbol","role":"symbol"},"doc://Deeplink/documentation/Deeplink/AnyDeeplink":{"url":"\/documentation\/deeplink\/anydeeplink","role":"symbol","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink","navigatorTitle":[{"text":"AnyDeeplink","kind":"identifier"}],"kind":"symbol","type":"topic","abstract":[{"type":"text","text":"Type-erased version of "},{"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","isActive":true},{"type":"text","text":". Used to keep a list of Deeplinks in the "},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","type":"reference","isActive":true},{"text":" where every element of the list might have different type parameters.","type":"text"}],"fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"AnyDeeplink","kind":"identifier"}],"title":"AnyDeeplink"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/buildBlock(_:)":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildBlock(_:)","url":"\/documentation\/deeplink\/deeplinkbuilder\/buildblock(_:)","title":"buildBlock(_:)","role":"symbol","type":"topic","abstract":[{"type":"text","text":"Required by every result builder to build combined results from"},{"text":" ","type":"text"},{"text":"statement blocks.","type":"text"}],"kind":"symbol","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"buildBlock"},{"kind":"text","text":"("},{"preciseIdentifier":"s:8Deeplink0A7BuilderV","kind":"typeIdentifier","text":"DeeplinkBuilder"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","text":"Component"},{"text":"...) -> ","kind":"text"},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","text":"Component"}]},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/buildOptional(_:)":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildOptional(_:)","url":"\/documentation\/deeplink\/deeplinkbuilder\/buildoptional(_:)","abstract":[{"text":"Enables support for ","type":"text"},{"code":"if","type":"codeVoice"},{"type":"text","text":" statements that do not have an "},{"type":"codeVoice","code":"else"},{"text":".","type":"text"}],"fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"buildOptional","kind":"identifier"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","text":"Component","kind":"typeIdentifier"},{"text":"?) -> ","kind":"text"},{"text":"DeeplinkBuilder","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"text":"Component","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"}],"type":"topic","title":"buildOptional(_:)","kind":"symbol","role":"symbol"},"doc://Deeplink/tutorials/Deeplink/Using-a-ResultBuilder":{"estimatedTime":"10min","identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Using-a-ResultBuilder","abstract":[{"text":"If you need advanced behaviors, you can also register your ","type":"text"},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","type":"reference","isActive":true},{"type":"text","text":" templates using a "},{"type":"codeVoice","code":"@resultBuilder"},{"text":".","type":"text"}],"title":"Registering Deeplinks with a ResultBuilder","role":"project","kind":"project","url":"\/tutorials\/deeplink\/using-a-resultbuilder","type":"topic"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/buildArray(_:)":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildArray(_:)","url":"\/documentation\/deeplink\/deeplinkbuilder\/buildarray(_:)","abstract":[{"text":"Enables support for ‘for..in’ loops by combining the","type":"text"},{"type":"text","text":" "},{"type":"text","text":"results of all iterations into a single result."}],"fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"buildArray","kind":"identifier"},{"kind":"text","text":"(["},{"text":"DeeplinkBuilder","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"},{"kind":"text","text":"]) -> "},{"preciseIdentifier":"s:8Deeplink0A7BuilderV","text":"DeeplinkBuilder","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"Component","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"}],"type":"topic","kind":"symbol","title":"buildArray(_:)","role":"symbol"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"url":"\/documentation\/deeplink\/deeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","navigatorTitle":[{"text":"Deeplink","kind":"identifier"}],"abstract":[{"type":"text","text":"An "},{"code":"enum","type":"codeVoice"},{"text":" that represents a deeplink template.","type":"text"}],"title":"Deeplink","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"type":"topic"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/buildEither(first:)":{"type":"topic","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildEither(first:)","title":"buildEither(first:)","abstract":[{"text":"With buildEither(second:), enables support for ‘if-else’ and ‘switch’","type":"text"},{"type":"text","text":" "},{"text":"statements by folding conditional results into a single result.","type":"text"}],"kind":"symbol","role":"symbol","url":"\/documentation\/deeplink\/deeplinkbuilder\/buildeither(first:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"buildEither"},{"text":"(","kind":"text"},{"text":"first","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"text":".","kind":"text"},{"text":"Component","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"},{"text":") -> ","kind":"text"},{"text":"DeeplinkBuilder","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","kind":"typeIdentifier","text":"Component"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplinkbuilder/buildarray(_:).json b/docs/data/documentation/deeplink/deeplinkbuilder/buildarray(_:).json index 1fa319b..3e03062 100644 --- a/docs/data/documentation/deeplink/deeplinkbuilder/buildarray(_:).json +++ b/docs/data/documentation/deeplink/deeplinkbuilder/buildarray(_:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"buildArray"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"components"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV","text":"DeeplinkBuilder"},{"kind":"text","text":"."},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","text":"Component"},{"kind":"text","text":"]) -> "},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV","text":"DeeplinkBuilder"},{"kind":"text","text":"."},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","text":"Component"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/deeplink\/deeplinkbuilder\/buildarray(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildArray(_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Enables support for ‘for..in’ loops by combining the"},{"type":"text","text":" "},{"type":"text","text":"results of all iterations into a single result."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"buildArray"},{"kind":"text","text":"(["},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"},{"kind":"text","text":"]) -> "},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"}],"title":"buildArray(_:)","roleHeading":"Type Method","role":"symbol","symbolKind":"method","externalID":"s:8Deeplink0A7BuilderV10buildArrayySayAA03AnyA0VGSayAGGFZ","modules":[{"name":"Deeplink"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder"]]},"references":{"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/buildArray(_:)":{"role":"symbol","title":"buildArray(_:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"buildArray"},{"kind":"text","text":"(["},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"},{"kind":"text","text":"]) -> "},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"}],"abstract":[{"type":"text","text":"Enables support for ‘for..in’ loops by combining the"},{"type":"text","text":" "},{"type":"text","text":"results of all iterations into a single result."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildArray(_:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkbuilder\/buildarray(_:)"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder":{"role":"symbol","title":"DeeplinkBuilder","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinkBuilder"}],"abstract":[{"type":"text","text":"A "},{"type":"codeVoice","code":"@resultBuilder"},{"type":"text","text":" that allows you to register deeplink templates using a DSL-like syntax."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinkBuilder"}],"url":"\/documentation\/deeplink\/deeplinkbuilder"},"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/Component":{"role":"symbol","title":"DeeplinkBuilder.Component","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Component"}],"abstract":[{"type":"text","text":"The type of a partial result, which will be carried through all of the"},{"type":"text","text":" "},{"type":"text","text":"build methods."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Component"}],"url":"\/documentation\/deeplink\/deeplinkbuilder\/component"}}} \ No newline at end of file +{"abstract":[{"type":"text","text":"Enables support for ‘for..in’ loops by combining the"},{"type":"text","text":" "},{"type":"text","text":"results of all iterations into a single result."}],"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder"]]},"schemaVersion":{"major":0,"patch":0,"minor":3},"metadata":{"role":"symbol","roleHeading":"Type Method","externalID":"s:8Deeplink0A7BuilderV10buildArrayySayAA03AnyA0VGSayAGGFZ","modules":[{"name":"Deeplink"}],"fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"buildArray","kind":"identifier"},{"text":"([","kind":"text"},{"text":"DeeplinkBuilder","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"text":".","kind":"text"},{"text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","kind":"typeIdentifier"},{"kind":"text","text":"]) -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV","text":"DeeplinkBuilder"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","text":"Component"}],"symbolKind":"method","title":"buildArray(_:)"},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"buildArray","kind":"identifier"},{"kind":"text","text":"("},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"components"},{"text":": [","kind":"text"},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component"},{"kind":"text","text":"]) -> "},{"text":"DeeplinkBuilder","kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"text":"Component","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"}],"languages":["swift"]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/deeplink\/deeplinkbuilder\/buildarray(_:)"]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildArray(_:)","interfaceLanguage":"swift"},"kind":"symbol","sections":[],"references":{"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/buildArray(_:)":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildArray(_:)","url":"\/documentation\/deeplink\/deeplinkbuilder\/buildarray(_:)","abstract":[{"text":"Enables support for ‘for..in’ loops by combining the","type":"text"},{"type":"text","text":" "},{"type":"text","text":"results of all iterations into a single result."}],"fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"buildArray","kind":"identifier"},{"kind":"text","text":"(["},{"text":"DeeplinkBuilder","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"},{"kind":"text","text":"]) -> "},{"preciseIdentifier":"s:8Deeplink0A7BuilderV","text":"DeeplinkBuilder","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"Component","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"}],"type":"topic","kind":"symbol","title":"buildArray(_:)","role":"symbol"},"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/Component":{"url":"\/documentation\/deeplink\/deeplinkbuilder\/component","type":"topic","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component","abstract":[{"text":"The type of a partial result, which will be carried through all of the","type":"text"},{"type":"text","text":" "},{"type":"text","text":"build methods."}],"title":"DeeplinkBuilder.Component","fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Component","kind":"identifier"}],"navigatorTitle":[{"text":"Component","kind":"identifier"}],"role":"symbol","kind":"symbol"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","url":"\/documentation\/deeplink\/deeplinkbuilder","abstract":[{"text":"A ","type":"text"},{"code":"@resultBuilder","type":"codeVoice"},{"type":"text","text":" that allows you to register deeplink templates using a DSL-like syntax."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinkBuilder"}],"type":"topic","navigatorTitle":[{"text":"DeeplinkBuilder","kind":"identifier"}],"title":"DeeplinkBuilder","kind":"symbol","role":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplinkbuilder/buildblock(_:).json b/docs/data/documentation/deeplink/deeplinkbuilder/buildblock(_:).json index 6e752a4..05cc2a6 100644 --- a/docs/data/documentation/deeplink/deeplinkbuilder/buildblock(_:).json +++ b/docs/data/documentation/deeplink/deeplinkbuilder/buildblock(_:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"buildBlock"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"components"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV","text":"DeeplinkBuilder"},{"kind":"text","text":"."},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","text":"Component"},{"kind":"text","text":"...) -> "},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV","text":"DeeplinkBuilder"},{"kind":"text","text":"."},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","text":"Component"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/deeplink\/deeplinkbuilder\/buildblock(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildBlock(_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Required by every result builder to build combined results from"},{"type":"text","text":" "},{"type":"text","text":"statement blocks."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"buildBlock"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"},{"kind":"text","text":"...) -> "},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"}],"title":"buildBlock(_:)","roleHeading":"Type Method","role":"symbol","symbolKind":"method","externalID":"s:8Deeplink0A7BuilderV10buildBlockySayAA03AnyA0VGAGd_tFZ","modules":[{"name":"Deeplink"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder"]]},"references":{"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder":{"role":"symbol","title":"DeeplinkBuilder","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinkBuilder"}],"abstract":[{"type":"text","text":"A "},{"type":"codeVoice","code":"@resultBuilder"},{"type":"text","text":" that allows you to register deeplink templates using a DSL-like syntax."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinkBuilder"}],"url":"\/documentation\/deeplink\/deeplinkbuilder"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/buildBlock(_:)":{"role":"symbol","title":"buildBlock(_:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"buildBlock"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"},{"kind":"text","text":"...) -> "},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"}],"abstract":[{"type":"text","text":"Required by every result builder to build combined results from"},{"type":"text","text":" "},{"type":"text","text":"statement blocks."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildBlock(_:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkbuilder\/buildblock(_:)"},"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/Component":{"role":"symbol","title":"DeeplinkBuilder.Component","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Component"}],"abstract":[{"type":"text","text":"The type of a partial result, which will be carried through all of the"},{"type":"text","text":" "},{"type":"text","text":"build methods."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Component"}],"url":"\/documentation\/deeplink\/deeplinkbuilder\/component"}}} \ No newline at end of file +{"abstract":[{"type":"text","text":"Required by every result builder to build combined results from"},{"text":" ","type":"text"},{"type":"text","text":"statement blocks."}],"schemaVersion":{"major":0,"minor":3,"patch":0},"variants":[{"paths":["\/documentation\/deeplink\/deeplinkbuilder\/buildblock(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder"]]},"kind":"symbol","metadata":{"modules":[{"name":"Deeplink"}],"symbolKind":"method","title":"buildBlock(_:)","role":"symbol","externalID":"s:8Deeplink0A7BuilderV10buildBlockySayAA03AnyA0VGAGd_tFZ","roleHeading":"Type Method","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"buildBlock","kind":"identifier"},{"text":"(","kind":"text"},{"text":"DeeplinkBuilder","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"text":".","kind":"text"},{"text":"Component","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"},{"kind":"text","text":"...) -> "},{"preciseIdentifier":"s:8Deeplink0A7BuilderV","text":"DeeplinkBuilder","kind":"typeIdentifier"},{"kind":"text","text":"."},{"preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","kind":"typeIdentifier","text":"Component"}]},"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildBlock(_:)","interfaceLanguage":"swift"},"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"buildBlock"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"components"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:8Deeplink0A7BuilderV","kind":"typeIdentifier","text":"DeeplinkBuilder","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder"},{"text":".","kind":"text"},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component","text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","kind":"typeIdentifier"},{"kind":"text","text":"...) -> "},{"text":"DeeplinkBuilder","kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","text":"Component","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"sections":[],"references":{"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","url":"\/documentation\/deeplink\/deeplinkbuilder","abstract":[{"text":"A ","type":"text"},{"code":"@resultBuilder","type":"codeVoice"},{"type":"text","text":" that allows you to register deeplink templates using a DSL-like syntax."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinkBuilder"}],"type":"topic","navigatorTitle":[{"text":"DeeplinkBuilder","kind":"identifier"}],"title":"DeeplinkBuilder","kind":"symbol","role":"symbol"},"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/Component":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component","url":"\/documentation\/deeplink\/deeplinkbuilder\/component","abstract":[{"text":"The type of a partial result, which will be carried through all of the","type":"text"},{"type":"text","text":" "},{"type":"text","text":"build methods."}],"fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Component"}],"type":"topic","navigatorTitle":[{"text":"Component","kind":"identifier"}],"title":"DeeplinkBuilder.Component","kind":"symbol","role":"symbol"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/buildBlock(_:)":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildBlock(_:)","url":"\/documentation\/deeplink\/deeplinkbuilder\/buildblock(_:)","title":"buildBlock(_:)","role":"symbol","type":"topic","abstract":[{"type":"text","text":"Required by every result builder to build combined results from"},{"text":" ","type":"text"},{"text":"statement blocks.","type":"text"}],"kind":"symbol","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"buildBlock"},{"kind":"text","text":"("},{"preciseIdentifier":"s:8Deeplink0A7BuilderV","kind":"typeIdentifier","text":"DeeplinkBuilder"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","text":"Component"},{"text":"...) -> ","kind":"text"},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","text":"Component"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplinkbuilder/buildeither(first:).json b/docs/data/documentation/deeplink/deeplinkbuilder/buildeither(first:).json index 9700779..861bf4f 100644 --- a/docs/data/documentation/deeplink/deeplinkbuilder/buildeither(first:).json +++ b/docs/data/documentation/deeplink/deeplinkbuilder/buildeither(first:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"buildEither"},{"kind":"text","text":"("},{"kind":"externalParam","text":"first"},{"kind":"text","text":" "},{"kind":"internalParam","text":"component"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV","text":"DeeplinkBuilder"},{"kind":"text","text":"."},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","text":"Component"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV","text":"DeeplinkBuilder"},{"kind":"text","text":"."},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","text":"Component"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/deeplink\/deeplinkbuilder\/buildeither(first:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildEither(first:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"With buildEither(second:), enables support for ‘if-else’ and ‘switch’"},{"type":"text","text":" "},{"type":"text","text":"statements by folding conditional results into a single result."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"buildEither"},{"kind":"text","text":"("},{"kind":"externalParam","text":"first"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"}],"title":"buildEither(first:)","roleHeading":"Type Method","role":"symbol","symbolKind":"method","externalID":"s:8Deeplink0A7BuilderV11buildEither5firstSayAA03AnyA0VGAH_tFZ","modules":[{"name":"Deeplink"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder"]]},"references":{"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder":{"role":"symbol","title":"DeeplinkBuilder","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinkBuilder"}],"abstract":[{"type":"text","text":"A "},{"type":"codeVoice","code":"@resultBuilder"},{"type":"text","text":" that allows you to register deeplink templates using a DSL-like syntax."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinkBuilder"}],"url":"\/documentation\/deeplink\/deeplinkbuilder"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/buildEither(first:)":{"role":"symbol","title":"buildEither(first:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"buildEither"},{"kind":"text","text":"("},{"kind":"externalParam","text":"first"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"}],"abstract":[{"type":"text","text":"With buildEither(second:), enables support for ‘if-else’ and ‘switch’"},{"type":"text","text":" "},{"type":"text","text":"statements by folding conditional results into a single result."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildEither(first:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkbuilder\/buildeither(first:)"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/Component":{"role":"symbol","title":"DeeplinkBuilder.Component","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Component"}],"abstract":[{"type":"text","text":"The type of a partial result, which will be carried through all of the"},{"type":"text","text":" "},{"type":"text","text":"build methods."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Component"}],"url":"\/documentation\/deeplink\/deeplinkbuilder\/component"}}} \ No newline at end of file +{"schemaVersion":{"minor":3,"patch":0,"major":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"buildEither","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"first"},{"kind":"text","text":" "},{"text":"component","kind":"internalParam"},{"text":": ","kind":"text"},{"text":"DeeplinkBuilder","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder"},{"kind":"text","text":"."},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component","text":"Component","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"},{"text":") -> ","kind":"text"},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","text":"DeeplinkBuilder","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"text":".","kind":"text"},{"text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component","kind":"typeIdentifier"}]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/deeplink\/deeplinkbuilder\/buildeither(first:)"]}],"kind":"symbol","abstract":[{"type":"text","text":"With buildEither(second:), enables support for ‘if-else’ and ‘switch’"},{"type":"text","text":" "},{"type":"text","text":"statements by folding conditional results into a single result."}],"metadata":{"roleHeading":"Type Method","title":"buildEither(first:)","modules":[{"name":"Deeplink"}],"externalID":"s:8Deeplink0A7BuilderV11buildEither5firstSayAA03AnyA0VGAH_tFZ","role":"symbol","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"buildEither"},{"text":"(","kind":"text"},{"text":"first","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"DeeplinkBuilder","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"text":"Component","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV","text":"DeeplinkBuilder"},{"text":".","kind":"text"},{"text":"Component","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"}],"symbolKind":"method"},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder"]]},"sections":[],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildEither(first:)","interfaceLanguage":"swift"},"references":{"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","url":"\/documentation\/deeplink\/deeplinkbuilder","abstract":[{"text":"A ","type":"text"},{"code":"@resultBuilder","type":"codeVoice"},{"type":"text","text":" that allows you to register deeplink templates using a DSL-like syntax."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinkBuilder"}],"type":"topic","navigatorTitle":[{"text":"DeeplinkBuilder","kind":"identifier"}],"title":"DeeplinkBuilder","kind":"symbol","role":"symbol"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/Component":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component","url":"\/documentation\/deeplink\/deeplinkbuilder\/component","abstract":[{"text":"The type of a partial result, which will be carried through all of the","type":"text"},{"type":"text","text":" "},{"type":"text","text":"build methods."}],"fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Component"}],"type":"topic","navigatorTitle":[{"text":"Component","kind":"identifier"}],"title":"DeeplinkBuilder.Component","kind":"symbol","role":"symbol"},"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/buildEither(first:)":{"type":"topic","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildEither(first:)","title":"buildEither(first:)","abstract":[{"text":"With buildEither(second:), enables support for ‘if-else’ and ‘switch’","type":"text"},{"type":"text","text":" "},{"text":"statements by folding conditional results into a single result.","type":"text"}],"kind":"symbol","role":"symbol","url":"\/documentation\/deeplink\/deeplinkbuilder\/buildeither(first:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"buildEither"},{"text":"(","kind":"text"},{"text":"first","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"text":".","kind":"text"},{"text":"Component","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"},{"text":") -> ","kind":"text"},{"text":"DeeplinkBuilder","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","kind":"typeIdentifier","text":"Component"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplinkbuilder/buildeither(second:).json b/docs/data/documentation/deeplink/deeplinkbuilder/buildeither(second:).json index b6a7328..8e0bea3 100644 --- a/docs/data/documentation/deeplink/deeplinkbuilder/buildeither(second:).json +++ b/docs/data/documentation/deeplink/deeplinkbuilder/buildeither(second:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"buildEither"},{"kind":"text","text":"("},{"kind":"externalParam","text":"second"},{"kind":"text","text":" "},{"kind":"internalParam","text":"component"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV","text":"DeeplinkBuilder"},{"kind":"text","text":"."},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","text":"Component"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV","text":"DeeplinkBuilder"},{"kind":"text","text":"."},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","text":"Component"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/deeplink\/deeplinkbuilder\/buildeither(second:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildEither(second:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"With buildEither(first:), enables support for ‘if-else’ and ‘switch’"},{"type":"text","text":" "},{"type":"text","text":"statements by folding conditional results into a single result."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"buildEither"},{"kind":"text","text":"("},{"kind":"externalParam","text":"second"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"}],"title":"buildEither(second:)","roleHeading":"Type Method","role":"symbol","symbolKind":"method","externalID":"s:8Deeplink0A7BuilderV11buildEither6secondSayAA03AnyA0VGAH_tFZ","modules":[{"name":"Deeplink"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder"]]},"references":{"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/buildEither(second:)":{"role":"symbol","title":"buildEither(second:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"buildEither"},{"kind":"text","text":"("},{"kind":"externalParam","text":"second"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"}],"abstract":[{"type":"text","text":"With buildEither(first:), enables support for ‘if-else’ and ‘switch’"},{"type":"text","text":" "},{"type":"text","text":"statements by folding conditional results into a single result."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildEither(second:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkbuilder\/buildeither(second:)"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/Component":{"role":"symbol","title":"DeeplinkBuilder.Component","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Component"}],"abstract":[{"type":"text","text":"The type of a partial result, which will be carried through all of the"},{"type":"text","text":" "},{"type":"text","text":"build methods."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Component"}],"url":"\/documentation\/deeplink\/deeplinkbuilder\/component"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder":{"role":"symbol","title":"DeeplinkBuilder","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinkBuilder"}],"abstract":[{"type":"text","text":"A "},{"type":"codeVoice","code":"@resultBuilder"},{"type":"text","text":" that allows you to register deeplink templates using a DSL-like syntax."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinkBuilder"}],"url":"\/documentation\/deeplink\/deeplinkbuilder"},"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"}}} \ No newline at end of file +{"sections":[],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildEither(second:)","interfaceLanguage":"swift"},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"buildEither","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"second"},{"text":" ","kind":"text"},{"text":"component","kind":"internalParam"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","text":"DeeplinkBuilder","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"text":".","kind":"text"},{"text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV","text":"DeeplinkBuilder"},{"text":".","kind":"text"},{"text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component","kind":"typeIdentifier"}],"platforms":["macOS"]}]}],"kind":"symbol","metadata":{"roleHeading":"Type Method","externalID":"s:8Deeplink0A7BuilderV11buildEither6secondSayAA03AnyA0VGAH_tFZ","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"buildEither"},{"kind":"text","text":"("},{"kind":"externalParam","text":"second"},{"kind":"text","text":": "},{"text":"DeeplinkBuilder","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"text":"Component","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"},{"kind":"text","text":") -> "},{"preciseIdentifier":"s:8Deeplink0A7BuilderV","text":"DeeplinkBuilder","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","kind":"typeIdentifier"}],"symbolKind":"method","title":"buildEither(second:)","role":"symbol","modules":[{"name":"Deeplink"}]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/deeplink\/deeplinkbuilder\/buildeither(second:)"]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder"]]},"abstract":[{"text":"With buildEither(first:), enables support for ‘if-else’ and ‘switch’","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"statements by folding conditional results into a single result."}],"references":{"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/Component":{"url":"\/documentation\/deeplink\/deeplinkbuilder\/component","type":"topic","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component","abstract":[{"text":"The type of a partial result, which will be carried through all of the","type":"text"},{"type":"text","text":" "},{"type":"text","text":"build methods."}],"title":"DeeplinkBuilder.Component","fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Component","kind":"identifier"}],"navigatorTitle":[{"text":"Component","kind":"identifier"}],"role":"symbol","kind":"symbol"},"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/buildEither(second:)":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildEither(second:)","url":"\/documentation\/deeplink\/deeplinkbuilder\/buildeither(second:)","title":"buildEither(second:)","role":"symbol","type":"topic","abstract":[{"text":"With buildEither(first:), enables support for ‘if-else’ and ‘switch’","type":"text"},{"type":"text","text":" "},{"type":"text","text":"statements by folding conditional results into a single result."}],"kind":"symbol","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"buildEither","kind":"identifier"},{"kind":"text","text":"("},{"text":"second","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","text":"Component","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"DeeplinkBuilder","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"text":"Component","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"}]},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","url":"\/documentation\/deeplink\/deeplinkbuilder","abstract":[{"text":"A ","type":"text"},{"code":"@resultBuilder","type":"codeVoice"},{"type":"text","text":" that allows you to register deeplink templates using a DSL-like syntax."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinkBuilder"}],"type":"topic","navigatorTitle":[{"text":"DeeplinkBuilder","kind":"identifier"}],"title":"DeeplinkBuilder","kind":"symbol","role":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplinkbuilder/buildexpression(_:)-6kuwv.json b/docs/data/documentation/deeplink/deeplinkbuilder/buildexpression(_:)-6kuwv.json index 14af892..d18506f 100644 --- a/docs/data/documentation/deeplink/deeplinkbuilder/buildexpression(_:)-6kuwv.json +++ b/docs/data/documentation/deeplink/deeplinkbuilder/buildexpression(_:)-6kuwv.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"buildExpression"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"anyDeeplink"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V","text":"AnyDeeplink"},{"kind":"text","text":"?) -> "},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV","text":"DeeplinkBuilder"},{"kind":"text","text":"."},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","text":"Component"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/deeplink\/deeplinkbuilder\/buildexpression(_:)-6kuwv"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildExpression(_:)-6kuwv","interfaceLanguage":"swift"},"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"buildExpression"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V"},{"kind":"text","text":"?) -> "},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"}],"title":"buildExpression(_:)","roleHeading":"Type Method","role":"symbol","symbolKind":"method","externalID":"s:8Deeplink0A7BuilderV15buildExpressionySayAA03AnyA0VGAFSgFZ","modules":[{"name":"Deeplink"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder"]]},"references":{"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/Component":{"role":"symbol","title":"DeeplinkBuilder.Component","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Component"}],"abstract":[{"type":"text","text":"The type of a partial result, which will be carried through all of the"},{"type":"text","text":" "},{"type":"text","text":"build methods."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Component"}],"url":"\/documentation\/deeplink\/deeplinkbuilder\/component"},"doc://Deeplink/documentation/Deeplink/AnyDeeplink":{"role":"symbol","title":"AnyDeeplink","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"AnyDeeplink"}],"abstract":[{"type":"text","text":"Type-erased version of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"},{"type":"text","text":". Used to keep a list of Deeplinks in the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"},{"type":"text","text":" where every element of the list might have different type parameters."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"AnyDeeplink"}],"url":"\/documentation\/deeplink\/anydeeplink"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"role":"symbol","title":"DeeplinksCenter","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinksCenter"}],"abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinksCenter"}],"url":"\/documentation\/deeplink\/deeplinkscenter"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/buildExpression(_:)-6kuwv":{"role":"symbol","title":"buildExpression(_:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"buildExpression"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V"},{"kind":"text","text":"?) -> "},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"}],"abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildExpression(_:)-6kuwv","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkbuilder\/buildexpression(_:)-6kuwv"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"role":"symbol","title":"Deeplink","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"abstract":[{"type":"text","text":"An "},{"type":"codeVoice","code":"enum"},{"type":"text","text":" that represents a deeplink template."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Deeplink"}],"url":"\/documentation\/deeplink\/deeplink"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder":{"role":"symbol","title":"DeeplinkBuilder","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinkBuilder"}],"abstract":[{"type":"text","text":"A "},{"type":"codeVoice","code":"@resultBuilder"},{"type":"text","text":" that allows you to register deeplink templates using a DSL-like syntax."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinkBuilder"}],"url":"\/documentation\/deeplink\/deeplinkbuilder"}}} \ No newline at end of file +{"metadata":{"externalID":"s:8Deeplink0A7BuilderV15buildExpressionySayAA03AnyA0VGAFSgFZ","title":"buildExpression(_:)","symbolKind":"method","role":"symbol","modules":[{"name":"Deeplink"}],"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"buildExpression","kind":"identifier"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:8Deeplink03AnyA0V","text":"AnyDeeplink","kind":"typeIdentifier"},{"kind":"text","text":"?) -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV","text":"DeeplinkBuilder"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","text":"Component"}],"roleHeading":"Type Method"},"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildExpression(_:)-6kuwv"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"buildExpression"},{"kind":"text","text":"("},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"kind":"internalParam","text":"anyDeeplink"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V","kind":"typeIdentifier","text":"AnyDeeplink"},{"kind":"text","text":"?) -> "},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component","text":"Component"}],"languages":["swift"],"platforms":["macOS"]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/deeplink\/deeplinkbuilder\/buildexpression(_:)-6kuwv"]}],"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder"]]},"kind":"symbol","references":{"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/buildExpression(_:)-6kuwv":{"title":"buildExpression(_:)","abstract":[],"kind":"symbol","role":"symbol","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildExpression(_:)-6kuwv","type":"topic","url":"\/documentation\/deeplink\/deeplinkbuilder\/buildexpression(_:)-6kuwv","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"buildExpression"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V"},{"kind":"text","text":"?) -> "},{"text":"DeeplinkBuilder","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","text":"Component"}]},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","url":"\/documentation\/deeplink\/deeplinkbuilder","abstract":[{"text":"A ","type":"text"},{"code":"@resultBuilder","type":"codeVoice"},{"type":"text","text":" that allows you to register deeplink templates using a DSL-like syntax."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinkBuilder"}],"type":"topic","navigatorTitle":[{"text":"DeeplinkBuilder","kind":"identifier"}],"title":"DeeplinkBuilder","kind":"symbol","role":"symbol"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/Component":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component","url":"\/documentation\/deeplink\/deeplinkbuilder\/component","abstract":[{"text":"The type of a partial result, which will be carried through all of the","type":"text"},{"type":"text","text":" "},{"type":"text","text":"build methods."}],"fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Component"}],"type":"topic","navigatorTitle":[{"text":"Component","kind":"identifier"}],"title":"DeeplinkBuilder.Component","kind":"symbol","role":"symbol"},"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinksCenter"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","navigatorTitle":[{"text":"DeeplinksCenter","kind":"identifier"}],"role":"symbol","title":"DeeplinksCenter","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkscenter","type":"topic","abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}]},"doc://Deeplink/documentation/Deeplink/Deeplink":{"url":"\/documentation\/deeplink\/deeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","navigatorTitle":[{"text":"Deeplink","kind":"identifier"}],"abstract":[{"type":"text","text":"An "},{"code":"enum","type":"codeVoice"},{"text":" that represents a deeplink template.","type":"text"}],"title":"Deeplink","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"type":"topic"},"doc://Deeplink/documentation/Deeplink/AnyDeeplink":{"url":"\/documentation\/deeplink\/anydeeplink","role":"symbol","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink","navigatorTitle":[{"text":"AnyDeeplink","kind":"identifier"}],"kind":"symbol","type":"topic","abstract":[{"type":"text","text":"Type-erased version of "},{"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","isActive":true},{"type":"text","text":". Used to keep a list of Deeplinks in the "},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","type":"reference","isActive":true},{"text":" where every element of the list might have different type parameters.","type":"text"}],"fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"AnyDeeplink","kind":"identifier"}],"title":"AnyDeeplink"}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplinkbuilder/buildexpression(_:)-8a26a.json b/docs/data/documentation/deeplink/deeplinkbuilder/buildexpression(_:)-8a26a.json index 2cd811a..8228715 100644 --- a/docs/data/documentation/deeplink/deeplinkbuilder/buildexpression(_:)-8a26a.json +++ b/docs/data/documentation/deeplink/deeplinkbuilder/buildexpression(_:)-8a26a.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"buildExpression"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"anyDeeplink"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V","text":"AnyDeeplink"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV","text":"DeeplinkBuilder"},{"kind":"text","text":"."},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","text":"Component"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/deeplink\/deeplinkbuilder\/buildexpression(_:)-8a26a"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildExpression(_:)-8a26a","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"If declared, provides contextual type information for statement"},{"type":"text","text":" "},{"type":"text","text":"expressions to translate them into partial results."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"buildExpression"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"}],"title":"buildExpression(_:)","roleHeading":"Type Method","role":"symbol","symbolKind":"method","externalID":"s:8Deeplink0A7BuilderV15buildExpressionySayAA03AnyA0VGAFFZ","modules":[{"name":"Deeplink"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder"]]},"references":{"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/buildExpression(_:)-8a26a":{"role":"symbol","title":"buildExpression(_:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"buildExpression"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"}],"abstract":[{"type":"text","text":"If declared, provides contextual type information for statement"},{"type":"text","text":" "},{"type":"text","text":"expressions to translate them into partial results."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildExpression(_:)-8a26a","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkbuilder\/buildexpression(_:)-8a26a"},"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"role":"symbol","title":"Deeplink","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"abstract":[{"type":"text","text":"An "},{"type":"codeVoice","code":"enum"},{"type":"text","text":" that represents a deeplink template."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Deeplink"}],"url":"\/documentation\/deeplink\/deeplink"},"doc://Deeplink/documentation/Deeplink/AnyDeeplink":{"role":"symbol","title":"AnyDeeplink","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"AnyDeeplink"}],"abstract":[{"type":"text","text":"Type-erased version of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"},{"type":"text","text":". Used to keep a list of Deeplinks in the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"},{"type":"text","text":" where every element of the list might have different type parameters."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"AnyDeeplink"}],"url":"\/documentation\/deeplink\/anydeeplink"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/Component":{"role":"symbol","title":"DeeplinkBuilder.Component","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Component"}],"abstract":[{"type":"text","text":"The type of a partial result, which will be carried through all of the"},{"type":"text","text":" "},{"type":"text","text":"build methods."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Component"}],"url":"\/documentation\/deeplink\/deeplinkbuilder\/component"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder":{"role":"symbol","title":"DeeplinkBuilder","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinkBuilder"}],"abstract":[{"type":"text","text":"A "},{"type":"codeVoice","code":"@resultBuilder"},{"type":"text","text":" that allows you to register deeplink templates using a DSL-like syntax."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinkBuilder"}],"url":"\/documentation\/deeplink\/deeplinkbuilder"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"role":"symbol","title":"DeeplinksCenter","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinksCenter"}],"abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinksCenter"}],"url":"\/documentation\/deeplink\/deeplinkscenter"}}} \ No newline at end of file +{"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"buildExpression","kind":"identifier"},{"kind":"text","text":"("},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"anyDeeplink","kind":"internalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink"},{"text":") -> ","kind":"text"},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","text":"Component","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component","kind":"typeIdentifier"}],"languages":["swift"]}],"kind":"declarations"}],"schemaVersion":{"major":0,"minor":3,"patch":0},"kind":"symbol","identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildExpression(_:)-8a26a","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder"]]},"metadata":{"modules":[{"name":"Deeplink"}],"symbolKind":"method","externalID":"s:8Deeplink0A7BuilderV15buildExpressionySayAA03AnyA0VGAFFZ","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"buildExpression"},{"kind":"text","text":"("},{"text":"AnyDeeplink","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink03AnyA0V"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV","text":"DeeplinkBuilder"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","text":"Component"}],"title":"buildExpression(_:)","role":"symbol","roleHeading":"Type Method"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/deeplink\/deeplinkbuilder\/buildexpression(_:)-8a26a"]}],"sections":[],"abstract":[{"type":"text","text":"If declared, provides contextual type information for statement"},{"text":" ","type":"text"},{"type":"text","text":"expressions to translate them into partial results."}],"references":{"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinksCenter"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","navigatorTitle":[{"text":"DeeplinksCenter","kind":"identifier"}],"role":"symbol","title":"DeeplinksCenter","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkscenter","type":"topic","abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}]},"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/buildExpression(_:)-8a26a":{"title":"buildExpression(_:)","abstract":[{"type":"text","text":"If declared, provides contextual type information for statement"},{"type":"text","text":" "},{"type":"text","text":"expressions to translate them into partial results."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildExpression(_:)-8a26a","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"buildExpression","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink03AnyA0V","text":"AnyDeeplink"},{"text":") -> ","kind":"text"},{"text":"DeeplinkBuilder","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","text":"Component"}],"role":"symbol","type":"topic","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkbuilder\/buildexpression(_:)-8a26a"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","url":"\/documentation\/deeplink\/deeplinkbuilder","abstract":[{"text":"A ","type":"text"},{"code":"@resultBuilder","type":"codeVoice"},{"type":"text","text":" that allows you to register deeplink templates using a DSL-like syntax."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinkBuilder"}],"type":"topic","navigatorTitle":[{"text":"DeeplinkBuilder","kind":"identifier"}],"title":"DeeplinkBuilder","kind":"symbol","role":"symbol"},"doc://Deeplink/documentation/Deeplink/AnyDeeplink":{"url":"\/documentation\/deeplink\/anydeeplink","role":"symbol","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink","navigatorTitle":[{"text":"AnyDeeplink","kind":"identifier"}],"kind":"symbol","type":"topic","abstract":[{"type":"text","text":"Type-erased version of "},{"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","isActive":true},{"type":"text","text":". Used to keep a list of Deeplinks in the "},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","type":"reference","isActive":true},{"text":" where every element of the list might have different type parameters.","type":"text"}],"fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"AnyDeeplink","kind":"identifier"}],"title":"AnyDeeplink"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"url":"\/documentation\/deeplink\/deeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","navigatorTitle":[{"text":"Deeplink","kind":"identifier"}],"abstract":[{"type":"text","text":"An "},{"code":"enum","type":"codeVoice"},{"text":" that represents a deeplink template.","type":"text"}],"title":"Deeplink","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"type":"topic"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/Component":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component","url":"\/documentation\/deeplink\/deeplinkbuilder\/component","abstract":[{"text":"The type of a partial result, which will be carried through all of the","type":"text"},{"type":"text","text":" "},{"type":"text","text":"build methods."}],"fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Component"}],"type":"topic","navigatorTitle":[{"text":"Component","kind":"identifier"}],"title":"DeeplinkBuilder.Component","kind":"symbol","role":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplinkbuilder/buildlimitedavailability(_:).json b/docs/data/documentation/deeplink/deeplinkbuilder/buildlimitedavailability(_:).json index 13b73b7..66ee120 100644 --- a/docs/data/documentation/deeplink/deeplinkbuilder/buildlimitedavailability(_:).json +++ b/docs/data/documentation/deeplink/deeplinkbuilder/buildlimitedavailability(_:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"buildLimitedAvailability"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"component"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV","text":"DeeplinkBuilder"},{"kind":"text","text":"."},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","text":"Component"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV","text":"DeeplinkBuilder"},{"kind":"text","text":"."},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","text":"Component"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/deeplink\/deeplinkbuilder\/buildlimitedavailability(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildLimitedAvailability(_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"If declared, this will be called on the partial result of an "},{"type":"codeVoice","code":"if #available"},{"type":"text","text":" block to allow the result builder to erase type"},{"type":"text","text":" "},{"type":"text","text":"information."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"buildLimitedAvailability"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"}],"title":"buildLimitedAvailability(_:)","roleHeading":"Type Method","role":"symbol","symbolKind":"method","externalID":"s:8Deeplink0A7BuilderV24buildLimitedAvailabilityySayAA03AnyA0VGAGFZ","modules":[{"name":"Deeplink"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder"]]},"references":{"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder":{"role":"symbol","title":"DeeplinkBuilder","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinkBuilder"}],"abstract":[{"type":"text","text":"A "},{"type":"codeVoice","code":"@resultBuilder"},{"type":"text","text":" that allows you to register deeplink templates using a DSL-like syntax."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinkBuilder"}],"url":"\/documentation\/deeplink\/deeplinkbuilder"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/buildLimitedAvailability(_:)":{"role":"symbol","title":"buildLimitedAvailability(_:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"buildLimitedAvailability"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"}],"abstract":[{"type":"text","text":"If declared, this will be called on the partial result of an "},{"type":"codeVoice","code":"if #available"},{"type":"text","text":" block to allow the result builder to erase type"},{"type":"text","text":" "},{"type":"text","text":"information."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildLimitedAvailability(_:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkbuilder\/buildlimitedavailability(_:)"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/Component":{"role":"symbol","title":"DeeplinkBuilder.Component","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Component"}],"abstract":[{"type":"text","text":"The type of a partial result, which will be carried through all of the"},{"type":"text","text":" "},{"type":"text","text":"build methods."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Component"}],"url":"\/documentation\/deeplink\/deeplinkbuilder\/component"}}} \ No newline at end of file +{"schemaVersion":{"minor":3,"patch":0,"major":0},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildLimitedAvailability(_:)"},"sections":[],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder"]]},"variants":[{"paths":["\/documentation\/deeplink\/deeplinkbuilder\/buildlimitedavailability(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"roleHeading":"Type Method","externalID":"s:8Deeplink0A7BuilderV24buildLimitedAvailabilityySayAA03AnyA0VGAGFZ","symbolKind":"method","role":"symbol","title":"buildLimitedAvailability(_:)","modules":[{"name":"Deeplink"}],"fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"buildLimitedAvailability"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:8Deeplink0A7BuilderV","kind":"typeIdentifier","text":"DeeplinkBuilder"},{"kind":"text","text":"."},{"text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"DeeplinkBuilder","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"text":".","kind":"text"},{"text":"Component","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"}]},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"buildLimitedAvailability","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"component"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"DeeplinkBuilder","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"text":".","kind":"text"},{"preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component","kind":"typeIdentifier","text":"Component"},{"kind":"text","text":") -> "},{"text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","kind":"typeIdentifier"},{"kind":"text","text":"."},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","kind":"typeIdentifier","text":"Component"}],"languages":["swift"]}],"kind":"declarations"}],"abstract":[{"type":"text","text":"If declared, this will be called on the partial result of an "},{"code":"if #available","type":"codeVoice"},{"type":"text","text":" block to allow the result builder to erase type"},{"type":"text","text":" "},{"type":"text","text":"information."}],"references":{"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/buildLimitedAvailability(_:)":{"kind":"symbol","title":"buildLimitedAvailability(_:)","role":"symbol","type":"topic","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"buildLimitedAvailability","kind":"identifier"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","text":"Component"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:8Deeplink0A7BuilderV","text":"DeeplinkBuilder","kind":"typeIdentifier"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","text":"Component"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildLimitedAvailability(_:)","url":"\/documentation\/deeplink\/deeplinkbuilder\/buildlimitedavailability(_:)","abstract":[{"type":"text","text":"If declared, this will be called on the partial result of an "},{"type":"codeVoice","code":"if #available"},{"type":"text","text":" block to allow the result builder to erase type"},{"type":"text","text":" "},{"type":"text","text":"information."}]},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","url":"\/documentation\/deeplink\/deeplinkbuilder","abstract":[{"text":"A ","type":"text"},{"code":"@resultBuilder","type":"codeVoice"},{"type":"text","text":" that allows you to register deeplink templates using a DSL-like syntax."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinkBuilder"}],"type":"topic","navigatorTitle":[{"text":"DeeplinkBuilder","kind":"identifier"}],"title":"DeeplinkBuilder","kind":"symbol","role":"symbol"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/Component":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component","url":"\/documentation\/deeplink\/deeplinkbuilder\/component","abstract":[{"text":"The type of a partial result, which will be carried through all of the","type":"text"},{"type":"text","text":" "},{"type":"text","text":"build methods."}],"fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Component"}],"type":"topic","navigatorTitle":[{"text":"Component","kind":"identifier"}],"title":"DeeplinkBuilder.Component","kind":"symbol","role":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplinkbuilder/buildoptional(_:).json b/docs/data/documentation/deeplink/deeplinkbuilder/buildoptional(_:).json index f37f096..62204e5 100644 --- a/docs/data/documentation/deeplink/deeplinkbuilder/buildoptional(_:).json +++ b/docs/data/documentation/deeplink/deeplinkbuilder/buildoptional(_:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"buildOptional"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"component"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV","text":"DeeplinkBuilder"},{"kind":"text","text":"."},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","text":"Component"},{"kind":"text","text":"?) -> "},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV","text":"DeeplinkBuilder"},{"kind":"text","text":"."},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","text":"Component"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/deeplink\/deeplinkbuilder\/buildoptional(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildOptional(_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Enables support for "},{"type":"codeVoice","code":"if"},{"type":"text","text":" statements that do not have an "},{"type":"codeVoice","code":"else"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"buildOptional"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"},{"kind":"text","text":"?) -> "},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"}],"title":"buildOptional(_:)","roleHeading":"Type Method","role":"symbol","symbolKind":"method","externalID":"s:8Deeplink0A7BuilderV13buildOptionalySayAA03AnyA0VGAGSgFZ","modules":[{"name":"Deeplink"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder"]]},"references":{"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/Component":{"role":"symbol","title":"DeeplinkBuilder.Component","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Component"}],"abstract":[{"type":"text","text":"The type of a partial result, which will be carried through all of the"},{"type":"text","text":" "},{"type":"text","text":"build methods."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Component"}],"url":"\/documentation\/deeplink\/deeplinkbuilder\/component"},"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder":{"role":"symbol","title":"DeeplinkBuilder","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinkBuilder"}],"abstract":[{"type":"text","text":"A "},{"type":"codeVoice","code":"@resultBuilder"},{"type":"text","text":" that allows you to register deeplink templates using a DSL-like syntax."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinkBuilder"}],"url":"\/documentation\/deeplink\/deeplinkbuilder"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/buildOptional(_:)":{"role":"symbol","title":"buildOptional(_:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"buildOptional"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"},{"kind":"text","text":"?) -> "},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"}],"abstract":[{"type":"text","text":"Enables support for "},{"type":"codeVoice","code":"if"},{"type":"text","text":" statements that do not have an "},{"type":"codeVoice","code":"else"},{"type":"text","text":"."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildOptional(_:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkbuilder\/buildoptional(_:)"}}} \ No newline at end of file +{"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"buildOptional","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"text":"component","kind":"internalParam"},{"kind":"text","text":": "},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component","text":"Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","kind":"typeIdentifier"},{"text":"?) -> ","kind":"text"},{"preciseIdentifier":"s:8Deeplink0A7BuilderV","kind":"typeIdentifier","text":"DeeplinkBuilder","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder"},{"text":".","kind":"text"},{"kind":"typeIdentifier","text":"Component","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"sections":[],"kind":"symbol","metadata":{"modules":[{"name":"Deeplink"}],"externalID":"s:8Deeplink0A7BuilderV13buildOptionalySayAA03AnyA0VGAGSgFZ","roleHeading":"Type Method","title":"buildOptional(_:)","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"buildOptional","kind":"identifier"},{"text":"(","kind":"text"},{"text":"DeeplinkBuilder","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","text":"Component","kind":"typeIdentifier"},{"text":"?) -> ","kind":"text"},{"text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV","kind":"typeIdentifier"},{"kind":"text","text":"."},{"text":"Component","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"}],"role":"symbol","symbolKind":"method"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/deeplink\/deeplinkbuilder\/buildoptional(_:)"]}],"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder"]]},"schemaVersion":{"major":0,"minor":3,"patch":0},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildOptional(_:)"},"abstract":[{"type":"text","text":"Enables support for "},{"code":"if","type":"codeVoice"},{"text":" statements that do not have an ","type":"text"},{"code":"else","type":"codeVoice"},{"text":".","type":"text"}],"references":{"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/Component":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component","url":"\/documentation\/deeplink\/deeplinkbuilder\/component","abstract":[{"text":"The type of a partial result, which will be carried through all of the","type":"text"},{"type":"text","text":" "},{"type":"text","text":"build methods."}],"fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Component"}],"type":"topic","navigatorTitle":[{"text":"Component","kind":"identifier"}],"title":"DeeplinkBuilder.Component","kind":"symbol","role":"symbol"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","url":"\/documentation\/deeplink\/deeplinkbuilder","abstract":[{"text":"A ","type":"text"},{"code":"@resultBuilder","type":"codeVoice"},{"type":"text","text":" that allows you to register deeplink templates using a DSL-like syntax."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinkBuilder"}],"type":"topic","navigatorTitle":[{"text":"DeeplinkBuilder","kind":"identifier"}],"title":"DeeplinkBuilder","kind":"symbol","role":"symbol"},"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/buildOptional(_:)":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/buildOptional(_:)","url":"\/documentation\/deeplink\/deeplinkbuilder\/buildoptional(_:)","abstract":[{"text":"Enables support for ","type":"text"},{"code":"if","type":"codeVoice"},{"type":"text","text":" statements that do not have an "},{"type":"codeVoice","code":"else"},{"text":".","type":"text"}],"fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"buildOptional","kind":"identifier"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta","text":"Component","kind":"typeIdentifier"},{"text":"?) -> ","kind":"text"},{"text":"DeeplinkBuilder","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV"},{"kind":"text","text":"."},{"text":"Component","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink0A7BuilderV9Componenta"}],"type":"topic","title":"buildOptional(_:)","kind":"symbol","role":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplinkbuilder/component.json b/docs/data/documentation/deeplink/deeplinkbuilder/component.json index 03081ec..82b6b30 100644 --- a/docs/data/documentation/deeplink/deeplinkbuilder/component.json +++ b/docs/data/documentation/deeplink/deeplinkbuilder/component.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Component"},{"kind":"text","text":" = ["},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V","text":"AnyDeeplink"},{"kind":"text","text":"]"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/deeplink\/deeplinkbuilder\/component"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"The type of a partial result, which will be carried through all of the"},{"type":"text","text":" "},{"type":"text","text":"build methods."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Component"}],"title":"DeeplinkBuilder.Component","roleHeading":"Type Alias","role":"symbol","symbolKind":"typealias","externalID":"s:8Deeplink0A7BuilderV9Componenta","modules":[{"name":"Deeplink"}],"navigatorTitle":[{"kind":"identifier","text":"Component"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder"]]},"references":{"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"role":"symbol","title":"DeeplinksCenter","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinksCenter"}],"abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinksCenter"}],"url":"\/documentation\/deeplink\/deeplinkscenter"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder":{"role":"symbol","title":"DeeplinkBuilder","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinkBuilder"}],"abstract":[{"type":"text","text":"A "},{"type":"codeVoice","code":"@resultBuilder"},{"type":"text","text":" that allows you to register deeplink templates using a DSL-like syntax."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinkBuilder"}],"url":"\/documentation\/deeplink\/deeplinkbuilder"},"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"role":"symbol","title":"Deeplink","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"abstract":[{"type":"text","text":"An "},{"type":"codeVoice","code":"enum"},{"type":"text","text":" that represents a deeplink template."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Deeplink"}],"url":"\/documentation\/deeplink\/deeplink"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/Component":{"role":"symbol","title":"DeeplinkBuilder.Component","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Component"}],"abstract":[{"type":"text","text":"The type of a partial result, which will be carried through all of the"},{"type":"text","text":" "},{"type":"text","text":"build methods."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Component"}],"url":"\/documentation\/deeplink\/deeplinkbuilder\/component"},"doc://Deeplink/documentation/Deeplink/AnyDeeplink":{"role":"symbol","title":"AnyDeeplink","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"AnyDeeplink"}],"abstract":[{"type":"text","text":"Type-erased version of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"},{"type":"text","text":". Used to keep a list of Deeplinks in the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"},{"type":"text","text":" where every element of the list might have different type parameters."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"AnyDeeplink"}],"url":"\/documentation\/deeplink\/anydeeplink"}}} \ No newline at end of file +{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component"},"metadata":{"title":"DeeplinkBuilder.Component","role":"symbol","externalID":"s:8Deeplink0A7BuilderV9Componenta","modules":[{"name":"Deeplink"}],"symbolKind":"typealias","roleHeading":"Type Alias","navigatorTitle":[{"kind":"identifier","text":"Component"}],"fragments":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Component"}]},"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"text":"Component","kind":"identifier"},{"kind":"text","text":" = ["},{"kind":"typeIdentifier","text":"AnyDeeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V"},{"text":"]","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"variants":[{"paths":["\/documentation\/deeplink\/deeplinkbuilder\/component"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder"]]},"sections":[],"schemaVersion":{"patch":0,"major":0,"minor":3},"kind":"symbol","abstract":[{"type":"text","text":"The type of a partial result, which will be carried through all of the"},{"type":"text","text":" "},{"type":"text","text":"build methods."}],"references":{"doc://Deeplink/documentation/Deeplink/Deeplink":{"url":"\/documentation\/deeplink\/deeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","navigatorTitle":[{"text":"Deeplink","kind":"identifier"}],"abstract":[{"type":"text","text":"An "},{"code":"enum","type":"codeVoice"},{"text":" that represents a deeplink template.","type":"text"}],"title":"Deeplink","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"type":"topic"},"doc://Deeplink/documentation/Deeplink/AnyDeeplink":{"url":"\/documentation\/deeplink\/anydeeplink","role":"symbol","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink","navigatorTitle":[{"text":"AnyDeeplink","kind":"identifier"}],"kind":"symbol","type":"topic","abstract":[{"type":"text","text":"Type-erased version of "},{"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","isActive":true},{"type":"text","text":". Used to keep a list of Deeplinks in the "},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","type":"reference","isActive":true},{"text":" where every element of the list might have different type parameters.","type":"text"}],"fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"AnyDeeplink","kind":"identifier"}],"title":"AnyDeeplink"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","url":"\/documentation\/deeplink\/deeplinkbuilder","abstract":[{"text":"A ","type":"text"},{"code":"@resultBuilder","type":"codeVoice"},{"type":"text","text":" that allows you to register deeplink templates using a DSL-like syntax."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinkBuilder"}],"type":"topic","navigatorTitle":[{"text":"DeeplinkBuilder","kind":"identifier"}],"title":"DeeplinkBuilder","kind":"symbol","role":"symbol"},"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder/Component":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder\/Component","url":"\/documentation\/deeplink\/deeplinkbuilder\/component","abstract":[{"text":"The type of a partial result, which will be carried through all of the","type":"text"},{"type":"text","text":" "},{"type":"text","text":"build methods."}],"fragments":[{"kind":"keyword","text":"typealias"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Component"}],"type":"topic","navigatorTitle":[{"text":"Component","kind":"identifier"}],"title":"DeeplinkBuilder.Component","kind":"symbol","role":"symbol"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinksCenter"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","navigatorTitle":[{"text":"DeeplinksCenter","kind":"identifier"}],"role":"symbol","title":"DeeplinksCenter","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkscenter","type":"topic","abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}]}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplinkinterpolation.json b/docs/data/documentation/deeplink/deeplinkinterpolation.json index 2dab6bd..7c1daf2 100644 --- a/docs/data/documentation/deeplink/deeplinkinterpolation.json +++ b/docs/data/documentation/deeplink/deeplinkinterpolation.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinkInterpolation"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"Value"},{"kind":"text","text":">"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/deeplink\/deeplinkinterpolation"],"traits":[{"interfaceLanguage":"swift"}]}],"relationshipsSections":[{"identifiers":["doc:\/\/Deeplink\/s23CustomStringConvertibleP","doc:\/\/Deeplink\/SQ","doc:\/\/Deeplink\/SH","doc:\/\/Deeplink\/s27StringInterpolationProtocolP"],"kind":"relationships","title":"Conforms To","type":"conformsTo"}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation","interfaceLanguage":"swift"},"topicSections":[{"title":"Initializers","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/init(literalCapacity:interpolationCount:)"]},{"title":"Instance Methods","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/appendInterpolation(_:)","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/appendInterpolation(_:separator:)","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/appendLiteral(_:)"]},{"title":"Default Implementations","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/CustomStringConvertible-Implementations","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/Equatable-Implementations"],"generated":true}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinkInterpolation"}],"title":"DeeplinkInterpolation","roleHeading":"Structure","role":"symbol","symbolKind":"struct","externalID":"s:8Deeplink0A13InterpolationV","modules":[{"name":"Deeplink"}],"navigatorTitle":[{"kind":"identifier","text":"DeeplinkInterpolation"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink"]]},"seeAlsoSections":[{"title":"Implementation details","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder"],"generated":true}],"references":{"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"role":"symbol","title":"DeeplinksCenter","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinksCenter"}],"abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinksCenter"}],"url":"\/documentation\/deeplink\/deeplinkscenter"},"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation/appendInterpolation(_:)":{"role":"symbol","title":"appendInterpolation(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"appendInterpolation"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"WritableKeyPath","preciseIdentifier":"s:s15WritableKeyPathC"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?>) "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Method called by Swift when the string interpolation contains an interpolation argument."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/appendInterpolation(_:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkinterpolation\/appendinterpolation(_:)"},"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation":{"role":"symbol","title":"DeeplinkInterpolation","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinkInterpolation"}],"abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinkInterpolation"}],"url":"\/documentation\/deeplink\/deeplinkinterpolation"},"doc://Deeplink/documentation/Deeplink/AnyDeeplink":{"role":"symbol","title":"AnyDeeplink","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"AnyDeeplink"}],"abstract":[{"type":"text","text":"Type-erased version of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"},{"type":"text","text":". Used to keep a list of Deeplinks in the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"},{"type":"text","text":" where every element of the list might have different type parameters."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"AnyDeeplink"}],"url":"\/documentation\/deeplink\/anydeeplink"},"doc://Deeplink/SQ":{"type":"unresolvable","title":"Swift.Equatable","identifier":"doc:\/\/Deeplink\/SQ"},"doc://Deeplink/s23CustomStringConvertibleP":{"type":"unresolvable","title":"Swift.CustomStringConvertible","identifier":"doc:\/\/Deeplink\/s23CustomStringConvertibleP"},"doc://Deeplink/SH":{"type":"unresolvable","title":"Swift.Hashable","identifier":"doc:\/\/Deeplink\/SH"},"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation/CustomStringConvertible-Implementations":{"role":"collectionGroup","title":"CustomStringConvertible Implementations","abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/CustomStringConvertible-Implementations","kind":"article","type":"topic","url":"\/documentation\/deeplink\/deeplinkinterpolation\/customstringconvertible-implementations"},"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation/Equatable-Implementations":{"role":"collectionGroup","title":"Equatable Implementations","abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/Equatable-Implementations","kind":"article","type":"topic","url":"\/documentation\/deeplink\/deeplinkinterpolation\/equatable-implementations"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"role":"symbol","title":"Deeplink","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"abstract":[{"type":"text","text":"An "},{"type":"codeVoice","code":"enum"},{"type":"text","text":" that represents a deeplink template."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Deeplink"}],"url":"\/documentation\/deeplink\/deeplink"},"doc://Deeplink/s27StringInterpolationProtocolP":{"type":"unresolvable","title":"Swift.StringInterpolationProtocol","identifier":"doc:\/\/Deeplink\/s27StringInterpolationProtocolP"},"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation/appendLiteral(_:)":{"role":"symbol","title":"appendLiteral(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"appendLiteral"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Method called by Swift when the string interpolation contains a string literal."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/appendLiteral(_:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkinterpolation\/appendliteral(_:)"},"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation/init(literalCapacity:interpolationCount:)":{"role":"symbol","title":"init(literalCapacity:interpolationCount:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"literalCapacity"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":", "},{"kind":"externalParam","text":"interpolationCount"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Initializer used by Swift when creating a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation"},{"type":"text","text":" from a string interpolation."},{"type":"text","text":" "},{"type":"text","text":"The arguments should be used for performance tuning, but we cannot use them because of how the components are stored in a list."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/init(literalCapacity:interpolationCount:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkinterpolation\/init(literalcapacity:interpolationcount:)"},"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation/appendInterpolation(_:separator:)":{"role":"symbol","title":"appendInterpolation(_:separator:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"appendInterpolation"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"WritableKeyPath","preciseIdentifier":"s:s15WritableKeyPathC"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":", ["},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"]?>, "},{"kind":"externalParam","text":"separator"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Character","preciseIdentifier":"s:SJ"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Method called by Swift when the string interpolation contains an interpolation argument list."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/appendInterpolation(_:separator:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkinterpolation\/appendinterpolation(_:separator:)"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder":{"role":"symbol","title":"DeeplinkBuilder","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinkBuilder"}],"abstract":[{"type":"text","text":"A "},{"type":"codeVoice","code":"@resultBuilder"},{"type":"text","text":" that allows you to register deeplink templates using a DSL-like syntax."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinkBuilder"}],"url":"\/documentation\/deeplink\/deeplinkbuilder"}}} \ No newline at end of file +{"schemaVersion":{"major":0,"minor":3,"patch":0},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink"]]},"relationshipsSections":[{"type":"conformsTo","kind":"relationships","identifiers":["doc:\/\/Deeplink\/s23CustomStringConvertibleP","doc:\/\/Deeplink\/SQ","doc:\/\/Deeplink\/SH","doc:\/\/Deeplink\/s27StringInterpolationProtocolP"],"title":"Conforms To"}],"sections":[],"topicSections":[{"title":"Initializers","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/init(literalCapacity:interpolationCount:)"]},{"identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/appendInterpolation(_:)","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/appendInterpolation(_:separator:)","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/appendLiteral(_:)"],"title":"Instance Methods"},{"title":"Default Implementations","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/CustomStringConvertible-Implementations","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/Equatable-Implementations"],"generated":true}],"metadata":{"symbolKind":"struct","role":"symbol","roleHeading":"Structure","externalID":"s:8Deeplink0A13InterpolationV","modules":[{"name":"Deeplink"}],"navigatorTitle":[{"text":"DeeplinkInterpolation","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"DeeplinkInterpolation","kind":"identifier"}],"title":"DeeplinkInterpolation"},"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation","interfaceLanguage":"swift"},"seeAlsoSections":[{"generated":true,"identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder"],"title":"Implementation details"}],"variants":[{"paths":["\/documentation\/deeplink\/deeplinkinterpolation"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinkInterpolation"},{"kind":"text","text":"<"},{"text":"Value","kind":"genericParameter"},{"text":">","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}]}],"references":{"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation/appendInterpolation(_:separator:)":{"title":"appendInterpolation(_:separator:)","role":"symbol","kind":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"appendInterpolation","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s15WritableKeyPathC","text":"WritableKeyPath"},{"kind":"text","text":"<"},{"text":"Value","kind":"typeIdentifier"},{"kind":"text","text":", ["},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"]?>, ","kind":"text"},{"text":"separator","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Character","preciseIdentifier":"s:SJ","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/appendInterpolation(_:separator:)","abstract":[{"type":"text","text":"Method called by Swift when the string interpolation contains an interpolation argument list."}],"url":"\/documentation\/deeplink\/deeplinkinterpolation\/appendinterpolation(_:separator:)","type":"topic"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinksCenter"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","navigatorTitle":[{"text":"DeeplinksCenter","kind":"identifier"}],"role":"symbol","title":"DeeplinksCenter","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkscenter","type":"topic","abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}]},"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation/init(literalCapacity:interpolationCount:)":{"fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"text":"literalCapacity","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Int","kind":"typeIdentifier","preciseIdentifier":"s:Si"},{"kind":"text","text":", "},{"text":"interpolationCount","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Int","preciseIdentifier":"s:Si","kind":"typeIdentifier"},{"text":")","kind":"text"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/init(literalCapacity:interpolationCount:)","role":"symbol","kind":"symbol","title":"init(literalCapacity:interpolationCount:)","url":"\/documentation\/deeplink\/deeplinkinterpolation\/init(literalcapacity:interpolationcount:)","type":"topic","abstract":[{"type":"text","text":"Initializer used by Swift when creating a "},{"isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation","type":"reference"},{"type":"text","text":" from a string interpolation."},{"text":" ","type":"text"},{"text":"The arguments should be used for performance tuning, but we cannot use them because of how the components are stored in a list.","type":"text"}]},"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation":{"fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinkInterpolation"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation","navigatorTitle":[{"text":"DeeplinkInterpolation","kind":"identifier"}],"role":"symbol","title":"DeeplinkInterpolation","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkinterpolation","type":"topic","abstract":[]},"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation/Equatable-Implementations":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/Equatable-Implementations","role":"collectionGroup","kind":"article","title":"Equatable Implementations","url":"\/documentation\/deeplink\/deeplinkinterpolation\/equatable-implementations","type":"topic","abstract":[]},"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation/appendInterpolation(_:)":{"fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"appendInterpolation","kind":"identifier"},{"text":"(","kind":"text"},{"text":"WritableKeyPath","kind":"typeIdentifier","preciseIdentifier":"s:s15WritableKeyPathC"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"Value"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"?>) ","kind":"text"},{"text":"throws","kind":"keyword"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/appendInterpolation(_:)","role":"symbol","title":"appendInterpolation(_:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkinterpolation\/appendinterpolation(_:)","abstract":[{"text":"Method called by Swift when the string interpolation contains an interpolation argument.","type":"text"}]},"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation/appendLiteral(_:)":{"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"appendLiteral"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":")","kind":"text"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/appendLiteral(_:)","role":"symbol","kind":"symbol","title":"appendLiteral(_:)","url":"\/documentation\/deeplink\/deeplinkinterpolation\/appendliteral(_:)","type":"topic","abstract":[{"text":"Method called by Swift when the string interpolation contains a string literal.","type":"text"}]},"doc://Deeplink/documentation/Deeplink/Deeplink":{"url":"\/documentation\/deeplink\/deeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","navigatorTitle":[{"text":"Deeplink","kind":"identifier"}],"abstract":[{"type":"text","text":"An "},{"code":"enum","type":"codeVoice"},{"text":" that represents a deeplink template.","type":"text"}],"title":"Deeplink","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"type":"topic"},"doc://Deeplink/documentation/Deeplink/AnyDeeplink":{"url":"\/documentation\/deeplink\/anydeeplink","role":"symbol","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink","navigatorTitle":[{"text":"AnyDeeplink","kind":"identifier"}],"kind":"symbol","type":"topic","abstract":[{"type":"text","text":"Type-erased version of "},{"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","isActive":true},{"type":"text","text":". Used to keep a list of Deeplinks in the "},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","type":"reference","isActive":true},{"text":" where every element of the list might have different type parameters.","type":"text"}],"fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"AnyDeeplink","kind":"identifier"}],"title":"AnyDeeplink"},"doc://Deeplink/s27StringInterpolationProtocolP":{"identifier":"doc:\/\/Deeplink\/s27StringInterpolationProtocolP","type":"unresolvable","title":"Swift.StringInterpolationProtocol"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","url":"\/documentation\/deeplink\/deeplinkbuilder","abstract":[{"text":"A ","type":"text"},{"code":"@resultBuilder","type":"codeVoice"},{"type":"text","text":" that allows you to register deeplink templates using a DSL-like syntax."}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinkBuilder"}],"type":"topic","navigatorTitle":[{"text":"DeeplinkBuilder","kind":"identifier"}],"title":"DeeplinkBuilder","kind":"symbol","role":"symbol"},"doc://Deeplink/s23CustomStringConvertibleP":{"identifier":"doc:\/\/Deeplink\/s23CustomStringConvertibleP","type":"unresolvable","title":"Swift.CustomStringConvertible"},"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation/CustomStringConvertible-Implementations":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/CustomStringConvertible-Implementations","role":"collectionGroup","title":"CustomStringConvertible Implementations","kind":"article","type":"topic","url":"\/documentation\/deeplink\/deeplinkinterpolation\/customstringconvertible-implementations","abstract":[]},"doc://Deeplink/SH":{"identifier":"doc:\/\/Deeplink\/SH","type":"unresolvable","title":"Swift.Hashable"},"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/SQ":{"identifier":"doc:\/\/Deeplink\/SQ","type":"unresolvable","title":"Swift.Equatable"}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplinkinterpolation/!=(_:_:).json b/docs/data/documentation/deeplink/deeplinkinterpolation/!=(_:_:).json index 1cae814..9c51138 100644 --- a/docs/data/documentation/deeplink/deeplinkinterpolation/!=(_:_:).json +++ b/docs/data/documentation/deeplink/deeplinkinterpolation/!=(_:_:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"kind":"text","text":"("},{"kind":"internalParam","text":"lhs"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"kind":"internalParam","text":"rhs"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/deeplink\/deeplinkinterpolation\/!=(_:_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/!=(_:_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"Equatable.!=(_:_:)"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"role":"symbol","title":"!=(_:_:)","roleHeading":"Operator","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"symbolKind":"op","externalID":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:8Deeplink0A13InterpolationV","extendedModule":"Swift","modules":[{"name":"Deeplink"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/Equatable-Implementations"]]},"references":{"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation/Equatable-Implementations":{"role":"collectionGroup","title":"Equatable Implementations","abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/Equatable-Implementations","kind":"article","type":"topic","url":"\/documentation\/deeplink\/deeplinkinterpolation\/equatable-implementations"},"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"},"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation/!=(_:_:)":{"role":"symbol","title":"!=(_:_:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/!=(_:_:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkinterpolation\/!=(_:_:)"},"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation":{"role":"symbol","title":"DeeplinkInterpolation","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinkInterpolation"}],"abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinkInterpolation"}],"url":"\/documentation\/deeplink\/deeplinkinterpolation"}}} \ No newline at end of file +{"metadata":{"roleHeading":"Operator","externalID":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:8Deeplink0A13InterpolationV","symbolKind":"op","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"!=","kind":"identifier"},{"kind":"text","text":" "},{"kind":"text","text":"("},{"text":"Self","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"preciseIdentifier":"s:Sb","kind":"typeIdentifier","text":"Bool"}],"role":"symbol","modules":[{"name":"Deeplink","relatedModules":["Swift"]}],"title":"!=(_:_:)","extendedModule":"Swift"},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/!=(_:_:)"},"variants":[{"paths":["\/documentation\/deeplink\/deeplinkinterpolation\/!=(_:_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"schemaVersion":{"major":0,"minor":3,"patch":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"!="},{"text":" ","kind":"text"},{"kind":"text","text":"("},{"kind":"internalParam","text":"lhs"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"text":"rhs","kind":"internalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":") -> "},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}]}]}],"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/Equatable-Implementations"]]},"abstract":[{"type":"text","text":"Inherited from "},{"code":"Equatable.!=(_:_:)","type":"codeVoice"},{"type":"text","text":"."}],"kind":"symbol","references":{"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation":{"fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinkInterpolation"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation","navigatorTitle":[{"text":"DeeplinkInterpolation","kind":"identifier"}],"role":"symbol","title":"DeeplinkInterpolation","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkinterpolation","type":"topic","abstract":[]},"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation/Equatable-Implementations":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/Equatable-Implementations","role":"collectionGroup","kind":"article","title":"Equatable Implementations","url":"\/documentation\/deeplink\/deeplinkinterpolation\/equatable-implementations","type":"topic","abstract":[]},"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation/!=(_:_:)":{"fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"!=","kind":"identifier"},{"kind":"text","text":" "},{"text":"(","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/!=(_:_:)","abstract":[],"title":"!=(_:_:)","type":"topic","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkinterpolation\/!=(_:_:)","role":"symbol"},"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplinkinterpolation/appendinterpolation(_:).json b/docs/data/documentation/deeplink/deeplinkinterpolation/appendinterpolation(_:).json index 03d2680..05fd182 100644 --- a/docs/data/documentation/deeplink/deeplinkinterpolation/appendinterpolation(_:).json +++ b/docs/data/documentation/deeplink/deeplinkinterpolation/appendinterpolation(_:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"mutating"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"appendInterpolation"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"path"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"WritableKeyPath","preciseIdentifier":"s:s15WritableKeyPathC"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?>) "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"discussion","level":2,"type":"heading","text":"Discussion"},{"type":"paragraph","inlineContent":[{"type":"text","text":"Example: the deeplink "},{"type":"codeVoice","code":"\"\/sell\/ticket\/\\(\\.id)\""},{"type":"text","text":" will trigger the following calls in order:"}]},{"type":"codeListing","syntax":"swift","code":["var interpolation = DeeplinkInterpolation(literalCapacity: 13, interpolationCount: 1)","interpolation.appendLiteral(\"\/sell\/ticket\/\")","interpolation.appendInterpolation(\\.id)"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/deeplink\/deeplinkinterpolation\/appendinterpolation(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/appendInterpolation(_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Method called by Swift when the string interpolation contains an interpolation argument."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"appendInterpolation"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"WritableKeyPath","preciseIdentifier":"s:s15WritableKeyPathC"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?>) "},{"kind":"keyword","text":"throws"}],"title":"appendInterpolation(_:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:8Deeplink0A13InterpolationV06appendB0yys15WritableKeyPathCyxSSSgGKF","modules":[{"name":"Deeplink"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation"]]},"references":{"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation/appendInterpolation(_:)":{"role":"symbol","title":"appendInterpolation(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"appendInterpolation"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"WritableKeyPath","preciseIdentifier":"s:s15WritableKeyPathC"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?>) "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Method called by Swift when the string interpolation contains an interpolation argument."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/appendInterpolation(_:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkinterpolation\/appendinterpolation(_:)"},"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"},"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation":{"role":"symbol","title":"DeeplinkInterpolation","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinkInterpolation"}],"abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinkInterpolation"}],"url":"\/documentation\/deeplink\/deeplinkinterpolation"}}} \ No newline at end of file +{"schemaVersion":{"patch":0,"major":0,"minor":3},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"mutating"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"appendInterpolation"},{"text":"(","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"path"},{"kind":"text","text":": "},{"text":"WritableKeyPath","kind":"typeIdentifier","preciseIdentifier":"s:s15WritableKeyPathC"},{"text":"<","kind":"text"},{"text":"Value","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":"?>) "},{"kind":"keyword","text":"throws"}],"languages":["swift"]}]},{"kind":"content","content":[{"level":2,"type":"heading","text":"Discussion","anchor":"discussion"},{"inlineContent":[{"type":"text","text":"Example: the deeplink "},{"type":"codeVoice","code":"\"\/sell\/ticket\/\\(\\.id)\""},{"type":"text","text":" will trigger the following calls in order:"}],"type":"paragraph"},{"syntax":"swift","type":"codeListing","code":["var interpolation = DeeplinkInterpolation(literalCapacity: 13, interpolationCount: 1)","interpolation.appendLiteral(\"\/sell\/ticket\/\")","interpolation.appendInterpolation(\\.id)"]}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/appendInterpolation(_:)","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/deeplink\/deeplinkinterpolation\/appendinterpolation(_:)"]}],"abstract":[{"text":"Method called by Swift when the string interpolation contains an interpolation argument.","type":"text"}],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation"]]},"metadata":{"fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"appendInterpolation"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"WritableKeyPath","preciseIdentifier":"s:s15WritableKeyPathC"},{"kind":"text","text":"<"},{"text":"Value","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"?>) ","kind":"text"},{"text":"throws","kind":"keyword"}],"modules":[{"name":"Deeplink"}],"roleHeading":"Instance Method","externalID":"s:8Deeplink0A13InterpolationV06appendB0yys15WritableKeyPathCyxSSSgGKF","symbolKind":"method","title":"appendInterpolation(_:)","role":"symbol"},"sections":[],"references":{"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation":{"fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinkInterpolation"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation","navigatorTitle":[{"text":"DeeplinkInterpolation","kind":"identifier"}],"role":"symbol","title":"DeeplinkInterpolation","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkinterpolation","type":"topic","abstract":[]},"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation/appendInterpolation(_:)":{"fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"appendInterpolation","kind":"identifier"},{"text":"(","kind":"text"},{"text":"WritableKeyPath","kind":"typeIdentifier","preciseIdentifier":"s:s15WritableKeyPathC"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"Value"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"?>) ","kind":"text"},{"text":"throws","kind":"keyword"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/appendInterpolation(_:)","role":"symbol","title":"appendInterpolation(_:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkinterpolation\/appendinterpolation(_:)","abstract":[{"text":"Method called by Swift when the string interpolation contains an interpolation argument.","type":"text"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplinkinterpolation/appendinterpolation(_:separator:).json b/docs/data/documentation/deeplink/deeplinkinterpolation/appendinterpolation(_:separator:).json index a190982..b3b953a 100644 --- a/docs/data/documentation/deeplink/deeplinkinterpolation/appendinterpolation(_:separator:).json +++ b/docs/data/documentation/deeplink/deeplinkinterpolation/appendinterpolation(_:separator:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"mutating"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"appendInterpolation"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"path"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"WritableKeyPath","preciseIdentifier":"s:s15WritableKeyPathC"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":", ["},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"]?>, "},{"kind":"externalParam","text":"separator"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Character","preciseIdentifier":"s:SJ"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"discussion","level":2,"type":"heading","text":"Discussion"},{"type":"paragraph","inlineContent":[{"type":"text","text":"Example: the deeplink "},{"type":"codeVoice","code":"\"\/sell\/ticket\/ids=\\(\\.idList, separator: \",\")\""},{"type":"text","text":" will trigger the following calls in order:"}]},{"type":"codeListing","syntax":"swift","code":["var interpolation = DeeplinkInterpolation(literalCapacity: 17, interpolationCount: 1)","interpolation.appendLiteral(\"\/sell\/ticket\/ids=\")","interpolation.appendInterpolation(\\.idList, separator: \",\")"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/deeplink\/deeplinkinterpolation\/appendinterpolation(_:separator:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/appendInterpolation(_:separator:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Method called by Swift when the string interpolation contains an interpolation argument list."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"appendInterpolation"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"WritableKeyPath","preciseIdentifier":"s:s15WritableKeyPathC"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":", ["},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"]?>, "},{"kind":"externalParam","text":"separator"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Character","preciseIdentifier":"s:SJ"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"title":"appendInterpolation(_:separator:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:8Deeplink0A13InterpolationV06appendB0_9separatorys15WritableKeyPathCyxSaySSGSgG_SJtKF","modules":[{"name":"Deeplink"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation"]]},"references":{"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation/appendInterpolation(_:separator:)":{"role":"symbol","title":"appendInterpolation(_:separator:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"appendInterpolation"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"WritableKeyPath","preciseIdentifier":"s:s15WritableKeyPathC"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":", ["},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"]?>, "},{"kind":"externalParam","text":"separator"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Character","preciseIdentifier":"s:SJ"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Method called by Swift when the string interpolation contains an interpolation argument list."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/appendInterpolation(_:separator:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkinterpolation\/appendinterpolation(_:separator:)"},"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation":{"role":"symbol","title":"DeeplinkInterpolation","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinkInterpolation"}],"abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinkInterpolation"}],"url":"\/documentation\/deeplink\/deeplinkinterpolation"},"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"}}} \ No newline at end of file +{"abstract":[{"text":"Method called by Swift when the string interpolation contains an interpolation argument list.","type":"text"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"mutating","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"appendInterpolation","kind":"identifier"},{"text":"(","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"path"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s15WritableKeyPathC","text":"WritableKeyPath"},{"kind":"text","text":"<"},{"text":"Value","kind":"typeIdentifier"},{"text":", [","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":"]?>, "},{"kind":"externalParam","text":"separator"},{"kind":"text","text":": "},{"text":"Character","preciseIdentifier":"s:SJ","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}],"languages":["swift"]}]},{"kind":"content","content":[{"anchor":"discussion","text":"Discussion","type":"heading","level":2},{"type":"paragraph","inlineContent":[{"type":"text","text":"Example: the deeplink "},{"type":"codeVoice","code":"\"\/sell\/ticket\/ids=\\(\\.idList, separator: \",\")\""},{"type":"text","text":" will trigger the following calls in order:"}]},{"syntax":"swift","type":"codeListing","code":["var interpolation = DeeplinkInterpolation(literalCapacity: 17, interpolationCount: 1)","interpolation.appendLiteral(\"\/sell\/ticket\/ids=\")","interpolation.appendInterpolation(\\.idList, separator: \",\")"]}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/appendInterpolation(_:separator:)"},"schemaVersion":{"patch":0,"major":0,"minor":3},"metadata":{"symbolKind":"method","role":"symbol","externalID":"s:8Deeplink0A13InterpolationV06appendB0_9separatorys15WritableKeyPathCyxSaySSGSgG_SJtKF","roleHeading":"Instance Method","title":"appendInterpolation(_:separator:)","modules":[{"name":"Deeplink"}],"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"appendInterpolation","kind":"identifier"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"s:s15WritableKeyPathC","text":"WritableKeyPath"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"Value"},{"text":", [","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":"]?>, "},{"kind":"externalParam","text":"separator"},{"kind":"text","text":": "},{"text":"Character","preciseIdentifier":"s:SJ","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/deeplink\/deeplinkinterpolation\/appendinterpolation(_:separator:)"]}],"sections":[],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation"]]},"references":{"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation":{"fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinkInterpolation"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation","navigatorTitle":[{"text":"DeeplinkInterpolation","kind":"identifier"}],"role":"symbol","title":"DeeplinkInterpolation","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkinterpolation","type":"topic","abstract":[]},"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation/appendInterpolation(_:separator:)":{"title":"appendInterpolation(_:separator:)","role":"symbol","kind":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"appendInterpolation","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s15WritableKeyPathC","text":"WritableKeyPath"},{"kind":"text","text":"<"},{"text":"Value","kind":"typeIdentifier"},{"kind":"text","text":", ["},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"]?>, ","kind":"text"},{"text":"separator","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Character","preciseIdentifier":"s:SJ","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/appendInterpolation(_:separator:)","abstract":[{"type":"text","text":"Method called by Swift when the string interpolation contains an interpolation argument list."}],"url":"\/documentation\/deeplink\/deeplinkinterpolation\/appendinterpolation(_:separator:)","type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplinkinterpolation/appendliteral(_:).json b/docs/data/documentation/deeplink/deeplinkinterpolation/appendliteral(_:).json index b1f0f87..593f246 100644 --- a/docs/data/documentation/deeplink/deeplinkinterpolation/appendliteral(_:).json +++ b/docs/data/documentation/deeplink/deeplinkinterpolation/appendliteral(_:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"mutating"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"appendLiteral"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"literal"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"discussion","level":2,"type":"heading","text":"Discussion"},{"type":"paragraph","inlineContent":[{"type":"text","text":"Example: the deeplink "},{"type":"codeVoice","code":"\"\/sell\/ticket\/\\(\\.id)\""},{"type":"text","text":" will trigger the following calls in order:"}]},{"type":"codeListing","syntax":"swift","code":["var interpolation = DeeplinkInterpolation(literalCapacity: 13, interpolationCount: 1)","interpolation.appendLiteral(\"\/sell\/ticket\/\")","interpolation.appendInterpolation(\\.id)"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/deeplink\/deeplinkinterpolation\/appendliteral(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/appendLiteral(_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Method called by Swift when the string interpolation contains a string literal."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"appendLiteral"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"title":"appendLiteral(_:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:8Deeplink0A13InterpolationV13appendLiteralyySSF","modules":[{"name":"Deeplink"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation"]]},"references":{"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"},"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation/appendLiteral(_:)":{"role":"symbol","title":"appendLiteral(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"appendLiteral"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Method called by Swift when the string interpolation contains a string literal."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/appendLiteral(_:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkinterpolation\/appendliteral(_:)"},"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation":{"role":"symbol","title":"DeeplinkInterpolation","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinkInterpolation"}],"abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinkInterpolation"}],"url":"\/documentation\/deeplink\/deeplinkinterpolation"}}} \ No newline at end of file +{"schemaVersion":{"patch":0,"minor":3,"major":0},"abstract":[{"text":"Method called by Swift when the string interpolation contains a string literal.","type":"text"}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"mutating","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"appendLiteral","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"literal"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":")","kind":"text"}]}],"kind":"declarations"},{"kind":"content","content":[{"level":2,"anchor":"discussion","type":"heading","text":"Discussion"},{"inlineContent":[{"type":"text","text":"Example: the deeplink "},{"code":"\"\/sell\/ticket\/\\(\\.id)\"","type":"codeVoice"},{"type":"text","text":" will trigger the following calls in order:"}],"type":"paragraph"},{"type":"codeListing","syntax":"swift","code":["var interpolation = DeeplinkInterpolation(literalCapacity: 13, interpolationCount: 1)","interpolation.appendLiteral(\"\/sell\/ticket\/\")","interpolation.appendInterpolation(\\.id)"]}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/appendLiteral(_:)","interfaceLanguage":"swift"},"variants":[{"paths":["\/documentation\/deeplink\/deeplinkinterpolation\/appendliteral(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","sections":[],"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation"]]},"metadata":{"symbolKind":"method","roleHeading":"Instance Method","role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"appendLiteral"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":")","kind":"text"}],"modules":[{"name":"Deeplink"}],"externalID":"s:8Deeplink0A13InterpolationV13appendLiteralyySSF","title":"appendLiteral(_:)"},"references":{"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation/appendLiteral(_:)":{"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"appendLiteral"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":")","kind":"text"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/appendLiteral(_:)","role":"symbol","kind":"symbol","title":"appendLiteral(_:)","url":"\/documentation\/deeplink\/deeplinkinterpolation\/appendliteral(_:)","type":"topic","abstract":[{"text":"Method called by Swift when the string interpolation contains a string literal.","type":"text"}]},"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation":{"fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinkInterpolation"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation","navigatorTitle":[{"text":"DeeplinkInterpolation","kind":"identifier"}],"role":"symbol","title":"DeeplinkInterpolation","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkinterpolation","type":"topic","abstract":[]}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplinkinterpolation/customstringconvertible-implementations.json b/docs/data/documentation/deeplink/deeplinkinterpolation/customstringconvertible-implementations.json index 0bf3023..db180b5 100644 --- a/docs/data/documentation/deeplink/deeplinkinterpolation/customstringconvertible-implementations.json +++ b/docs/data/documentation/deeplink/deeplinkinterpolation/customstringconvertible-implementations.json @@ -1 +1 @@ -{"variants":[{"paths":["\/documentation\/deeplink\/deeplinkinterpolation\/customstringconvertible-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/CustomStringConvertible-Implementations","interfaceLanguage":"swift"},"topicSections":[{"title":"Instance Properties","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/description"],"generated":true}],"kind":"article","metadata":{"modules":[{"name":"Deeplink"}],"role":"collectionGroup","title":"CustomStringConvertible Implementations"},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation"]]},"references":{"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"},"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation":{"role":"symbol","title":"DeeplinkInterpolation","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinkInterpolation"}],"abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinkInterpolation"}],"url":"\/documentation\/deeplink\/deeplinkinterpolation"},"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation/description":{"role":"symbol","title":"description","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"description"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/description","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkinterpolation\/description"}}} \ No newline at end of file +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/deeplink\/deeplinkinterpolation\/customstringconvertible-implementations"]}],"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation"]]},"metadata":{"role":"collectionGroup","title":"CustomStringConvertible Implementations","modules":[{"name":"Deeplink"}]},"topicSections":[{"identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/description"],"title":"Instance Properties","generated":true}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/CustomStringConvertible-Implementations","interfaceLanguage":"swift"},"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"kind":"article","references":{"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation/description":{"abstract":[],"title":"description","url":"\/documentation\/deeplink\/deeplinkinterpolation\/description","role":"symbol","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/description","type":"topic","kind":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"description","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"}]},"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation":{"fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinkInterpolation"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation","navigatorTitle":[{"text":"DeeplinkInterpolation","kind":"identifier"}],"role":"symbol","title":"DeeplinkInterpolation","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkinterpolation","type":"topic","abstract":[]}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplinkinterpolation/description.json b/docs/data/documentation/deeplink/deeplinkinterpolation/description.json index 91c6fe9..72ec885 100644 --- a/docs/data/documentation/deeplink/deeplinkinterpolation/description.json +++ b/docs/data/documentation/deeplink/deeplinkinterpolation/description.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"description"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":" { "},{"kind":"keyword","text":"get"},{"kind":"text","text":" }"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/deeplink\/deeplinkinterpolation\/description"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/description","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"CustomStringConvertible.description"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"role":"symbol","title":"description","roleHeading":"Instance Property","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"description"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"symbolKind":"property","externalID":"s:8Deeplink0A13InterpolationV11descriptionSSvp","extendedModule":"Deeplink","modules":[{"name":"Deeplink"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/CustomStringConvertible-Implementations"]]},"references":{"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"},"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation/description":{"role":"symbol","title":"description","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"description"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/description","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkinterpolation\/description"},"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation":{"role":"symbol","title":"DeeplinkInterpolation","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinkInterpolation"}],"abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinkInterpolation"}],"url":"\/documentation\/deeplink\/deeplinkinterpolation"},"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation/CustomStringConvertible-Implementations":{"role":"collectionGroup","title":"CustomStringConvertible Implementations","abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/CustomStringConvertible-Implementations","kind":"article","type":"topic","url":"\/documentation\/deeplink\/deeplinkinterpolation\/customstringconvertible-implementations"}}} \ No newline at end of file +{"sections":[],"kind":"symbol","schemaVersion":{"major":0,"minor":3,"patch":0},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"CustomStringConvertible.description"},{"text":".","type":"text"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"description","kind":"identifier"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":" { ","kind":"text"},{"text":"get","kind":"keyword"},{"text":" }","kind":"text"}]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/deeplink\/deeplinkinterpolation\/description"]}],"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/CustomStringConvertible-Implementations"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/description"},"metadata":{"role":"symbol","externalID":"s:8Deeplink0A13InterpolationV11descriptionSSvp","extendedModule":"Deeplink","title":"description","symbolKind":"property","roleHeading":"Instance Property","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"description","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"modules":[{"name":"Deeplink"}]},"references":{"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation":{"fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinkInterpolation"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation","navigatorTitle":[{"text":"DeeplinkInterpolation","kind":"identifier"}],"role":"symbol","title":"DeeplinkInterpolation","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkinterpolation","type":"topic","abstract":[]},"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation/description":{"abstract":[],"title":"description","url":"\/documentation\/deeplink\/deeplinkinterpolation\/description","role":"symbol","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/description","type":"topic","kind":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"description","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"}]},"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation/CustomStringConvertible-Implementations":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/CustomStringConvertible-Implementations","role":"collectionGroup","title":"CustomStringConvertible Implementations","kind":"article","type":"topic","url":"\/documentation\/deeplink\/deeplinkinterpolation\/customstringconvertible-implementations","abstract":[]}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplinkinterpolation/equatable-implementations.json b/docs/data/documentation/deeplink/deeplinkinterpolation/equatable-implementations.json index 5e7ea5c..ef2e3fd 100644 --- a/docs/data/documentation/deeplink/deeplinkinterpolation/equatable-implementations.json +++ b/docs/data/documentation/deeplink/deeplinkinterpolation/equatable-implementations.json @@ -1 +1 @@ -{"variants":[{"paths":["\/documentation\/deeplink\/deeplinkinterpolation\/equatable-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/Equatable-Implementations","interfaceLanguage":"swift"},"topicSections":[{"title":"Operators","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/!=(_:_:)"],"generated":true}],"kind":"article","metadata":{"modules":[{"name":"Deeplink"}],"role":"collectionGroup","title":"Equatable Implementations"},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation"]]},"references":{"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation/!=(_:_:)":{"role":"symbol","title":"!=(_:_:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/!=(_:_:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkinterpolation\/!=(_:_:)"},"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation":{"role":"symbol","title":"DeeplinkInterpolation","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinkInterpolation"}],"abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinkInterpolation"}],"url":"\/documentation\/deeplink\/deeplinkinterpolation"},"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"}}} \ No newline at end of file +{"topicSections":[{"title":"Operators","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/!=(_:_:)"],"generated":true}],"kind":"article","hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation"]]},"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/Equatable-Implementations"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/deeplink\/deeplinkinterpolation\/equatable-implementations"]}],"metadata":{"role":"collectionGroup","modules":[{"name":"Deeplink"}],"title":"Equatable Implementations"},"schemaVersion":{"minor":3,"patch":0,"major":0},"references":{"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation/!=(_:_:)":{"fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"!=","kind":"identifier"},{"kind":"text","text":" "},{"text":"(","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/!=(_:_:)","abstract":[],"title":"!=(_:_:)","type":"topic","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkinterpolation\/!=(_:_:)","role":"symbol"},"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation":{"fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinkInterpolation"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation","navigatorTitle":[{"text":"DeeplinkInterpolation","kind":"identifier"}],"role":"symbol","title":"DeeplinkInterpolation","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkinterpolation","type":"topic","abstract":[]},"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplinkinterpolation/init(literalcapacity:interpolationcount:).json b/docs/data/documentation/deeplink/deeplinkinterpolation/init(literalcapacity:interpolationcount:).json index 7604f3c..700d28b 100644 --- a/docs/data/documentation/deeplink/deeplinkinterpolation/init(literalcapacity:interpolationcount:).json +++ b/docs/data/documentation/deeplink/deeplinkinterpolation/init(literalcapacity:interpolationcount:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"literalCapacity"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":", "},{"kind":"externalParam","text":"interpolationCount"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":")"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/deeplink\/deeplinkinterpolation\/init(literalcapacity:interpolationcount:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/init(literalCapacity:interpolationCount:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Initializer used by Swift when creating a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation"},{"type":"text","text":" from a string interpolation."},{"type":"text","text":" "},{"type":"text","text":"The arguments should be used for performance tuning, but we cannot use them because of how the components are stored in a list."}],"kind":"symbol","metadata":{"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"literalCapacity"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":", "},{"kind":"externalParam","text":"interpolationCount"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":")"}],"title":"init(literalCapacity:interpolationCount:)","roleHeading":"Initializer","role":"symbol","symbolKind":"init","externalID":"s:8Deeplink0A13InterpolationV15literalCapacity18interpolationCountACyxGSi_Sitcfc","modules":[{"name":"Deeplink"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation"]]},"references":{"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation":{"role":"symbol","title":"DeeplinkInterpolation","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinkInterpolation"}],"abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinkInterpolation"}],"url":"\/documentation\/deeplink\/deeplinkinterpolation"},"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation/init(literalCapacity:interpolationCount:)":{"role":"symbol","title":"init(literalCapacity:interpolationCount:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"literalCapacity"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":", "},{"kind":"externalParam","text":"interpolationCount"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Initializer used by Swift when creating a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation"},{"type":"text","text":" from a string interpolation."},{"type":"text","text":" "},{"type":"text","text":"The arguments should be used for performance tuning, but we cannot use them because of how the components are stored in a list."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/init(literalCapacity:interpolationCount:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkinterpolation\/init(literalcapacity:interpolationcount:)"},"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"}}} \ No newline at end of file +{"abstract":[{"type":"text","text":"Initializer used by Swift when creating a "},{"isActive":true,"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation"},{"type":"text","text":" from a string interpolation."},{"type":"text","text":" "},{"type":"text","text":"The arguments should be used for performance tuning, but we cannot use them because of how the components are stored in a list."}],"kind":"symbol","schemaVersion":{"minor":3,"patch":0,"major":0},"variants":[{"paths":["\/documentation\/deeplink\/deeplinkinterpolation\/init(literalcapacity:interpolationcount:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/init(literalCapacity:interpolationCount:)","interfaceLanguage":"swift"},"sections":[],"metadata":{"symbolKind":"init","externalID":"s:8Deeplink0A13InterpolationV15literalCapacity18interpolationCountACyxGSi_Sitcfc","modules":[{"name":"Deeplink"}],"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"literalCapacity"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Si","text":"Int"},{"text":", ","kind":"text"},{"text":"interpolationCount","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Si","text":"Int","kind":"typeIdentifier"},{"kind":"text","text":")"}],"title":"init(literalCapacity:interpolationCount:)","role":"symbol","roleHeading":"Initializer"},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"init","kind":"keyword"},{"kind":"text","text":"("},{"kind":"externalParam","text":"literalCapacity"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Si","kind":"typeIdentifier","text":"Int"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"interpolationCount"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Si","text":"Int","kind":"typeIdentifier"},{"text":")","kind":"text"}]}]}],"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation"]]},"references":{"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation/init(literalCapacity:interpolationCount:)":{"fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"text":"literalCapacity","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Int","kind":"typeIdentifier","preciseIdentifier":"s:Si"},{"kind":"text","text":", "},{"text":"interpolationCount","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Int","preciseIdentifier":"s:Si","kind":"typeIdentifier"},{"text":")","kind":"text"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation\/init(literalCapacity:interpolationCount:)","role":"symbol","kind":"symbol","title":"init(literalCapacity:interpolationCount:)","url":"\/documentation\/deeplink\/deeplinkinterpolation\/init(literalcapacity:interpolationcount:)","type":"topic","abstract":[{"type":"text","text":"Initializer used by Swift when creating a "},{"isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation","type":"reference"},{"type":"text","text":" from a string interpolation."},{"text":" ","type":"text"},{"text":"The arguments should be used for performance tuning, but we cannot use them because of how the components are stored in a list.","type":"text"}]},"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/DeeplinkInterpolation":{"fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinkInterpolation"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkInterpolation","navigatorTitle":[{"text":"DeeplinkInterpolation","kind":"identifier"}],"role":"symbol","title":"DeeplinkInterpolation","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkinterpolation","type":"topic","abstract":[]}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplinkscenter.json b/docs/data/documentation/deeplink/deeplinkscenter.json index 7890de4..804cb50 100644 --- a/docs/data/documentation/deeplink/deeplinkscenter.json +++ b/docs/data/documentation/deeplink/deeplinkscenter.json @@ -1 +1 @@ -{"seeAlsoSections":[{"title":"Essentials","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/Getting-started-with-Deeplinking","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"],"generated":true}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinksCenter"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"Overview","level":2,"type":"heading","text":"Overview"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The "},{"type":"codeVoice","code":"DeeplinksCenter"},{"type":"text","text":" is the object you use to register behaviors for your "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"},{"type":"text","text":" templates: when a template matches the URL you’re parsing, the "},{"type":"codeVoice","code":"ifMatching"},{"type":"text","text":" closure on the "},{"type":"codeVoice","code":"register"},{"type":"text","text":" method is triggered."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"Then, you can use the "},{"type":"codeVoice","code":"parse"},{"type":"text","text":" method to attempt matching a URL against the list of registered deeplink templates you built."}]}]}],"variants":[{"paths":["\/documentation\/deeplink\/deeplinkscenter"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinksCenter"}],"title":"DeeplinksCenter","roleHeading":"Class","role":"symbol","symbolKind":"class","externalID":"s:8Deeplink15DeeplinksCenterC","modules":[{"name":"Deeplink"}],"navigatorTitle":[{"kind":"identifier","text":"DeeplinksCenter"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink"]]},"topicSections":[{"title":"Initialize a center","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/init()","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/init(_:)"]},{"title":"Registering deeplinks","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplink:assigningTo:ifMatching:)","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplink:ifMatching:)","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplinks:assigningTo:ifMatching:)","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplinks:ifMatching:)"]},{"title":"Parsing URLs","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/parse(url:)"]},{"title":"Instance Methods","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/testSampleDeeplink(_:)"]}],"references":{"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/parse(url:)":{"role":"symbol","title":"parse(url:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"parse"},{"kind":"text","text":"("},{"kind":"externalParam","text":"url"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Attempts to parse the "},{"type":"codeVoice","code":"URL"},{"type":"text","text":", walking through the list of registered deeplinks."},{"type":"text","text":" "},{"type":"text","text":"If a match is found, the corresponding argument segments will be assigned to the keypaths specified in the deeplink interpolation, and the "},{"type":"codeVoice","code":"ifMatching"},{"type":"text","text":" closure defined when calling "},{"type":"codeVoice","code":"register:"},{"type":"text","text":" will be executed."},{"type":"text","text":" "},{"type":"text","text":"If no match is found, an error is thrown."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/parse(url:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkscenter\/parse(url:)"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/register(deeplink:ifMatching:)":{"role":"symbol","title":"register(deeplink:ifMatching:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"register"},{"kind":"text","text":"("},{"kind":"externalParam","text":"deeplink"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":">, "},{"kind":"externalParam","text":"ifMatching"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"DeeplinksCenter","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC"}],"abstract":[{"type":"text","text":"Function to use to add a deeplink to be recognized when parsing a "},{"type":"codeVoice","code":"URL"},{"type":"text","text":"."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplink:ifMatching:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkscenter\/register(deeplink:ifmatching:)"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/init()":{"role":"symbol","title":"init()","fragments":[{"kind":"keyword","text":"convenience"},{"kind":"text","text":" "},{"kind":"identifier","text":"init"},{"kind":"text","text":"()"}],"abstract":[{"type":"text","text":"Public initializer that makes an empty center. Use the "},{"type":"codeVoice","code":"register"},{"type":"text","text":" functions to add your deeplinks."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/init()","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkscenter\/init()"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"role":"symbol","title":"DeeplinksCenter","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinksCenter"}],"abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinksCenter"}],"url":"\/documentation\/deeplink\/deeplinkscenter"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/register(deeplinks:assigningTo:ifMatching:)":{"role":"symbol","title":"register(deeplinks:assigningTo:ifMatching:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"register"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"Value"},{"kind":"text","text":">("},{"kind":"externalParam","text":"deeplinks"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">], "},{"kind":"externalParam","text":"assigningTo"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":", "},{"kind":"externalParam","text":"ifMatching"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"DeeplinksCenter","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC"}],"abstract":[{"type":"text","text":"Function to use to add multiple deeplink templates to be recognized when parsing a "},{"type":"codeVoice","code":"URL"},{"type":"text","text":", executing the same closure afterwards."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplinks:assigningTo:ifMatching:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkscenter\/register(deeplinks:assigningto:ifmatching:)"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"role":"symbol","title":"Deeplink","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"abstract":[{"type":"text","text":"An "},{"type":"codeVoice","code":"enum"},{"type":"text","text":" that represents a deeplink template."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Deeplink"}],"url":"\/documentation\/deeplink\/deeplink"},"doc://Deeplink/documentation/Deeplink/SampleDeeplink":{"role":"symbol","title":"SampleDeeplink","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"SampleDeeplink"}],"abstract":[{"type":"text","text":"You can use a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink"},{"type":"text","text":" to create unit tests that verify that the order of registrations of deeplinks in your "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"},{"type":"text","text":" is sound, and no template stops another from being detected."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SampleDeeplink"}],"url":"\/documentation\/deeplink\/sampledeeplink"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/register(deeplink:assigningTo:ifMatching:)":{"role":"symbol","title":"register(deeplink:assigningTo:ifMatching:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"register"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"Value"},{"kind":"text","text":">("},{"kind":"externalParam","text":"deeplink"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">, "},{"kind":"externalParam","text":"assigningTo"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":", "},{"kind":"externalParam","text":"ifMatching"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"DeeplinksCenter","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC"}],"abstract":[{"type":"text","text":"Function to use to add a deeplink to be recognized when parsing a "},{"type":"codeVoice","code":"URL"},{"type":"text","text":"."},{"type":"text","text":" "},{"type":"text","text":"The order in which you add deeplinks to the center matters, since the first deeplink in the list to successfully match a URL will stop the pattern matching."},{"type":"text","text":" "},{"type":"text","text":"This is the version for interpolated deeplinks: deeplinks that contain one or more arguments. The other version is "},{"type":"codeVoice","code":"register(deeplink: ifMatching:)"},{"type":"text","text":" for literal deeplinks."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplink:assigningTo:ifMatching:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkscenter\/register(deeplink:assigningto:ifmatching:)"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/init(_:)":{"role":"symbol","title":"init(_:)","fragments":[{"kind":"keyword","text":"convenience"},{"kind":"text","text":" "},{"kind":"identifier","text":"init"},{"kind":"text","text":"(() -> ["},{"kind":"typeIdentifier","text":"AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V"},{"kind":"text","text":"])"}],"abstract":[{"type":"text","text":"Initializer that takes a DeeplinkBuilder closure."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/init(_:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkscenter\/init(_:)"},"doc://Deeplink/documentation/Deeplink/Getting-started-with-Deeplinking":{"role":"article","title":"Getting started with Deeplinking","abstract":[{"type":"text","text":"From 0 to "},{"type":"codeVoice","code":"\/hero"},{"type":"text","text":"."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Getting-started-with-Deeplinking","kind":"article","type":"topic","url":"\/documentation\/deeplink\/getting-started-with-deeplinking"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/testSampleDeeplink(_:)":{"role":"symbol","title":"testSampleDeeplink(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"testSampleDeeplink"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"Value"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"SampleDeeplink","preciseIdentifier":"s:8Deeplink06SampleA0V"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">) "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Pass a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink"},{"type":"text","text":" instance to this function to perform a deeplink registration unit test."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/testSampleDeeplink(_:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkscenter\/testsampledeeplink(_:)"},"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/register(deeplinks:ifMatching:)":{"role":"symbol","title":"register(deeplinks:ifMatching:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"register"},{"kind":"text","text":"("},{"kind":"externalParam","text":"deeplinks"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":">], "},{"kind":"externalParam","text":"ifMatching"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"DeeplinksCenter","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC"}],"abstract":[{"type":"text","text":"Function to use to add multiple deeplink templates to be recognized when parsing a "},{"type":"codeVoice","code":"URL"},{"type":"text","text":", executing the same closure afterwards."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplinks:ifMatching:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkscenter\/register(deeplinks:ifmatching:)"}}} \ No newline at end of file +{"sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinksCenter"}],"languages":["swift"]}]},{"content":[{"text":"Overview","level":2,"anchor":"Overview","type":"heading"},{"inlineContent":[{"text":"The ","type":"text"},{"type":"codeVoice","code":"DeeplinksCenter"},{"type":"text","text":" is the object you use to register behaviors for your "},{"isActive":true,"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"},{"text":" templates: when a template matches the URL you’re parsing, the ","type":"text"},{"code":"ifMatching","type":"codeVoice"},{"text":" closure on the ","type":"text"},{"type":"codeVoice","code":"register"},{"type":"text","text":" method is triggered."}],"type":"paragraph"},{"inlineContent":[{"text":"Then, you can use the ","type":"text"},{"code":"parse","type":"codeVoice"},{"text":" method to attempt matching a URL against the list of registered deeplink templates you built.","type":"text"}],"type":"paragraph"}],"kind":"content"}],"seeAlsoSections":[{"title":"Essentials","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/Getting-started-with-Deeplinking","doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"],"generated":true}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","interfaceLanguage":"swift"},"topicSections":[{"title":"Initialize a center","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/init()","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/init(_:)"]},{"title":"Registering deeplinks","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplink:assigningTo:ifMatching:)","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplink:ifMatching:)","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplinks:assigningTo:ifMatching:)","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplinks:ifMatching:)"]},{"title":"Parsing URLs","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/parse(url:)"]},{"identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/testSampleDeeplink(_:)"],"title":"Instance Methods"}],"metadata":{"roleHeading":"Class","externalID":"s:8Deeplink15DeeplinksCenterC","modules":[{"name":"Deeplink"}],"title":"DeeplinksCenter","symbolKind":"class","navigatorTitle":[{"text":"DeeplinksCenter","kind":"identifier"}],"role":"symbol","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"DeeplinksCenter","kind":"identifier"}]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/deeplink\/deeplinkscenter"]}],"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink"]]},"kind":"symbol","schemaVersion":{"patch":0,"minor":3,"major":0},"abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}],"references":{"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinksCenter"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","navigatorTitle":[{"text":"DeeplinksCenter","kind":"identifier"}],"role":"symbol","title":"DeeplinksCenter","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkscenter","type":"topic","abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}]},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/register(deeplinks:assigningTo:ifMatching:)":{"abstract":[{"type":"text","text":"Function to use to add multiple deeplink templates to be recognized when parsing a "},{"type":"codeVoice","code":"URL"},{"text":", executing the same closure afterwards.","type":"text"}],"kind":"symbol","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"register"},{"text":"<","kind":"text"},{"kind":"genericParameter","text":"Value"},{"kind":"text","text":">("},{"kind":"externalParam","text":"deeplinks"},{"text":": [","kind":"text"},{"kind":"typeIdentifier","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"text":"<","kind":"text"},{"text":"Value","kind":"typeIdentifier"},{"kind":"text","text":">], "},{"kind":"externalParam","text":"assigningTo"},{"kind":"text","text":": "},{"text":"Value","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"ifMatching"},{"text":": (","kind":"text"},{"text":"URL","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"text":"Value","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","text":"DeeplinksCenter","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplinks:assigningTo:ifMatching:)","type":"topic","url":"\/documentation\/deeplink\/deeplinkscenter\/register(deeplinks:assigningto:ifmatching:)","title":"register(deeplinks:assigningTo:ifMatching:)","role":"symbol"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/init(_:)":{"url":"\/documentation\/deeplink\/deeplinkscenter\/init(_:)","role":"symbol","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/init(_:)","kind":"symbol","type":"topic","abstract":[{"type":"text","text":"Initializer that takes a DeeplinkBuilder closure."}],"fragments":[{"kind":"keyword","text":"convenience"},{"kind":"text","text":" "},{"text":"init","kind":"identifier"},{"text":"(() -> [","kind":"text"},{"text":"AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V","kind":"typeIdentifier"},{"text":"])","kind":"text"}],"title":"init(_:)"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/register(deeplinks:ifMatching:)":{"abstract":[{"type":"text","text":"Function to use to add multiple deeplink templates to be recognized when parsing a "},{"type":"codeVoice","code":"URL"},{"text":", executing the same closure afterwards.","type":"text"}],"kind":"symbol","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"register"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"deeplinks"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","preciseIdentifier":"s:8DeeplinkAAO","text":"Deeplink"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"text":">], ","kind":"text"},{"text":"ifMatching","kind":"externalParam"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation3URLV","text":"URL"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"text":") -> ","kind":"text"},{"text":"DeeplinksCenter","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC"}],"type":"topic","title":"register(deeplinks:ifMatching:)","role":"symbol","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplinks:ifMatching:)","url":"\/documentation\/deeplink\/deeplinkscenter\/register(deeplinks:ifmatching:)"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"url":"\/documentation\/deeplink\/deeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","navigatorTitle":[{"text":"Deeplink","kind":"identifier"}],"abstract":[{"type":"text","text":"An "},{"code":"enum","type":"codeVoice"},{"text":" that represents a deeplink template.","type":"text"}],"title":"Deeplink","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"type":"topic"},"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/Getting-started-with-Deeplinking":{"url":"\/documentation\/deeplink\/getting-started-with-deeplinking","kind":"article","role":"article","type":"topic","abstract":[{"type":"text","text":"From 0 to "},{"type":"codeVoice","code":"\/hero"},{"type":"text","text":"."}],"title":"Getting started with Deeplinking","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Getting-started-with-Deeplinking"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/register(deeplink:ifMatching:)":{"title":"register(deeplink:ifMatching:)","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplink:ifMatching:)","abstract":[{"type":"text","text":"Function to use to add a deeplink to be recognized when parsing a "},{"type":"codeVoice","code":"URL"},{"text":".","type":"text"}],"fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"register"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"deeplink"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:8DeeplinkAAO","text":"Deeplink"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"text":">, ","kind":"text"},{"text":"ifMatching","kind":"externalParam"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation3URLV","text":"URL"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"text":") -> ","kind":"text"},{"text":"DeeplinksCenter","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC"}],"url":"\/documentation\/deeplink\/deeplinkscenter\/register(deeplink:ifmatching:)","type":"topic","role":"symbol","kind":"symbol"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/testSampleDeeplink(_:)":{"fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"testSampleDeeplink"},{"text":"<","kind":"text"},{"text":"Value","kind":"genericParameter"},{"kind":"text","text":">("},{"text":"SampleDeeplink","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink06SampleA0V"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">) "},{"text":"throws","kind":"keyword"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/testSampleDeeplink(_:)","abstract":[{"text":"Pass a ","type":"text"},{"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink","isActive":true},{"type":"text","text":" instance to this function to perform a deeplink registration unit test."}],"title":"testSampleDeeplink(_:)","type":"topic","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkscenter\/testsampledeeplink(_:)","role":"symbol"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/parse(url:)":{"kind":"symbol","title":"parse(url:)","type":"topic","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/parse(url:)","url":"\/documentation\/deeplink\/deeplinkscenter\/parse(url:)","abstract":[{"type":"text","text":"Attempts to parse the "},{"type":"codeVoice","code":"URL"},{"type":"text","text":", walking through the list of registered deeplinks."},{"text":" ","type":"text"},{"text":"If a match is found, the corresponding argument segments will be assigned to the keypaths specified in the deeplink interpolation, and the ","type":"text"},{"code":"ifMatching","type":"codeVoice"},{"text":" closure defined when calling ","type":"text"},{"type":"codeVoice","code":"register:"},{"type":"text","text":" will be executed."},{"text":" ","type":"text"},{"type":"text","text":"If no match is found, an error is thrown."}],"role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"parse"},{"text":"(","kind":"text"},{"text":"url","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}]},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/init()":{"url":"\/documentation\/deeplink\/deeplinkscenter\/init()","role":"symbol","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/init()","kind":"symbol","type":"topic","abstract":[{"type":"text","text":"Public initializer that makes an empty center. Use the "},{"type":"codeVoice","code":"register"},{"type":"text","text":" functions to add your deeplinks."}],"fragments":[{"text":"convenience","kind":"keyword"},{"text":" ","kind":"text"},{"text":"init","kind":"identifier"},{"text":"()","kind":"text"}],"title":"init()"},"doc://Deeplink/documentation/Deeplink/SampleDeeplink":{"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"SampleDeeplink","kind":"identifier"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink","abstract":[{"text":"You can use a ","type":"text"},{"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink","isActive":true},{"type":"text","text":" to create unit tests that verify that the order of registrations of deeplinks in your "},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","type":"reference","isActive":true},{"text":" is sound, and no template stops another from being detected.","type":"text"}],"title":"SampleDeeplink","type":"topic","kind":"symbol","url":"\/documentation\/deeplink\/sampledeeplink","navigatorTitle":[{"kind":"identifier","text":"SampleDeeplink"}],"role":"symbol"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/register(deeplink:assigningTo:ifMatching:)":{"abstract":[{"type":"text","text":"Function to use to add a deeplink to be recognized when parsing a "},{"type":"codeVoice","code":"URL"},{"text":".","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"The order in which you add deeplinks to the center matters, since the first deeplink in the list to successfully match a URL will stop the pattern matching."},{"type":"text","text":" "},{"text":"This is the version for interpolated deeplinks: deeplinks that contain one or more arguments. The other version is ","type":"text"},{"code":"register(deeplink: ifMatching:)","type":"codeVoice"},{"type":"text","text":" for literal deeplinks."}],"kind":"symbol","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"register"},{"text":"<","kind":"text"},{"text":"Value","kind":"genericParameter"},{"kind":"text","text":">("},{"kind":"externalParam","text":"deeplink"},{"kind":"text","text":": "},{"text":"Deeplink","kind":"typeIdentifier","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"text":">, ","kind":"text"},{"text":"assigningTo","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Value","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"ifMatching"},{"kind":"text","text":": ("},{"preciseIdentifier":"s:10Foundation3URLV","text":"URL","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"Value"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:Sb","kind":"typeIdentifier","text":"Bool"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"DeeplinksCenter","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplink:assigningTo:ifMatching:)","type":"topic","url":"\/documentation\/deeplink\/deeplinkscenter\/register(deeplink:assigningto:ifmatching:)","title":"register(deeplink:assigningTo:ifMatching:)","role":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplinkscenter/init().json b/docs/data/documentation/deeplink/deeplinkscenter/init().json index d517ec4..ee2bbdc 100644 --- a/docs/data/documentation/deeplink/deeplinkscenter/init().json +++ b/docs/data/documentation/deeplink/deeplinkscenter/init().json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"convenience"},{"kind":"text","text":" "},{"kind":"keyword","text":"init"},{"kind":"text","text":"()"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/deeplink\/deeplinkscenter\/init()"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/init()","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Public initializer that makes an empty center. Use the "},{"type":"codeVoice","code":"register"},{"type":"text","text":" functions to add your deeplinks."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"convenience"},{"kind":"text","text":" "},{"kind":"identifier","text":"init"},{"kind":"text","text":"()"}],"title":"init()","roleHeading":"Initializer","role":"symbol","symbolKind":"init","externalID":"s:8Deeplink15DeeplinksCenterCACycfc","modules":[{"name":"Deeplink"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"]]},"seeAlsoSections":[{"title":"Initialize a center","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/init(_:)"],"generated":true}],"references":{"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"role":"symbol","title":"DeeplinksCenter","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinksCenter"}],"abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinksCenter"}],"url":"\/documentation\/deeplink\/deeplinkscenter"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/init()":{"role":"symbol","title":"init()","fragments":[{"kind":"keyword","text":"convenience"},{"kind":"text","text":" "},{"kind":"identifier","text":"init"},{"kind":"text","text":"()"}],"abstract":[{"type":"text","text":"Public initializer that makes an empty center. Use the "},{"type":"codeVoice","code":"register"},{"type":"text","text":" functions to add your deeplinks."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/init()","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkscenter\/init()"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/init(_:)":{"role":"symbol","title":"init(_:)","fragments":[{"kind":"keyword","text":"convenience"},{"kind":"text","text":" "},{"kind":"identifier","text":"init"},{"kind":"text","text":"(() -> ["},{"kind":"typeIdentifier","text":"AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V"},{"kind":"text","text":"])"}],"abstract":[{"type":"text","text":"Initializer that takes a DeeplinkBuilder closure."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/init(_:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkscenter\/init(_:)"},"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"}}} \ No newline at end of file +{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/init()"},"seeAlsoSections":[{"title":"Initialize a center","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/init(_:)"],"generated":true}],"metadata":{"roleHeading":"Initializer","fragments":[{"text":"convenience","kind":"keyword"},{"text":" ","kind":"text"},{"text":"init","kind":"identifier"},{"text":"()","kind":"text"}],"externalID":"s:8Deeplink15DeeplinksCenterCACycfc","modules":[{"name":"Deeplink"}],"title":"init()","symbolKind":"init","role":"symbol"},"kind":"symbol","sections":[],"abstract":[{"text":"Public initializer that makes an empty center. Use the ","type":"text"},{"code":"register","type":"codeVoice"},{"text":" functions to add your deeplinks.","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/deeplink\/deeplinkscenter\/init()"]}],"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"]]},"primaryContentSections":[{"declarations":[{"tokens":[{"text":"convenience","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"init"},{"text":"()","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"schemaVersion":{"patch":0,"major":0,"minor":3},"references":{"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinksCenter"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","navigatorTitle":[{"text":"DeeplinksCenter","kind":"identifier"}],"role":"symbol","title":"DeeplinksCenter","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkscenter","type":"topic","abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}]},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/init(_:)":{"url":"\/documentation\/deeplink\/deeplinkscenter\/init(_:)","role":"symbol","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/init(_:)","kind":"symbol","type":"topic","abstract":[{"type":"text","text":"Initializer that takes a DeeplinkBuilder closure."}],"fragments":[{"kind":"keyword","text":"convenience"},{"kind":"text","text":" "},{"text":"init","kind":"identifier"},{"text":"(() -> [","kind":"text"},{"text":"AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V","kind":"typeIdentifier"},{"text":"])","kind":"text"}],"title":"init(_:)"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/init()":{"url":"\/documentation\/deeplink\/deeplinkscenter\/init()","role":"symbol","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/init()","kind":"symbol","type":"topic","abstract":[{"type":"text","text":"Public initializer that makes an empty center. Use the "},{"type":"codeVoice","code":"register"},{"type":"text","text":" functions to add your deeplinks."}],"fragments":[{"text":"convenience","kind":"keyword"},{"text":" ","kind":"text"},{"text":"init","kind":"identifier"},{"text":"()","kind":"text"}],"title":"init()"}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplinkscenter/init(_:).json b/docs/data/documentation/deeplink/deeplinkscenter/init(_:).json index 6f30d6c..9982c80 100644 --- a/docs/data/documentation/deeplink/deeplinkscenter/init(_:).json +++ b/docs/data/documentation/deeplink/deeplinkscenter/init(_:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"convenience"},{"kind":"text","text":" "},{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"attribute","text":"@"},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","preciseIdentifier":"s:8Deeplink0A7BuilderV","text":"DeeplinkBuilder"},{"kind":"text","text":" "},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"builder"},{"kind":"text","text":": () -> ["},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V","text":"AnyDeeplink"},{"kind":"text","text":"])"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"builder","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Closure that builds a list of deeplinks using "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder"},{"type":"text","text":"."}]}]}]},{"kind":"content","content":[{"anchor":"discussion","level":2,"type":"heading","text":"Discussion"},{"type":"paragraph","inlineContent":[{"type":"text","text":"Example:"}]},{"type":"codeListing","syntax":"swift","code":["let link1 = \"\/test\/1\" as Deeplink","let link2 = try \"\/test\/\\(\\.arg1)\/\\(\\.arg2)\" as Deeplink","let link3 = try \"\/test2\/\\(\\.arg1)\/\\(\\.arg2)\" as Deeplink","","let center = DeeplinksCenter {",""," link1 { url in"," \/\/ Do something"," return true"," }",""," link2 { url, value in"," \/\/ Do something"," return true"," }",""," link3("," assigningTo: .init(arg1: \"default\", arg2: \"default\")"," ) { (url, value) -> Bool in"," \/\/ Do something"," return true"," }","}"]},{"type":"unorderedList","items":[{"content":[]}]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/deeplink\/deeplinkscenter\/init(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/init(_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Initializer that takes a DeeplinkBuilder closure."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"convenience"},{"kind":"text","text":" "},{"kind":"identifier","text":"init"},{"kind":"text","text":"(() -> ["},{"kind":"typeIdentifier","text":"AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V"},{"kind":"text","text":"])"}],"title":"init(_:)","roleHeading":"Initializer","role":"symbol","symbolKind":"init","externalID":"s:8Deeplink15DeeplinksCenterCyACSayAA03AnyA0VGyXEcfc","modules":[{"name":"Deeplink"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"]]},"seeAlsoSections":[{"title":"Initialize a center","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/init()"],"generated":true}],"references":{"doc://Deeplink/documentation/Deeplink/AnyDeeplink":{"role":"symbol","title":"AnyDeeplink","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"AnyDeeplink"}],"abstract":[{"type":"text","text":"Type-erased version of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"},{"type":"text","text":". Used to keep a list of Deeplinks in the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"},{"type":"text","text":" where every element of the list might have different type parameters."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"AnyDeeplink"}],"url":"\/documentation\/deeplink\/anydeeplink"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/init(_:)":{"role":"symbol","title":"init(_:)","fragments":[{"kind":"keyword","text":"convenience"},{"kind":"text","text":" "},{"kind":"identifier","text":"init"},{"kind":"text","text":"(() -> ["},{"kind":"typeIdentifier","text":"AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V"},{"kind":"text","text":"])"}],"abstract":[{"type":"text","text":"Initializer that takes a DeeplinkBuilder closure."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/init(_:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkscenter\/init(_:)"},"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/init()":{"role":"symbol","title":"init()","fragments":[{"kind":"keyword","text":"convenience"},{"kind":"text","text":" "},{"kind":"identifier","text":"init"},{"kind":"text","text":"()"}],"abstract":[{"type":"text","text":"Public initializer that makes an empty center. Use the "},{"type":"codeVoice","code":"register"},{"type":"text","text":" functions to add your deeplinks."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/init()","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkscenter\/init()"},"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder":{"role":"symbol","title":"DeeplinkBuilder","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinkBuilder"}],"abstract":[{"type":"text","text":"A "},{"type":"codeVoice","code":"@resultBuilder"},{"type":"text","text":" that allows you to register deeplink templates using a DSL-like syntax."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinkBuilder"}],"url":"\/documentation\/deeplink\/deeplinkbuilder"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"role":"symbol","title":"Deeplink","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"abstract":[{"type":"text","text":"An "},{"type":"codeVoice","code":"enum"},{"type":"text","text":" that represents a deeplink template."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Deeplink"}],"url":"\/documentation\/deeplink\/deeplink"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"role":"symbol","title":"DeeplinksCenter","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinksCenter"}],"abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinksCenter"}],"url":"\/documentation\/deeplink\/deeplinkscenter"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"convenience","kind":"keyword"},{"text":" ","kind":"text"},{"text":"init","kind":"keyword"},{"text":"(","kind":"text"},{"kind":"attribute","text":"@"},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","kind":"attribute","preciseIdentifier":"s:8Deeplink0A7BuilderV","text":"DeeplinkBuilder"},{"text":" ","kind":"text"},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"kind":"internalParam","text":"builder"},{"kind":"text","text":": () -> ["},{"kind":"typeIdentifier","text":"AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink"},{"text":"])","kind":"text"}],"languages":["swift"]}]},{"parameters":[{"content":[{"inlineContent":[{"type":"text","text":"Closure that builds a list of deeplinks using "},{"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","isActive":true},{"type":"text","text":"."}],"type":"paragraph"}],"name":"builder"}],"kind":"parameters"},{"kind":"content","content":[{"type":"heading","text":"Discussion","anchor":"discussion","level":2},{"inlineContent":[{"type":"text","text":"Example:"}],"type":"paragraph"},{"code":["let link1 = \"\/test\/1\" as Deeplink","let link2 = try \"\/test\/\\(\\.arg1)\/\\(\\.arg2)\" as Deeplink","let link3 = try \"\/test2\/\\(\\.arg1)\/\\(\\.arg2)\" as Deeplink","","let center = DeeplinksCenter {",""," link1 { url in"," \/\/ Do something"," return true"," }",""," link2 { url, value in"," \/\/ Do something"," return true"," }",""," link3("," assigningTo: .init(arg1: \"default\", arg2: \"default\")"," ) { (url, value) -> Bool in"," \/\/ Do something"," return true"," }","}"],"type":"codeListing","syntax":"swift"},{"items":[{"content":[]}],"type":"unorderedList"}]}],"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"]]},"metadata":{"fragments":[{"text":"convenience","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"init"},{"kind":"text","text":"(() -> ["},{"kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink03AnyA0V","text":"AnyDeeplink"},{"text":"])","kind":"text"}],"roleHeading":"Initializer","role":"symbol","modules":[{"name":"Deeplink"}],"symbolKind":"init","title":"init(_:)","externalID":"s:8Deeplink15DeeplinksCenterCyACSayAA03AnyA0VGyXEcfc"},"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/init(_:)","interfaceLanguage":"swift"},"schemaVersion":{"major":0,"minor":3,"patch":0},"seeAlsoSections":[{"title":"Initialize a center","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/init()"],"generated":true}],"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/deeplink\/deeplinkscenter\/init(_:)"]}],"kind":"symbol","abstract":[{"type":"text","text":"Initializer that takes a DeeplinkBuilder closure."}],"references":{"doc://Deeplink/documentation/Deeplink/DeeplinkBuilder":{"url":"\/documentation\/deeplink\/deeplinkbuilder","role":"symbol","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinkBuilder","navigatorTitle":[{"text":"DeeplinkBuilder","kind":"identifier"}],"kind":"symbol","type":"topic","abstract":[{"type":"text","text":"A "},{"type":"codeVoice","code":"@resultBuilder"},{"type":"text","text":" that allows you to register deeplink templates using a DSL-like syntax."}],"fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"DeeplinkBuilder","kind":"identifier"}],"title":"DeeplinkBuilder"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/init()":{"url":"\/documentation\/deeplink\/deeplinkscenter\/init()","role":"symbol","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/init()","kind":"symbol","type":"topic","abstract":[{"type":"text","text":"Public initializer that makes an empty center. Use the "},{"type":"codeVoice","code":"register"},{"type":"text","text":" functions to add your deeplinks."}],"fragments":[{"text":"convenience","kind":"keyword"},{"text":" ","kind":"text"},{"text":"init","kind":"identifier"},{"text":"()","kind":"text"}],"title":"init()"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/init(_:)":{"url":"\/documentation\/deeplink\/deeplinkscenter\/init(_:)","role":"symbol","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/init(_:)","kind":"symbol","type":"topic","abstract":[{"type":"text","text":"Initializer that takes a DeeplinkBuilder closure."}],"fragments":[{"kind":"keyword","text":"convenience"},{"kind":"text","text":" "},{"text":"init","kind":"identifier"},{"text":"(() -> [","kind":"text"},{"text":"AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V","kind":"typeIdentifier"},{"text":"])","kind":"text"}],"title":"init(_:)"},"doc://Deeplink/documentation/Deeplink/AnyDeeplink":{"url":"\/documentation\/deeplink\/anydeeplink","role":"symbol","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/AnyDeeplink","navigatorTitle":[{"text":"AnyDeeplink","kind":"identifier"}],"kind":"symbol","type":"topic","abstract":[{"type":"text","text":"Type-erased version of "},{"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","isActive":true},{"type":"text","text":". Used to keep a list of Deeplinks in the "},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","type":"reference","isActive":true},{"text":" where every element of the list might have different type parameters.","type":"text"}],"fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"AnyDeeplink","kind":"identifier"}],"title":"AnyDeeplink"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"url":"\/documentation\/deeplink\/deeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","navigatorTitle":[{"text":"Deeplink","kind":"identifier"}],"abstract":[{"type":"text","text":"An "},{"code":"enum","type":"codeVoice"},{"text":" that represents a deeplink template.","type":"text"}],"title":"Deeplink","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"type":"topic"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinksCenter"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","navigatorTitle":[{"text":"DeeplinksCenter","kind":"identifier"}],"role":"symbol","title":"DeeplinksCenter","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkscenter","type":"topic","abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}]},"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplinkscenter/parse(url:).json b/docs/data/documentation/deeplink/deeplinkscenter/parse(url:).json index b7d87ef..2eda584 100644 --- a/docs/data/documentation/deeplink/deeplinkscenter/parse(url:).json +++ b/docs/data/documentation/deeplink/deeplinkscenter/parse(url:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"attribute","text":"@"},{"kind":"typeIdentifier","text":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"parse"},{"kind":"text","text":"("},{"kind":"externalParam","text":"url"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"url","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The "},{"type":"codeVoice","code":"URL"},{"type":"text","text":" to parse."}]}]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/deeplink\/deeplinkscenter\/parse(url:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/parse(url:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Attempts to parse the "},{"type":"codeVoice","code":"URL"},{"type":"text","text":", walking through the list of registered deeplinks."},{"type":"text","text":" "},{"type":"text","text":"If a match is found, the corresponding argument segments will be assigned to the keypaths specified in the deeplink interpolation, and the "},{"type":"codeVoice","code":"ifMatching"},{"type":"text","text":" closure defined when calling "},{"type":"codeVoice","code":"register:"},{"type":"text","text":" will be executed."},{"type":"text","text":" "},{"type":"text","text":"If no match is found, an error is thrown."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"parse"},{"kind":"text","text":"("},{"kind":"externalParam","text":"url"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"title":"parse(url:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:8Deeplink15DeeplinksCenterC5parse3urly10Foundation3URLV_tKF","modules":[{"name":"Deeplink"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"]]},"references":{"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"role":"symbol","title":"DeeplinksCenter","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinksCenter"}],"abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinksCenter"}],"url":"\/documentation\/deeplink\/deeplinkscenter"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/parse(url:)":{"role":"symbol","title":"parse(url:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"parse"},{"kind":"text","text":"("},{"kind":"externalParam","text":"url"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Attempts to parse the "},{"type":"codeVoice","code":"URL"},{"type":"text","text":", walking through the list of registered deeplinks."},{"type":"text","text":" "},{"type":"text","text":"If a match is found, the corresponding argument segments will be assigned to the keypaths specified in the deeplink interpolation, and the "},{"type":"codeVoice","code":"ifMatching"},{"type":"text","text":" closure defined when calling "},{"type":"codeVoice","code":"register:"},{"type":"text","text":" will be executed."},{"type":"text","text":" "},{"type":"text","text":"If no match is found, an error is thrown."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/parse(url:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkscenter\/parse(url:)"}}} \ No newline at end of file +{"abstract":[{"type":"text","text":"Attempts to parse the "},{"type":"codeVoice","code":"URL"},{"type":"text","text":", walking through the list of registered deeplinks."},{"type":"text","text":" "},{"type":"text","text":"If a match is found, the corresponding argument segments will be assigned to the keypaths specified in the deeplink interpolation, and the "},{"type":"codeVoice","code":"ifMatching"},{"text":" closure defined when calling ","type":"text"},{"type":"codeVoice","code":"register:"},{"type":"text","text":" will be executed."},{"text":" ","type":"text"},{"text":"If no match is found, an error is thrown.","type":"text"}],"metadata":{"externalID":"s:8Deeplink15DeeplinksCenterC5parse3urly10Foundation3URLV_tKF","roleHeading":"Instance Method","symbolKind":"method","modules":[{"name":"Deeplink"}],"title":"parse(url:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"parse"},{"text":"(","kind":"text"},{"text":"url","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation3URLV","text":"URL","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}],"role":"symbol"},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"]]},"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/deeplink\/deeplinkscenter\/parse(url:)"]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"@","kind":"attribute"},{"preciseIdentifier":"s:ScM","text":"MainActor","kind":"attribute"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"parse"},{"kind":"text","text":"("},{"kind":"externalParam","text":"url"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"content":[{"inlineContent":[{"text":"The ","type":"text"},{"code":"URL","type":"codeVoice"},{"type":"text","text":" to parse."}],"type":"paragraph"}],"name":"url"}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"kind":"symbol","identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/parse(url:)","interfaceLanguage":"swift"},"references":{"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinksCenter"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","navigatorTitle":[{"text":"DeeplinksCenter","kind":"identifier"}],"role":"symbol","title":"DeeplinksCenter","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkscenter","type":"topic","abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}]},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/parse(url:)":{"kind":"symbol","title":"parse(url:)","type":"topic","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/parse(url:)","url":"\/documentation\/deeplink\/deeplinkscenter\/parse(url:)","abstract":[{"type":"text","text":"Attempts to parse the "},{"type":"codeVoice","code":"URL"},{"type":"text","text":", walking through the list of registered deeplinks."},{"text":" ","type":"text"},{"text":"If a match is found, the corresponding argument segments will be assigned to the keypaths specified in the deeplink interpolation, and the ","type":"text"},{"code":"ifMatching","type":"codeVoice"},{"text":" closure defined when calling ","type":"text"},{"type":"codeVoice","code":"register:"},{"type":"text","text":" will be executed."},{"text":" ","type":"text"},{"type":"text","text":"If no match is found, an error is thrown."}],"role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"parse"},{"text":"(","kind":"text"},{"text":"url","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplinkscenter/register(deeplink:assigningto:ifmatching:).json b/docs/data/documentation/deeplink/deeplinkscenter/register(deeplink:assigningto:ifmatching:).json index bd1fe8f..2499ed2 100644 --- a/docs/data/documentation/deeplink/deeplinkscenter/register(deeplink:assigningto:ifmatching:).json +++ b/docs/data/documentation/deeplink/deeplinkscenter/register(deeplink:assigningto:ifmatching:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"attribute","text":"@discardableResult"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"register"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"Value"},{"kind":"text","text":">("},{"kind":"externalParam","text":"deeplink"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","preciseIdentifier":"s:8DeeplinkAAO","text":"Deeplink"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">, "},{"kind":"externalParam","text":"assigningTo"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":", "},{"kind":"externalParam","text":"ifMatching"},{"kind":"text","text":" "},{"kind":"internalParam","text":"completion"},{"kind":"text","text":": "},{"kind":"keyword","text":"@escaping"},{"kind":"text","text":" @"},{"kind":"typeIdentifier","text":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","text":" ("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC","text":"DeeplinksCenter"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"deeplink","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"},{"type":"text","text":" that defines the format to match."}]}]},{"name":"assigningTo","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"An object that will receive the values extracted from the deeplink."}]}]},{"name":"ifMatching","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A closure that will be executed when a "},{"type":"codeVoice","code":"URL"},{"type":"text","text":" matches the format defined by the "},{"type":"codeVoice","code":"deeplink"},{"type":"text","text":" argument. Return "},{"type":"codeVoice","code":"true"},{"type":"text","text":" to stop the URL matching and consider the "},{"type":"codeVoice","code":"URL"},{"type":"text","text":" successfully parsed. Return "},{"type":"codeVoice","code":"false"},{"type":"text","text":" to “fail” the match, and let the "},{"type":"codeVoice","code":"DeeplinksCenter"},{"type":"text","text":" try out the next registered "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"},{"type":"text","text":" templates."}]}]}]},{"kind":"content","content":[{"anchor":"discussion","level":2,"type":"heading","text":"Discussion"},{"type":"paragraph","inlineContent":[{"type":"text","text":"Example:"}]},{"type":"codeListing","syntax":"swift","code":["let center = DeeplinksCenter()","","center","","\/\/ Registering this format will cover everything that matches \"\/sell\/*\" (excluding the reserved URL characters; see `URLPatternMatcher`).",".register("," deeplink: try! \"\/sell\/\\(\\.name)\","," assigningTo: event,"," ifMatching: { url, assignedTicket in"," print(\"matched \/sell\")"," return true","})","","\/\/ This format will not match any URL, as the previous one overlaps its format and matches first. If you swap them, and register this pattern first, it will work just fine.","\/\/ Another possibility is to return `false` in the `ifMatching` closure above: this will tell the `DeeplinksCenter` that the matching closure failed, and it will continue to try to parse the remaining registered deeplink templates where it left off.",".register("," deeplink: try! \"\/sell\/ticket\/\\(\\.id)\","," assigningTo: ticket,"," ifMatching: { url, assignedTicket in"," print(\"matched \/sell\/ticket\")"," return true","})"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/deeplink\/deeplinkscenter\/register(deeplink:assigningto:ifmatching:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplink:assigningTo:ifMatching:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Function to use to add a deeplink to be recognized when parsing a "},{"type":"codeVoice","code":"URL"},{"type":"text","text":"."},{"type":"text","text":" "},{"type":"text","text":"The order in which you add deeplinks to the center matters, since the first deeplink in the list to successfully match a URL will stop the pattern matching."},{"type":"text","text":" "},{"type":"text","text":"This is the version for interpolated deeplinks: deeplinks that contain one or more arguments. The other version is "},{"type":"codeVoice","code":"register(deeplink: ifMatching:)"},{"type":"text","text":" for literal deeplinks."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"register"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"Value"},{"kind":"text","text":">("},{"kind":"externalParam","text":"deeplink"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">, "},{"kind":"externalParam","text":"assigningTo"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":", "},{"kind":"externalParam","text":"ifMatching"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"DeeplinksCenter","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC"}],"title":"register(deeplink:assigningTo:ifMatching:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:8Deeplink15DeeplinksCenterC8register8deeplink11assigningTo10ifMatchingAc2AOyxG_xSb10Foundation3URLV_xtKScMYcctlF","modules":[{"name":"Deeplink"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"]]},"seeAlsoSections":[{"title":"Registering deeplinks","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplink:ifMatching:)","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplinks:assigningTo:ifMatching:)","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplinks:ifMatching:)"],"generated":true}],"references":{"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/register(deeplinks:assigningTo:ifMatching:)":{"role":"symbol","title":"register(deeplinks:assigningTo:ifMatching:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"register"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"Value"},{"kind":"text","text":">("},{"kind":"externalParam","text":"deeplinks"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">], "},{"kind":"externalParam","text":"assigningTo"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":", "},{"kind":"externalParam","text":"ifMatching"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"DeeplinksCenter","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC"}],"abstract":[{"type":"text","text":"Function to use to add multiple deeplink templates to be recognized when parsing a "},{"type":"codeVoice","code":"URL"},{"type":"text","text":", executing the same closure afterwards."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplinks:assigningTo:ifMatching:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkscenter\/register(deeplinks:assigningto:ifmatching:)"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/register(deeplink:ifMatching:)":{"role":"symbol","title":"register(deeplink:ifMatching:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"register"},{"kind":"text","text":"("},{"kind":"externalParam","text":"deeplink"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":">, "},{"kind":"externalParam","text":"ifMatching"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"DeeplinksCenter","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC"}],"abstract":[{"type":"text","text":"Function to use to add a deeplink to be recognized when parsing a "},{"type":"codeVoice","code":"URL"},{"type":"text","text":"."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplink:ifMatching:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkscenter\/register(deeplink:ifmatching:)"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/register(deeplinks:ifMatching:)":{"role":"symbol","title":"register(deeplinks:ifMatching:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"register"},{"kind":"text","text":"("},{"kind":"externalParam","text":"deeplinks"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":">], "},{"kind":"externalParam","text":"ifMatching"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"DeeplinksCenter","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC"}],"abstract":[{"type":"text","text":"Function to use to add multiple deeplink templates to be recognized when parsing a "},{"type":"codeVoice","code":"URL"},{"type":"text","text":", executing the same closure afterwards."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplinks:ifMatching:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkscenter\/register(deeplinks:ifmatching:)"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"role":"symbol","title":"DeeplinksCenter","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinksCenter"}],"abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinksCenter"}],"url":"\/documentation\/deeplink\/deeplinkscenter"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/register(deeplink:assigningTo:ifMatching:)":{"role":"symbol","title":"register(deeplink:assigningTo:ifMatching:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"register"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"Value"},{"kind":"text","text":">("},{"kind":"externalParam","text":"deeplink"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">, "},{"kind":"externalParam","text":"assigningTo"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":", "},{"kind":"externalParam","text":"ifMatching"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"DeeplinksCenter","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC"}],"abstract":[{"type":"text","text":"Function to use to add a deeplink to be recognized when parsing a "},{"type":"codeVoice","code":"URL"},{"type":"text","text":"."},{"type":"text","text":" "},{"type":"text","text":"The order in which you add deeplinks to the center matters, since the first deeplink in the list to successfully match a URL will stop the pattern matching."},{"type":"text","text":" "},{"type":"text","text":"This is the version for interpolated deeplinks: deeplinks that contain one or more arguments. The other version is "},{"type":"codeVoice","code":"register(deeplink: ifMatching:)"},{"type":"text","text":" for literal deeplinks."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplink:assigningTo:ifMatching:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkscenter\/register(deeplink:assigningto:ifmatching:)"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"role":"symbol","title":"Deeplink","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"abstract":[{"type":"text","text":"An "},{"type":"codeVoice","code":"enum"},{"type":"text","text":" that represents a deeplink template."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Deeplink"}],"url":"\/documentation\/deeplink\/deeplink"},"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"}}} \ No newline at end of file +{"sections":[],"variants":[{"paths":["\/documentation\/deeplink\/deeplinkscenter\/register(deeplink:assigningto:ifmatching:)"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"attribute","text":"@discardableResult"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"register","kind":"identifier"},{"text":"<","kind":"text"},{"kind":"genericParameter","text":"Value"},{"kind":"text","text":">("},{"kind":"externalParam","text":"deeplink"},{"kind":"text","text":": "},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","text":"Deeplink","kind":"typeIdentifier","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"text":">, ","kind":"text"},{"text":"assigningTo","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Value","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"ifMatching"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"completion"},{"kind":"text","text":": "},{"kind":"keyword","text":"@escaping"},{"text":" @","kind":"text"},{"text":"MainActor","kind":"typeIdentifier","preciseIdentifier":"s:ScM"},{"text":" (","kind":"text"},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"text":", ","kind":"text"},{"text":"Value","kind":"typeIdentifier"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","text":"DeeplinksCenter","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"},{"parameters":[{"content":[{"inlineContent":[{"text":"The ","type":"text"},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","isActive":true,"type":"reference"},{"type":"text","text":" that defines the format to match."}],"type":"paragraph"}],"name":"deeplink"},{"name":"assigningTo","content":[{"type":"paragraph","inlineContent":[{"text":"An object that will receive the values extracted from the deeplink.","type":"text"}]}]},{"name":"ifMatching","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A closure that will be executed when a "},{"type":"codeVoice","code":"URL"},{"text":" matches the format defined by the ","type":"text"},{"type":"codeVoice","code":"deeplink"},{"text":" argument. Return ","type":"text"},{"type":"codeVoice","code":"true"},{"type":"text","text":" to stop the URL matching and consider the "},{"type":"codeVoice","code":"URL"},{"type":"text","text":" successfully parsed. Return "},{"code":"false","type":"codeVoice"},{"text":" to “fail” the match, and let the ","type":"text"},{"type":"codeVoice","code":"DeeplinksCenter"},{"type":"text","text":" try out the next registered "},{"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","isActive":true},{"text":" templates.","type":"text"}]}]}],"kind":"parameters"},{"content":[{"level":2,"type":"heading","anchor":"discussion","text":"Discussion"},{"type":"paragraph","inlineContent":[{"type":"text","text":"Example:"}]},{"type":"codeListing","syntax":"swift","code":["let center = DeeplinksCenter()","","center","","\/\/ Registering this format will cover everything that matches \"\/sell\/*\" (excluding the reserved URL characters; see `URLPatternMatcher`).",".register("," deeplink: try! \"\/sell\/\\(\\.name)\","," assigningTo: event,"," ifMatching: { url, assignedTicket in"," print(\"matched \/sell\")"," return true","})","","\/\/ This format will not match any URL, as the previous one overlaps its format and matches first. If you swap them, and register this pattern first, it will work just fine.","\/\/ Another possibility is to return `false` in the `ifMatching` closure above: this will tell the `DeeplinksCenter` that the matching closure failed, and it will continue to try to parse the remaining registered deeplink templates where it left off.",".register("," deeplink: try! \"\/sell\/ticket\/\\(\\.id)\","," assigningTo: ticket,"," ifMatching: { url, assignedTicket in"," print(\"matched \/sell\/ticket\")"," return true","})"]}],"kind":"content"}],"metadata":{"externalID":"s:8Deeplink15DeeplinksCenterC8register8deeplink11assigningTo10ifMatchingAc2AOyxG_xSb10Foundation3URLV_xtKScMYcctlF","role":"symbol","modules":[{"name":"Deeplink"}],"title":"register(deeplink:assigningTo:ifMatching:)","roleHeading":"Instance Method","symbolKind":"method","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"register"},{"text":"<","kind":"text"},{"kind":"genericParameter","text":"Value"},{"text":">(","kind":"text"},{"kind":"externalParam","text":"deeplink"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:8DeeplinkAAO","kind":"typeIdentifier","text":"Deeplink"},{"text":"<","kind":"text"},{"text":"Value","kind":"typeIdentifier"},{"text":">, ","kind":"text"},{"text":"assigningTo","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Value"},{"text":", ","kind":"text"},{"text":"ifMatching","kind":"externalParam"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation3URLV","text":"URL"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"text":"DeeplinksCenter","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC"}]},"seeAlsoSections":[{"identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplink:ifMatching:)","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplinks:assigningTo:ifMatching:)","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplinks:ifMatching:)"],"generated":true,"title":"Registering deeplinks"}],"abstract":[{"type":"text","text":"Function to use to add a deeplink to be recognized when parsing a "},{"code":"URL","type":"codeVoice"},{"text":".","type":"text"},{"text":" ","type":"text"},{"text":"The order in which you add deeplinks to the center matters, since the first deeplink in the list to successfully match a URL will stop the pattern matching.","type":"text"},{"type":"text","text":" "},{"text":"This is the version for interpolated deeplinks: deeplinks that contain one or more arguments. The other version is ","type":"text"},{"code":"register(deeplink: ifMatching:)","type":"codeVoice"},{"text":" for literal deeplinks.","type":"text"}],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"]]},"schemaVersion":{"minor":3,"patch":0,"major":0},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplink:assigningTo:ifMatching:)"},"references":{"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/register(deeplinks:assigningTo:ifMatching:)":{"abstract":[{"type":"text","text":"Function to use to add multiple deeplink templates to be recognized when parsing a "},{"type":"codeVoice","code":"URL"},{"text":", executing the same closure afterwards.","type":"text"}],"kind":"symbol","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"register"},{"text":"<","kind":"text"},{"kind":"genericParameter","text":"Value"},{"kind":"text","text":">("},{"kind":"externalParam","text":"deeplinks"},{"text":": [","kind":"text"},{"kind":"typeIdentifier","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"text":"<","kind":"text"},{"text":"Value","kind":"typeIdentifier"},{"kind":"text","text":">], "},{"kind":"externalParam","text":"assigningTo"},{"kind":"text","text":": "},{"text":"Value","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"ifMatching"},{"text":": (","kind":"text"},{"text":"URL","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"text":"Value","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","text":"DeeplinksCenter","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplinks:assigningTo:ifMatching:)","type":"topic","url":"\/documentation\/deeplink\/deeplinkscenter\/register(deeplinks:assigningto:ifmatching:)","title":"register(deeplinks:assigningTo:ifMatching:)","role":"symbol"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinksCenter"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","navigatorTitle":[{"text":"DeeplinksCenter","kind":"identifier"}],"role":"symbol","title":"DeeplinksCenter","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkscenter","type":"topic","abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}]},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/register(deeplinks:ifMatching:)":{"abstract":[{"type":"text","text":"Function to use to add multiple deeplink templates to be recognized when parsing a "},{"type":"codeVoice","code":"URL"},{"text":", executing the same closure afterwards.","type":"text"}],"kind":"symbol","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"register"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"deeplinks"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","preciseIdentifier":"s:8DeeplinkAAO","text":"Deeplink"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"text":">], ","kind":"text"},{"text":"ifMatching","kind":"externalParam"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation3URLV","text":"URL"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"text":") -> ","kind":"text"},{"text":"DeeplinksCenter","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC"}],"type":"topic","title":"register(deeplinks:ifMatching:)","role":"symbol","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplinks:ifMatching:)","url":"\/documentation\/deeplink\/deeplinkscenter\/register(deeplinks:ifmatching:)"},"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"url":"\/documentation\/deeplink\/deeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","navigatorTitle":[{"text":"Deeplink","kind":"identifier"}],"abstract":[{"type":"text","text":"An "},{"code":"enum","type":"codeVoice"},{"text":" that represents a deeplink template.","type":"text"}],"title":"Deeplink","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"type":"topic"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/register(deeplink:ifMatching:)":{"title":"register(deeplink:ifMatching:)","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplink:ifMatching:)","abstract":[{"type":"text","text":"Function to use to add a deeplink to be recognized when parsing a "},{"type":"codeVoice","code":"URL"},{"text":".","type":"text"}],"fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"register"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"deeplink"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:8DeeplinkAAO","text":"Deeplink"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"text":">, ","kind":"text"},{"text":"ifMatching","kind":"externalParam"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation3URLV","text":"URL"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"text":") -> ","kind":"text"},{"text":"DeeplinksCenter","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC"}],"url":"\/documentation\/deeplink\/deeplinkscenter\/register(deeplink:ifmatching:)","type":"topic","role":"symbol","kind":"symbol"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/register(deeplink:assigningTo:ifMatching:)":{"abstract":[{"type":"text","text":"Function to use to add a deeplink to be recognized when parsing a "},{"type":"codeVoice","code":"URL"},{"text":".","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"The order in which you add deeplinks to the center matters, since the first deeplink in the list to successfully match a URL will stop the pattern matching."},{"type":"text","text":" "},{"text":"This is the version for interpolated deeplinks: deeplinks that contain one or more arguments. The other version is ","type":"text"},{"code":"register(deeplink: ifMatching:)","type":"codeVoice"},{"type":"text","text":" for literal deeplinks."}],"kind":"symbol","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"register"},{"text":"<","kind":"text"},{"text":"Value","kind":"genericParameter"},{"kind":"text","text":">("},{"kind":"externalParam","text":"deeplink"},{"kind":"text","text":": "},{"text":"Deeplink","kind":"typeIdentifier","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"text":">, ","kind":"text"},{"text":"assigningTo","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Value","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"ifMatching"},{"kind":"text","text":": ("},{"preciseIdentifier":"s:10Foundation3URLV","text":"URL","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"Value"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:Sb","kind":"typeIdentifier","text":"Bool"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"DeeplinksCenter","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplink:assigningTo:ifMatching:)","type":"topic","url":"\/documentation\/deeplink\/deeplinkscenter\/register(deeplink:assigningto:ifmatching:)","title":"register(deeplink:assigningTo:ifMatching:)","role":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplinkscenter/register(deeplink:ifmatching:).json b/docs/data/documentation/deeplink/deeplinkscenter/register(deeplink:ifmatching:).json index 8d47804..20d8a5c 100644 --- a/docs/data/documentation/deeplink/deeplinkscenter/register(deeplink:ifmatching:).json +++ b/docs/data/documentation/deeplink/deeplinkscenter/register(deeplink:ifmatching:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"attribute","text":"@discardableResult"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"register"},{"kind":"text","text":"("},{"kind":"externalParam","text":"deeplink"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","preciseIdentifier":"s:8DeeplinkAAO","text":"Deeplink"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":">, "},{"kind":"externalParam","text":"ifMatching"},{"kind":"text","text":" "},{"kind":"internalParam","text":"completion"},{"kind":"text","text":": "},{"kind":"keyword","text":"@escaping"},{"kind":"text","text":" @"},{"kind":"typeIdentifier","text":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","text":" ("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC","text":"DeeplinksCenter"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"deeplink","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The "},{"type":"codeVoice","code":"Deeplink"},{"type":"text","text":" that defines the literal URL’s relative path to match.."}]}]},{"name":"ifMatching","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A closure that will be executed when a "},{"type":"codeVoice","code":"URL"},{"type":"text","text":" matches the format defined by the "},{"type":"codeVoice","code":"deeplink"},{"type":"text","text":" argument. Return "},{"type":"codeVoice","code":"true"},{"type":"text","text":" to stop the URL matching and consider the "},{"type":"codeVoice","code":"URL"},{"type":"text","text":" successfully parsed. Return "},{"type":"codeVoice","code":"false"},{"type":"text","text":" to “fail” the match, and let the "},{"type":"codeVoice","code":"DeeplinksCenter"},{"type":"text","text":" try out the next registered "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"},{"type":"text","text":" templates."}]}]}]},{"kind":"content","content":[{"anchor":"discussion","level":2,"type":"heading","text":"Discussion"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The order in which you add deeplinks to the center matters, since the first deeplink in the list to successfully match a URL will stop the pattern matching."},{"type":"text","text":" "},{"type":"text","text":"This is the version for literal deeplinks: deeplinks that contain no arguments. The other version is "},{"type":"codeVoice","code":"register(deeplink: assigningTo: ifMatching:)"},{"type":"text","text":" for interpolated deeplinks."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"Example:"}]},{"type":"codeListing","syntax":"swift","code":["let center = DeeplinksCenter()","","center","","\/\/ Registering this format will cover everything that matches \"\/sell\/ticket\/*\" (excluding the reserved URL characters; see `URLPatternMatcher`).",".register("," deeplink: \"\/sell\/ticket\","," ifMatching: { url in"," print(\"matched \/sell\/ticket\")"," return true","})","","\/\/ This format will not match any URL, as the previous one overlaps its format and matches first. If you swap them, and register this pattern first, it will work just fine.","\/\/ Another possibility is to return `false` in the `ifMatching` closure above: this will tell the `DeeplinksCenter` that the matching closure failed, and it will continue to try to parse the remaining registered deeplink templates where it left off.",".register("," deeplink: \"\/sell\/ticket\/test\","," ifMatching: { url in"," print(\"matched \/sell\/ticket\/test\")"," return true","})"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/deeplink\/deeplinkscenter\/register(deeplink:ifmatching:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplink:ifMatching:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Function to use to add a deeplink to be recognized when parsing a "},{"type":"codeVoice","code":"URL"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"register"},{"kind":"text","text":"("},{"kind":"externalParam","text":"deeplink"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":">, "},{"kind":"externalParam","text":"ifMatching"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"DeeplinksCenter","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC"}],"title":"register(deeplink:ifMatching:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:8Deeplink15DeeplinksCenterC8register8deeplink10ifMatchingAc2AOyytG_Sb10Foundation3URLVKScMYcctF","modules":[{"name":"Deeplink"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"]]},"seeAlsoSections":[{"title":"Registering deeplinks","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplink:assigningTo:ifMatching:)","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplinks:assigningTo:ifMatching:)","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplinks:ifMatching:)"],"generated":true}],"references":{"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/register(deeplinks:assigningTo:ifMatching:)":{"role":"symbol","title":"register(deeplinks:assigningTo:ifMatching:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"register"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"Value"},{"kind":"text","text":">("},{"kind":"externalParam","text":"deeplinks"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">], "},{"kind":"externalParam","text":"assigningTo"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":", "},{"kind":"externalParam","text":"ifMatching"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"DeeplinksCenter","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC"}],"abstract":[{"type":"text","text":"Function to use to add multiple deeplink templates to be recognized when parsing a "},{"type":"codeVoice","code":"URL"},{"type":"text","text":", executing the same closure afterwards."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplinks:assigningTo:ifMatching:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkscenter\/register(deeplinks:assigningto:ifmatching:)"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/register(deeplink:assigningTo:ifMatching:)":{"role":"symbol","title":"register(deeplink:assigningTo:ifMatching:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"register"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"Value"},{"kind":"text","text":">("},{"kind":"externalParam","text":"deeplink"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">, "},{"kind":"externalParam","text":"assigningTo"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":", "},{"kind":"externalParam","text":"ifMatching"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"DeeplinksCenter","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC"}],"abstract":[{"type":"text","text":"Function to use to add a deeplink to be recognized when parsing a "},{"type":"codeVoice","code":"URL"},{"type":"text","text":"."},{"type":"text","text":" "},{"type":"text","text":"The order in which you add deeplinks to the center matters, since the first deeplink in the list to successfully match a URL will stop the pattern matching."},{"type":"text","text":" "},{"type":"text","text":"This is the version for interpolated deeplinks: deeplinks that contain one or more arguments. The other version is "},{"type":"codeVoice","code":"register(deeplink: ifMatching:)"},{"type":"text","text":" for literal deeplinks."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplink:assigningTo:ifMatching:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkscenter\/register(deeplink:assigningto:ifmatching:)"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"role":"symbol","title":"DeeplinksCenter","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinksCenter"}],"abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinksCenter"}],"url":"\/documentation\/deeplink\/deeplinkscenter"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/register(deeplink:ifMatching:)":{"role":"symbol","title":"register(deeplink:ifMatching:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"register"},{"kind":"text","text":"("},{"kind":"externalParam","text":"deeplink"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":">, "},{"kind":"externalParam","text":"ifMatching"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"DeeplinksCenter","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC"}],"abstract":[{"type":"text","text":"Function to use to add a deeplink to be recognized when parsing a "},{"type":"codeVoice","code":"URL"},{"type":"text","text":"."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplink:ifMatching:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkscenter\/register(deeplink:ifmatching:)"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/register(deeplinks:ifMatching:)":{"role":"symbol","title":"register(deeplinks:ifMatching:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"register"},{"kind":"text","text":"("},{"kind":"externalParam","text":"deeplinks"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":">], "},{"kind":"externalParam","text":"ifMatching"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"DeeplinksCenter","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC"}],"abstract":[{"type":"text","text":"Function to use to add multiple deeplink templates to be recognized when parsing a "},{"type":"codeVoice","code":"URL"},{"type":"text","text":", executing the same closure afterwards."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplinks:ifMatching:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkscenter\/register(deeplinks:ifmatching:)"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"role":"symbol","title":"Deeplink","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"abstract":[{"type":"text","text":"An "},{"type":"codeVoice","code":"enum"},{"type":"text","text":" that represents a deeplink template."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Deeplink"}],"url":"\/documentation\/deeplink\/deeplink"}}} \ No newline at end of file +{"schemaVersion":{"minor":3,"major":0,"patch":0},"kind":"symbol","metadata":{"roleHeading":"Instance Method","symbolKind":"method","externalID":"s:8Deeplink15DeeplinksCenterC8register8deeplink10ifMatchingAc2AOyytG_Sb10Foundation3URLVKScMYcctF","title":"register(deeplink:ifMatching:)","modules":[{"name":"Deeplink"}],"fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"register"},{"text":"(","kind":"text"},{"text":"deeplink","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Deeplink","kind":"typeIdentifier","preciseIdentifier":"s:8DeeplinkAAO"},{"text":"<","kind":"text"},{"preciseIdentifier":"s:s4Voida","text":"Void","kind":"typeIdentifier"},{"kind":"text","text":">, "},{"text":"ifMatching","kind":"externalParam"},{"text":": (","kind":"text"},{"text":"URL","preciseIdentifier":"s:10Foundation3URLV","kind":"typeIdentifier"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"kind":"text","text":") -> "},{"preciseIdentifier":"s:8Deeplink15DeeplinksCenterC","kind":"typeIdentifier","text":"DeeplinksCenter"}],"role":"symbol"},"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplink:ifMatching:)","interfaceLanguage":"swift"},"sections":[],"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"]]},"abstract":[{"type":"text","text":"Function to use to add a deeplink to be recognized when parsing a "},{"type":"codeVoice","code":"URL"},{"text":".","type":"text"}],"seeAlsoSections":[{"identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplink:assigningTo:ifMatching:)","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplinks:assigningTo:ifMatching:)","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplinks:ifMatching:)"],"generated":true,"title":"Registering deeplinks"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"attribute","text":"@discardableResult"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"register"},{"text":"(","kind":"text"},{"text":"deeplink","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Deeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","kind":"typeIdentifier","preciseIdentifier":"s:8DeeplinkAAO"},{"text":"<","kind":"text"},{"preciseIdentifier":"s:s4Voida","text":"Void","kind":"typeIdentifier"},{"text":">, ","kind":"text"},{"text":"ifMatching","kind":"externalParam"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"completion"},{"kind":"text","text":": "},{"text":"@escaping","kind":"keyword"},{"text":" @","kind":"text"},{"text":"MainActor","preciseIdentifier":"s:ScM","kind":"typeIdentifier"},{"text":" (","kind":"text"},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"kind":"text","text":") -> "},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","text":"DeeplinksCenter","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC"}],"languages":["swift"]}]},{"kind":"parameters","parameters":[{"name":"deeplink","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The "},{"type":"codeVoice","code":"Deeplink"},{"type":"text","text":" that defines the literal URL’s relative path to match.."}]}]},{"name":"ifMatching","content":[{"inlineContent":[{"text":"A closure that will be executed when a ","type":"text"},{"type":"codeVoice","code":"URL"},{"type":"text","text":" matches the format defined by the "},{"type":"codeVoice","code":"deeplink"},{"text":" argument. Return ","type":"text"},{"type":"codeVoice","code":"true"},{"type":"text","text":" to stop the URL matching and consider the "},{"type":"codeVoice","code":"URL"},{"type":"text","text":" successfully parsed. Return "},{"type":"codeVoice","code":"false"},{"type":"text","text":" to “fail” the match, and let the "},{"code":"DeeplinksCenter","type":"codeVoice"},{"type":"text","text":" try out the next registered "},{"isActive":true,"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"},{"text":" templates.","type":"text"}],"type":"paragraph"}]}]},{"content":[{"anchor":"discussion","level":2,"text":"Discussion","type":"heading"},{"type":"paragraph","inlineContent":[{"text":"The order in which you add deeplinks to the center matters, since the first deeplink in the list to successfully match a URL will stop the pattern matching.","type":"text"},{"type":"text","text":" "},{"text":"This is the version for literal deeplinks: deeplinks that contain no arguments. The other version is ","type":"text"},{"type":"codeVoice","code":"register(deeplink: assigningTo: ifMatching:)"},{"type":"text","text":" for interpolated deeplinks."}]},{"type":"paragraph","inlineContent":[{"text":"Example:","type":"text"}]},{"type":"codeListing","syntax":"swift","code":["let center = DeeplinksCenter()","","center","","\/\/ Registering this format will cover everything that matches \"\/sell\/ticket\/*\" (excluding the reserved URL characters; see `URLPatternMatcher`).",".register("," deeplink: \"\/sell\/ticket\","," ifMatching: { url in"," print(\"matched \/sell\/ticket\")"," return true","})","","\/\/ This format will not match any URL, as the previous one overlaps its format and matches first. If you swap them, and register this pattern first, it will work just fine.","\/\/ Another possibility is to return `false` in the `ifMatching` closure above: this will tell the `DeeplinksCenter` that the matching closure failed, and it will continue to try to parse the remaining registered deeplink templates where it left off.",".register("," deeplink: \"\/sell\/ticket\/test\","," ifMatching: { url in"," print(\"matched \/sell\/ticket\/test\")"," return true","})"]}],"kind":"content"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/deeplink\/deeplinkscenter\/register(deeplink:ifmatching:)"]}],"references":{"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/register(deeplinks:assigningTo:ifMatching:)":{"abstract":[{"type":"text","text":"Function to use to add multiple deeplink templates to be recognized when parsing a "},{"type":"codeVoice","code":"URL"},{"text":", executing the same closure afterwards.","type":"text"}],"kind":"symbol","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"register"},{"text":"<","kind":"text"},{"kind":"genericParameter","text":"Value"},{"kind":"text","text":">("},{"kind":"externalParam","text":"deeplinks"},{"text":": [","kind":"text"},{"kind":"typeIdentifier","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"text":"<","kind":"text"},{"text":"Value","kind":"typeIdentifier"},{"kind":"text","text":">], "},{"kind":"externalParam","text":"assigningTo"},{"kind":"text","text":": "},{"text":"Value","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"ifMatching"},{"text":": (","kind":"text"},{"text":"URL","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"text":"Value","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","text":"DeeplinksCenter","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplinks:assigningTo:ifMatching:)","type":"topic","url":"\/documentation\/deeplink\/deeplinkscenter\/register(deeplinks:assigningto:ifmatching:)","title":"register(deeplinks:assigningTo:ifMatching:)","role":"symbol"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/register(deeplink:assigningTo:ifMatching:)":{"abstract":[{"type":"text","text":"Function to use to add a deeplink to be recognized when parsing a "},{"type":"codeVoice","code":"URL"},{"text":".","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"The order in which you add deeplinks to the center matters, since the first deeplink in the list to successfully match a URL will stop the pattern matching."},{"type":"text","text":" "},{"text":"This is the version for interpolated deeplinks: deeplinks that contain one or more arguments. The other version is ","type":"text"},{"code":"register(deeplink: ifMatching:)","type":"codeVoice"},{"type":"text","text":" for literal deeplinks."}],"kind":"symbol","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"register"},{"text":"<","kind":"text"},{"text":"Value","kind":"genericParameter"},{"kind":"text","text":">("},{"kind":"externalParam","text":"deeplink"},{"kind":"text","text":": "},{"text":"Deeplink","kind":"typeIdentifier","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"text":">, ","kind":"text"},{"text":"assigningTo","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Value","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"ifMatching"},{"kind":"text","text":": ("},{"preciseIdentifier":"s:10Foundation3URLV","text":"URL","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"Value"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:Sb","kind":"typeIdentifier","text":"Bool"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"DeeplinksCenter","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplink:assigningTo:ifMatching:)","type":"topic","url":"\/documentation\/deeplink\/deeplinkscenter\/register(deeplink:assigningto:ifmatching:)","title":"register(deeplink:assigningTo:ifMatching:)","role":"symbol"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/register(deeplinks:ifMatching:)":{"abstract":[{"type":"text","text":"Function to use to add multiple deeplink templates to be recognized when parsing a "},{"type":"codeVoice","code":"URL"},{"text":", executing the same closure afterwards.","type":"text"}],"kind":"symbol","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"register"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"deeplinks"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","preciseIdentifier":"s:8DeeplinkAAO","text":"Deeplink"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"text":">], ","kind":"text"},{"text":"ifMatching","kind":"externalParam"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation3URLV","text":"URL"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"text":") -> ","kind":"text"},{"text":"DeeplinksCenter","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC"}],"type":"topic","title":"register(deeplinks:ifMatching:)","role":"symbol","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplinks:ifMatching:)","url":"\/documentation\/deeplink\/deeplinkscenter\/register(deeplinks:ifmatching:)"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"url":"\/documentation\/deeplink\/deeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","navigatorTitle":[{"text":"Deeplink","kind":"identifier"}],"abstract":[{"type":"text","text":"An "},{"code":"enum","type":"codeVoice"},{"text":" that represents a deeplink template.","type":"text"}],"title":"Deeplink","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"type":"topic"},"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/register(deeplink:ifMatching:)":{"title":"register(deeplink:ifMatching:)","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplink:ifMatching:)","abstract":[{"type":"text","text":"Function to use to add a deeplink to be recognized when parsing a "},{"type":"codeVoice","code":"URL"},{"text":".","type":"text"}],"fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"register"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"deeplink"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:8DeeplinkAAO","text":"Deeplink"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"text":">, ","kind":"text"},{"text":"ifMatching","kind":"externalParam"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation3URLV","text":"URL"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"text":") -> ","kind":"text"},{"text":"DeeplinksCenter","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC"}],"url":"\/documentation\/deeplink\/deeplinkscenter\/register(deeplink:ifmatching:)","type":"topic","role":"symbol","kind":"symbol"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinksCenter"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","navigatorTitle":[{"text":"DeeplinksCenter","kind":"identifier"}],"role":"symbol","title":"DeeplinksCenter","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkscenter","type":"topic","abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}]}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplinkscenter/register(deeplinks:assigningto:ifmatching:).json b/docs/data/documentation/deeplink/deeplinkscenter/register(deeplinks:assigningto:ifmatching:).json index 453afd7..7440e4c 100644 --- a/docs/data/documentation/deeplink/deeplinkscenter/register(deeplinks:assigningto:ifmatching:).json +++ b/docs/data/documentation/deeplink/deeplinkscenter/register(deeplinks:assigningto:ifmatching:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"attribute","text":"@discardableResult"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"register"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"Value"},{"kind":"text","text":">("},{"kind":"externalParam","text":"deeplinks"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","preciseIdentifier":"s:8DeeplinkAAO","text":"Deeplink"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">], "},{"kind":"externalParam","text":"assigningTo"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":", "},{"kind":"externalParam","text":"ifMatching"},{"kind":"text","text":" "},{"kind":"internalParam","text":"completion"},{"kind":"text","text":": "},{"kind":"keyword","text":"@escaping"},{"kind":"text","text":" @"},{"kind":"typeIdentifier","text":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","text":" ("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC","text":"DeeplinksCenter"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"deeplinks","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A list of "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"},{"type":"text","text":". The "},{"type":"codeVoice","code":"DeeplinksCenter"},{"type":"text","text":" will attempt to match a "},{"type":"codeVoice","code":"URL"},{"type":"text","text":" against each of this list’s elements, in order. The same "},{"type":"codeVoice","code":"ifMatching"},{"type":"text","text":" closure will be called, if any of the templates successfully match the "},{"type":"codeVoice","code":"URL"},{"type":"text","text":"."}]}]},{"name":"ifMatching","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A closure that will be executed when a "},{"type":"codeVoice","code":"URL"},{"type":"text","text":" matches one of the formats defined by the "},{"type":"codeVoice","code":"deeplinks"},{"type":"text","text":" argument. Return "},{"type":"codeVoice","code":"true"},{"type":"text","text":" to stop the URL matching and consider the "},{"type":"codeVoice","code":"URL"},{"type":"text","text":" successfully parsed. Return "},{"type":"codeVoice","code":"false"},{"type":"text","text":" to “fail” the match, and let the "},{"type":"codeVoice","code":"DeeplinksCenter"},{"type":"text","text":" try out the next template in the "},{"type":"codeVoice","code":"deeplinks"},{"type":"text","text":" array, or the next registered "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"},{"type":"text","text":" templates on the center itself."}]}]}]},{"kind":"content","content":[{"anchor":"discussion","level":2,"type":"heading","text":"Discussion"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The order in which you add deeplinks in the array matches the order in which the deeplinks templates will be evaluated: the first deeplink in the list to successfully match a URL will stop the pattern matching."},{"type":"text","text":" "},{"type":"text","text":"This is the version for interpolated deeplinks: deeplinks that contain one or more arguments. The other version is "},{"type":"codeVoice","code":"register(deeplinks: ifMatching:)"},{"type":"text","text":" for literal deeplinks."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"Example:"}]},{"type":"codeListing","syntax":"swift","code":["let center = DeeplinksCenter()","","center","","\/\/ Registering this format will cover everything that matches both \"\/sell\/ticket\/*\" and \"\/selling\/ticket\/*\" (excluding the reserved URL characters; see `URLPatternMatcher`).",".register("," deeplinks: [try! \"\/sell\/ticket\/\\(\\.id)\", try! \"\/selling\/ticket\/\\(\\.id)\"],"," ifMatching: { url in"," print(\"matched \/sell\/ticket\")"," return true","})","","\/\/ This format will not match any URL, as the previous one overlaps its format and matches first. If you swap them, and register this pattern first, it will work just fine.","\/\/ Another possibility is to return `false` in the `ifMatching` closure above: this will tell the `DeeplinksCenter` that the matching closure failed, and it will continue to try to parse the remaining registered deeplink templates where it left off.",".register("," deeplink: [try! \"\/sell\/ticket\/test\/\\(\\.id)\", try! \"\/selling\/ticket\/test\/\\(\\.id)\"],"," ifMatching: { url in"," print(\"matched \/sell\/ticket\/test\")"," return true","})"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/deeplink\/deeplinkscenter\/register(deeplinks:assigningto:ifmatching:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplinks:assigningTo:ifMatching:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Function to use to add multiple deeplink templates to be recognized when parsing a "},{"type":"codeVoice","code":"URL"},{"type":"text","text":", executing the same closure afterwards."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"register"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"Value"},{"kind":"text","text":">("},{"kind":"externalParam","text":"deeplinks"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">], "},{"kind":"externalParam","text":"assigningTo"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":", "},{"kind":"externalParam","text":"ifMatching"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"DeeplinksCenter","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC"}],"title":"register(deeplinks:assigningTo:ifMatching:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:8Deeplink15DeeplinksCenterC8register9deeplinks11assigningTo10ifMatchingACSayA2AOyxGG_xSb10Foundation3URLV_xtKScMYcctlF","modules":[{"name":"Deeplink"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"]]},"seeAlsoSections":[{"title":"Registering deeplinks","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplink:assigningTo:ifMatching:)","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplink:ifMatching:)","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplinks:ifMatching:)"],"generated":true}],"references":{"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/register(deeplinks:assigningTo:ifMatching:)":{"role":"symbol","title":"register(deeplinks:assigningTo:ifMatching:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"register"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"Value"},{"kind":"text","text":">("},{"kind":"externalParam","text":"deeplinks"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">], "},{"kind":"externalParam","text":"assigningTo"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":", "},{"kind":"externalParam","text":"ifMatching"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"DeeplinksCenter","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC"}],"abstract":[{"type":"text","text":"Function to use to add multiple deeplink templates to be recognized when parsing a "},{"type":"codeVoice","code":"URL"},{"type":"text","text":", executing the same closure afterwards."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplinks:assigningTo:ifMatching:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkscenter\/register(deeplinks:assigningto:ifmatching:)"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/register(deeplinks:ifMatching:)":{"role":"symbol","title":"register(deeplinks:ifMatching:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"register"},{"kind":"text","text":"("},{"kind":"externalParam","text":"deeplinks"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":">], "},{"kind":"externalParam","text":"ifMatching"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"DeeplinksCenter","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC"}],"abstract":[{"type":"text","text":"Function to use to add multiple deeplink templates to be recognized when parsing a "},{"type":"codeVoice","code":"URL"},{"type":"text","text":", executing the same closure afterwards."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplinks:ifMatching:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkscenter\/register(deeplinks:ifmatching:)"},"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"role":"symbol","title":"DeeplinksCenter","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinksCenter"}],"abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinksCenter"}],"url":"\/documentation\/deeplink\/deeplinkscenter"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/register(deeplink:assigningTo:ifMatching:)":{"role":"symbol","title":"register(deeplink:assigningTo:ifMatching:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"register"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"Value"},{"kind":"text","text":">("},{"kind":"externalParam","text":"deeplink"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">, "},{"kind":"externalParam","text":"assigningTo"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":", "},{"kind":"externalParam","text":"ifMatching"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"DeeplinksCenter","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC"}],"abstract":[{"type":"text","text":"Function to use to add a deeplink to be recognized when parsing a "},{"type":"codeVoice","code":"URL"},{"type":"text","text":"."},{"type":"text","text":" "},{"type":"text","text":"The order in which you add deeplinks to the center matters, since the first deeplink in the list to successfully match a URL will stop the pattern matching."},{"type":"text","text":" "},{"type":"text","text":"This is the version for interpolated deeplinks: deeplinks that contain one or more arguments. The other version is "},{"type":"codeVoice","code":"register(deeplink: ifMatching:)"},{"type":"text","text":" for literal deeplinks."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplink:assigningTo:ifMatching:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkscenter\/register(deeplink:assigningto:ifmatching:)"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/register(deeplink:ifMatching:)":{"role":"symbol","title":"register(deeplink:ifMatching:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"register"},{"kind":"text","text":"("},{"kind":"externalParam","text":"deeplink"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":">, "},{"kind":"externalParam","text":"ifMatching"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"DeeplinksCenter","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC"}],"abstract":[{"type":"text","text":"Function to use to add a deeplink to be recognized when parsing a "},{"type":"codeVoice","code":"URL"},{"type":"text","text":"."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplink:ifMatching:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkscenter\/register(deeplink:ifmatching:)"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"role":"symbol","title":"Deeplink","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"abstract":[{"type":"text","text":"An "},{"type":"codeVoice","code":"enum"},{"type":"text","text":" that represents a deeplink template."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Deeplink"}],"url":"\/documentation\/deeplink\/deeplink"}}} \ No newline at end of file +{"schemaVersion":{"minor":3,"patch":0,"major":0},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"]]},"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplinks:assigningTo:ifMatching:)"},"seeAlsoSections":[{"identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplink:assigningTo:ifMatching:)","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplink:ifMatching:)","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplinks:ifMatching:)"],"generated":true,"title":"Registering deeplinks"}],"abstract":[{"type":"text","text":"Function to use to add multiple deeplink templates to be recognized when parsing a "},{"type":"codeVoice","code":"URL"},{"type":"text","text":", executing the same closure afterwards."}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"@discardableResult","kind":"attribute"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"register"},{"text":"<","kind":"text"},{"text":"Value","kind":"genericParameter"},{"text":">(","kind":"text"},{"text":"deeplinks","kind":"externalParam"},{"kind":"text","text":": ["},{"preciseIdentifier":"s:8DeeplinkAAO","text":"Deeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"text":"Value","kind":"typeIdentifier"},{"text":">], ","kind":"text"},{"kind":"externalParam","text":"assigningTo"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Value"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"ifMatching"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"completion"},{"kind":"text","text":": "},{"text":"@escaping","kind":"keyword"},{"kind":"text","text":" @"},{"preciseIdentifier":"s:ScM","kind":"typeIdentifier","text":"MainActor"},{"kind":"text","text":" ("},{"preciseIdentifier":"s:10Foundation3URLV","text":"URL","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"Value","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"kind":"text","text":") -> "},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","kind":"typeIdentifier","text":"DeeplinksCenter","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC"}],"languages":["swift"]}]},{"parameters":[{"content":[{"inlineContent":[{"type":"text","text":"A list of "},{"isActive":true,"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"},{"type":"text","text":". The "},{"type":"codeVoice","code":"DeeplinksCenter"},{"type":"text","text":" will attempt to match a "},{"type":"codeVoice","code":"URL"},{"type":"text","text":" against each of this list’s elements, in order. The same "},{"code":"ifMatching","type":"codeVoice"},{"text":" closure will be called, if any of the templates successfully match the ","type":"text"},{"type":"codeVoice","code":"URL"},{"type":"text","text":"."}],"type":"paragraph"}],"name":"deeplinks"},{"name":"ifMatching","content":[{"inlineContent":[{"text":"A closure that will be executed when a ","type":"text"},{"type":"codeVoice","code":"URL"},{"text":" matches one of the formats defined by the ","type":"text"},{"type":"codeVoice","code":"deeplinks"},{"text":" argument. Return ","type":"text"},{"type":"codeVoice","code":"true"},{"type":"text","text":" to stop the URL matching and consider the "},{"code":"URL","type":"codeVoice"},{"text":" successfully parsed. Return ","type":"text"},{"code":"false","type":"codeVoice"},{"text":" to “fail” the match, and let the ","type":"text"},{"code":"DeeplinksCenter","type":"codeVoice"},{"type":"text","text":" try out the next template in the "},{"code":"deeplinks","type":"codeVoice"},{"text":" array, or the next registered ","type":"text"},{"isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","type":"reference"},{"text":" templates on the center itself.","type":"text"}],"type":"paragraph"}]}],"kind":"parameters"},{"content":[{"text":"Discussion","anchor":"discussion","type":"heading","level":2},{"type":"paragraph","inlineContent":[{"type":"text","text":"The order in which you add deeplinks in the array matches the order in which the deeplinks templates will be evaluated: the first deeplink in the list to successfully match a URL will stop the pattern matching."},{"text":" ","type":"text"},{"text":"This is the version for interpolated deeplinks: deeplinks that contain one or more arguments. The other version is ","type":"text"},{"type":"codeVoice","code":"register(deeplinks: ifMatching:)"},{"type":"text","text":" for literal deeplinks."}]},{"inlineContent":[{"text":"Example:","type":"text"}],"type":"paragraph"},{"type":"codeListing","syntax":"swift","code":["let center = DeeplinksCenter()","","center","","\/\/ Registering this format will cover everything that matches both \"\/sell\/ticket\/*\" and \"\/selling\/ticket\/*\" (excluding the reserved URL characters; see `URLPatternMatcher`).",".register("," deeplinks: [try! \"\/sell\/ticket\/\\(\\.id)\", try! \"\/selling\/ticket\/\\(\\.id)\"],"," ifMatching: { url in"," print(\"matched \/sell\/ticket\")"," return true","})","","\/\/ This format will not match any URL, as the previous one overlaps its format and matches first. If you swap them, and register this pattern first, it will work just fine.","\/\/ Another possibility is to return `false` in the `ifMatching` closure above: this will tell the `DeeplinksCenter` that the matching closure failed, and it will continue to try to parse the remaining registered deeplink templates where it left off.",".register("," deeplink: [try! \"\/sell\/ticket\/test\/\\(\\.id)\", try! \"\/selling\/ticket\/test\/\\(\\.id)\"],"," ifMatching: { url in"," print(\"matched \/sell\/ticket\/test\")"," return true","})"]}],"kind":"content"}],"kind":"symbol","metadata":{"symbolKind":"method","title":"register(deeplinks:assigningTo:ifMatching:)","role":"symbol","externalID":"s:8Deeplink15DeeplinksCenterC8register9deeplinks11assigningTo10ifMatchingACSayA2AOyxGG_xSb10Foundation3URLV_xtKScMYcctlF","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"register","kind":"identifier"},{"kind":"text","text":"<"},{"text":"Value","kind":"genericParameter"},{"kind":"text","text":">("},{"kind":"externalParam","text":"deeplinks"},{"kind":"text","text":": ["},{"text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">], "},{"text":"assigningTo","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Value"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"ifMatching"},{"kind":"text","text":": ("},{"preciseIdentifier":"s:10Foundation3URLV","text":"URL","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"Value"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","text":"DeeplinksCenter","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC"}],"roleHeading":"Instance Method","modules":[{"name":"Deeplink"}]},"variants":[{"paths":["\/documentation\/deeplink\/deeplinkscenter\/register(deeplinks:assigningto:ifmatching:)"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/register(deeplinks:assigningTo:ifMatching:)":{"abstract":[{"type":"text","text":"Function to use to add multiple deeplink templates to be recognized when parsing a "},{"type":"codeVoice","code":"URL"},{"text":", executing the same closure afterwards.","type":"text"}],"kind":"symbol","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"register"},{"text":"<","kind":"text"},{"kind":"genericParameter","text":"Value"},{"kind":"text","text":">("},{"kind":"externalParam","text":"deeplinks"},{"text":": [","kind":"text"},{"kind":"typeIdentifier","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"text":"<","kind":"text"},{"text":"Value","kind":"typeIdentifier"},{"kind":"text","text":">], "},{"kind":"externalParam","text":"assigningTo"},{"kind":"text","text":": "},{"text":"Value","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"ifMatching"},{"text":": (","kind":"text"},{"text":"URL","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"text":"Value","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","text":"DeeplinksCenter","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplinks:assigningTo:ifMatching:)","type":"topic","url":"\/documentation\/deeplink\/deeplinkscenter\/register(deeplinks:assigningto:ifmatching:)","title":"register(deeplinks:assigningTo:ifMatching:)","role":"symbol"},"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinksCenter"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","navigatorTitle":[{"text":"DeeplinksCenter","kind":"identifier"}],"role":"symbol","title":"DeeplinksCenter","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkscenter","type":"topic","abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}]},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/register(deeplink:assigningTo:ifMatching:)":{"abstract":[{"type":"text","text":"Function to use to add a deeplink to be recognized when parsing a "},{"type":"codeVoice","code":"URL"},{"text":".","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"The order in which you add deeplinks to the center matters, since the first deeplink in the list to successfully match a URL will stop the pattern matching."},{"type":"text","text":" "},{"text":"This is the version for interpolated deeplinks: deeplinks that contain one or more arguments. The other version is ","type":"text"},{"code":"register(deeplink: ifMatching:)","type":"codeVoice"},{"type":"text","text":" for literal deeplinks."}],"kind":"symbol","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"register"},{"text":"<","kind":"text"},{"text":"Value","kind":"genericParameter"},{"kind":"text","text":">("},{"kind":"externalParam","text":"deeplink"},{"kind":"text","text":": "},{"text":"Deeplink","kind":"typeIdentifier","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"text":">, ","kind":"text"},{"text":"assigningTo","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Value","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"ifMatching"},{"kind":"text","text":": ("},{"preciseIdentifier":"s:10Foundation3URLV","text":"URL","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"Value"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:Sb","kind":"typeIdentifier","text":"Bool"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"DeeplinksCenter","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplink:assigningTo:ifMatching:)","type":"topic","url":"\/documentation\/deeplink\/deeplinkscenter\/register(deeplink:assigningto:ifmatching:)","title":"register(deeplink:assigningTo:ifMatching:)","role":"symbol"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"url":"\/documentation\/deeplink\/deeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","navigatorTitle":[{"text":"Deeplink","kind":"identifier"}],"abstract":[{"type":"text","text":"An "},{"code":"enum","type":"codeVoice"},{"text":" that represents a deeplink template.","type":"text"}],"title":"Deeplink","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"type":"topic"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/register(deeplink:ifMatching:)":{"title":"register(deeplink:ifMatching:)","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplink:ifMatching:)","abstract":[{"type":"text","text":"Function to use to add a deeplink to be recognized when parsing a "},{"type":"codeVoice","code":"URL"},{"text":".","type":"text"}],"fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"register"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"deeplink"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:8DeeplinkAAO","text":"Deeplink"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"text":">, ","kind":"text"},{"text":"ifMatching","kind":"externalParam"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation3URLV","text":"URL"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"text":") -> ","kind":"text"},{"text":"DeeplinksCenter","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC"}],"url":"\/documentation\/deeplink\/deeplinkscenter\/register(deeplink:ifmatching:)","type":"topic","role":"symbol","kind":"symbol"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/register(deeplinks:ifMatching:)":{"abstract":[{"type":"text","text":"Function to use to add multiple deeplink templates to be recognized when parsing a "},{"type":"codeVoice","code":"URL"},{"text":", executing the same closure afterwards.","type":"text"}],"kind":"symbol","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"register"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"deeplinks"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","preciseIdentifier":"s:8DeeplinkAAO","text":"Deeplink"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"text":">], ","kind":"text"},{"text":"ifMatching","kind":"externalParam"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation3URLV","text":"URL"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"text":") -> ","kind":"text"},{"text":"DeeplinksCenter","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC"}],"type":"topic","title":"register(deeplinks:ifMatching:)","role":"symbol","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplinks:ifMatching:)","url":"\/documentation\/deeplink\/deeplinkscenter\/register(deeplinks:ifmatching:)"}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplinkscenter/register(deeplinks:ifmatching:).json b/docs/data/documentation/deeplink/deeplinkscenter/register(deeplinks:ifmatching:).json index b3d59e0..48657ce 100644 --- a/docs/data/documentation/deeplink/deeplinkscenter/register(deeplinks:ifmatching:).json +++ b/docs/data/documentation/deeplink/deeplinkscenter/register(deeplinks:ifmatching:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"attribute","text":"@discardableResult"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"register"},{"kind":"text","text":"("},{"kind":"externalParam","text":"deeplinks"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","preciseIdentifier":"s:8DeeplinkAAO","text":"Deeplink"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":">], "},{"kind":"externalParam","text":"ifMatching"},{"kind":"text","text":" "},{"kind":"internalParam","text":"completion"},{"kind":"text","text":": "},{"kind":"keyword","text":"@escaping"},{"kind":"text","text":" @"},{"kind":"typeIdentifier","text":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","text":" ("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC","text":"DeeplinksCenter"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"deeplinks","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A list of "},{"type":"codeVoice","code":"Deeplink"},{"type":"text","text":". The "},{"type":"codeVoice","code":"DeeplinksCenter"},{"type":"text","text":" will attempt to match a "},{"type":"codeVoice","code":"URL"},{"type":"text","text":" against each of this list’s elements, in order. The same "},{"type":"codeVoice","code":"ifMatching"},{"type":"text","text":" closure will be called, if any of the templates successfully match the "},{"type":"codeVoice","code":"URL"},{"type":"text","text":"."}]}]},{"name":"ifMatching","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A closure that will be executed when a "},{"type":"codeVoice","code":"URL"},{"type":"text","text":" matches one of the formats defined by the "},{"type":"codeVoice","code":"deeplinks"},{"type":"text","text":" argument. Return "},{"type":"codeVoice","code":"true"},{"type":"text","text":" to stop the URL matching and consider the "},{"type":"codeVoice","code":"URL"},{"type":"text","text":" successfully parsed. Return "},{"type":"codeVoice","code":"false"},{"type":"text","text":" to “fail” the match, and let the "},{"type":"codeVoice","code":"DeeplinksCenter"},{"type":"text","text":" try out the next template in the "},{"type":"codeVoice","code":"deeplinks"},{"type":"text","text":" array, or the next registered "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"},{"type":"text","text":" templates on the center itself."}]}]}]},{"kind":"content","content":[{"anchor":"discussion","level":2,"type":"heading","text":"Discussion"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The order in which you add deeplinks in the array matches the order in which the deeplinks templates will be evaluated: the first deeplink in the list to successfully match a URL will stop the pattern matching."},{"type":"text","text":" "},{"type":"text","text":"This is the version for literal deeplinks: deeplinks that contain no arguments. The other version is "},{"type":"codeVoice","code":"register(deeplinks: assigningTo: ifMatching:)"},{"type":"text","text":" for interpolated deeplinks."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"Example:"}]},{"type":"codeListing","syntax":"swift","code":["let center = DeeplinksCenter()","","center","","\/\/ Registering this format will cover everything that matches both \"\/sell\/ticket\/*\" and \"\/selling\/ticket\/*\" (excluding the reserved URL characters; see `URLPatternMatcher`).",".register("," deeplinks: [\"\/sell\/ticket\", \"\/selling\/ticket\"],"," ifMatching: { url in"," print(\"matched \/sell\/ticket\")"," return true","})","","\/\/ This format will not match any URL, as the previous one overlaps its format and matches first. If you swap them, and register this pattern first, it will work just fine.","\/\/ Another possibility is to return `false` in the `ifMatching` closure above: this will tell the `DeeplinksCenter` that the matching closure failed, and it will continue to try to parse the remaining registered deeplink templates where it left off.",".register("," deeplink: [\"\/sell\/ticket\/test\", \"\/selling\/ticket\/test\"],"," ifMatching: { url in"," print(\"matched \/sell\/ticket\/test\")"," return true","})"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/deeplink\/deeplinkscenter\/register(deeplinks:ifmatching:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplinks:ifMatching:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Function to use to add multiple deeplink templates to be recognized when parsing a "},{"type":"codeVoice","code":"URL"},{"type":"text","text":", executing the same closure afterwards."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"register"},{"kind":"text","text":"("},{"kind":"externalParam","text":"deeplinks"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":">], "},{"kind":"externalParam","text":"ifMatching"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"DeeplinksCenter","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC"}],"title":"register(deeplinks:ifMatching:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:8Deeplink15DeeplinksCenterC8register9deeplinks10ifMatchingACSayA2AOyytGG_Sb10Foundation3URLVKScMYcctF","modules":[{"name":"Deeplink"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"]]},"seeAlsoSections":[{"title":"Registering deeplinks","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplink:assigningTo:ifMatching:)","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplink:ifMatching:)","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplinks:assigningTo:ifMatching:)"],"generated":true}],"references":{"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/register(deeplink:assigningTo:ifMatching:)":{"role":"symbol","title":"register(deeplink:assigningTo:ifMatching:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"register"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"Value"},{"kind":"text","text":">("},{"kind":"externalParam","text":"deeplink"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">, "},{"kind":"externalParam","text":"assigningTo"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":", "},{"kind":"externalParam","text":"ifMatching"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"DeeplinksCenter","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC"}],"abstract":[{"type":"text","text":"Function to use to add a deeplink to be recognized when parsing a "},{"type":"codeVoice","code":"URL"},{"type":"text","text":"."},{"type":"text","text":" "},{"type":"text","text":"The order in which you add deeplinks to the center matters, since the first deeplink in the list to successfully match a URL will stop the pattern matching."},{"type":"text","text":" "},{"type":"text","text":"This is the version for interpolated deeplinks: deeplinks that contain one or more arguments. The other version is "},{"type":"codeVoice","code":"register(deeplink: ifMatching:)"},{"type":"text","text":" for literal deeplinks."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplink:assigningTo:ifMatching:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkscenter\/register(deeplink:assigningto:ifmatching:)"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/register(deeplinks:ifMatching:)":{"role":"symbol","title":"register(deeplinks:ifMatching:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"register"},{"kind":"text","text":"("},{"kind":"externalParam","text":"deeplinks"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":">], "},{"kind":"externalParam","text":"ifMatching"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"DeeplinksCenter","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC"}],"abstract":[{"type":"text","text":"Function to use to add multiple deeplink templates to be recognized when parsing a "},{"type":"codeVoice","code":"URL"},{"type":"text","text":", executing the same closure afterwards."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplinks:ifMatching:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkscenter\/register(deeplinks:ifmatching:)"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"role":"symbol","title":"DeeplinksCenter","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinksCenter"}],"abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinksCenter"}],"url":"\/documentation\/deeplink\/deeplinkscenter"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/register(deeplinks:assigningTo:ifMatching:)":{"role":"symbol","title":"register(deeplinks:assigningTo:ifMatching:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"register"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"Value"},{"kind":"text","text":">("},{"kind":"externalParam","text":"deeplinks"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">], "},{"kind":"externalParam","text":"assigningTo"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":", "},{"kind":"externalParam","text":"ifMatching"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"DeeplinksCenter","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC"}],"abstract":[{"type":"text","text":"Function to use to add multiple deeplink templates to be recognized when parsing a "},{"type":"codeVoice","code":"URL"},{"type":"text","text":", executing the same closure afterwards."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplinks:assigningTo:ifMatching:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkscenter\/register(deeplinks:assigningto:ifmatching:)"},"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"role":"symbol","title":"Deeplink","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"abstract":[{"type":"text","text":"An "},{"type":"codeVoice","code":"enum"},{"type":"text","text":" that represents a deeplink template."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Deeplink"}],"url":"\/documentation\/deeplink\/deeplink"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/register(deeplink:ifMatching:)":{"role":"symbol","title":"register(deeplink:ifMatching:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"register"},{"kind":"text","text":"("},{"kind":"externalParam","text":"deeplink"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":">, "},{"kind":"externalParam","text":"ifMatching"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"DeeplinksCenter","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC"}],"abstract":[{"type":"text","text":"Function to use to add a deeplink to be recognized when parsing a "},{"type":"codeVoice","code":"URL"},{"type":"text","text":"."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplink:ifMatching:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkscenter\/register(deeplink:ifmatching:)"}}} \ No newline at end of file +{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplinks:ifMatching:)"},"kind":"symbol","variants":[{"paths":["\/documentation\/deeplink\/deeplinkscenter\/register(deeplinks:ifmatching:)"],"traits":[{"interfaceLanguage":"swift"}]}],"abstract":[{"text":"Function to use to add multiple deeplink templates to be recognized when parsing a ","type":"text"},{"code":"URL","type":"codeVoice"},{"type":"text","text":", executing the same closure afterwards."}],"seeAlsoSections":[{"generated":true,"title":"Registering deeplinks","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplink:assigningTo:ifMatching:)","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplink:ifMatching:)","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplinks:assigningTo:ifMatching:)"]}],"primaryContentSections":[{"declarations":[{"tokens":[{"text":"@discardableResult","kind":"attribute"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"register"},{"kind":"text","text":"("},{"text":"deeplinks","kind":"externalParam"},{"kind":"text","text":": ["},{"preciseIdentifier":"s:8DeeplinkAAO","kind":"typeIdentifier","text":"Deeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4Voida","text":"Void"},{"text":">], ","kind":"text"},{"text":"ifMatching","kind":"externalParam"},{"kind":"text","text":" "},{"text":"completion","kind":"internalParam"},{"kind":"text","text":": "},{"kind":"keyword","text":"@escaping"},{"kind":"text","text":" @"},{"preciseIdentifier":"s:ScM","text":"MainActor","kind":"typeIdentifier"},{"text":" (","kind":"text"},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:Sb","kind":"typeIdentifier","text":"Bool"},{"kind":"text","text":") -> "},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC","kind":"typeIdentifier","text":"DeeplinksCenter"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"},{"kind":"parameters","parameters":[{"name":"deeplinks","content":[{"inlineContent":[{"text":"A list of ","type":"text"},{"type":"codeVoice","code":"Deeplink"},{"type":"text","text":". The "},{"code":"DeeplinksCenter","type":"codeVoice"},{"text":" will attempt to match a ","type":"text"},{"code":"URL","type":"codeVoice"},{"type":"text","text":" against each of this list’s elements, in order. The same "},{"code":"ifMatching","type":"codeVoice"},{"type":"text","text":" closure will be called, if any of the templates successfully match the "},{"type":"codeVoice","code":"URL"},{"type":"text","text":"."}],"type":"paragraph"}]},{"name":"ifMatching","content":[{"type":"paragraph","inlineContent":[{"text":"A closure that will be executed when a ","type":"text"},{"code":"URL","type":"codeVoice"},{"type":"text","text":" matches one of the formats defined by the "},{"type":"codeVoice","code":"deeplinks"},{"text":" argument. Return ","type":"text"},{"code":"true","type":"codeVoice"},{"text":" to stop the URL matching and consider the ","type":"text"},{"code":"URL","type":"codeVoice"},{"type":"text","text":" successfully parsed. Return "},{"type":"codeVoice","code":"false"},{"type":"text","text":" to “fail” the match, and let the "},{"type":"codeVoice","code":"DeeplinksCenter"},{"type":"text","text":" try out the next template in the "},{"code":"deeplinks","type":"codeVoice"},{"type":"text","text":" array, or the next registered "},{"isActive":true,"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"},{"type":"text","text":" templates on the center itself."}]}]}]},{"kind":"content","content":[{"type":"heading","anchor":"discussion","text":"Discussion","level":2},{"type":"paragraph","inlineContent":[{"type":"text","text":"The order in which you add deeplinks in the array matches the order in which the deeplinks templates will be evaluated: the first deeplink in the list to successfully match a URL will stop the pattern matching."},{"text":" ","type":"text"},{"type":"text","text":"This is the version for literal deeplinks: deeplinks that contain no arguments. The other version is "},{"type":"codeVoice","code":"register(deeplinks: assigningTo: ifMatching:)"},{"text":" for interpolated deeplinks.","type":"text"}]},{"type":"paragraph","inlineContent":[{"text":"Example:","type":"text"}]},{"code":["let center = DeeplinksCenter()","","center","","\/\/ Registering this format will cover everything that matches both \"\/sell\/ticket\/*\" and \"\/selling\/ticket\/*\" (excluding the reserved URL characters; see `URLPatternMatcher`).",".register("," deeplinks: [\"\/sell\/ticket\", \"\/selling\/ticket\"],"," ifMatching: { url in"," print(\"matched \/sell\/ticket\")"," return true","})","","\/\/ This format will not match any URL, as the previous one overlaps its format and matches first. If you swap them, and register this pattern first, it will work just fine.","\/\/ Another possibility is to return `false` in the `ifMatching` closure above: this will tell the `DeeplinksCenter` that the matching closure failed, and it will continue to try to parse the remaining registered deeplink templates where it left off.",".register("," deeplink: [\"\/sell\/ticket\/test\", \"\/selling\/ticket\/test\"],"," ifMatching: { url in"," print(\"matched \/sell\/ticket\/test\")"," return true","})"],"type":"codeListing","syntax":"swift"}]}],"metadata":{"symbolKind":"method","externalID":"s:8Deeplink15DeeplinksCenterC8register9deeplinks10ifMatchingACSayA2AOyytGG_Sb10Foundation3URLVKScMYcctF","roleHeading":"Instance Method","title":"register(deeplinks:ifMatching:)","modules":[{"name":"Deeplink"}],"role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"register"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"deeplinks"},{"kind":"text","text":": ["},{"text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"preciseIdentifier":"s:s4Voida","kind":"typeIdentifier","text":"Void"},{"text":">], ","kind":"text"},{"kind":"externalParam","text":"ifMatching"},{"text":": (","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation3URLV","text":"URL"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:8Deeplink15DeeplinksCenterC","text":"DeeplinksCenter","kind":"typeIdentifier"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"]]},"schemaVersion":{"patch":0,"minor":3,"major":0},"sections":[],"references":{"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/register(deeplinks:ifMatching:)":{"abstract":[{"type":"text","text":"Function to use to add multiple deeplink templates to be recognized when parsing a "},{"type":"codeVoice","code":"URL"},{"text":", executing the same closure afterwards.","type":"text"}],"kind":"symbol","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"register"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"deeplinks"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","preciseIdentifier":"s:8DeeplinkAAO","text":"Deeplink"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"text":">], ","kind":"text"},{"text":"ifMatching","kind":"externalParam"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation3URLV","text":"URL"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"text":") -> ","kind":"text"},{"text":"DeeplinksCenter","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC"}],"type":"topic","title":"register(deeplinks:ifMatching:)","role":"symbol","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplinks:ifMatching:)","url":"\/documentation\/deeplink\/deeplinkscenter\/register(deeplinks:ifmatching:)"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/register(deeplink:ifMatching:)":{"title":"register(deeplink:ifMatching:)","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplink:ifMatching:)","abstract":[{"type":"text","text":"Function to use to add a deeplink to be recognized when parsing a "},{"type":"codeVoice","code":"URL"},{"text":".","type":"text"}],"fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"register"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"deeplink"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:8DeeplinkAAO","text":"Deeplink"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"text":">, ","kind":"text"},{"text":"ifMatching","kind":"externalParam"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation3URLV","text":"URL"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"text":") -> ","kind":"text"},{"text":"DeeplinksCenter","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC"}],"url":"\/documentation\/deeplink\/deeplinkscenter\/register(deeplink:ifmatching:)","type":"topic","role":"symbol","kind":"symbol"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/register(deeplinks:assigningTo:ifMatching:)":{"abstract":[{"type":"text","text":"Function to use to add multiple deeplink templates to be recognized when parsing a "},{"type":"codeVoice","code":"URL"},{"text":", executing the same closure afterwards.","type":"text"}],"kind":"symbol","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"register"},{"text":"<","kind":"text"},{"kind":"genericParameter","text":"Value"},{"kind":"text","text":">("},{"kind":"externalParam","text":"deeplinks"},{"text":": [","kind":"text"},{"kind":"typeIdentifier","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"text":"<","kind":"text"},{"text":"Value","kind":"typeIdentifier"},{"kind":"text","text":">], "},{"kind":"externalParam","text":"assigningTo"},{"kind":"text","text":": "},{"text":"Value","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"ifMatching"},{"text":": (","kind":"text"},{"text":"URL","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"text":"Value","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","text":"DeeplinksCenter","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplinks:assigningTo:ifMatching:)","type":"topic","url":"\/documentation\/deeplink\/deeplinkscenter\/register(deeplinks:assigningto:ifmatching:)","title":"register(deeplinks:assigningTo:ifMatching:)","role":"symbol"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"url":"\/documentation\/deeplink\/deeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","navigatorTitle":[{"text":"Deeplink","kind":"identifier"}],"abstract":[{"type":"text","text":"An "},{"code":"enum","type":"codeVoice"},{"text":" that represents a deeplink template.","type":"text"}],"title":"Deeplink","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"type":"topic"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/register(deeplink:assigningTo:ifMatching:)":{"abstract":[{"type":"text","text":"Function to use to add a deeplink to be recognized when parsing a "},{"type":"codeVoice","code":"URL"},{"text":".","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"The order in which you add deeplinks to the center matters, since the first deeplink in the list to successfully match a URL will stop the pattern matching."},{"type":"text","text":" "},{"text":"This is the version for interpolated deeplinks: deeplinks that contain one or more arguments. The other version is ","type":"text"},{"code":"register(deeplink: ifMatching:)","type":"codeVoice"},{"type":"text","text":" for literal deeplinks."}],"kind":"symbol","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"register"},{"text":"<","kind":"text"},{"text":"Value","kind":"genericParameter"},{"kind":"text","text":">("},{"kind":"externalParam","text":"deeplink"},{"kind":"text","text":": "},{"text":"Deeplink","kind":"typeIdentifier","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"text":">, ","kind":"text"},{"text":"assigningTo","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Value","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"ifMatching"},{"kind":"text","text":": ("},{"preciseIdentifier":"s:10Foundation3URLV","text":"URL","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"Value"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:Sb","kind":"typeIdentifier","text":"Bool"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"DeeplinksCenter","preciseIdentifier":"s:8Deeplink15DeeplinksCenterC"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/register(deeplink:assigningTo:ifMatching:)","type":"topic","url":"\/documentation\/deeplink\/deeplinkscenter\/register(deeplink:assigningto:ifmatching:)","title":"register(deeplink:assigningTo:ifMatching:)","role":"symbol"},"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinksCenter"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","navigatorTitle":[{"text":"DeeplinksCenter","kind":"identifier"}],"role":"symbol","title":"DeeplinksCenter","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkscenter","type":"topic","abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}]}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/deeplinkscenter/testsampledeeplink(_:).json b/docs/data/documentation/deeplink/deeplinkscenter/testsampledeeplink(_:).json index 03c7df5..9802979 100644 --- a/docs/data/documentation/deeplink/deeplinkscenter/testsampledeeplink(_:).json +++ b/docs/data/documentation/deeplink/deeplinkscenter/testsampledeeplink(_:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"attribute","text":"@"},{"kind":"typeIdentifier","text":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"testSampleDeeplink"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"Value"},{"kind":"text","text":">("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"sample"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink","preciseIdentifier":"s:8Deeplink06SampleA0V","text":"SampleDeeplink"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">) "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"sample","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink"},{"type":"text","text":" to test."}]}]}]},{"kind":"content","content":[{"anchor":"discussion","level":2,"type":"heading","text":"Discussion"},{"type":"paragraph","inlineContent":[{"type":"text","text":"See "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink"},{"type":"text","text":" for more information."}]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/deeplink\/deeplinkscenter\/testsampledeeplink(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/testSampleDeeplink(_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Pass a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink"},{"type":"text","text":" instance to this function to perform a deeplink registration unit test."}],"kind":"symbol","metadata":{"role":"symbol","title":"testSampleDeeplink(_:)","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"testSampleDeeplink"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"Value"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"SampleDeeplink","preciseIdentifier":"s:8Deeplink06SampleA0V"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">) "},{"kind":"keyword","text":"throws"}],"symbolKind":"method","externalID":"s:8Deeplink15DeeplinksCenterC010testSampleA0yyAA0eA0VyxGKlF","extendedModule":"Deeplink","modules":[{"name":"Deeplink"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"]]},"references":{"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"role":"symbol","title":"DeeplinksCenter","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinksCenter"}],"abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinksCenter"}],"url":"\/documentation\/deeplink\/deeplinkscenter"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/testSampleDeeplink(_:)":{"role":"symbol","title":"testSampleDeeplink(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"testSampleDeeplink"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"Value"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"SampleDeeplink","preciseIdentifier":"s:8Deeplink06SampleA0V"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">) "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Pass a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink"},{"type":"text","text":" instance to this function to perform a deeplink registration unit test."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/testSampleDeeplink(_:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkscenter\/testsampledeeplink(_:)"},"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"},"doc://Deeplink/documentation/Deeplink/SampleDeeplink":{"role":"symbol","title":"SampleDeeplink","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"SampleDeeplink"}],"abstract":[{"type":"text","text":"You can use a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink"},{"type":"text","text":" to create unit tests that verify that the order of registrations of deeplinks in your "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"},{"type":"text","text":" is sound, and no template stops another from being detected."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SampleDeeplink"}],"url":"\/documentation\/deeplink\/sampledeeplink"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"attribute","text":"@"},{"kind":"attribute","preciseIdentifier":"s:ScM","text":"MainActor"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"testSampleDeeplink","kind":"identifier"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"Value"},{"text":">(","kind":"text"},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"sample"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:8Deeplink06SampleA0V","text":"SampleDeeplink","kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">) "},{"text":"throws","kind":"keyword"}]}]},{"parameters":[{"content":[{"inlineContent":[{"type":"text","text":"The "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink"},{"type":"text","text":" to test."}],"type":"paragraph"}],"name":"sample"}],"kind":"parameters"},{"kind":"content","content":[{"level":2,"text":"Discussion","type":"heading","anchor":"discussion"},{"type":"paragraph","inlineContent":[{"text":"See ","type":"text"},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink"},{"text":" for more information.","type":"text"}]}]}],"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"]]},"kind":"symbol","variants":[{"paths":["\/documentation\/deeplink\/deeplinkscenter\/testsampledeeplink(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"metadata":{"extendedModule":"Deeplink","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"testSampleDeeplink"},{"kind":"text","text":"<"},{"text":"Value","kind":"genericParameter"},{"text":">(","kind":"text"},{"text":"SampleDeeplink","preciseIdentifier":"s:8Deeplink06SampleA0V","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">) "},{"kind":"keyword","text":"throws"}],"role":"symbol","title":"testSampleDeeplink(_:)","modules":[{"name":"Deeplink"}],"externalID":"s:8Deeplink15DeeplinksCenterC010testSampleA0yyAA0eA0VyxGKlF","symbolKind":"method","roleHeading":"Instance Method"},"schemaVersion":{"minor":3,"patch":0,"major":0},"abstract":[{"text":"Pass a ","type":"text"},{"isActive":true,"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink"},{"text":" instance to this function to perform a deeplink registration unit test.","type":"text"}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/testSampleDeeplink(_:)","interfaceLanguage":"swift"},"references":{"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinksCenter"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","navigatorTitle":[{"text":"DeeplinksCenter","kind":"identifier"}],"role":"symbol","title":"DeeplinksCenter","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkscenter","type":"topic","abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}]},"doc://Deeplink/documentation/Deeplink/SampleDeeplink":{"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"SampleDeeplink","kind":"identifier"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink","abstract":[{"text":"You can use a ","type":"text"},{"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink","isActive":true},{"type":"text","text":" to create unit tests that verify that the order of registrations of deeplinks in your "},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","type":"reference","isActive":true},{"text":" is sound, and no template stops another from being detected.","type":"text"}],"title":"SampleDeeplink","type":"topic","kind":"symbol","url":"\/documentation\/deeplink\/sampledeeplink","navigatorTitle":[{"kind":"identifier","text":"SampleDeeplink"}],"role":"symbol"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/testSampleDeeplink(_:)":{"fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"testSampleDeeplink"},{"text":"<","kind":"text"},{"text":"Value","kind":"genericParameter"},{"kind":"text","text":">("},{"text":"SampleDeeplink","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink06SampleA0V"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">) "},{"text":"throws","kind":"keyword"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/testSampleDeeplink(_:)","abstract":[{"text":"Pass a ","type":"text"},{"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink","isActive":true},{"type":"text","text":" instance to this function to perform a deeplink registration unit test."}],"title":"testSampleDeeplink(_:)","type":"topic","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkscenter\/testsampledeeplink(_:)","role":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/defaultinitializable.json b/docs/data/documentation/deeplink/defaultinitializable.json index 5fb7251..950dedf 100644 --- a/docs/data/documentation/deeplink/defaultinitializable.json +++ b/docs/data/documentation/deeplink/defaultinitializable.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"DefaultInitializable"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"overview","level":2,"type":"heading","text":"Overview"},{"type":"paragraph","inlineContent":[{"type":"text","text":"This is used by the library to create an empty instance of the "},{"type":"codeVoice","code":"Value"},{"type":"text","text":" type of a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"},{"type":"text","text":" template. In case of successful match between the template and deeplink "},{"type":"codeVoice","code":"URL"},{"type":"text","text":", the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"},{"type":"text","text":" will assign values to the properties on the newly created instance."}]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/deeplink\/defaultinitializable"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DefaultInitializable","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"A protocol which only requirement is an empty initializer."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"DefaultInitializable"}],"title":"DefaultInitializable","roleHeading":"Protocol","role":"symbol","symbolKind":"protocol","externalID":"s:8Deeplink20DefaultInitializableP","modules":[{"name":"Deeplink"}],"navigatorTitle":[{"kind":"identifier","text":"DefaultInitializable"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink"]]},"topicSections":[{"title":"Initializers","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/DefaultInitializable\/init()"]}],"references":{"doc://Deeplink/documentation/Deeplink/DefaultInitializable":{"role":"symbol","title":"DefaultInitializable","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"DefaultInitializable"}],"abstract":[{"type":"text","text":"A protocol which only requirement is an empty initializer."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DefaultInitializable","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DefaultInitializable"}],"url":"\/documentation\/deeplink\/defaultinitializable"},"doc://Deeplink/documentation/Deeplink/DefaultInitializable/init()":{"role":"symbol","title":"init()","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"()"}],"abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DefaultInitializable\/init()","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/deeplink\/defaultinitializable\/init()"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"role":"symbol","title":"DeeplinksCenter","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinksCenter"}],"abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinksCenter"}],"url":"\/documentation\/deeplink\/deeplinkscenter"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"role":"symbol","title":"Deeplink","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"abstract":[{"type":"text","text":"An "},{"type":"codeVoice","code":"enum"},{"type":"text","text":" that represents a deeplink template."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Deeplink"}],"url":"\/documentation\/deeplink\/deeplink"},"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"}}} \ No newline at end of file +{"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DefaultInitializable","interfaceLanguage":"swift"},"kind":"symbol","sections":[],"metadata":{"role":"symbol","roleHeading":"Protocol","title":"DefaultInitializable","symbolKind":"protocol","navigatorTitle":[{"text":"DefaultInitializable","kind":"identifier"}],"externalID":"s:8Deeplink20DefaultInitializableP","modules":[{"name":"Deeplink"}],"fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"text":"DefaultInitializable","kind":"identifier"}]},"topicSections":[{"title":"Initializers","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/DefaultInitializable\/init()"]}],"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink"]]},"schemaVersion":{"major":0,"minor":3,"patch":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"text":"DefaultInitializable","kind":"identifier"}],"languages":["swift"]}]},{"content":[{"text":"Overview","type":"heading","level":2,"anchor":"overview"},{"inlineContent":[{"text":"This is used by the library to create an empty instance of the ","type":"text"},{"type":"codeVoice","code":"Value"},{"text":" type of a ","type":"text"},{"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","isActive":true},{"text":" template. In case of successful match between the template and deeplink ","type":"text"},{"type":"codeVoice","code":"URL"},{"text":", the ","type":"text"},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","isActive":true,"type":"reference"},{"text":" will assign values to the properties on the newly created instance.","type":"text"}],"type":"paragraph"}],"kind":"content"}],"variants":[{"paths":["\/documentation\/deeplink\/defaultinitializable"],"traits":[{"interfaceLanguage":"swift"}]}],"abstract":[{"type":"text","text":"A protocol which only requirement is an empty initializer."}],"references":{"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"url":"\/documentation\/deeplink\/deeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","navigatorTitle":[{"text":"Deeplink","kind":"identifier"}],"abstract":[{"type":"text","text":"An "},{"code":"enum","type":"codeVoice"},{"text":" that represents a deeplink template.","type":"text"}],"title":"Deeplink","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"type":"topic"},"doc://Deeplink/documentation/Deeplink/DefaultInitializable/init()":{"fragments":[{"text":"init","kind":"identifier"},{"text":"()","kind":"text"}],"type":"topic","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DefaultInitializable\/init()","role":"symbol","abstract":[],"title":"init()","kind":"symbol","url":"\/documentation\/deeplink\/defaultinitializable\/init()","required":true},"doc://Deeplink/documentation/Deeplink/DefaultInitializable":{"type":"topic","navigatorTitle":[{"text":"DefaultInitializable","kind":"identifier"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DefaultInitializable","role":"symbol","abstract":[{"text":"A protocol which only requirement is an empty initializer.","type":"text"}],"kind":"symbol","title":"DefaultInitializable","url":"\/documentation\/deeplink\/defaultinitializable","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"DefaultInitializable"}]},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinksCenter"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","navigatorTitle":[{"text":"DeeplinksCenter","kind":"identifier"}],"role":"symbol","title":"DeeplinksCenter","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkscenter","type":"topic","abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}]}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/defaultinitializable/init().json b/docs/data/documentation/deeplink/defaultinitializable/init().json index cc66511..15e3442 100644 --- a/docs/data/documentation/deeplink/defaultinitializable/init().json +++ b/docs/data/documentation/deeplink/defaultinitializable/init().json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"()"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/deeplink\/defaultinitializable\/init()"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DefaultInitializable\/init()","interfaceLanguage":"swift"},"kind":"symbol","metadata":{"role":"symbol","title":"init()","roleHeading":"Initializer","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"()"}],"symbolKind":"init","externalID":"s:8Deeplink20DefaultInitializablePxycfc","required":true,"modules":[{"name":"Deeplink"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DefaultInitializable"]]},"references":{"doc://Deeplink/documentation/Deeplink/DefaultInitializable":{"role":"symbol","title":"DefaultInitializable","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"DefaultInitializable"}],"abstract":[{"type":"text","text":"A protocol which only requirement is an empty initializer."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DefaultInitializable","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DefaultInitializable"}],"url":"\/documentation\/deeplink\/defaultinitializable"},"doc://Deeplink/documentation/Deeplink/DefaultInitializable/init()":{"role":"symbol","title":"init()","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"()"}],"abstract":[],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DefaultInitializable\/init()","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/deeplink\/defaultinitializable\/init()"},"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"}}} \ No newline at end of file +{"sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"init"},{"text":"()","kind":"text"}],"platforms":["macOS"]}]}],"metadata":{"externalID":"s:8Deeplink20DefaultInitializablePxycfc","modules":[{"name":"Deeplink"}],"roleHeading":"Initializer","symbolKind":"init","role":"symbol","title":"init()","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"()"}],"required":true},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/Deeplink\/documentation\/Deeplink\/DefaultInitializable\/init()"},"schemaVersion":{"patch":0,"major":0,"minor":3},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DefaultInitializable"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/deeplink\/defaultinitializable\/init()"]}],"kind":"symbol","references":{"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/DefaultInitializable/init()":{"fragments":[{"text":"init","kind":"identifier"},{"text":"()","kind":"text"}],"type":"topic","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DefaultInitializable\/init()","role":"symbol","abstract":[],"title":"init()","kind":"symbol","url":"\/documentation\/deeplink\/defaultinitializable\/init()","required":true},"doc://Deeplink/documentation/Deeplink/DefaultInitializable":{"type":"topic","navigatorTitle":[{"text":"DefaultInitializable","kind":"identifier"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DefaultInitializable","role":"symbol","abstract":[{"text":"A protocol which only requirement is an empty initializer.","type":"text"}],"kind":"symbol","title":"DefaultInitializable","url":"\/documentation\/deeplink\/defaultinitializable","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"DefaultInitializable"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/getting-started-with-deeplinking.json b/docs/data/documentation/deeplink/getting-started-with-deeplinking.json index 7a13743..9fc816d 100644 --- a/docs/data/documentation/deeplink/getting-started-with-deeplinking.json +++ b/docs/data/documentation/deeplink/getting-started-with-deeplinking.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"content","content":[{"anchor":"Overview","level":2,"type":"heading","text":"Overview"},{"anchor":"What-is-deeplinking","level":3,"type":"heading","text":"What is deeplinking?"},{"type":"paragraph","inlineContent":[{"type":"reference","isActive":true,"identifier":"https:\/\/branch.io\/what-is-deep-linking\/"},{"type":"text","text":" are URLs that point to the content inside an app. If you want to share a pair of shoes from Amazon with a friend, you can send a deep link that brings your friend directly to those shoes in the Amazon app."},{"type":"text","text":" "},{"type":"text","text":"Without a deep link, your friend would have to find the Amazon app on the App Store or Play Store, open the app to the homepage, locate the Search function, and then try to find the same pair of shoes you found."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"This package provides the tools to define a specific deeplink template, pattern match a URL with a deeplink template, and parse the information contained in the URL into an object."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"It does the parsing so you don’t have to!"}]},{"anchor":"Using-this-library","level":3,"type":"heading","text":"Using this library"},{"type":"paragraph","inlineContent":[{"type":"text","text":"Follow the shiny new DocC tutorial: "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/tutorials\/Table-of-Contents"},{"type":"text","text":"!"}]},{"anchor":"Installing","level":3,"type":"heading","text":"Installing"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The library only supports the Swift Package Manager."},{"type":"text","text":" "},{"type":"text","text":"To install "},{"type":"codeVoice","code":"Deeplink"},{"type":"text","text":" for use in an app, command-line tool, or server-side application, add Deeplink as a dependency to your "},{"type":"codeVoice","code":"Package.swift"},{"type":"text","text":" file. For more information, please see the "},{"type":"reference","isActive":true,"identifier":"https:\/\/github.com\/apple\/swift-package-manager\/tree\/master\/Documentation"},{"type":"text","text":"."}]},{"type":"codeListing","syntax":"swift","code":[".package(url: \"https:\/\/github.com\/TizianoCoroneo\/Deeplink\", from: \"0.1.0\")"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/deeplink\/getting-started-with-deeplinking"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/Getting-started-with-Deeplinking","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"From 0 to "},{"type":"codeVoice","code":"\/hero"},{"type":"text","text":"."}],"kind":"article","metadata":{"roleHeading":"Article","title":"Getting started with Deeplinking","role":"article","modules":[{"name":"Deeplink"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink"]]},"seeAlsoSections":[{"title":"Essentials","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"],"generated":true}],"references":{"https://branch.io/what-is-deep-linking/":{"title":"Mobile apps’ deep links","titleInlineContent":[{"type":"text","text":"Mobile apps’ deep links"}],"type":"link","identifier":"https:\/\/branch.io\/what-is-deep-linking\/","url":"https:\/\/branch.io\/what-is-deep-linking\/"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"role":"symbol","title":"Deeplink","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"abstract":[{"type":"text","text":"An "},{"type":"codeVoice","code":"enum"},{"type":"text","text":" that represents a deeplink template."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Deeplink"}],"url":"\/documentation\/deeplink\/deeplink"},"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"},"doc://Deeplink/tutorials/Table-of-Contents":{"role":"overview","title":"🎣 All about Deeplinks","abstract":[{"type":"text","text":"These tutorials will explain how to add deeplinks to your app, and how to manage more complex situations like overlapping deeplink templates or choosing at runtime whether to match a URL or not."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Table-of-Contents","kind":"overview","type":"topic","url":"\/tutorials\/table-of-contents"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"role":"symbol","title":"DeeplinksCenter","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinksCenter"}],"abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinksCenter"}],"url":"\/documentation\/deeplink\/deeplinkscenter"},"https://github.com/apple/swift-package-manager/tree/master/Documentation":{"title":"Swift Package Manager documentation","titleInlineContent":[{"type":"text","text":"Swift Package Manager documentation"}],"type":"link","identifier":"https:\/\/github.com\/apple\/swift-package-manager\/tree\/master\/Documentation","url":"https:\/\/github.com\/apple\/swift-package-manager\/tree\/master\/Documentation"}}} \ No newline at end of file +{"kind":"article","metadata":{"roleHeading":"Article","role":"article","title":"Getting started with Deeplinking","modules":[{"name":"Deeplink"}]},"schemaVersion":{"major":0,"minor":3,"patch":0},"abstract":[{"type":"text","text":"From 0 to "},{"type":"codeVoice","code":"\/hero"},{"text":".","type":"text"}],"sections":[],"primaryContentSections":[{"content":[{"type":"heading","anchor":"Overview","level":2,"text":"Overview"},{"anchor":"What-is-deeplinking","type":"heading","level":3,"text":"What is deeplinking?"},{"type":"paragraph","inlineContent":[{"type":"reference","isActive":true,"identifier":"https:\/\/branch.io\/what-is-deep-linking\/"},{"type":"text","text":" are URLs that point to the content inside an app. If you want to share a pair of shoes from Amazon with a friend, you can send a deep link that brings your friend directly to those shoes in the Amazon app."},{"type":"text","text":" "},{"text":"Without a deep link, your friend would have to find the Amazon app on the App Store or Play Store, open the app to the homepage, locate the Search function, and then try to find the same pair of shoes you found.","type":"text"}]},{"type":"paragraph","inlineContent":[{"text":"This package provides the tools to define a specific deeplink template, pattern match a URL with a deeplink template, and parse the information contained in the URL into an object.","type":"text"}]},{"inlineContent":[{"type":"text","text":"It does the parsing so you don’t have to!"}],"type":"paragraph"},{"anchor":"Using-this-library","type":"heading","level":3,"text":"Using this library"},{"type":"paragraph","inlineContent":[{"type":"text","text":"Follow the shiny new DocC tutorial: "},{"identifier":"doc:\/\/Deeplink\/tutorials\/Table-of-Contents","type":"reference","isActive":true},{"text":"!","type":"text"}]},{"text":"Installing","level":3,"type":"heading","anchor":"Installing"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The library only supports the Swift Package Manager."},{"type":"text","text":" "},{"type":"text","text":"To install "},{"code":"Deeplink","type":"codeVoice"},{"type":"text","text":" for use in an app, command-line tool, or server-side application, add Deeplink as a dependency to your "},{"type":"codeVoice","code":"Package.swift"},{"type":"text","text":" file. For more information, please see the "},{"type":"reference","identifier":"https:\/\/github.com\/apple\/swift-package-manager\/tree\/master\/Documentation","isActive":true},{"type":"text","text":"."}]},{"syntax":"swift","type":"codeListing","code":[".package(url: \"https:\/\/github.com\/TizianoCoroneo\/Deeplink\", from: \"0.1.0\")"]}],"kind":"content"}],"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink"]]},"variants":[{"paths":["\/documentation\/deeplink\/getting-started-with-deeplinking"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/Deeplink\/documentation\/Deeplink\/Getting-started-with-Deeplinking"},"seeAlsoSections":[{"title":"Essentials","generated":true,"identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"]}],"references":{"https://github.com/apple/swift-package-manager/tree/master/Documentation":{"identifier":"https:\/\/github.com\/apple\/swift-package-manager\/tree\/master\/Documentation","title":"Swift Package Manager documentation","type":"link","titleInlineContent":[{"type":"text","text":"Swift Package Manager documentation"}],"url":"https:\/\/github.com\/apple\/swift-package-manager\/tree\/master\/Documentation"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"url":"\/documentation\/deeplink\/deeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","navigatorTitle":[{"text":"Deeplink","kind":"identifier"}],"abstract":[{"type":"text","text":"An "},{"code":"enum","type":"codeVoice"},{"text":" that represents a deeplink template.","type":"text"}],"title":"Deeplink","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"type":"topic"},"https://branch.io/what-is-deep-linking/":{"identifier":"https:\/\/branch.io\/what-is-deep-linking\/","title":"Mobile apps’ deep links","titleInlineContent":[{"type":"text","text":"Mobile apps’ deep links"}],"url":"https:\/\/branch.io\/what-is-deep-linking\/","type":"link"},"doc://Deeplink/tutorials/Table-of-Contents":{"identifier":"doc:\/\/Deeplink\/tutorials\/Table-of-Contents","abstract":[{"text":"These tutorials will explain how to add deeplinks to your app, and how to manage more complex situations like overlapping deeplink templates or choosing at runtime whether to match a URL or not.","type":"text"}],"title":"🎣 All about Deeplinks","role":"overview","kind":"overview","url":"\/tutorials\/table-of-contents","type":"topic"},"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinksCenter"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","navigatorTitle":[{"text":"DeeplinksCenter","kind":"identifier"}],"role":"symbol","title":"DeeplinksCenter","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkscenter","type":"topic","abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}]}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/sampledeeplink.json b/docs/data/documentation/deeplink/sampledeeplink.json index 8fc3761..9826c34 100644 --- a/docs/data/documentation/deeplink/sampledeeplink.json +++ b/docs/data/documentation/deeplink/sampledeeplink.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"SampleDeeplink"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"Value"},{"kind":"text","text":">"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"overview","level":2,"type":"heading","text":"Overview"},{"type":"paragraph","inlineContent":[{"type":"text","text":"When you register deeplink templates in your "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"},{"type":"text","text":" you need to check that no other template matches your new deeplink before it. This is because the registered deeplinks are evaluated in order of registration, and the first one that matches stops the process. Checking manually is very difficult once you have a substantial number of deeplink registrations."},{"type":"text","text":" "},{"type":"text","text":"An example is the following:"}]},{"type":"codeListing","syntax":"swift","code":["let templateA = \"\/test\/a\" as Deeplink","let templateB = \"\/test\/a\/b\" as Deeplink"]},{"type":"paragraph","inlineContent":[{"type":"text","text":"If these two links are registered in the order "},{"type":"codeVoice","code":"A, B"},{"type":"text","text":" in your "},{"type":"codeVoice","code":"DeeplinkCenter"},{"type":"text","text":", then the pattern for "},{"type":"codeVoice","code":"A"},{"type":"text","text":" will always match links that more closely resemble "},{"type":"codeVoice","code":"templateB"},{"type":"text","text":"."},{"type":"text","text":" "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink"},{"type":"text","text":" lets you write unit tests to verify that no one of your previous deeplinks are overridden by any new deeplink you’re adding. You can write a unit test to verify a deeplink like this:"}]},{"type":"codeListing","syntax":"swift","code":["func testMyDeeplink() throws {"," let sample = SampleDeeplink("," deeplinkTemplate: \"\/my-deeplink\/\\(\\.id)\/hello\" as Deeplink,"," urlToParse: \"https:\/\/apple.com\/my-deeplink\/123\/hello\","," assigningToInstance: .init(),"," expectation: { self.expectation(description: \"Should call completion\").fulfill() },"," assertions: {"," XCTAssertEqual($0.id, \"123\")"," }"," )",""," try deeplinkCenter.testSampleDeeplink(sample)",""," waitForExpectations(timeout: 0.1, handler: nil)","}"]},{"type":"paragraph","inlineContent":[{"type":"text","text":"This test will try to pass the provided "},{"type":"codeVoice","code":"urlToParse"},{"type":"text","text":" to your "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"},{"type":"text","text":" instance, it will expect the registration corresponding to your template to be successfully executed, and it provides a closure where you can assert that the parameters were parsed correctly."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"It is best to always write one unit test using "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink"},{"type":"text","text":" for each of your registration."}]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/deeplink\/sampledeeplink"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"You can use a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink"},{"type":"text","text":" to create unit tests that verify that the order of registrations of deeplinks in your "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"},{"type":"text","text":" is sound, and no template stops another from being detected."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"SampleDeeplink"}],"title":"SampleDeeplink","roleHeading":"Structure","role":"symbol","symbolKind":"struct","externalID":"s:8Deeplink06SampleA0V","modules":[{"name":"Deeplink"}],"navigatorTitle":[{"kind":"identifier","text":"SampleDeeplink"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink"]]},"topicSections":[{"title":"Initializers","identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink\/init(deeplinkTemplate:urlToParse:assigningToInstance:expectation:assertions:)","doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink\/init(deeplinkTemplate:urlToParse:expectation:)"]}],"references":{"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"role":"symbol","title":"DeeplinksCenter","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinksCenter"}],"abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinksCenter"}],"url":"\/documentation\/deeplink\/deeplinkscenter"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/testSampleDeeplink(_:)":{"role":"symbol","title":"testSampleDeeplink(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"testSampleDeeplink"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"Value"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"SampleDeeplink","preciseIdentifier":"s:8Deeplink06SampleA0V"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">) "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Pass a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink"},{"type":"text","text":" instance to this function to perform a deeplink registration unit test."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/testSampleDeeplink(_:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkscenter\/testsampledeeplink(_:)"},"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"},"doc://Deeplink/documentation/Deeplink/SampleDeeplink/init(deeplinkTemplate:urlToParse:assigningToInstance:expectation:assertions:)":{"role":"symbol","title":"init(deeplinkTemplate:urlToParse:assigningToInstance:expectation:assertions:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"deeplinkTemplate"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">, "},{"kind":"externalParam","text":"urlToParse"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"assigningToInstance"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":", "},{"kind":"externalParam","text":"expectation"},{"kind":"text","text":": () -> "},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":", "},{"kind":"externalParam","text":"assertions"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Create a new "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink"},{"type":"text","text":" to be tested within your "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"},{"type":"text","text":" using the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/testSampleDeeplink(_:)"},{"type":"text","text":" method."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink\/init(deeplinkTemplate:urlToParse:assigningToInstance:expectation:assertions:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/sampledeeplink\/init(deeplinktemplate:urltoparse:assigningtoinstance:expectation:assertions:)"},"doc://Deeplink/documentation/Deeplink/SampleDeeplink":{"role":"symbol","title":"SampleDeeplink","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"SampleDeeplink"}],"abstract":[{"type":"text","text":"You can use a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink"},{"type":"text","text":" to create unit tests that verify that the order of registrations of deeplinks in your "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"},{"type":"text","text":" is sound, and no template stops another from being detected."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SampleDeeplink"}],"url":"\/documentation\/deeplink\/sampledeeplink"},"doc://Deeplink/documentation/Deeplink/SampleDeeplink/init(deeplinkTemplate:urlToParse:expectation:)":{"conformance":{"constraints":[{"type":"codeVoice","code":"Value"},{"type":"text","text":" is "},{"type":"codeVoice","code":"()"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"init(deeplinkTemplate:urlToParse:expectation:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"deeplinkTemplate"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">, "},{"kind":"externalParam","text":"urlToParse"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"expectation"},{"kind":"text","text":": () -> "},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Create a new "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink"},{"type":"text","text":" to be tested within your "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"},{"type":"text","text":" using the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/testSampleDeeplink(_:)"},{"type":"text","text":" method."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink\/init(deeplinkTemplate:urlToParse:expectation:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/sampledeeplink\/init(deeplinktemplate:urltoparse:expectation:)"}}} \ No newline at end of file +{"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink"]]},"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SampleDeeplink"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"Value"},{"text":">","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"text":"Overview","level":2,"type":"heading","anchor":"overview"},{"type":"paragraph","inlineContent":[{"type":"text","text":"When you register deeplink templates in your "},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","type":"reference","isActive":true},{"text":" you need to check that no other template matches your new deeplink before it. This is because the registered deeplinks are evaluated in order of registration, and the first one that matches stops the process. Checking manually is very difficult once you have a substantial number of deeplink registrations.","type":"text"},{"type":"text","text":" "},{"text":"An example is the following:","type":"text"}]},{"syntax":"swift","code":["let templateA = \"\/test\/a\" as Deeplink","let templateB = \"\/test\/a\/b\" as Deeplink"],"type":"codeListing"},{"inlineContent":[{"type":"text","text":"If these two links are registered in the order "},{"type":"codeVoice","code":"A, B"},{"type":"text","text":" in your "},{"code":"DeeplinkCenter","type":"codeVoice"},{"text":", then the pattern for ","type":"text"},{"type":"codeVoice","code":"A"},{"type":"text","text":" will always match links that more closely resemble "},{"code":"templateB","type":"codeVoice"},{"type":"text","text":"."},{"type":"text","text":" "},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink","isActive":true,"type":"reference"},{"type":"text","text":" lets you write unit tests to verify that no one of your previous deeplinks are overridden by any new deeplink you’re adding. You can write a unit test to verify a deeplink like this:"}],"type":"paragraph"},{"syntax":"swift","type":"codeListing","code":["func testMyDeeplink() throws {"," let sample = SampleDeeplink("," deeplinkTemplate: \"\/my-deeplink\/\\(\\.id)\/hello\" as Deeplink,"," urlToParse: \"https:\/\/apple.com\/my-deeplink\/123\/hello\","," assigningToInstance: .init(),"," expectation: { self.expectation(description: \"Should call completion\").fulfill() },"," assertions: {"," XCTAssertEqual($0.id, \"123\")"," }"," )",""," try deeplinkCenter.testSampleDeeplink(sample)",""," waitForExpectations(timeout: 0.1, handler: nil)","}"]},{"type":"paragraph","inlineContent":[{"type":"text","text":"This test will try to pass the provided "},{"type":"codeVoice","code":"urlToParse"},{"type":"text","text":" to your "},{"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","isActive":true},{"text":" instance, it will expect the registration corresponding to your template to be successfully executed, and it provides a closure where you can assert that the parameters were parsed correctly.","type":"text"}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"It is best to always write one unit test using "},{"isActive":true,"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink"},{"text":" for each of your registration.","type":"text"}]}]}],"schemaVersion":{"patch":0,"major":0,"minor":3},"sections":[],"abstract":[{"text":"You can use a ","type":"text"},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink","isActive":true,"type":"reference"},{"text":" to create unit tests that verify that the order of registrations of deeplinks in your ","type":"text"},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"},{"text":" is sound, and no template stops another from being detected.","type":"text"}],"topicSections":[{"identifiers":["doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink\/init(deeplinkTemplate:urlToParse:assigningToInstance:expectation:assertions:)","doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink\/init(deeplinkTemplate:urlToParse:expectation:)"],"title":"Initializers"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/deeplink\/sampledeeplink"]}],"metadata":{"navigatorTitle":[{"kind":"identifier","text":"SampleDeeplink"}],"modules":[{"name":"Deeplink"}],"title":"SampleDeeplink","role":"symbol","externalID":"s:8Deeplink06SampleA0V","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"SampleDeeplink","kind":"identifier"}],"symbolKind":"struct","roleHeading":"Structure"},"references":{"doc://Deeplink/documentation/Deeplink/SampleDeeplink/init(deeplinkTemplate:urlToParse:assigningToInstance:expectation:assertions:)":{"fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"deeplinkTemplate"},{"kind":"text","text":": "},{"preciseIdentifier":"s:8DeeplinkAAO","text":"Deeplink","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"text":"Value","kind":"typeIdentifier"},{"kind":"text","text":">, "},{"text":"urlToParse","kind":"externalParam"},{"kind":"text","text":": "},{"text":"URL","preciseIdentifier":"s:10Foundation3URLV","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"assigningToInstance","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Value","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"expectation"},{"text":": () -> ","kind":"text"},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":", "},{"text":"assertions","kind":"externalParam"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","text":"Value"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4Voida","text":"Void"},{"text":")","kind":"text"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink\/init(deeplinkTemplate:urlToParse:assigningToInstance:expectation:assertions:)","abstract":[{"type":"text","text":"Create a new "},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink","type":"reference","isActive":true},{"text":" to be tested within your ","type":"text"},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","isActive":true,"type":"reference"},{"text":" using the ","type":"text"},{"isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/testSampleDeeplink(_:)","type":"reference"},{"type":"text","text":" method."}],"title":"init(deeplinkTemplate:urlToParse:assigningToInstance:expectation:assertions:)","type":"topic","kind":"symbol","url":"\/documentation\/deeplink\/sampledeeplink\/init(deeplinktemplate:urltoparse:assigningtoinstance:expectation:assertions:)","role":"symbol"},"doc://Deeplink/documentation/Deeplink/SampleDeeplink/init(deeplinkTemplate:urlToParse:expectation:)":{"fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"text":"deeplinkTemplate","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"text":"Value","kind":"typeIdentifier"},{"text":">, ","kind":"text"},{"text":"urlToParse","kind":"externalParam"},{"kind":"text","text":": "},{"text":"URL","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"text":"expectation","kind":"externalParam"},{"text":": () -> ","kind":"text"},{"text":"Void","kind":"typeIdentifier","preciseIdentifier":"s:s4Voida"},{"text":")","kind":"text"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink\/init(deeplinkTemplate:urlToParse:expectation:)","abstract":[{"text":"Create a new ","type":"text"},{"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink","isActive":true},{"type":"text","text":" to be tested within your "},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","type":"reference","isActive":true},{"text":" using the ","type":"text"},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/testSampleDeeplink(_:)","isActive":true,"type":"reference"},{"text":" method.","type":"text"}],"title":"init(deeplinkTemplate:urlToParse:expectation:)","type":"topic","kind":"symbol","conformance":{"constraints":[{"type":"codeVoice","code":"Value"},{"text":" is ","type":"text"},{"code":"()","type":"codeVoice"},{"type":"text","text":"."}],"conformancePrefix":[{"type":"text","text":"Conforms when"}],"availabilityPrefix":[{"type":"text","text":"Available when"}]},"url":"\/documentation\/deeplink\/sampledeeplink\/init(deeplinktemplate:urltoparse:expectation:)","role":"symbol"},"doc://Deeplink/documentation/Deeplink/SampleDeeplink":{"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"SampleDeeplink","kind":"identifier"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink","abstract":[{"text":"You can use a ","type":"text"},{"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink","isActive":true},{"type":"text","text":" to create unit tests that verify that the order of registrations of deeplinks in your "},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","type":"reference","isActive":true},{"text":" is sound, and no template stops another from being detected.","type":"text"}],"title":"SampleDeeplink","type":"topic","kind":"symbol","url":"\/documentation\/deeplink\/sampledeeplink","navigatorTitle":[{"kind":"identifier","text":"SampleDeeplink"}],"role":"symbol"},"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinksCenter"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","navigatorTitle":[{"text":"DeeplinksCenter","kind":"identifier"}],"role":"symbol","title":"DeeplinksCenter","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkscenter","type":"topic","abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}]},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/testSampleDeeplink(_:)":{"fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"testSampleDeeplink"},{"text":"<","kind":"text"},{"text":"Value","kind":"genericParameter"},{"kind":"text","text":">("},{"text":"SampleDeeplink","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink06SampleA0V"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">) "},{"text":"throws","kind":"keyword"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/testSampleDeeplink(_:)","abstract":[{"text":"Pass a ","type":"text"},{"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink","isActive":true},{"type":"text","text":" instance to this function to perform a deeplink registration unit test."}],"title":"testSampleDeeplink(_:)","type":"topic","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkscenter\/testsampledeeplink(_:)","role":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/sampledeeplink/init(deeplinktemplate:urltoparse:assigningtoinstance:expectation:assertions:).json b/docs/data/documentation/deeplink/sampledeeplink/init(deeplinktemplate:urltoparse:assigningtoinstance:expectation:assertions:).json index e6e9aba..9823e9a 100644 --- a/docs/data/documentation/deeplink/sampledeeplink/init(deeplinktemplate:urltoparse:assigningtoinstance:expectation:assertions:).json +++ b/docs/data/documentation/deeplink/sampledeeplink/init(deeplinktemplate:urltoparse:assigningtoinstance:expectation:assertions:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"deeplinkTemplate"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","preciseIdentifier":"s:8DeeplinkAAO","text":"Deeplink"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">, "},{"kind":"externalParam","text":"urlToParse"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"assigningToInstance"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":", "},{"kind":"externalParam","text":"expectation"},{"kind":"text","text":": "},{"kind":"keyword","text":"@escaping"},{"kind":"text","text":" () -> "},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":", "},{"kind":"externalParam","text":"assertions"},{"kind":"text","text":": "},{"kind":"keyword","text":"@escaping"},{"kind":"text","text":" ("},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":")"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"deeplinkTemplate","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The deeplink template that you want to test. It is recommended to pass the exact same template instance that you use in your "},{"type":"codeVoice","code":"DeeplinkCenter"},{"type":"text","text":" to avoid having to manually keep them in sync."}]}]},{"name":"urlToParse","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The test URL that you want to use for testing."}]}]},{"name":"assigningToInstance","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The instance of the object to which assign the values of the parsed parameters."}]}]},{"name":"expectation","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A closure where you should declare an expectation to fulfill, using "},{"type":"codeVoice","code":"XCTestCase.expectation(description:)"},{"type":"text","text":"."}]}]},{"name":"assertions","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A closure that you can use to verify the correctness of the parsed parameters."}]}]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/deeplink\/sampledeeplink\/init(deeplinktemplate:urltoparse:assigningtoinstance:expectation:assertions:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink\/init(deeplinkTemplate:urlToParse:assigningToInstance:expectation:assertions:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Create a new "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink"},{"type":"text","text":" to be tested within your "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"},{"type":"text","text":" using the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/testSampleDeeplink(_:)"},{"type":"text","text":" method."}],"kind":"symbol","metadata":{"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"deeplinkTemplate"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">, "},{"kind":"externalParam","text":"urlToParse"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"assigningToInstance"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":", "},{"kind":"externalParam","text":"expectation"},{"kind":"text","text":": () -> "},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":", "},{"kind":"externalParam","text":"assertions"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":")"}],"title":"init(deeplinkTemplate:urlToParse:assigningToInstance:expectation:assertions:)","roleHeading":"Initializer","role":"symbol","symbolKind":"init","externalID":"s:8Deeplink06SampleA0V16deeplinkTemplate10urlToParse09assigningF8Instance11expectation10assertionsACyxGA2AOyxG_10Foundation3URLVxyycyxctcfc","modules":[{"name":"Deeplink"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink"]]},"references":{"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/testSampleDeeplink(_:)":{"role":"symbol","title":"testSampleDeeplink(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"testSampleDeeplink"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"Value"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"SampleDeeplink","preciseIdentifier":"s:8Deeplink06SampleA0V"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">) "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Pass a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink"},{"type":"text","text":" instance to this function to perform a deeplink registration unit test."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/testSampleDeeplink(_:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkscenter\/testsampledeeplink(_:)"},"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"},"doc://Deeplink/documentation/Deeplink/SampleDeeplink":{"role":"symbol","title":"SampleDeeplink","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"SampleDeeplink"}],"abstract":[{"type":"text","text":"You can use a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink"},{"type":"text","text":" to create unit tests that verify that the order of registrations of deeplinks in your "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"},{"type":"text","text":" is sound, and no template stops another from being detected."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SampleDeeplink"}],"url":"\/documentation\/deeplink\/sampledeeplink"},"doc://Deeplink/documentation/Deeplink/SampleDeeplink/init(deeplinkTemplate:urlToParse:assigningToInstance:expectation:assertions:)":{"role":"symbol","title":"init(deeplinkTemplate:urlToParse:assigningToInstance:expectation:assertions:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"deeplinkTemplate"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">, "},{"kind":"externalParam","text":"urlToParse"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"assigningToInstance"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":", "},{"kind":"externalParam","text":"expectation"},{"kind":"text","text":": () -> "},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":", "},{"kind":"externalParam","text":"assertions"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Create a new "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink"},{"type":"text","text":" to be tested within your "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"},{"type":"text","text":" using the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/testSampleDeeplink(_:)"},{"type":"text","text":" method."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink\/init(deeplinkTemplate:urlToParse:assigningToInstance:expectation:assertions:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/sampledeeplink\/init(deeplinktemplate:urltoparse:assigningtoinstance:expectation:assertions:)"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"role":"symbol","title":"Deeplink","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"abstract":[{"type":"text","text":"An "},{"type":"codeVoice","code":"enum"},{"type":"text","text":" that represents a deeplink template."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Deeplink"}],"url":"\/documentation\/deeplink\/deeplink"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"role":"symbol","title":"DeeplinksCenter","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinksCenter"}],"abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinksCenter"}],"url":"\/documentation\/deeplink\/deeplinkscenter"}}} \ No newline at end of file +{"kind":"symbol","metadata":{"role":"symbol","externalID":"s:8Deeplink06SampleA0V16deeplinkTemplate10urlToParse09assigningF8Instance11expectation10assertionsACyxGA2AOyxG_10Foundation3URLVxyycyxctcfc","modules":[{"name":"Deeplink"}],"roleHeading":"Initializer","fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"text":"deeplinkTemplate","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:8DeeplinkAAO","kind":"typeIdentifier","text":"Deeplink"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">, "},{"text":"urlToParse","kind":"externalParam"},{"kind":"text","text":": "},{"text":"URL","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"text":"assigningToInstance","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":", "},{"text":"expectation","kind":"externalParam"},{"kind":"text","text":": () -> "},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"text":", ","kind":"text"},{"text":"assertions","kind":"externalParam"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":") -> "},{"text":"Void","kind":"typeIdentifier","preciseIdentifier":"s:s4Voida"},{"text":")","kind":"text"}],"symbolKind":"init","title":"init(deeplinkTemplate:urlToParse:assigningToInstance:expectation:assertions:)"},"schemaVersion":{"minor":3,"patch":0,"major":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"init","kind":"keyword"},{"kind":"text","text":"("},{"kind":"externalParam","text":"deeplinkTemplate"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","kind":"typeIdentifier","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">, "},{"kind":"externalParam","text":"urlToParse"},{"text":": ","kind":"text"},{"text":"URL","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"assigningToInstance"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Value"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"expectation"},{"text":": ","kind":"text"},{"text":"@escaping","kind":"keyword"},{"text":" () -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4Voida","text":"Void"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"assertions"},{"kind":"text","text":": "},{"text":"@escaping","kind":"keyword"},{"text":" (","kind":"text"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":") -> "},{"text":"Void","kind":"typeIdentifier","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":")"}],"languages":["swift"],"platforms":["macOS"]}]},{"parameters":[{"name":"deeplinkTemplate","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The deeplink template that you want to test. It is recommended to pass the exact same template instance that you use in your "},{"code":"DeeplinkCenter","type":"codeVoice"},{"type":"text","text":" to avoid having to manually keep them in sync."}]}]},{"name":"urlToParse","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The test URL that you want to use for testing."}]}]},{"name":"assigningToInstance","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The instance of the object to which assign the values of the parsed parameters."}]}]},{"name":"expectation","content":[{"inlineContent":[{"type":"text","text":"A closure where you should declare an expectation to fulfill, using "},{"type":"codeVoice","code":"XCTestCase.expectation(description:)"},{"type":"text","text":"."}],"type":"paragraph"}]},{"name":"assertions","content":[{"type":"paragraph","inlineContent":[{"text":"A closure that you can use to verify the correctness of the parsed parameters.","type":"text"}]}]}],"kind":"parameters"}],"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink"]]},"sections":[],"abstract":[{"text":"Create a new ","type":"text"},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink","type":"reference","isActive":true},{"text":" to be tested within your ","type":"text"},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","isActive":true,"type":"reference"},{"type":"text","text":" using the "},{"isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/testSampleDeeplink(_:)","type":"reference"},{"type":"text","text":" method."}],"variants":[{"paths":["\/documentation\/deeplink\/sampledeeplink\/init(deeplinktemplate:urltoparse:assigningtoinstance:expectation:assertions:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink\/init(deeplinkTemplate:urlToParse:assigningToInstance:expectation:assertions:)"},"references":{"doc://Deeplink/documentation/Deeplink/SampleDeeplink/init(deeplinkTemplate:urlToParse:assigningToInstance:expectation:assertions:)":{"fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"deeplinkTemplate"},{"kind":"text","text":": "},{"preciseIdentifier":"s:8DeeplinkAAO","text":"Deeplink","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"text":"Value","kind":"typeIdentifier"},{"kind":"text","text":">, "},{"text":"urlToParse","kind":"externalParam"},{"kind":"text","text":": "},{"text":"URL","preciseIdentifier":"s:10Foundation3URLV","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"assigningToInstance","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Value","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"expectation"},{"text":": () -> ","kind":"text"},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":", "},{"text":"assertions","kind":"externalParam"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","text":"Value"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4Voida","text":"Void"},{"text":")","kind":"text"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink\/init(deeplinkTemplate:urlToParse:assigningToInstance:expectation:assertions:)","abstract":[{"type":"text","text":"Create a new "},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink","type":"reference","isActive":true},{"text":" to be tested within your ","type":"text"},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","isActive":true,"type":"reference"},{"text":" using the ","type":"text"},{"isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/testSampleDeeplink(_:)","type":"reference"},{"type":"text","text":" method."}],"title":"init(deeplinkTemplate:urlToParse:assigningToInstance:expectation:assertions:)","type":"topic","kind":"symbol","url":"\/documentation\/deeplink\/sampledeeplink\/init(deeplinktemplate:urltoparse:assigningtoinstance:expectation:assertions:)","role":"symbol"},"doc://Deeplink/documentation/Deeplink/SampleDeeplink":{"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"SampleDeeplink","kind":"identifier"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink","abstract":[{"text":"You can use a ","type":"text"},{"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink","isActive":true},{"type":"text","text":" to create unit tests that verify that the order of registrations of deeplinks in your "},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","type":"reference","isActive":true},{"text":" is sound, and no template stops another from being detected.","type":"text"}],"title":"SampleDeeplink","type":"topic","kind":"symbol","url":"\/documentation\/deeplink\/sampledeeplink","navigatorTitle":[{"kind":"identifier","text":"SampleDeeplink"}],"role":"symbol"},"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/testSampleDeeplink(_:)":{"fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"testSampleDeeplink"},{"text":"<","kind":"text"},{"text":"Value","kind":"genericParameter"},{"kind":"text","text":">("},{"text":"SampleDeeplink","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink06SampleA0V"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">) "},{"text":"throws","kind":"keyword"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/testSampleDeeplink(_:)","abstract":[{"text":"Pass a ","type":"text"},{"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink","isActive":true},{"type":"text","text":" instance to this function to perform a deeplink registration unit test."}],"title":"testSampleDeeplink(_:)","type":"topic","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkscenter\/testsampledeeplink(_:)","role":"symbol"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinksCenter"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","navigatorTitle":[{"text":"DeeplinksCenter","kind":"identifier"}],"role":"symbol","title":"DeeplinksCenter","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkscenter","type":"topic","abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}]},"doc://Deeplink/documentation/Deeplink/Deeplink":{"url":"\/documentation\/deeplink\/deeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","navigatorTitle":[{"text":"Deeplink","kind":"identifier"}],"abstract":[{"type":"text","text":"An "},{"code":"enum","type":"codeVoice"},{"text":" that represents a deeplink template.","type":"text"}],"title":"Deeplink","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/deeplink/sampledeeplink/init(deeplinktemplate:urltoparse:expectation:).json b/docs/data/documentation/deeplink/sampledeeplink/init(deeplinktemplate:urltoparse:expectation:).json index 583436d..493e345 100644 --- a/docs/data/documentation/deeplink/sampledeeplink/init(deeplinktemplate:urltoparse:expectation:).json +++ b/docs/data/documentation/deeplink/sampledeeplink/init(deeplinktemplate:urltoparse:expectation:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"deeplinkTemplate"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","preciseIdentifier":"s:8DeeplinkAAO","text":"Deeplink"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">, "},{"kind":"externalParam","text":"urlToParse"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"expectation"},{"kind":"text","text":": "},{"kind":"keyword","text":"@escaping"},{"kind":"text","text":" () -> "},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":")"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"deeplinkTemplate","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The deeplink template that you want to test. It is recommended to pass the exact same template instance that you use in your "},{"type":"codeVoice","code":"DeeplinkCenter"},{"type":"text","text":" to avoid having to manually keep them in sync."}]}]},{"name":"urlToParse","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The test URL that you want to use for testing."}]}]},{"name":"expectation","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A closure where you should declare an expectation to fulfill, using "},{"type":"codeVoice","code":"XCTestCase.expectation(description:)"},{"type":"text","text":"."}]}]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/deeplink\/sampledeeplink\/init(deeplinktemplate:urltoparse:expectation:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink\/init(deeplinkTemplate:urlToParse:expectation:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Create a new "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink"},{"type":"text","text":" to be tested within your "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"},{"type":"text","text":" using the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/testSampleDeeplink(_:)"},{"type":"text","text":" method."}],"kind":"symbol","metadata":{"conformance":{"constraints":[{"type":"codeVoice","code":"Value"},{"type":"text","text":" is "},{"type":"codeVoice","code":"()"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"init(deeplinkTemplate:urlToParse:expectation:)","roleHeading":"Initializer","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"deeplinkTemplate"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">, "},{"kind":"externalParam","text":"urlToParse"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"expectation"},{"kind":"text","text":": () -> "},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":")"}],"symbolKind":"init","externalID":"s:8Deeplink06SampleA0VAAytRszlE16deeplinkTemplate10urlToParse11expectationACyytGA2AOyytG_10Foundation3URLVyyctcfc","extendedModule":"Deeplink","modules":[{"name":"Deeplink"}]},"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink"]]},"references":{"doc://Deeplink/documentation/Deeplink/SampleDeeplink/init(deeplinkTemplate:urlToParse:expectation:)":{"conformance":{"constraints":[{"type":"codeVoice","code":"Value"},{"type":"text","text":" is "},{"type":"codeVoice","code":"()"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"init(deeplinkTemplate:urlToParse:expectation:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"deeplinkTemplate"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">, "},{"kind":"externalParam","text":"urlToParse"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"expectation"},{"kind":"text","text":": () -> "},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Create a new "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink"},{"type":"text","text":" to be tested within your "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"},{"type":"text","text":" using the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/testSampleDeeplink(_:)"},{"type":"text","text":" method."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink\/init(deeplinkTemplate:urlToParse:expectation:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/sampledeeplink\/init(deeplinktemplate:urltoparse:expectation:)"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"role":"symbol","title":"DeeplinksCenter","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinksCenter"}],"abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinksCenter"}],"url":"\/documentation\/deeplink\/deeplinkscenter"},"doc://Deeplink/documentation/Deeplink":{"role":"collection","title":"Deeplink","abstract":[{"type":"text","text":"A microlibrary to parse deeplinks and their arguments."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","kind":"symbol","type":"topic","url":"\/documentation\/deeplink"},"doc://Deeplink/documentation/Deeplink/SampleDeeplink":{"role":"symbol","title":"SampleDeeplink","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"SampleDeeplink"}],"abstract":[{"type":"text","text":"You can use a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink"},{"type":"text","text":" to create unit tests that verify that the order of registrations of deeplinks in your "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"},{"type":"text","text":" is sound, and no template stops another from being detected."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SampleDeeplink"}],"url":"\/documentation\/deeplink\/sampledeeplink"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"role":"symbol","title":"Deeplink","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"abstract":[{"type":"text","text":"An "},{"type":"codeVoice","code":"enum"},{"type":"text","text":" that represents a deeplink template."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Deeplink"}],"url":"\/documentation\/deeplink\/deeplink"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/testSampleDeeplink(_:)":{"role":"symbol","title":"testSampleDeeplink(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"testSampleDeeplink"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"Value"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"SampleDeeplink","preciseIdentifier":"s:8Deeplink06SampleA0V"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">) "},{"kind":"keyword","text":"throws"}],"abstract":[{"type":"text","text":"Pass a "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink"},{"type":"text","text":" instance to this function to perform a deeplink registration unit test."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/testSampleDeeplink(_:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkscenter\/testsampledeeplink(_:)"}}} \ No newline at end of file +{"sections":[],"abstract":[{"type":"text","text":"Create a new "},{"isActive":true,"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink"},{"text":" to be tested within your ","type":"text"},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","isActive":true,"type":"reference"},{"type":"text","text":" using the "},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/testSampleDeeplink(_:)","isActive":true,"type":"reference"},{"text":" method.","type":"text"}],"kind":"symbol","metadata":{"symbolKind":"init","roleHeading":"Initializer","extendedModule":"Deeplink","modules":[{"name":"Deeplink"}],"role":"symbol","conformance":{"conformancePrefix":[{"type":"text","text":"Conforms when"}],"availabilityPrefix":[{"text":"Available when","type":"text"}],"constraints":[{"code":"Value","type":"codeVoice"},{"text":" is ","type":"text"},{"type":"codeVoice","code":"()"},{"text":".","type":"text"}]},"fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"deeplinkTemplate"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:8DeeplinkAAO","text":"Deeplink"},{"text":"<","kind":"text"},{"text":"Value","kind":"typeIdentifier"},{"text":">, ","kind":"text"},{"kind":"externalParam","text":"urlToParse"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation3URLV","text":"URL","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"expectation","kind":"externalParam"},{"text":": () -> ","kind":"text"},{"preciseIdentifier":"s:s4Voida","text":"Void","kind":"typeIdentifier"},{"kind":"text","text":")"}],"title":"init(deeplinkTemplate:urlToParse:expectation:)","externalID":"s:8Deeplink06SampleA0VAAytRszlE16deeplinkTemplate10urlToParse11expectationACyytGA2AOyytG_10Foundation3URLVyyctcfc"},"variants":[{"paths":["\/documentation\/deeplink\/sampledeeplink\/init(deeplinktemplate:urltoparse:expectation:)"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"patch":0,"major":0,"minor":3},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink\/init(deeplinkTemplate:urlToParse:expectation:)"},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"init","kind":"keyword"},{"text":"(","kind":"text"},{"text":"deeplinkTemplate","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO","kind":"typeIdentifier","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"},{"text":"<","kind":"text"},{"text":"Value","kind":"typeIdentifier"},{"text":">, ","kind":"text"},{"kind":"externalParam","text":"urlToParse"},{"kind":"text","text":": "},{"text":"URL","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation3URLV"},{"text":", ","kind":"text"},{"text":"expectation","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"keyword","text":"@escaping"},{"text":" () -> ","kind":"text"},{"text":"Void","kind":"typeIdentifier","preciseIdentifier":"s:s4Voida"},{"text":")","kind":"text"}],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"deeplinkTemplate","content":[{"inlineContent":[{"type":"text","text":"The deeplink template that you want to test. It is recommended to pass the exact same template instance that you use in your "},{"type":"codeVoice","code":"DeeplinkCenter"},{"type":"text","text":" to avoid having to manually keep them in sync."}],"type":"paragraph"}]},{"name":"urlToParse","content":[{"type":"paragraph","inlineContent":[{"text":"The test URL that you want to use for testing.","type":"text"}]}]},{"name":"expectation","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A closure where you should declare an expectation to fulfill, using "},{"code":"XCTestCase.expectation(description:)","type":"codeVoice"},{"type":"text","text":"."}]}]}]}],"hierarchy":{"paths":[["doc:\/\/Deeplink\/documentation\/Deeplink","doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink"]]},"references":{"doc://Deeplink/documentation/Deeplink/SampleDeeplink":{"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"SampleDeeplink","kind":"identifier"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink","abstract":[{"text":"You can use a ","type":"text"},{"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink","isActive":true},{"type":"text","text":" to create unit tests that verify that the order of registrations of deeplinks in your "},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","type":"reference","isActive":true},{"text":" is sound, and no template stops another from being detected.","type":"text"}],"title":"SampleDeeplink","type":"topic","kind":"symbol","url":"\/documentation\/deeplink\/sampledeeplink","navigatorTitle":[{"kind":"identifier","text":"SampleDeeplink"}],"role":"symbol"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"url":"\/documentation\/deeplink\/deeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","navigatorTitle":[{"text":"Deeplink","kind":"identifier"}],"abstract":[{"type":"text","text":"An "},{"code":"enum","type":"codeVoice"},{"text":" that represents a deeplink template.","type":"text"}],"title":"Deeplink","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"type":"topic"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/testSampleDeeplink(_:)":{"fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"testSampleDeeplink"},{"text":"<","kind":"text"},{"text":"Value","kind":"genericParameter"},{"kind":"text","text":">("},{"text":"SampleDeeplink","kind":"typeIdentifier","preciseIdentifier":"s:8Deeplink06SampleA0V"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Value"},{"kind":"text","text":">) "},{"text":"throws","kind":"keyword"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/testSampleDeeplink(_:)","abstract":[{"text":"Pass a ","type":"text"},{"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink","isActive":true},{"type":"text","text":" instance to this function to perform a deeplink registration unit test."}],"title":"testSampleDeeplink(_:)","type":"topic","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkscenter\/testsampledeeplink(_:)","role":"symbol"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinksCenter"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","navigatorTitle":[{"text":"DeeplinksCenter","kind":"identifier"}],"role":"symbol","title":"DeeplinksCenter","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkscenter","type":"topic","abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}]},"doc://Deeplink/documentation/Deeplink":{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink","url":"\/documentation\/deeplink","abstract":[{"text":"A microlibrary to parse deeplinks and their arguments.","type":"text"}],"type":"topic","kind":"symbol","title":"Deeplink","role":"collection"},"doc://Deeplink/documentation/Deeplink/SampleDeeplink/init(deeplinkTemplate:urlToParse:expectation:)":{"fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"text":"deeplinkTemplate","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Deeplink","preciseIdentifier":"s:8DeeplinkAAO"},{"kind":"text","text":"<"},{"text":"Value","kind":"typeIdentifier"},{"text":">, ","kind":"text"},{"text":"urlToParse","kind":"externalParam"},{"kind":"text","text":": "},{"text":"URL","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","text":", "},{"text":"expectation","kind":"externalParam"},{"text":": () -> ","kind":"text"},{"text":"Void","kind":"typeIdentifier","preciseIdentifier":"s:s4Voida"},{"text":")","kind":"text"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink\/init(deeplinkTemplate:urlToParse:expectation:)","abstract":[{"text":"Create a new ","type":"text"},{"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/SampleDeeplink","isActive":true},{"type":"text","text":" to be tested within your "},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","type":"reference","isActive":true},{"text":" using the ","type":"text"},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/testSampleDeeplink(_:)","isActive":true,"type":"reference"},{"text":" method.","type":"text"}],"title":"init(deeplinkTemplate:urlToParse:expectation:)","type":"topic","kind":"symbol","conformance":{"constraints":[{"type":"codeVoice","code":"Value"},{"text":" is ","type":"text"},{"code":"()","type":"codeVoice"},{"type":"text","text":"."}],"conformancePrefix":[{"type":"text","text":"Conforms when"}],"availabilityPrefix":[{"type":"text","text":"Available when"}]},"url":"\/documentation\/deeplink\/sampledeeplink\/init(deeplinktemplate:urltoparse:expectation:)","role":"symbol"}}} \ No newline at end of file diff --git a/docs/data/tutorials/deeplink/adding-a-deeplink.json b/docs/data/tutorials/deeplink/adding-a-deeplink.json index 5fe2ee3..6a5898d 100644 --- a/docs/data/tutorials/deeplink/adding-a-deeplink.json +++ b/docs/data/tutorials/deeplink/adding-a-deeplink.json @@ -1 +1 @@ -{"variants":[{"paths":["\/tutorials\/deeplink\/adding-a-deeplink"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[{"kind":"hero","title":"Adding Deeplinks","chapter":"Using the library","estimatedTimeInMinutes":10,"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"This tutorial will explain how to add deeplinks to your app and how to handle overlapping deeplink templates."}]}]},{"kind":"tasks","tasks":[{"anchor":"Adding-one-deeplink","title":"Adding one deeplink","contentSection":[{"kind":"fullWidth","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"We’ll start by adding a single deeplink: a link to view a product page."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"The link we want to support looks like this: "},{"type":"codeVoice","code":"https:\/\/example.com\/product\/123"},{"type":"text","text":"."}]}]}],"stepsSection":[{"code":"AddingADeeplink 1.swift","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Define the data you want to extract from the deeplink URL."}]}],"caption":[{"type":"paragraph","inlineContent":[{"type":"text","text":"In our case, we want to get the "},{"type":"codeVoice","code":"productId"},{"type":"text","text":", so that we can fetch the informations for that product from the server and display the product page. You should declare your properties as optionals. The reason will become clear later 😇"}]}],"type":"step","runtimePreview":null,"media":null},{"code":"AddingADeeplink 2.swift","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Define a template that describes how to parse the deeplink."}]}],"caption":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Using Swift’s "},{"type":"codeVoice","code":"String"},{"type":"text","text":" interpolation and "},{"type":"codeVoice","code":"KeyPath"},{"type":"text","text":"s we can define a “Deeplink Template” that tells the system how to parse data from a URL."},{"type":"text","text":" "},{"type":"text","text":"The data present in the URL at the location where the keypath is inserted will be assigned to the property indicated by the keypath."}]}],"type":"step","runtimePreview":null,"media":null},{"code":"AddingADeeplink 3.swift","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Register the template with the notification center."}]}],"caption":[{"type":"paragraph","inlineContent":[{"type":"text","text":"You need to provide 3 things: the deeplink template that you want to eventually parse URLs with, an object where to assign values extracted from the deeplink URL, and a closure to execute if the template finds a successful match."}]}],"type":"step","runtimePreview":null,"media":null},{"code":"AddingADeeplink 4.swift","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Parse a "},{"type":"codeVoice","code":"URL"},{"type":"text","text":" using the "},{"type":"codeVoice","code":"DeeplinksCenter"},{"type":"text","text":"."}]}],"caption":[{"type":"paragraph","inlineContent":[{"type":"text","text":"You can now use the DeeplinksCenter to parse URLs. The center will try all the registered templates in order, running the closure you provide in the registration if the corresponding template matches. Once one closure is run successfully, execution ends."}]}],"type":"step","runtimePreview":null,"media":null}]},{"anchor":"Adding-a-deeplink-that-catches-a-list-of-parameters","title":"Adding a deeplink that catches a list of parameters","contentSection":[{"kind":"fullWidth","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Sometimes, you need to parse a list of parameters of arbitrary length from a link."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"You can use “argument list” interpolation to parse such links."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"The link we want to support looks like this: "},{"type":"codeVoice","code":"https:\/\/example.com\/items?ids=1,2,3,4"},{"type":"text","text":"."}]}]}],"stepsSection":[{"code":"AddingADeeplinkList 1.swift","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Define the data you want to extract from the deeplink URL."}]}],"caption":[{"type":"paragraph","inlineContent":[{"type":"text","text":"In this case, we want to get the "},{"type":"codeVoice","code":"ids"},{"type":"text","text":" of the items, each as a separate argument so that we can handle them separately. As always, you should declare your properties as optionals, so that if you can tell apart arguments that you did not use in the link from empty arguments lists."}]}],"type":"step","runtimePreview":null,"media":null},{"code":"AddingADeeplinkList 2.swift","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Now we need to make a template that describes how to parse the information from a link."}]}],"caption":[{"type":"paragraph","inlineContent":[{"type":"text","text":"This time, we’ll use a keypath to our "},{"type":"codeVoice","code":"[String]"},{"type":"text","text":" property, and pass an additional argument to tell the system what separator should we use to parse the arguments."},{"type":"text","text":" "},{"type":"text","text":"As before, the data present in the URL at the location where the keypath is inserted will be assigned to the property indicated by the keypath; each item in its own String object."}]}],"type":"step","runtimePreview":null,"media":null},{"code":"AddingADeeplinkList 3.swift","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"As usual we register the template with the notification center, and we can now use the center to parse URLs just like before."}]}],"caption":[],"type":"step","runtimePreview":null,"media":null}]},{"anchor":"Adding-more-deeplinks","title":"Adding more deeplinks","contentSection":[{"kind":"fullWidth","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Now let’s add more deeplinks: we’ll add one for opening the Account page and one to open the product detail page."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"The links we want to support are in this format: "},{"type":"codeVoice","code":"https:\/\/example.com\/account"},{"type":"text","text":" and "},{"type":"codeVoice","code":"https:\/\/example.com\/product\/123abc\/detail"}]}]}],"stepsSection":[{"code":"AddingMultipleDeeplinks 1.swift","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Let’s define the data that we want to extract."}]}],"caption":[{"type":"paragraph","inlineContent":[{"type":"text","text":"This time, the account deeplink template has no data to extract: in this case, you can define a "},{"type":"codeVoice","code":"Deeplink"},{"type":"text","text":" and you don’t need to use keypaths or string interpolation. About the product detail, we case reuse the Product struct since we need to extract the same argument."}]}],"type":"step","runtimePreview":null,"media":null},{"code":"AddingMultipleDeeplinks 2.swift","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Now we should register the deeplinks to the center. Let’s do in the same order in which we declared the deeplinks."}]}],"caption":[{"type":"paragraph","inlineContent":[{"type":"text","text":"This implementation has a problem: the registered deeplinks are evaluated in order one at the time until a match is found. Our problem is that the "},{"type":"codeVoice","code":"\/product\/123\/detail"},{"type":"text","text":" route will never be triggered because the template "},{"type":"codeVoice","code":"\/product\/\\(\\.productId)"},{"type":"text","text":" already always matches that route."}]}],"type":"step","runtimePreview":null,"media":null},{"code":"AddingMultipleDeeplinks 3.swift","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The solution is to change the order of the registered templates: the more “specific” a template is, the closer it should be to the center."}]}],"caption":[{"type":"paragraph","inlineContent":[{"type":"text","text":"This way, the more specific “Product Detail” deeplink template is checked before the more generic “Product” deeplink."},{"type":"text","text":" "},{"type":"text","text":"You can use this behavior to do interesting things: for example, a very generic template could behave as “catch-all” behavior for unrecognized deeplink URLs."}]}],"type":"step","runtimePreview":null,"media":null},{"type":"paragraph","inlineContent":[{"type":"text","text":"Now let’s give a look at why the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"},{"type":"text","text":"’s "},{"type":"codeVoice","code":"Value"},{"type":"text","text":" parameters should be optional."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"The reason is that it allows you to tell the difference between an empty parameter and an absent parameter:"}]},{"type":"unorderedList","items":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"if you have a URL like "},{"type":"codeVoice","code":"\/product?query=&price=10"},{"type":"text","text":", the "},{"type":"codeVoice","code":"query"},{"type":"text","text":" parameter is present but empty. A template like "},{"type":"codeVoice","code":"\/product?query=\\(\\.query)"},{"type":"text","text":" will produce a value of "},{"type":"codeVoice","code":"\"\""},{"type":"text","text":" for "},{"type":"codeVoice","code":"query"},{"type":"text","text":", since it is present but empty."}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"the same URL, when parsed by the template "},{"type":"codeVoice","code":"\/product"},{"type":"text","text":", doesn’t assign any value to "},{"type":"codeVoice","code":"\\.query"},{"type":"text","text":", leaving it "},{"type":"codeVoice","code":"nil"},{"type":"text","text":" so that we know that the parameter wasn’t used in the first place."}]}]}]}]}]},{"action":{"overridingTitleInlineContent":[{"type":"text","text":"Get started"}],"isActive":true,"type":"reference","identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Using-a-ResultBuilder","overridingTitle":"Get started"},"featuredEyebrow":"Tutorial","kind":"callToAction","title":"Registering Deeplinks with a ResultBuilder","abstract":[{"type":"text","text":"If you need advanced behaviors, you can also register your "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"},{"type":"text","text":" templates using a "},{"type":"codeVoice","code":"@resultBuilder"},{"type":"text","text":"."}]}],"identifier":{"url":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink","interfaceLanguage":"swift"},"kind":"project","metadata":{"title":"Adding Deeplinks","categoryPathComponent":"Table-of-Contents","role":"project","category":"Documentation"},"hierarchy":{"modules":[{"reference":"doc:\/\/Deeplink\/tutorials\/Table-of-Contents\/Using-the-library","projects":[{"reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink","sections":[{"kind":"task","reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink#Adding-one-deeplink"},{"kind":"task","reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink#Adding-a-deeplink-that-catches-a-list-of-parameters"},{"kind":"task","reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink#Adding-more-deeplinks"}]},{"reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Using-a-ResultBuilder","sections":[{"kind":"task","reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Using-a-ResultBuilder#Implementation"},{"kind":"task","reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Using-a-ResultBuilder#Conditionally-removing-templates"}]},{"reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Advanced-Usage","sections":[{"kind":"task","reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Advanced-Usage#Altering-the-matching-behavior"},{"kind":"task","reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Advanced-Usage#Using-DefaultInitializable"}]}]}],"reference":"doc:\/\/Deeplink\/tutorials\/Table-of-Contents","paths":[["doc:\/\/Deeplink\/tutorials\/Table-of-Contents","doc:\/\/Deeplink\/tutorials\/Table-of-Contents\/$volume","doc:\/\/Deeplink\/tutorials\/Table-of-Contents\/Using-the-library"]]},"references":{"doc://Deeplink/documentation/Deeplink/Deeplink":{"role":"symbol","title":"Deeplink","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"abstract":[{"type":"text","text":"An "},{"type":"codeVoice","code":"enum"},{"type":"text","text":" that represents a deeplink template."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Deeplink"}],"url":"\/documentation\/deeplink\/deeplink"},"doc://Deeplink/tutorials/Table-of-Contents/Using-the-library":{"role":"article","title":"Using the library","abstract":[],"identifier":"doc:\/\/Deeplink\/tutorials\/Table-of-Contents\/Using-the-library","kind":"article","type":"topic","url":"\/tutorials\/table-of-contents\/using-the-library"},"doc://Deeplink/tutorials/Deeplink/Adding-a-Deeplink":{"role":"project","title":"Adding Deeplinks","estimatedTime":"10min","abstract":[{"type":"text","text":"This tutorial will explain how to add deeplinks to your app and how to handle overlapping deeplink templates."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink","kind":"project","type":"topic","url":"\/tutorials\/deeplink\/adding-a-deeplink"},"AddingADeeplink 4.swift":{"syntax":"swift","content":["","\/\/ Example link: `https:\/\/example.com\/product\/123`","","import Deeplink","","struct Product {"," var productId: String?","}","","\/\/ The type variable indicates which type do you want to use the keypaths of: using the `Product` type allows us to use the `\\.productId` keypath.","let productDeeplink: Deeplink = try! \"\/product\/\\(\\.productId)\"","","let center = DeeplinksCenter()","","center.register("," deeplink: productDeeplink,"," assigningTo: Product(), \/\/ When the template matches the input URL, the values extracted will be assigned to the object passed in this property."," ifMatching: { url, value in",""," \/\/ We can do what we need here with a ready `Product` value, parsed from the received deeplink URL if it is parsed successfully."," print(\"ProductId: \\(value.productId)\")",""," \/\/ We return `true` to indicate that we handled the deeplink successfully."," return true","})","","","\/\/ Now the center is ready to parse URLs!","","let url = URL(string: \"https:\/\/example.com\/product\/123abc\")!","try! center.parse(url: url)","","\/\/ This will run the closure that we registered for the `productDeeplink` template since the format matches, and it will print `ProductId: 123abc`."],"fileName":"Defining Deeplink Data.swift","identifier":"AddingADeeplink 4.swift","type":"file","fileType":"swift","highlights":[{"line":26},{"line":27},{"line":28},{"line":29},{"line":30},{"line":31},{"line":32},{"line":33}]},"doc://Deeplink/tutorials/Deeplink/Advanced-Usage#Using-DefaultInitializable":{"role":"pseudoSymbol","title":"Using DefaultInitializable","abstract":[{"type":"text","text":"This tutorial is a small collection of advanced tips and tricks."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Advanced-Usage#Using-DefaultInitializable","kind":"section","type":"section","url":"\/tutorials\/deeplink\/advanced-usage#Using-DefaultInitializable"},"AddingMultipleDeeplinks 1.swift":{"syntax":"swift","content":["","\/\/ Example link: `https:\/\/example.com\/product\/123`","","import Deeplink","","struct Product {"," var productId: String?","}","","let productDeeplink: Deeplink = try! \"\/product\/\\(\\.productId)\"","","let accountDeeplink: Deeplink = \"\/account\"","","let productDetailDeeplink: Deeplink = try! \"\/product\/\\(\\.productId)\/detail\""],"fileName":"Defining Deeplink Data.swift","identifier":"AddingMultipleDeeplinks 1.swift","type":"file","fileType":"swift","highlights":[]},"AddingMultipleDeeplinks 3.swift":{"syntax":"swift","content":["","\/\/ Example link: `https:\/\/example.com\/product\/123`","","import Deeplink","import SwiftUI","","struct Product {"," var productId: String?","}","","let productDeeplink: Deeplink = try! \"\/product\/\\(\\.productId)\"","","let accountDeeplink: Deeplink = \"\/account\"","","let productDetailDeeplink: Deeplink = try! \"\/product\/\\(\\.productId)\/detail\"","","let center = DeeplinksCenter()","","center"," .register("," deeplink: productDetailDeeplink,"," assigningTo: Product(),"," ifMatching: { url, value in",""," print(value.productId)",""," return true"," })",""," .register("," deeplink: accountDeeplink,"," ifMatching: { url in",""," return true"," })",""," .register("," deeplink: productDeeplink,"," assigningTo: Product(),"," ifMatching: { url, value in",""," print(value.productId)",""," return true"," })"],"fileName":"Defining Deeplink Data.swift","identifier":"AddingMultipleDeeplinks 3.swift","type":"file","fileType":"swift","highlights":[{"line":5},{"line":21},{"line":38}]},"doc://Deeplink/tutorials/Deeplink/Advanced-Usage":{"role":"project","title":"Advanced Usage","estimatedTime":"10min","abstract":[{"type":"text","text":"This tutorial is a small collection of advanced tips and tricks."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Advanced-Usage","kind":"project","type":"topic","url":"\/tutorials\/deeplink\/advanced-usage"},"AddingADeeplink 1.swift":{"syntax":"swift","content":["","\/\/ Example link: `https:\/\/example.com\/product\/123`","","struct Product {"," var productId: String?","}"],"fileName":"Defining Deeplink Data.swift","identifier":"AddingADeeplink 1.swift","type":"file","fileType":"swift","highlights":[]},"doc://Deeplink/tutorials/Deeplink/Advanced-Usage#Altering-the-matching-behavior":{"role":"pseudoSymbol","title":"Altering the matching behavior","abstract":[{"type":"text","text":"This tutorial is a small collection of advanced tips and tricks."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Advanced-Usage#Altering-the-matching-behavior","kind":"section","type":"section","url":"\/tutorials\/deeplink\/advanced-usage#Altering-the-matching-behavior"},"doc://Deeplink/tutorials/Deeplink/Adding-a-Deeplink#Adding-one-deeplink":{"role":"pseudoSymbol","title":"Adding one deeplink","abstract":[{"type":"text","text":"This tutorial will explain how to add deeplinks to your app and how to handle overlapping deeplink templates."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink#Adding-one-deeplink","kind":"section","type":"section","url":"\/tutorials\/deeplink\/adding-a-deeplink#Adding-one-deeplink"},"AddingADeeplink 2.swift":{"syntax":"swift","content":["","\/\/ Example link: `https:\/\/example.com\/product\/123`","","import Deeplink","","struct Product {"," var productId: String?","}","","\/\/ The type variable indicates which type do you want to use the keypaths of: using the `Product` type allows us to use the `\\.productId` keypath.","let productDeeplink: Deeplink = try! \"\/product\/\\(\\.productId)\""],"fileName":"Defining Deeplink Data.swift","identifier":"AddingADeeplink 2.swift","type":"file","fileType":"swift","highlights":[{"line":4},{"line":5},{"line":9},{"line":10},{"line":11}]},"doc://Deeplink/tutorials/Deeplink/Using-a-ResultBuilder#Implementation":{"role":"pseudoSymbol","title":"Implementation","abstract":[{"type":"text","text":"If you need advanced behaviors, you can also register your "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"},{"type":"text","text":" templates using a "},{"type":"codeVoice","code":"@resultBuilder"},{"type":"text","text":"."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Using-a-ResultBuilder#Implementation","kind":"section","type":"section","url":"\/tutorials\/deeplink\/using-a-resultbuilder#Implementation"},"doc://Deeplink/tutorials/Deeplink/Using-a-ResultBuilder#Conditionally-removing-templates":{"role":"pseudoSymbol","title":"Conditionally removing templates","abstract":[{"type":"text","text":"If you need advanced behaviors, you can also register your "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"},{"type":"text","text":" templates using a "},{"type":"codeVoice","code":"@resultBuilder"},{"type":"text","text":"."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Using-a-ResultBuilder#Conditionally-removing-templates","kind":"section","type":"section","url":"\/tutorials\/deeplink\/using-a-resultbuilder#Conditionally-removing-templates"},"AddingADeeplinkList 2.swift":{"syntax":"swift","content":["","\/\/ Example link: `https:\/\/example.com\/items?ids=1,2,3,4`","","struct Items {"," var ids: [String]?","}","","let itemsDeeplink: Deeplink = try! \"\/items?ids=\\(\\.ids, separator: \",\")\""],"fileName":"Defining Deeplink Data Lists.swift","identifier":"AddingADeeplinkList 2.swift","type":"file","fileType":"swift","highlights":[{"line":7},{"line":8}]},"doc://Deeplink/tutorials/Deeplink/Adding-a-Deeplink#Adding-more-deeplinks":{"role":"pseudoSymbol","title":"Adding more deeplinks","abstract":[{"type":"text","text":"This tutorial will explain how to add deeplinks to your app and how to handle overlapping deeplink templates."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink#Adding-more-deeplinks","kind":"section","type":"section","url":"\/tutorials\/deeplink\/adding-a-deeplink#Adding-more-deeplinks"},"doc://Deeplink/tutorials/Deeplink/Using-a-ResultBuilder":{"role":"project","title":"Registering Deeplinks with a ResultBuilder","estimatedTime":"10min","abstract":[{"type":"text","text":"If you need advanced behaviors, you can also register your "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"},{"type":"text","text":" templates using a "},{"type":"codeVoice","code":"@resultBuilder"},{"type":"text","text":"."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Using-a-ResultBuilder","kind":"project","type":"topic","url":"\/tutorials\/deeplink\/using-a-resultbuilder"},"doc://Deeplink/tutorials/Deeplink/Adding-a-Deeplink#Adding-a-deeplink-that-catches-a-list-of-parameters":{"role":"pseudoSymbol","title":"Adding a deeplink that catches a list of parameters","abstract":[{"type":"text","text":"This tutorial will explain how to add deeplinks to your app and how to handle overlapping deeplink templates."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink#Adding-a-deeplink-that-catches-a-list-of-parameters","kind":"section","type":"section","url":"\/tutorials\/deeplink\/adding-a-deeplink#Adding-a-deeplink-that-catches-a-list-of-parameters"},"AddingADeeplinkList 3.swift":{"syntax":"swift","content":["","\/\/ Example link: `https:\/\/example.com\/items?ids=1,2,3,4`","","struct Items {"," var ids: [String]?","}","","let itemsDeeplink: Deeplink = try! \"\/items?ids=\\(\\.ids, separator: \",\")\"","","let center = DeeplinksCenter()","","center.register("," deeplink: itemsDeeplink,"," assigningTo: Items(), \/\/ When the template matches the input URL, the values extracted will be assigned to the object passed in this property."," ifMatching: { url, value in",""," \/\/ We can do what we need here with a ready `Items` value, parsed from the received deeplink URL if it is parsed successfully."," print(\"Items: \\(value.items!.joined(separator: \"-\"))\")",""," \/\/ We return `true` to indicate that we handled the deeplink successfully."," return true"," })","","let url = URL(string: \"https:\/\/example.com\/items?ids=1,2,3,4\")!","try! center.parse(url: url)","","\/\/ This will run the closure that we registered for the `itemsDeeplink` template since the format matches, and it will print `Items: 1-2-3-4`."],"fileName":"Defining Deeplink Data Lists.swift","identifier":"AddingADeeplinkList 3.swift","type":"file","fileType":"swift","highlights":[{"line":9},{"line":10},{"line":11},{"line":12},{"line":13},{"line":14},{"line":15},{"line":16},{"line":17},{"line":18},{"line":19},{"line":20},{"line":21},{"line":22},{"line":23},{"line":24},{"line":25},{"line":26},{"line":27}]},"AddingADeeplink 3.swift":{"syntax":"swift","content":["","\/\/ Example link: `https:\/\/example.com\/product\/123`","","import Deeplink","","struct Product {"," var productId: String?","}","","\/\/ The type variable indicates which type do you want to use the keypaths of: using the `Product` type allows us to use the `\\.productId` keypath.","let productDeeplink: Deeplink = try! \"\/product\/\\(\\.productId)\"","","let center = DeeplinksCenter()","","center.register("," deeplink: productDeeplink,"," assigningTo: Product(), \/\/ When the template matches the input URL, the values extracted will be assigned to the object passed in this property."," ifMatching: { url, value in",""," \/\/ We can do what we need here with a ready `Product` value, parsed from the received deeplink URL if it is parsed successfully."," print(\"ProductId: \\(value.productId)\")",""," \/\/ We return `true` to indicate that we handled the deeplink successfully."," return true","})"],"fileName":"Defining Deeplink Data.swift","identifier":"AddingADeeplink 3.swift","type":"file","fileType":"swift","highlights":[{"line":12},{"line":13},{"line":14},{"line":15},{"line":16},{"line":17},{"line":18},{"line":19},{"line":20},{"line":21},{"line":22},{"line":23},{"line":24},{"line":25}]},"AddingADeeplinkList 1.swift":{"syntax":"swift","content":["","\/\/ Example link: `https:\/\/example.com\/items?ids=1,2,3,4`","","struct Items {"," var ids: [String]?","}"],"fileName":"Defining Deeplink Data Lists.swift","identifier":"AddingADeeplinkList 1.swift","type":"file","fileType":"swift","highlights":[]},"doc://Deeplink/tutorials/Table-of-Contents":{"role":"overview","title":"🎣 All about Deeplinks","abstract":[{"type":"text","text":"These tutorials will explain how to add deeplinks to your app, and how to manage more complex situations like overlapping deeplink templates or choosing at runtime whether to match a URL or not."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Table-of-Contents","kind":"overview","type":"topic","url":"\/tutorials\/table-of-contents"},"AddingMultipleDeeplinks 2.swift":{"syntax":"swift","content":["","\/\/ Example link: `https:\/\/example.com\/product\/123`","","import Deeplink","","struct Product {"," var productId: String?","}","","let productDeeplink: Deeplink = try! \"\/product\/\\(\\.productId)\"","","let accountDeeplink: Deeplink = \"\/account\"","","let productDetailDeeplink: Deeplink = try! \"\/product\/\\(\\.productId)\/detail\"","","let center = DeeplinksCenter()","","center"," .register("," deeplink: productDeeplink,"," assigningTo: Product(),"," ifMatching: { url, value in",""," print(value.productId)",""," return true"," })",""," .register("," deeplink: accountDeeplink,"," ifMatching: { url in",""," return true"," })",""," .register("," deeplink: productDetailDeeplink,"," assigningTo: Product(),"," ifMatching: { url, value in",""," print(value.productId)",""," return true"," })"],"fileName":"Defining Deeplink Data.swift","identifier":"AddingMultipleDeeplinks 2.swift","type":"file","fileType":"swift","highlights":[{"line":15},{"line":16},{"line":17},{"line":18},{"line":19},{"line":20},{"line":21},{"line":22},{"line":23},{"line":24},{"line":25},{"line":26},{"line":27},{"line":28},{"line":29},{"line":30},{"line":31},{"line":32},{"line":33},{"line":34},{"line":35},{"line":36},{"line":37},{"line":38},{"line":39},{"line":40},{"line":41},{"line":42},{"line":43},{"line":44}]}}} \ No newline at end of file +{"metadata":{"role":"project","title":"Adding Deeplinks","category":"Documentation","categoryPathComponent":"Table-of-Contents"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/tutorials\/deeplink\/adding-a-deeplink"]}],"hierarchy":{"modules":[{"reference":"doc:\/\/Deeplink\/tutorials\/Table-of-Contents\/Using-the-library","projects":[{"reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink","sections":[{"reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink#Adding-one-deeplink","kind":"task"},{"kind":"task","reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink#Adding-a-deeplink-that-catches-a-list-of-parameters"},{"kind":"task","reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink#Adding-more-deeplinks"}]},{"reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Using-a-ResultBuilder","sections":[{"reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Using-a-ResultBuilder#Implementation","kind":"task"},{"kind":"task","reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Using-a-ResultBuilder#Conditionally-removing-templates"}]},{"sections":[{"kind":"task","reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Advanced-Usage#Altering-the-matching-behavior"},{"kind":"task","reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Advanced-Usage#Using-DefaultInitializable"}],"reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Advanced-Usage"}]}],"reference":"doc:\/\/Deeplink\/tutorials\/Table-of-Contents","paths":[["doc:\/\/Deeplink\/tutorials\/Table-of-Contents","doc:\/\/Deeplink\/tutorials\/Table-of-Contents\/$volume","doc:\/\/Deeplink\/tutorials\/Table-of-Contents\/Using-the-library"]]},"schemaVersion":{"major":0,"minor":3,"patch":0},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink"},"sections":[{"chapter":"Using the library","content":[{"inlineContent":[{"type":"text","text":"This tutorial will explain how to add deeplinks to your app and how to handle overlapping deeplink templates."}],"type":"paragraph"}],"estimatedTimeInMinutes":10,"kind":"hero","title":"Adding Deeplinks"},{"tasks":[{"anchor":"Adding-one-deeplink","contentSection":[{"kind":"fullWidth","content":[{"inlineContent":[{"type":"text","text":"We’ll start by adding a single deeplink: a link to view a product page."}],"type":"paragraph"},{"type":"paragraph","inlineContent":[{"text":"The link we want to support looks like this: ","type":"text"},{"type":"codeVoice","code":"https:\/\/example.com\/product\/123"},{"type":"text","text":"."}]}]}],"title":"Adding one deeplink","stepsSection":[{"media":null,"code":"AddingADeeplink 1.swift","caption":[{"type":"paragraph","inlineContent":[{"type":"text","text":"In our case, we want to get the "},{"code":"productId","type":"codeVoice"},{"text":", so that we can fetch the informations for that product from the server and display the product page. You should declare your properties as optionals. The reason will become clear later 😇","type":"text"}]}],"runtimePreview":null,"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Define the data you want to extract from the deeplink URL."}]}],"type":"step"},{"type":"step","media":null,"runtimePreview":null,"content":[{"type":"paragraph","inlineContent":[{"text":"Define a template that describes how to parse the deeplink.","type":"text"}]}],"code":"AddingADeeplink 2.swift","caption":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Using Swift’s "},{"code":"String","type":"codeVoice"},{"text":" interpolation and ","type":"text"},{"code":"KeyPath","type":"codeVoice"},{"text":"s we can define a “Deeplink Template” that tells the system how to parse data from a URL.","type":"text"},{"text":" ","type":"text"},{"text":"The data present in the URL at the location where the keypath is inserted will be assigned to the property indicated by the keypath.","type":"text"}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Register the template with the notification center."}]}],"type":"step","runtimePreview":null,"code":"AddingADeeplink 3.swift","media":null,"caption":[{"type":"paragraph","inlineContent":[{"type":"text","text":"You need to provide 3 things: the deeplink template that you want to eventually parse URLs with, an object where to assign values extracted from the deeplink URL, and a closure to execute if the template finds a successful match."}]}]},{"code":"AddingADeeplink 4.swift","media":null,"type":"step","caption":[{"inlineContent":[{"type":"text","text":"You can now use the DeeplinksCenter to parse URLs. The center will try all the registered templates in order, running the closure you provide in the registration if the corresponding template matches. Once one closure is run successfully, execution ends."}],"type":"paragraph"}],"runtimePreview":null,"content":[{"inlineContent":[{"text":"Parse a ","type":"text"},{"code":"URL","type":"codeVoice"},{"text":" using the ","type":"text"},{"code":"DeeplinksCenter","type":"codeVoice"},{"type":"text","text":"."}],"type":"paragraph"}]}]},{"stepsSection":[{"runtimePreview":null,"code":"AddingADeeplinkList 1.swift","content":[{"inlineContent":[{"type":"text","text":"Define the data you want to extract from the deeplink URL."}],"type":"paragraph"}],"type":"step","caption":[{"inlineContent":[{"text":"In this case, we want to get the ","type":"text"},{"type":"codeVoice","code":"ids"},{"type":"text","text":" of the items, each as a separate argument so that we can handle them separately. As always, you should declare your properties as optionals, so that if you can tell apart arguments that you did not use in the link from empty arguments lists."}],"type":"paragraph"}],"media":null},{"type":"step","runtimePreview":null,"content":[{"inlineContent":[{"text":"Now we need to make a template that describes how to parse the information from a link.","type":"text"}],"type":"paragraph"}],"code":"AddingADeeplinkList 2.swift","media":null,"caption":[{"type":"paragraph","inlineContent":[{"type":"text","text":"This time, we’ll use a keypath to our "},{"type":"codeVoice","code":"[String]"},{"type":"text","text":" property, and pass an additional argument to tell the system what separator should we use to parse the arguments."},{"type":"text","text":" "},{"type":"text","text":"As before, the data present in the URL at the location where the keypath is inserted will be assigned to the property indicated by the keypath; each item in its own String object."}]}]},{"content":[{"inlineContent":[{"type":"text","text":"As usual we register the template with the notification center, and we can now use the center to parse URLs just like before."}],"type":"paragraph"}],"media":null,"code":"AddingADeeplinkList 3.swift","runtimePreview":null,"caption":[],"type":"step"}],"contentSection":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Sometimes, you need to parse a list of parameters of arbitrary length from a link."}]},{"inlineContent":[{"type":"text","text":"You can use “argument list” interpolation to parse such links."}],"type":"paragraph"},{"type":"paragraph","inlineContent":[{"text":"The link we want to support looks like this: ","type":"text"},{"code":"https:\/\/example.com\/items?ids=1,2,3,4","type":"codeVoice"},{"text":".","type":"text"}]}],"kind":"fullWidth"}],"title":"Adding a deeplink that catches a list of parameters","anchor":"Adding-a-deeplink-that-catches-a-list-of-parameters"},{"contentSection":[{"kind":"fullWidth","content":[{"inlineContent":[{"type":"text","text":"Now let’s add more deeplinks: we’ll add one for opening the Account page and one to open the product detail page."}],"type":"paragraph"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The links we want to support are in this format: "},{"code":"https:\/\/example.com\/account","type":"codeVoice"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"https:\/\/example.com\/product\/123abc\/detail"}]}]}],"stepsSection":[{"content":[{"type":"paragraph","inlineContent":[{"text":"Let’s define the data that we want to extract.","type":"text"}]}],"code":"AddingMultipleDeeplinks 1.swift","caption":[{"type":"paragraph","inlineContent":[{"type":"text","text":"This time, the account deeplink template has no data to extract: in this case, you can define a "},{"code":"Deeplink","type":"codeVoice"},{"type":"text","text":" and you don’t need to use keypaths or string interpolation. About the product detail, we case reuse the Product struct since we need to extract the same argument."}]}],"type":"step","media":null,"runtimePreview":null},{"media":null,"caption":[{"type":"paragraph","inlineContent":[{"text":"This implementation has a problem: the registered deeplinks are evaluated in order one at the time until a match is found. Our problem is that the ","type":"text"},{"type":"codeVoice","code":"\/product\/123\/detail"},{"text":" route will never be triggered because the template ","type":"text"},{"type":"codeVoice","code":"\/product\/\\(\\.productId)"},{"type":"text","text":" already always matches that route."}]}],"type":"step","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Now we should register the deeplinks to the center. Let’s do in the same order in which we declared the deeplinks."}]}],"code":"AddingMultipleDeeplinks 2.swift","runtimePreview":null},{"code":"AddingMultipleDeeplinks 3.swift","runtimePreview":null,"caption":[{"inlineContent":[{"type":"text","text":"This way, the more specific “Product Detail” deeplink template is checked before the more generic “Product” deeplink."},{"type":"text","text":" "},{"text":"You can use this behavior to do interesting things: for example, a very generic template could behave as “catch-all” behavior for unrecognized deeplink URLs.","type":"text"}],"type":"paragraph"}],"media":null,"type":"step","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The solution is to change the order of the registered templates: the more “specific” a template is, the closer it should be to the center."}]}]},{"type":"paragraph","inlineContent":[{"text":"Now let’s give a look at why the ","type":"text"},{"isActive":true,"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"},{"text":"’s ","type":"text"},{"type":"codeVoice","code":"Value"},{"type":"text","text":" parameters should be optional."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"The reason is that it allows you to tell the difference between an empty parameter and an absent parameter:"}]},{"type":"unorderedList","items":[{"content":[{"type":"paragraph","inlineContent":[{"text":"if you have a URL like ","type":"text"},{"type":"codeVoice","code":"\/product?query=&price=10"},{"type":"text","text":", the "},{"type":"codeVoice","code":"query"},{"text":" parameter is present but empty. A template like ","type":"text"},{"code":"\/product?query=\\(\\.query)","type":"codeVoice"},{"text":" will produce a value of ","type":"text"},{"type":"codeVoice","code":"\"\""},{"type":"text","text":" for "},{"type":"codeVoice","code":"query"},{"type":"text","text":", since it is present but empty."}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"the same URL, when parsed by the template "},{"code":"\/product","type":"codeVoice"},{"type":"text","text":", doesn’t assign any value to "},{"type":"codeVoice","code":"\\.query"},{"text":", leaving it ","type":"text"},{"type":"codeVoice","code":"nil"},{"type":"text","text":" so that we know that the parameter wasn’t used in the first place."}]}]}]}],"title":"Adding more deeplinks","anchor":"Adding-more-deeplinks"}],"kind":"tasks"},{"featuredEyebrow":"Tutorial","kind":"callToAction","title":"Registering Deeplinks with a ResultBuilder","abstract":[{"text":"If you need advanced behaviors, you can also register your ","type":"text"},{"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","isActive":true},{"text":" templates using a ","type":"text"},{"code":"@resultBuilder","type":"codeVoice"},{"type":"text","text":"."}],"action":{"overridingTitleInlineContent":[{"type":"text","text":"Get started"}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Using-a-ResultBuilder","isActive":true,"overridingTitle":"Get started","type":"reference"}}],"kind":"project","references":{"doc://Deeplink/tutorials/Deeplink/Using-a-ResultBuilder":{"estimatedTime":"10min","identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Using-a-ResultBuilder","abstract":[{"text":"If you need advanced behaviors, you can also register your ","type":"text"},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","type":"reference","isActive":true},{"type":"text","text":" templates using a "},{"type":"codeVoice","code":"@resultBuilder"},{"text":".","type":"text"}],"title":"Registering Deeplinks with a ResultBuilder","role":"project","kind":"project","url":"\/tutorials\/deeplink\/using-a-resultbuilder","type":"topic"},"doc://Deeplink/tutorials/Deeplink/Advanced-Usage":{"kind":"project","abstract":[{"text":"This tutorial is a small collection of advanced tips and tricks.","type":"text"}],"title":"Advanced Usage","estimatedTime":"10min","url":"\/tutorials\/deeplink\/advanced-usage","identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Advanced-Usage","type":"topic","role":"project"},"AddingADeeplinkList 3.swift":{"type":"file","fileType":"swift","identifier":"AddingADeeplinkList 3.swift","syntax":"swift","fileName":"Defining Deeplink Data Lists.swift","content":["","\/\/ Example link: `https:\/\/example.com\/items?ids=1,2,3,4`","","struct Items {"," var ids: [String]?","}","","let itemsDeeplink: Deeplink = try! \"\/items?ids=\\(\\.ids, separator: \",\")\"","","let center = DeeplinksCenter()","","center.register("," deeplink: itemsDeeplink,"," assigningTo: Items(), \/\/ When the template matches the input URL, the values extracted will be assigned to the object passed in this property."," ifMatching: { url, value in",""," \/\/ We can do what we need here with a ready `Items` value, parsed from the received deeplink URL if it is parsed successfully."," print(\"Items: \\(value.items!.joined(separator: \"-\"))\")",""," \/\/ We return `true` to indicate that we handled the deeplink successfully."," return true"," })","","let url = URL(string: \"https:\/\/example.com\/items?ids=1,2,3,4\")!","try! center.parse(url: url)","","\/\/ This will run the closure that we registered for the `itemsDeeplink` template since the format matches, and it will print `Items: 1-2-3-4`."],"highlights":[{"line":9},{"line":10},{"line":11},{"line":12},{"line":13},{"line":14},{"line":15},{"line":16},{"line":17},{"line":18},{"line":19},{"line":20},{"line":21},{"line":22},{"line":23},{"line":24},{"line":25},{"line":26},{"line":27}]},"AddingMultipleDeeplinks 2.swift":{"fileType":"swift","type":"file","syntax":"swift","identifier":"AddingMultipleDeeplinks 2.swift","fileName":"Defining Deeplink Data.swift","content":["","\/\/ Example link: `https:\/\/example.com\/product\/123`","","import Deeplink","","struct Product {"," var productId: String?","}","","let productDeeplink: Deeplink = try! \"\/product\/\\(\\.productId)\"","","let accountDeeplink: Deeplink = \"\/account\"","","let productDetailDeeplink: Deeplink = try! \"\/product\/\\(\\.productId)\/detail\"","","let center = DeeplinksCenter()","","center"," .register("," deeplink: productDeeplink,"," assigningTo: Product(),"," ifMatching: { url, value in",""," print(value.productId)",""," return true"," })",""," .register("," deeplink: accountDeeplink,"," ifMatching: { url in",""," return true"," })",""," .register("," deeplink: productDetailDeeplink,"," assigningTo: Product(),"," ifMatching: { url, value in",""," print(value.productId)",""," return true"," })"],"highlights":[{"line":15},{"line":16},{"line":17},{"line":18},{"line":19},{"line":20},{"line":21},{"line":22},{"line":23},{"line":24},{"line":25},{"line":26},{"line":27},{"line":28},{"line":29},{"line":30},{"line":31},{"line":32},{"line":33},{"line":34},{"line":35},{"line":36},{"line":37},{"line":38},{"line":39},{"line":40},{"line":41},{"line":42},{"line":43},{"line":44}]},"doc://Deeplink/tutorials/Deeplink/Using-a-ResultBuilder#Conditionally-removing-templates":{"title":"Conditionally removing templates","abstract":[{"type":"text","text":"If you need advanced behaviors, you can also register your "},{"isActive":true,"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"},{"type":"text","text":" templates using a "},{"type":"codeVoice","code":"@resultBuilder"},{"type":"text","text":"."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Using-a-ResultBuilder#Conditionally-removing-templates","role":"pseudoSymbol","type":"section","kind":"section","url":"\/tutorials\/deeplink\/using-a-resultbuilder#Conditionally-removing-templates"},"AddingADeeplink 4.swift":{"fileName":"Defining Deeplink Data.swift","identifier":"AddingADeeplink 4.swift","fileType":"swift","type":"file","content":["","\/\/ Example link: `https:\/\/example.com\/product\/123`","","import Deeplink","","struct Product {"," var productId: String?","}","","\/\/ The type variable indicates which type do you want to use the keypaths of: using the `Product` type allows us to use the `\\.productId` keypath.","let productDeeplink: Deeplink = try! \"\/product\/\\(\\.productId)\"","","let center = DeeplinksCenter()","","center.register("," deeplink: productDeeplink,"," assigningTo: Product(), \/\/ When the template matches the input URL, the values extracted will be assigned to the object passed in this property."," ifMatching: { url, value in",""," \/\/ We can do what we need here with a ready `Product` value, parsed from the received deeplink URL if it is parsed successfully."," print(\"ProductId: \\(value.productId)\")",""," \/\/ We return `true` to indicate that we handled the deeplink successfully."," return true","})","","","\/\/ Now the center is ready to parse URLs!","","let url = URL(string: \"https:\/\/example.com\/product\/123abc\")!","try! center.parse(url: url)","","\/\/ This will run the closure that we registered for the `productDeeplink` template since the format matches, and it will print `ProductId: 123abc`."],"syntax":"swift","highlights":[{"line":26},{"line":27},{"line":28},{"line":29},{"line":30},{"line":31},{"line":32},{"line":33}]},"doc://Deeplink/tutorials/Deeplink/Adding-a-Deeplink#Adding-more-deeplinks":{"title":"Adding more deeplinks","abstract":[{"type":"text","text":"This tutorial will explain how to add deeplinks to your app and how to handle overlapping deeplink templates."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink#Adding-more-deeplinks","role":"pseudoSymbol","type":"section","kind":"section","url":"\/tutorials\/deeplink\/adding-a-deeplink#Adding-more-deeplinks"},"AddingADeeplink 1.swift":{"fileName":"Defining Deeplink Data.swift","identifier":"AddingADeeplink 1.swift","fileType":"swift","type":"file","content":["","\/\/ Example link: `https:\/\/example.com\/product\/123`","","struct Product {"," var productId: String?","}"],"syntax":"swift","highlights":[]},"AddingMultipleDeeplinks 3.swift":{"fileName":"Defining Deeplink Data.swift","identifier":"AddingMultipleDeeplinks 3.swift","fileType":"swift","type":"file","content":["","\/\/ Example link: `https:\/\/example.com\/product\/123`","","import Deeplink","import SwiftUI","","struct Product {"," var productId: String?","}","","let productDeeplink: Deeplink = try! \"\/product\/\\(\\.productId)\"","","let accountDeeplink: Deeplink = \"\/account\"","","let productDetailDeeplink: Deeplink = try! \"\/product\/\\(\\.productId)\/detail\"","","let center = DeeplinksCenter()","","center"," .register("," deeplink: productDetailDeeplink,"," assigningTo: Product(),"," ifMatching: { url, value in",""," print(value.productId)",""," return true"," })",""," .register("," deeplink: accountDeeplink,"," ifMatching: { url in",""," return true"," })",""," .register("," deeplink: productDeeplink,"," assigningTo: Product(),"," ifMatching: { url, value in",""," print(value.productId)",""," return true"," })"],"syntax":"swift","highlights":[{"line":5},{"line":21},{"line":38}]},"AddingMultipleDeeplinks 1.swift":{"fileName":"Defining Deeplink Data.swift","identifier":"AddingMultipleDeeplinks 1.swift","fileType":"swift","type":"file","content":["","\/\/ Example link: `https:\/\/example.com\/product\/123`","","import Deeplink","","struct Product {"," var productId: String?","}","","let productDeeplink: Deeplink = try! \"\/product\/\\(\\.productId)\"","","let accountDeeplink: Deeplink = \"\/account\"","","let productDetailDeeplink: Deeplink = try! \"\/product\/\\(\\.productId)\/detail\""],"syntax":"swift","highlights":[]},"doc://Deeplink/tutorials/Deeplink/Adding-a-Deeplink#Adding-one-deeplink":{"title":"Adding one deeplink","abstract":[{"type":"text","text":"This tutorial will explain how to add deeplinks to your app and how to handle overlapping deeplink templates."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink#Adding-one-deeplink","role":"pseudoSymbol","type":"section","kind":"section","url":"\/tutorials\/deeplink\/adding-a-deeplink#Adding-one-deeplink"},"doc://Deeplink/tutorials/Deeplink/Adding-a-Deeplink":{"title":"Adding Deeplinks","abstract":[{"text":"This tutorial will explain how to add deeplinks to your app and how to handle overlapping deeplink templates.","type":"text"}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink","url":"\/tutorials\/deeplink\/adding-a-deeplink","type":"topic","role":"project","estimatedTime":"10min","kind":"project"},"AddingADeeplinkList 2.swift":{"fileType":"swift","type":"file","identifier":"AddingADeeplinkList 2.swift","syntax":"swift","fileName":"Defining Deeplink Data Lists.swift","content":["","\/\/ Example link: `https:\/\/example.com\/items?ids=1,2,3,4`","","struct Items {"," var ids: [String]?","}","","let itemsDeeplink: Deeplink = try! \"\/items?ids=\\(\\.ids, separator: \",\")\""],"highlights":[{"line":7},{"line":8}]},"AddingADeeplink 3.swift":{"fileName":"Defining Deeplink Data.swift","identifier":"AddingADeeplink 3.swift","fileType":"swift","type":"file","content":["","\/\/ Example link: `https:\/\/example.com\/product\/123`","","import Deeplink","","struct Product {"," var productId: String?","}","","\/\/ The type variable indicates which type do you want to use the keypaths of: using the `Product` type allows us to use the `\\.productId` keypath.","let productDeeplink: Deeplink = try! \"\/product\/\\(\\.productId)\"","","let center = DeeplinksCenter()","","center.register("," deeplink: productDeeplink,"," assigningTo: Product(), \/\/ When the template matches the input URL, the values extracted will be assigned to the object passed in this property."," ifMatching: { url, value in",""," \/\/ We can do what we need here with a ready `Product` value, parsed from the received deeplink URL if it is parsed successfully."," print(\"ProductId: \\(value.productId)\")",""," \/\/ We return `true` to indicate that we handled the deeplink successfully."," return true","})"],"syntax":"swift","highlights":[{"line":12},{"line":13},{"line":14},{"line":15},{"line":16},{"line":17},{"line":18},{"line":19},{"line":20},{"line":21},{"line":22},{"line":23},{"line":24},{"line":25}]},"AddingADeeplink 2.swift":{"fileName":"Defining Deeplink Data.swift","identifier":"AddingADeeplink 2.swift","fileType":"swift","type":"file","content":["","\/\/ Example link: `https:\/\/example.com\/product\/123`","","import Deeplink","","struct Product {"," var productId: String?","}","","\/\/ The type variable indicates which type do you want to use the keypaths of: using the `Product` type allows us to use the `\\.productId` keypath.","let productDeeplink: Deeplink = try! \"\/product\/\\(\\.productId)\""],"syntax":"swift","highlights":[{"line":4},{"line":5},{"line":9},{"line":10},{"line":11}]},"doc://Deeplink/tutorials/Deeplink/Advanced-Usage#Using-DefaultInitializable":{"title":"Using DefaultInitializable","abstract":[{"type":"text","text":"This tutorial is a small collection of advanced tips and tricks."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Advanced-Usage#Using-DefaultInitializable","role":"pseudoSymbol","type":"section","kind":"section","url":"\/tutorials\/deeplink\/advanced-usage#Using-DefaultInitializable"},"doc://Deeplink/tutorials/Deeplink/Adding-a-Deeplink#Adding-a-deeplink-that-catches-a-list-of-parameters":{"title":"Adding a deeplink that catches a list of parameters","abstract":[{"type":"text","text":"This tutorial will explain how to add deeplinks to your app and how to handle overlapping deeplink templates."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink#Adding-a-deeplink-that-catches-a-list-of-parameters","role":"pseudoSymbol","type":"section","kind":"section","url":"\/tutorials\/deeplink\/adding-a-deeplink#Adding-a-deeplink-that-catches-a-list-of-parameters"},"doc://Deeplink/tutorials/Deeplink/Using-a-ResultBuilder#Implementation":{"title":"Implementation","abstract":[{"type":"text","text":"If you need advanced behaviors, you can also register your "},{"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","isActive":true},{"type":"text","text":" templates using a "},{"code":"@resultBuilder","type":"codeVoice"},{"type":"text","text":"."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Using-a-ResultBuilder#Implementation","role":"pseudoSymbol","type":"section","kind":"section","url":"\/tutorials\/deeplink\/using-a-resultbuilder#Implementation"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"url":"\/documentation\/deeplink\/deeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","navigatorTitle":[{"text":"Deeplink","kind":"identifier"}],"abstract":[{"type":"text","text":"An "},{"code":"enum","type":"codeVoice"},{"text":" that represents a deeplink template.","type":"text"}],"title":"Deeplink","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"type":"topic"},"doc://Deeplink/tutorials/Table-of-Contents/Using-the-library":{"title":"Using the library","abstract":[],"identifier":"doc:\/\/Deeplink\/tutorials\/Table-of-Contents\/Using-the-library","role":"article","type":"topic","kind":"article","url":"\/tutorials\/table-of-contents\/using-the-library"},"doc://Deeplink/tutorials/Deeplink/Advanced-Usage#Altering-the-matching-behavior":{"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Advanced-Usage#Altering-the-matching-behavior","abstract":[{"type":"text","text":"This tutorial is a small collection of advanced tips and tricks."}],"type":"section","url":"\/tutorials\/deeplink\/advanced-usage#Altering-the-matching-behavior","title":"Altering the matching behavior","kind":"section","role":"pseudoSymbol"},"doc://Deeplink/tutorials/Table-of-Contents":{"identifier":"doc:\/\/Deeplink\/tutorials\/Table-of-Contents","abstract":[{"text":"These tutorials will explain how to add deeplinks to your app, and how to manage more complex situations like overlapping deeplink templates or choosing at runtime whether to match a URL or not.","type":"text"}],"title":"🎣 All about Deeplinks","role":"overview","kind":"overview","url":"\/tutorials\/table-of-contents","type":"topic"},"AddingADeeplinkList 1.swift":{"fileName":"Defining Deeplink Data Lists.swift","identifier":"AddingADeeplinkList 1.swift","fileType":"swift","type":"file","content":["","\/\/ Example link: `https:\/\/example.com\/items?ids=1,2,3,4`","","struct Items {"," var ids: [String]?","}"],"syntax":"swift","highlights":[]}}} \ No newline at end of file diff --git a/docs/data/tutorials/deeplink/advanced-usage.json b/docs/data/tutorials/deeplink/advanced-usage.json index c90aa75..cf80558 100644 --- a/docs/data/tutorials/deeplink/advanced-usage.json +++ b/docs/data/tutorials/deeplink/advanced-usage.json @@ -1 +1 @@ -{"variants":[{"paths":["\/tutorials\/deeplink\/advanced-usage"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[{"kind":"hero","title":"Advanced Usage","chapter":"Using the library","estimatedTimeInMinutes":10,"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"This tutorial is a small collection of advanced tips and tricks."}]}]},{"kind":"tasks","tasks":[{"anchor":"Altering-the-matching-behavior","title":"Altering the matching behavior","contentSection":[{"kind":"fullWidth","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"In normal usage of this library, you "},{"type":"codeVoice","code":"return true"},{"type":"text","text":" from the "},{"type":"codeVoice","code":"ifMatching"},{"type":"text","text":" closure on the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"},{"type":"text","text":" "},{"type":"codeVoice","code":"register"},{"type":"text","text":" methods."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"What if we returned false? Why would you do that?"}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"In this section, we’ll implement a simple AB testing behavior for interpreting deeplinks."}]}]}],"stepsSection":[{"code":"AdvancedUsage 1.swift","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Let’s start from a simple setup: we have only our product deeplink."}]}],"caption":[{"type":"paragraph","inlineContent":[{"type":"text","text":"What we want is to show one screen to 50% of the users and a different version of that screen to the rest. Let’s say that we have some kind of "},{"type":"codeVoice","code":"isMagicOn()"},{"type":"text","text":" function that returns "},{"type":"codeVoice","code":"true"},{"type":"text","text":" if we should show the alternative view."}]}],"type":"step","runtimePreview":null,"media":null},{"code":"AdvancedUsage 2.swift","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"We can embed the check directly inside the "},{"type":"codeVoice","code":"ifMatching"},{"type":"text","text":" function…"}]}],"caption":[],"type":"step","runtimePreview":null,"media":null},{"code":"AdvancedUsage 3.swift","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Or we can register the same deeplink template twice."}]}],"caption":[{"type":"paragraph","inlineContent":[{"type":"text","text":"In the first registration we check "},{"type":"codeVoice","code":"isMagicOn"},{"type":"text","text":" and we only continue if it is "},{"type":"codeVoice","code":"true"},{"type":"text","text":". This means that if the other registration will only ever be executed if "},{"type":"codeVoice","code":"isMagicOn"},{"type":"text","text":" is "},{"type":"codeVoice","code":"false"},{"type":"text","text":", since "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"},{"type":"text","text":" will stop evaluating templates at the first successful match. This also makes it really easy to remove the Magic part if… needed."}]}],"type":"step","runtimePreview":null,"media":null},{"code":"AdvancedUsage 4.swift","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Since you also get the original URL that is being evaluated, you can also perform additional URL checking logic in the "},{"type":"codeVoice","code":"ifMatching"},{"type":"text","text":" closure, returning "},{"type":"codeVoice","code":"false"},{"type":"text","text":" if the checks fail."}]}],"caption":[],"type":"step","runtimePreview":null,"media":null}]},{"anchor":"Using-DefaultInitializable","title":"Using DefaultInitializable","contentSection":[{"kind":"fullWidth","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"“Why do I have to pass an instance of my value to the register function?”"}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"The problem is that the library needs an initialized object to assign values to. That’s it: or you give an initialized object, or you define a struct that conforms to the utility protocol "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DefaultInitializable"},{"type":"text","text":", which only requirement is a empty "},{"type":"codeVoice","code":"init()"},{"type":"text","text":"."}]}]}],"stepsSection":[{"code":"AdvancedUsage 5.swift","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Let’s start from our product deeplink."}]}],"caption":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Normally, we pass an instance of Product to the register function."}]}],"type":"step","runtimePreview":null,"media":null},{"code":"AdvancedUsage 6.swift","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"We can make Product conform to "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DefaultInitializable"},{"type":"text","text":" so that we don’t have to pass an instance at registration time, but a new instance will be generated every time you need to parse a URL."}]}],"caption":[],"type":"step","runtimePreview":null,"media":null}]}]}],"identifier":{"url":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Advanced-Usage","interfaceLanguage":"swift"},"kind":"project","metadata":{"title":"Advanced Usage","categoryPathComponent":"Table-of-Contents","role":"project","category":"Documentation"},"hierarchy":{"modules":[{"reference":"doc:\/\/Deeplink\/tutorials\/Table-of-Contents\/Using-the-library","projects":[{"reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink","sections":[{"kind":"task","reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink#Adding-one-deeplink"},{"kind":"task","reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink#Adding-a-deeplink-that-catches-a-list-of-parameters"},{"kind":"task","reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink#Adding-more-deeplinks"}]},{"reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Using-a-ResultBuilder","sections":[{"kind":"task","reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Using-a-ResultBuilder#Implementation"},{"kind":"task","reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Using-a-ResultBuilder#Conditionally-removing-templates"}]},{"reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Advanced-Usage","sections":[{"kind":"task","reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Advanced-Usage#Altering-the-matching-behavior"},{"kind":"task","reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Advanced-Usage#Using-DefaultInitializable"}]}]}],"reference":"doc:\/\/Deeplink\/tutorials\/Table-of-Contents","paths":[["doc:\/\/Deeplink\/tutorials\/Table-of-Contents","doc:\/\/Deeplink\/tutorials\/Table-of-Contents\/$volume","doc:\/\/Deeplink\/tutorials\/Table-of-Contents\/Using-the-library"]]},"references":{"doc://Deeplink/tutorials/Deeplink/Adding-a-Deeplink#Adding-more-deeplinks":{"role":"pseudoSymbol","title":"Adding more deeplinks","abstract":[{"type":"text","text":"This tutorial will explain how to add deeplinks to your app and how to handle overlapping deeplink templates."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink#Adding-more-deeplinks","kind":"section","type":"section","url":"\/tutorials\/deeplink\/adding-a-deeplink#Adding-more-deeplinks"},"doc://Deeplink/tutorials/Deeplink/Adding-a-Deeplink":{"role":"project","title":"Adding Deeplinks","estimatedTime":"10min","abstract":[{"type":"text","text":"This tutorial will explain how to add deeplinks to your app and how to handle overlapping deeplink templates."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink","kind":"project","type":"topic","url":"\/tutorials\/deeplink\/adding-a-deeplink"},"AdvancedUsage 4.swift":{"syntax":"swift","content":["","\/\/ Example link: `https:\/\/example.com\/product\/123`","","import Deeplink","","struct Product {"," var productId: String?","}","","let productDeeplink: Deeplink = try! \"\/product\/\\(\\.productId)\"","","func isMagicOn() -> Bool { true }","","let center = DeeplinksCenter()","","center"," .register("," deeplink: productDeeplink,"," assigningTo: Product(),"," ifMatching: { url, value in",""," guard isMagicOn() else { return false }"," \/\/ Present the magic product view.",""," return true"," })"," .register("," deeplink: productDeeplink,"," assigningTo: Product(),"," ifMatching: { url, value in",""," guard url.absoluteString?.starts(with: \"https\") ?? false"," else { return false }",""," \/\/ Present the normal product view.",""," return true"," })"],"fileName":"Altering matching.swift","identifier":"AdvancedUsage 4.swift","type":"file","fileType":"swift","highlights":[{"line":32},{"line":33},{"line":34}]},"doc://Deeplink/tutorials/Deeplink/Advanced-Usage#Using-DefaultInitializable":{"role":"pseudoSymbol","title":"Using DefaultInitializable","abstract":[{"type":"text","text":"This tutorial is a small collection of advanced tips and tricks."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Advanced-Usage#Using-DefaultInitializable","kind":"section","type":"section","url":"\/tutorials\/deeplink\/advanced-usage#Using-DefaultInitializable"},"doc://Deeplink/tutorials/Deeplink/Advanced-Usage#Altering-the-matching-behavior":{"role":"pseudoSymbol","title":"Altering the matching behavior","abstract":[{"type":"text","text":"This tutorial is a small collection of advanced tips and tricks."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Advanced-Usage#Altering-the-matching-behavior","kind":"section","type":"section","url":"\/tutorials\/deeplink\/advanced-usage#Altering-the-matching-behavior"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"role":"symbol","title":"DeeplinksCenter","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinksCenter"}],"abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinksCenter"}],"url":"\/documentation\/deeplink\/deeplinkscenter"},"doc://Deeplink/tutorials/Deeplink/Using-a-ResultBuilder#Conditionally-removing-templates":{"role":"pseudoSymbol","title":"Conditionally removing templates","abstract":[{"type":"text","text":"If you need advanced behaviors, you can also register your "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"},{"type":"text","text":" templates using a "},{"type":"codeVoice","code":"@resultBuilder"},{"type":"text","text":"."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Using-a-ResultBuilder#Conditionally-removing-templates","kind":"section","type":"section","url":"\/tutorials\/deeplink\/using-a-resultbuilder#Conditionally-removing-templates"},"AdvancedUsage 3.swift":{"syntax":"swift","content":["","\/\/ Example link: `https:\/\/example.com\/product\/123`","","import Deeplink","","struct Product {"," var productId: String?","}","","let productDeeplink: Deeplink = try! \"\/product\/\\(\\.productId)\"","","func isMagicOn() -> Bool { true }","","let center = DeeplinksCenter()","","center"," .register("," deeplink: productDeeplink,"," assigningTo: Product(),"," ifMatching: { url, value in",""," guard isMagicOn() else { return false }"," \/\/ Present the magic product view.",""," return true"," })"," .register("," deeplink: productDeeplink,"," assigningTo: Product(),"," ifMatching: { url, value in",""," \/\/ Present the normal product view.",""," return true"," })"],"fileName":"Altering matching.swift","identifier":"AdvancedUsage 3.swift","type":"file","fileType":"swift","highlights":[{"line":22},{"line":23},{"line":27},{"line":28},{"line":29},{"line":30},{"line":31},{"line":32},{"line":33},{"line":34},{"line":35}]},"AdvancedUsage 6.swift":{"syntax":"swift","content":["","\/\/ Example link: `https:\/\/example.com\/product\/123`","","import Deeplink","","struct Product: DefaultInitializable {"," var productId: String?","}","","let productDeeplink: Deeplink = try! \"\/product\/\\(\\.productId)\"","","let center = DeeplinksCenter()","","center"," .register("," deeplink: productDeeplink,"," ifMatching: { url, value in",""," \/\/ Present the product view.",""," return true"," })"],"fileName":"DefaultInitializable demo.swift","identifier":"AdvancedUsage 6.swift","type":"file","fileType":"swift","highlights":[{"line":6}]},"doc://Deeplink/documentation/Deeplink/DefaultInitializable":{"role":"symbol","title":"DefaultInitializable","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"DefaultInitializable"}],"abstract":[{"type":"text","text":"A protocol which only requirement is an empty initializer."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DefaultInitializable","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DefaultInitializable"}],"url":"\/documentation\/deeplink\/defaultinitializable"},"AdvancedUsage 2.swift":{"syntax":"swift","content":["","\/\/ Example link: `https:\/\/example.com\/product\/123`","","import Deeplink","","struct Product {"," var productId: String?","}","","let productDeeplink: Deeplink = try! \"\/product\/\\(\\.productId)\"","","func isMagicOn() -> Bool { true }","","let center = DeeplinksCenter()","","center"," .register("," deeplink: productDeeplink,"," assigningTo: Product(),"," ifMatching: { url, value in",""," if isMagicOn() {"," \/\/ Present the magic product view."," } else {"," \/\/ Present the normal product view."," }",""," return true"," })"],"fileName":"Altering matching.swift","identifier":"AdvancedUsage 2.swift","type":"file","fileType":"swift","highlights":[{"line":13},{"line":14},{"line":15},{"line":16},{"line":17},{"line":18},{"line":19},{"line":20},{"line":21},{"line":22},{"line":23},{"line":24},{"line":25},{"line":26},{"line":27},{"line":28},{"line":29}]},"doc://Deeplink/tutorials/Deeplink/Advanced-Usage":{"role":"project","title":"Advanced Usage","estimatedTime":"10min","abstract":[{"type":"text","text":"This tutorial is a small collection of advanced tips and tricks."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Advanced-Usage","kind":"project","type":"topic","url":"\/tutorials\/deeplink\/advanced-usage"},"doc://Deeplink/tutorials/Table-of-Contents":{"role":"overview","title":"🎣 All about Deeplinks","abstract":[{"type":"text","text":"These tutorials will explain how to add deeplinks to your app, and how to manage more complex situations like overlapping deeplink templates or choosing at runtime whether to match a URL or not."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Table-of-Contents","kind":"overview","type":"topic","url":"\/tutorials\/table-of-contents"},"doc://Deeplink/tutorials/Deeplink/Adding-a-Deeplink#Adding-one-deeplink":{"role":"pseudoSymbol","title":"Adding one deeplink","abstract":[{"type":"text","text":"This tutorial will explain how to add deeplinks to your app and how to handle overlapping deeplink templates."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink#Adding-one-deeplink","kind":"section","type":"section","url":"\/tutorials\/deeplink\/adding-a-deeplink#Adding-one-deeplink"},"doc://Deeplink/tutorials/Table-of-Contents/Using-the-library":{"role":"article","title":"Using the library","abstract":[],"identifier":"doc:\/\/Deeplink\/tutorials\/Table-of-Contents\/Using-the-library","kind":"article","type":"topic","url":"\/tutorials\/table-of-contents\/using-the-library"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"role":"symbol","title":"Deeplink","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"abstract":[{"type":"text","text":"An "},{"type":"codeVoice","code":"enum"},{"type":"text","text":" that represents a deeplink template."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Deeplink"}],"url":"\/documentation\/deeplink\/deeplink"},"doc://Deeplink/tutorials/Deeplink/Using-a-ResultBuilder":{"role":"project","title":"Registering Deeplinks with a ResultBuilder","estimatedTime":"10min","abstract":[{"type":"text","text":"If you need advanced behaviors, you can also register your "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"},{"type":"text","text":" templates using a "},{"type":"codeVoice","code":"@resultBuilder"},{"type":"text","text":"."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Using-a-ResultBuilder","kind":"project","type":"topic","url":"\/tutorials\/deeplink\/using-a-resultbuilder"},"AdvancedUsage 1.swift":{"syntax":"swift","content":["","\/\/ Example link: `https:\/\/example.com\/product\/123`","","import Deeplink","","struct Product {"," var productId: String?","}","","let productDeeplink: Deeplink = try! \"\/product\/\\(\\.productId)\"","","func isMagicOn() -> Bool { true }"],"fileName":"Altering matching.swift","identifier":"AdvancedUsage 1.swift","type":"file","fileType":"swift","highlights":[]},"doc://Deeplink/tutorials/Deeplink/Using-a-ResultBuilder#Implementation":{"role":"pseudoSymbol","title":"Implementation","abstract":[{"type":"text","text":"If you need advanced behaviors, you can also register your "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"},{"type":"text","text":" templates using a "},{"type":"codeVoice","code":"@resultBuilder"},{"type":"text","text":"."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Using-a-ResultBuilder#Implementation","kind":"section","type":"section","url":"\/tutorials\/deeplink\/using-a-resultbuilder#Implementation"},"doc://Deeplink/tutorials/Deeplink/Adding-a-Deeplink#Adding-a-deeplink-that-catches-a-list-of-parameters":{"role":"pseudoSymbol","title":"Adding a deeplink that catches a list of parameters","abstract":[{"type":"text","text":"This tutorial will explain how to add deeplinks to your app and how to handle overlapping deeplink templates."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink#Adding-a-deeplink-that-catches-a-list-of-parameters","kind":"section","type":"section","url":"\/tutorials\/deeplink\/adding-a-deeplink#Adding-a-deeplink-that-catches-a-list-of-parameters"},"AdvancedUsage 5.swift":{"syntax":"swift","content":["","\/\/ Example link: `https:\/\/example.com\/product\/123`","","import Deeplink","","struct Product {"," var productId: String?","}","","let productDeeplink: Deeplink = try! \"\/product\/\\(\\.productId)\"","","let center = DeeplinksCenter()","","center"," .register("," deeplink: productDeeplink,"," assigningTo: Product(),"," ifMatching: { url, value in",""," \/\/ Present the product view.",""," return true"," })"],"fileName":"DefaultInitializable demo.swift","identifier":"AdvancedUsage 5.swift","type":"file","fileType":"swift","highlights":[]}}} \ No newline at end of file +{"identifier":{"url":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Advanced-Usage","interfaceLanguage":"swift"},"sections":[{"kind":"hero","content":[{"inlineContent":[{"type":"text","text":"This tutorial is a small collection of advanced tips and tricks."}],"type":"paragraph"}],"title":"Advanced Usage","chapter":"Using the library","estimatedTimeInMinutes":10},{"kind":"tasks","tasks":[{"title":"Altering the matching behavior","contentSection":[{"content":[{"inlineContent":[{"text":"In normal usage of this library, you ","type":"text"},{"code":"return true","type":"codeVoice"},{"type":"text","text":" from the "},{"code":"ifMatching","type":"codeVoice"},{"type":"text","text":" closure on the "},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","type":"reference","isActive":true},{"text":" ","type":"text"},{"code":"register","type":"codeVoice"},{"text":" methods.","type":"text"}],"type":"paragraph"},{"type":"paragraph","inlineContent":[{"type":"text","text":"What if we returned false? Why would you do that?"}]},{"type":"paragraph","inlineContent":[{"text":"In this section, we’ll implement a simple AB testing behavior for interpreting deeplinks.","type":"text"}]}],"kind":"fullWidth"}],"anchor":"Altering-the-matching-behavior","stepsSection":[{"caption":[{"type":"paragraph","inlineContent":[{"text":"What we want is to show one screen to 50% of the users and a different version of that screen to the rest. Let’s say that we have some kind of ","type":"text"},{"code":"isMagicOn()","type":"codeVoice"},{"type":"text","text":" function that returns "},{"code":"true","type":"codeVoice"},{"text":" if we should show the alternative view.","type":"text"}]}],"type":"step","content":[{"inlineContent":[{"text":"Let’s start from a simple setup: we have only our product deeplink.","type":"text"}],"type":"paragraph"}],"media":null,"code":"AdvancedUsage 1.swift","runtimePreview":null},{"runtimePreview":null,"type":"step","content":[{"type":"paragraph","inlineContent":[{"text":"We can embed the check directly inside the ","type":"text"},{"code":"ifMatching","type":"codeVoice"},{"type":"text","text":" function…"}]}],"code":"AdvancedUsage 2.swift","caption":[],"media":null},{"caption":[{"type":"paragraph","inlineContent":[{"type":"text","text":"In the first registration we check "},{"type":"codeVoice","code":"isMagicOn"},{"type":"text","text":" and we only continue if it is "},{"type":"codeVoice","code":"true"},{"text":". This means that if the other registration will only ever be executed if ","type":"text"},{"code":"isMagicOn","type":"codeVoice"},{"text":" is ","type":"text"},{"code":"false","type":"codeVoice"},{"type":"text","text":", since "},{"isActive":true,"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"},{"type":"text","text":" will stop evaluating templates at the first successful match. This also makes it really easy to remove the Magic part if… needed."}]}],"code":"AdvancedUsage 3.swift","content":[{"inlineContent":[{"text":"Or we can register the same deeplink template twice.","type":"text"}],"type":"paragraph"}],"type":"step","runtimePreview":null,"media":null},{"media":null,"code":"AdvancedUsage 4.swift","content":[{"type":"paragraph","inlineContent":[{"text":"Since you also get the original URL that is being evaluated, you can also perform additional URL checking logic in the ","type":"text"},{"type":"codeVoice","code":"ifMatching"},{"type":"text","text":" closure, returning "},{"code":"false","type":"codeVoice"},{"text":" if the checks fail.","type":"text"}]}],"type":"step","runtimePreview":null,"caption":[]}]},{"title":"Using DefaultInitializable","stepsSection":[{"media":null,"caption":[{"type":"paragraph","inlineContent":[{"text":"Normally, we pass an instance of Product to the register function.","type":"text"}]}],"type":"step","runtimePreview":null,"code":"AdvancedUsage 5.swift","content":[{"inlineContent":[{"type":"text","text":"Let’s start from our product deeplink."}],"type":"paragraph"}]},{"content":[{"type":"paragraph","inlineContent":[{"text":"We can make Product conform to ","type":"text"},{"isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DefaultInitializable","type":"reference"},{"type":"text","text":" so that we don’t have to pass an instance at registration time, but a new instance will be generated every time you need to parse a URL."}]}],"caption":[],"code":"AdvancedUsage 6.swift","media":null,"runtimePreview":null,"type":"step"}],"contentSection":[{"kind":"fullWidth","content":[{"inlineContent":[{"text":"“Why do I have to pass an instance of my value to the register function?”","type":"text"}],"type":"paragraph"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The problem is that the library needs an initialized object to assign values to. That’s it: or you give an initialized object, or you define a struct that conforms to the utility protocol "},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DefaultInitializable","isActive":true,"type":"reference"},{"type":"text","text":", which only requirement is a empty "},{"code":"init()","type":"codeVoice"},{"type":"text","text":"."}]}]}],"anchor":"Using-DefaultInitializable"}]}],"variants":[{"paths":["\/tutorials\/deeplink\/advanced-usage"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"minor":3,"patch":0,"major":0},"kind":"project","hierarchy":{"reference":"doc:\/\/Deeplink\/tutorials\/Table-of-Contents","modules":[{"reference":"doc:\/\/Deeplink\/tutorials\/Table-of-Contents\/Using-the-library","projects":[{"reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink","sections":[{"reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink#Adding-one-deeplink","kind":"task"},{"reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink#Adding-a-deeplink-that-catches-a-list-of-parameters","kind":"task"},{"kind":"task","reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink#Adding-more-deeplinks"}]},{"reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Using-a-ResultBuilder","sections":[{"kind":"task","reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Using-a-ResultBuilder#Implementation"},{"kind":"task","reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Using-a-ResultBuilder#Conditionally-removing-templates"}]},{"sections":[{"kind":"task","reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Advanced-Usage#Altering-the-matching-behavior"},{"kind":"task","reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Advanced-Usage#Using-DefaultInitializable"}],"reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Advanced-Usage"}]}],"paths":[["doc:\/\/Deeplink\/tutorials\/Table-of-Contents","doc:\/\/Deeplink\/tutorials\/Table-of-Contents\/$volume","doc:\/\/Deeplink\/tutorials\/Table-of-Contents\/Using-the-library"]]},"metadata":{"role":"project","categoryPathComponent":"Table-of-Contents","category":"Documentation","title":"Advanced Usage"},"references":{"AdvancedUsage 1.swift":{"identifier":"AdvancedUsage 1.swift","fileType":"swift","highlights":[],"syntax":"swift","content":["","\/\/ Example link: `https:\/\/example.com\/product\/123`","","import Deeplink","","struct Product {"," var productId: String?","}","","let productDeeplink: Deeplink = try! \"\/product\/\\(\\.productId)\"","","func isMagicOn() -> Bool { true }"],"fileName":"Altering matching.swift","type":"file"},"doc://Deeplink/documentation/Deeplink/DefaultInitializable":{"type":"topic","navigatorTitle":[{"text":"DefaultInitializable","kind":"identifier"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DefaultInitializable","role":"symbol","abstract":[{"text":"A protocol which only requirement is an empty initializer.","type":"text"}],"kind":"symbol","title":"DefaultInitializable","url":"\/documentation\/deeplink\/defaultinitializable","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"DefaultInitializable"}]},"doc://Deeplink/tutorials/Deeplink/Using-a-ResultBuilder#Implementation":{"title":"Implementation","abstract":[{"type":"text","text":"If you need advanced behaviors, you can also register your "},{"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","isActive":true},{"type":"text","text":" templates using a "},{"code":"@resultBuilder","type":"codeVoice"},{"type":"text","text":"."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Using-a-ResultBuilder#Implementation","role":"pseudoSymbol","type":"section","kind":"section","url":"\/tutorials\/deeplink\/using-a-resultbuilder#Implementation"},"AdvancedUsage 5.swift":{"type":"file","syntax":"swift","highlights":[],"fileType":"swift","content":["","\/\/ Example link: `https:\/\/example.com\/product\/123`","","import Deeplink","","struct Product {"," var productId: String?","}","","let productDeeplink: Deeplink = try! \"\/product\/\\(\\.productId)\"","","let center = DeeplinksCenter()","","center"," .register("," deeplink: productDeeplink,"," assigningTo: Product(),"," ifMatching: { url, value in",""," \/\/ Present the product view.",""," return true"," })"],"fileName":"DefaultInitializable demo.swift","identifier":"AdvancedUsage 5.swift"},"doc://Deeplink/tutorials/Deeplink/Advanced-Usage#Using-DefaultInitializable":{"title":"Using DefaultInitializable","abstract":[{"type":"text","text":"This tutorial is a small collection of advanced tips and tricks."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Advanced-Usage#Using-DefaultInitializable","role":"pseudoSymbol","type":"section","kind":"section","url":"\/tutorials\/deeplink\/advanced-usage#Using-DefaultInitializable"},"doc://Deeplink/tutorials/Deeplink/Advanced-Usage":{"kind":"project","abstract":[{"text":"This tutorial is a small collection of advanced tips and tricks.","type":"text"}],"title":"Advanced Usage","estimatedTime":"10min","url":"\/tutorials\/deeplink\/advanced-usage","identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Advanced-Usage","type":"topic","role":"project"},"AdvancedUsage 2.swift":{"highlights":[{"line":13},{"line":14},{"line":15},{"line":16},{"line":17},{"line":18},{"line":19},{"line":20},{"line":21},{"line":22},{"line":23},{"line":24},{"line":25},{"line":26},{"line":27},{"line":28},{"line":29}],"type":"file","content":["","\/\/ Example link: `https:\/\/example.com\/product\/123`","","import Deeplink","","struct Product {"," var productId: String?","}","","let productDeeplink: Deeplink = try! \"\/product\/\\(\\.productId)\"","","func isMagicOn() -> Bool { true }","","let center = DeeplinksCenter()","","center"," .register("," deeplink: productDeeplink,"," assigningTo: Product(),"," ifMatching: { url, value in",""," if isMagicOn() {"," \/\/ Present the magic product view."," } else {"," \/\/ Present the normal product view."," }",""," return true"," })"],"identifier":"AdvancedUsage 2.swift","fileType":"swift","fileName":"Altering matching.swift","syntax":"swift"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"url":"\/documentation\/deeplink\/deeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","navigatorTitle":[{"text":"Deeplink","kind":"identifier"}],"abstract":[{"type":"text","text":"An "},{"code":"enum","type":"codeVoice"},{"text":" that represents a deeplink template.","type":"text"}],"title":"Deeplink","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"type":"topic"},"doc://Deeplink/tutorials/Deeplink/Advanced-Usage#Altering-the-matching-behavior":{"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Advanced-Usage#Altering-the-matching-behavior","abstract":[{"type":"text","text":"This tutorial is a small collection of advanced tips and tricks."}],"type":"section","url":"\/tutorials\/deeplink\/advanced-usage#Altering-the-matching-behavior","title":"Altering the matching behavior","kind":"section","role":"pseudoSymbol"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinksCenter"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","navigatorTitle":[{"text":"DeeplinksCenter","kind":"identifier"}],"role":"symbol","title":"DeeplinksCenter","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkscenter","type":"topic","abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}]},"doc://Deeplink/tutorials/Deeplink/Using-a-ResultBuilder#Conditionally-removing-templates":{"title":"Conditionally removing templates","abstract":[{"type":"text","text":"If you need advanced behaviors, you can also register your "},{"isActive":true,"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"},{"type":"text","text":" templates using a "},{"type":"codeVoice","code":"@resultBuilder"},{"type":"text","text":"."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Using-a-ResultBuilder#Conditionally-removing-templates","role":"pseudoSymbol","type":"section","kind":"section","url":"\/tutorials\/deeplink\/using-a-resultbuilder#Conditionally-removing-templates"},"doc://Deeplink/tutorials/Table-of-Contents/Using-the-library":{"title":"Using the library","abstract":[],"identifier":"doc:\/\/Deeplink\/tutorials\/Table-of-Contents\/Using-the-library","role":"article","type":"topic","kind":"article","url":"\/tutorials\/table-of-contents\/using-the-library"},"doc://Deeplink/tutorials/Table-of-Contents":{"identifier":"doc:\/\/Deeplink\/tutorials\/Table-of-Contents","abstract":[{"text":"These tutorials will explain how to add deeplinks to your app, and how to manage more complex situations like overlapping deeplink templates or choosing at runtime whether to match a URL or not.","type":"text"}],"title":"🎣 All about Deeplinks","role":"overview","kind":"overview","url":"\/tutorials\/table-of-contents","type":"topic"},"doc://Deeplink/tutorials/Deeplink/Adding-a-Deeplink":{"title":"Adding Deeplinks","abstract":[{"text":"This tutorial will explain how to add deeplinks to your app and how to handle overlapping deeplink templates.","type":"text"}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink","url":"\/tutorials\/deeplink\/adding-a-deeplink","type":"topic","role":"project","estimatedTime":"10min","kind":"project"},"AdvancedUsage 6.swift":{"syntax":"swift","content":["","\/\/ Example link: `https:\/\/example.com\/product\/123`","","import Deeplink","","struct Product: DefaultInitializable {"," var productId: String?","}","","let productDeeplink: Deeplink = try! \"\/product\/\\(\\.productId)\"","","let center = DeeplinksCenter()","","center"," .register("," deeplink: productDeeplink,"," ifMatching: { url, value in",""," \/\/ Present the product view.",""," return true"," })"],"identifier":"AdvancedUsage 6.swift","type":"file","fileName":"DefaultInitializable demo.swift","highlights":[{"line":6}],"fileType":"swift"},"doc://Deeplink/tutorials/Deeplink/Adding-a-Deeplink#Adding-one-deeplink":{"title":"Adding one deeplink","abstract":[{"type":"text","text":"This tutorial will explain how to add deeplinks to your app and how to handle overlapping deeplink templates."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink#Adding-one-deeplink","role":"pseudoSymbol","type":"section","kind":"section","url":"\/tutorials\/deeplink\/adding-a-deeplink#Adding-one-deeplink"},"AdvancedUsage 3.swift":{"highlights":[{"line":22},{"line":23},{"line":27},{"line":28},{"line":29},{"line":30},{"line":31},{"line":32},{"line":33},{"line":34},{"line":35}],"type":"file","content":["","\/\/ Example link: `https:\/\/example.com\/product\/123`","","import Deeplink","","struct Product {"," var productId: String?","}","","let productDeeplink: Deeplink = try! \"\/product\/\\(\\.productId)\"","","func isMagicOn() -> Bool { true }","","let center = DeeplinksCenter()","","center"," .register("," deeplink: productDeeplink,"," assigningTo: Product(),"," ifMatching: { url, value in",""," guard isMagicOn() else { return false }"," \/\/ Present the magic product view.",""," return true"," })"," .register("," deeplink: productDeeplink,"," assigningTo: Product(),"," ifMatching: { url, value in",""," \/\/ Present the normal product view.",""," return true"," })"],"fileType":"swift","identifier":"AdvancedUsage 3.swift","fileName":"Altering matching.swift","syntax":"swift"},"AdvancedUsage 4.swift":{"highlights":[{"line":32},{"line":33},{"line":34}],"type":"file","content":["","\/\/ Example link: `https:\/\/example.com\/product\/123`","","import Deeplink","","struct Product {"," var productId: String?","}","","let productDeeplink: Deeplink = try! \"\/product\/\\(\\.productId)\"","","func isMagicOn() -> Bool { true }","","let center = DeeplinksCenter()","","center"," .register("," deeplink: productDeeplink,"," assigningTo: Product(),"," ifMatching: { url, value in",""," guard isMagicOn() else { return false }"," \/\/ Present the magic product view.",""," return true"," })"," .register("," deeplink: productDeeplink,"," assigningTo: Product(),"," ifMatching: { url, value in",""," guard url.absoluteString?.starts(with: \"https\") ?? false"," else { return false }",""," \/\/ Present the normal product view.",""," return true"," })"],"identifier":"AdvancedUsage 4.swift","fileType":"swift","fileName":"Altering matching.swift","syntax":"swift"},"doc://Deeplink/tutorials/Deeplink/Using-a-ResultBuilder":{"estimatedTime":"10min","identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Using-a-ResultBuilder","abstract":[{"text":"If you need advanced behaviors, you can also register your ","type":"text"},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","type":"reference","isActive":true},{"type":"text","text":" templates using a "},{"type":"codeVoice","code":"@resultBuilder"},{"text":".","type":"text"}],"title":"Registering Deeplinks with a ResultBuilder","role":"project","kind":"project","url":"\/tutorials\/deeplink\/using-a-resultbuilder","type":"topic"},"doc://Deeplink/tutorials/Deeplink/Adding-a-Deeplink#Adding-more-deeplinks":{"title":"Adding more deeplinks","abstract":[{"type":"text","text":"This tutorial will explain how to add deeplinks to your app and how to handle overlapping deeplink templates."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink#Adding-more-deeplinks","role":"pseudoSymbol","type":"section","kind":"section","url":"\/tutorials\/deeplink\/adding-a-deeplink#Adding-more-deeplinks"},"doc://Deeplink/tutorials/Deeplink/Adding-a-Deeplink#Adding-a-deeplink-that-catches-a-list-of-parameters":{"title":"Adding a deeplink that catches a list of parameters","abstract":[{"type":"text","text":"This tutorial will explain how to add deeplinks to your app and how to handle overlapping deeplink templates."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink#Adding-a-deeplink-that-catches-a-list-of-parameters","role":"pseudoSymbol","type":"section","kind":"section","url":"\/tutorials\/deeplink\/adding-a-deeplink#Adding-a-deeplink-that-catches-a-list-of-parameters"}}} \ No newline at end of file diff --git a/docs/data/tutorials/deeplink/using-a-resultbuilder.json b/docs/data/tutorials/deeplink/using-a-resultbuilder.json index 6e26d16..e164115 100644 --- a/docs/data/tutorials/deeplink/using-a-resultbuilder.json +++ b/docs/data/tutorials/deeplink/using-a-resultbuilder.json @@ -1 +1 @@ -{"variants":[{"paths":["\/tutorials\/deeplink\/using-a-resultbuilder"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[{"kind":"hero","title":"Registering Deeplinks with a ResultBuilder","chapter":"Using the library","estimatedTimeInMinutes":10,"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"If you need advanced behaviors, you can also register your "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"},{"type":"text","text":" templates using a "},{"type":"codeVoice","code":"@resultBuilder"},{"type":"text","text":"."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"For example, you could enable or disable a specific deeplinking behavior based on a feature flag, or some AB testing parameters."}]}]},{"kind":"tasks","tasks":[{"anchor":"Implementation","title":"Implementation","contentSection":[{"kind":"fullWidth","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Let’s go through an example where I want to AB test presenting a specific screen, versus just presenting a webview with the corresponding web content."}]}]}],"stepsSection":[{"code":"ResultBuilder 1.swift","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"You can use the "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/init(_:)"},{"type":"text","text":" initializer to open a closure where you can register deeplinks in a different way."}]}],"caption":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Registering a literal deeplink template with no arguments only gives you back the URL, in case of a match."}]}],"type":"step","runtimePreview":null,"media":null},{"code":"ResultBuilder 2.swift","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Registering a deeplink template with arguments is very similar, but you will get a "},{"type":"codeVoice","code":"Value"},{"type":"text","text":" inside the closure as well."}]}],"caption":[],"type":"step","runtimePreview":null,"media":null},{"code":"ResultBuilder 3.swift","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Since our old "},{"type":"codeVoice","code":"TestData"},{"type":"text","text":" type conforms to "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DefaultInitializable"},{"type":"text","text":", we don’t need to provide an instance to assign values to."}]}],"caption":[{"type":"paragraph","inlineContent":[{"type":"text","text":"In case we cannot conform to this protocol, we can still provide an instance using this other overload."}]}],"type":"step","runtimePreview":null,"media":null}]},{"anchor":"Conditionally-removing-templates","title":"Conditionally removing templates","contentSection":[{"kind":"fullWidth","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Let’s go through an example where I want to AB test presenting a specific screen, versus just presenting a webview with the corresponding web content."}]}]}],"stepsSection":[{"type":"paragraph","inlineContent":[{"type":"text","text":"One way to approach this is to add a check inside the "},{"type":"codeVoice","code":"isMatching"},{"type":"text","text":" function."}]},{"code":"ResultBuilder 4.swift","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"If you have a function "},{"type":"codeVoice","code":"magicABTestIsOn"},{"type":"text","text":" that gives you a "},{"type":"codeVoice","code":"Bool"},{"type":"text","text":" to enable\/disable a specific behavior, you can call it from inside the "},{"type":"codeVoice","code":"isMatching"},{"type":"text","text":" function."}]}],"caption":[{"type":"paragraph","inlineContent":[{"type":"text","text":"This function is called every time a new URL is evaluated."}]}],"type":"step","runtimePreview":null,"media":null},{"code":"ResultBuilder 5.swift","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"If you only want to check once when you first initialize your "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter"},{"type":"text","text":", you can use the "},{"type":"codeVoice","code":"@resultBuilder"},{"type":"text","text":" capabilities to potentially remove a template registration from the evaluation list all together."}]}],"caption":[],"type":"step","runtimePreview":null,"media":null}]}]},{"action":{"overridingTitleInlineContent":[{"type":"text","text":"Get started"}],"isActive":true,"type":"reference","identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Advanced-Usage","overridingTitle":"Get started"},"featuredEyebrow":"Tutorial","kind":"callToAction","title":"Advanced Usage","abstract":[{"type":"text","text":"This tutorial is a small collection of advanced tips and tricks."}]}],"identifier":{"url":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Using-a-ResultBuilder","interfaceLanguage":"swift"},"kind":"project","metadata":{"title":"Registering Deeplinks with a ResultBuilder","categoryPathComponent":"Table-of-Contents","role":"project","category":"Documentation"},"hierarchy":{"modules":[{"reference":"doc:\/\/Deeplink\/tutorials\/Table-of-Contents\/Using-the-library","projects":[{"reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink","sections":[{"kind":"task","reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink#Adding-one-deeplink"},{"kind":"task","reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink#Adding-a-deeplink-that-catches-a-list-of-parameters"},{"kind":"task","reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink#Adding-more-deeplinks"}]},{"reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Using-a-ResultBuilder","sections":[{"kind":"task","reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Using-a-ResultBuilder#Implementation"},{"kind":"task","reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Using-a-ResultBuilder#Conditionally-removing-templates"}]},{"reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Advanced-Usage","sections":[{"kind":"task","reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Advanced-Usage#Altering-the-matching-behavior"},{"kind":"task","reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Advanced-Usage#Using-DefaultInitializable"}]}]}],"reference":"doc:\/\/Deeplink\/tutorials\/Table-of-Contents","paths":[["doc:\/\/Deeplink\/tutorials\/Table-of-Contents","doc:\/\/Deeplink\/tutorials\/Table-of-Contents\/$volume","doc:\/\/Deeplink\/tutorials\/Table-of-Contents\/Using-the-library"]]},"references":{"doc://Deeplink/tutorials/Table-of-Contents":{"role":"overview","title":"🎣 All about Deeplinks","abstract":[{"type":"text","text":"These tutorials will explain how to add deeplinks to your app, and how to manage more complex situations like overlapping deeplink templates or choosing at runtime whether to match a URL or not."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Table-of-Contents","kind":"overview","type":"topic","url":"\/tutorials\/table-of-contents"},"doc://Deeplink/tutorials/Deeplink/Advanced-Usage#Altering-the-matching-behavior":{"role":"pseudoSymbol","title":"Altering the matching behavior","abstract":[{"type":"text","text":"This tutorial is a small collection of advanced tips and tricks."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Advanced-Usage#Altering-the-matching-behavior","kind":"section","type":"section","url":"\/tutorials\/deeplink\/advanced-usage#Altering-the-matching-behavior"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"role":"symbol","title":"Deeplink","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"abstract":[{"type":"text","text":"An "},{"type":"codeVoice","code":"enum"},{"type":"text","text":" that represents a deeplink template."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Deeplink"}],"url":"\/documentation\/deeplink\/deeplink"},"ResultBuilder 4.swift":{"syntax":"swift","content":["import Deeplink","","let link1 = \"\/test\/1\" as Deeplink","","func magicABTestIsOn() -> Bool { Bool.random() }","","let center = DeeplinksCenter {",""," link1 { url in"," if !magicABTestIsOn() { return false }",""," \/\/ Present Screen A"," return true"," }",""," link1 { url in",""," \/\/ Present WebView"," return true"," }","}","","try center.parse(url: URL(string: \"https:\/\/apple.com\/test\/1\")!)"],"fileName":"ResultBuilder demo.swift","identifier":"ResultBuilder 4.swift","type":"file","fileType":"swift","highlights":[]},"doc://Deeplink/tutorials/Deeplink/Using-a-ResultBuilder":{"role":"project","title":"Registering Deeplinks with a ResultBuilder","estimatedTime":"10min","abstract":[{"type":"text","text":"If you need advanced behaviors, you can also register your "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"},{"type":"text","text":" templates using a "},{"type":"codeVoice","code":"@resultBuilder"},{"type":"text","text":"."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Using-a-ResultBuilder","kind":"project","type":"topic","url":"\/tutorials\/deeplink\/using-a-resultbuilder"},"doc://Deeplink/tutorials/Deeplink/Adding-a-Deeplink":{"role":"project","title":"Adding Deeplinks","estimatedTime":"10min","abstract":[{"type":"text","text":"This tutorial will explain how to add deeplinks to your app and how to handle overlapping deeplink templates."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink","kind":"project","type":"topic","url":"\/tutorials\/deeplink\/adding-a-deeplink"},"doc://Deeplink/tutorials/Deeplink/Using-a-ResultBuilder#Implementation":{"role":"pseudoSymbol","title":"Implementation","abstract":[{"type":"text","text":"If you need advanced behaviors, you can also register your "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"},{"type":"text","text":" templates using a "},{"type":"codeVoice","code":"@resultBuilder"},{"type":"text","text":"."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Using-a-ResultBuilder#Implementation","kind":"section","type":"section","url":"\/tutorials\/deeplink\/using-a-resultbuilder#Implementation"},"doc://Deeplink/documentation/Deeplink/DefaultInitializable":{"role":"symbol","title":"DefaultInitializable","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"DefaultInitializable"}],"abstract":[{"type":"text","text":"A protocol which only requirement is an empty initializer."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DefaultInitializable","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DefaultInitializable"}],"url":"\/documentation\/deeplink\/defaultinitializable"},"doc://Deeplink/tutorials/Deeplink/Adding-a-Deeplink#Adding-more-deeplinks":{"role":"pseudoSymbol","title":"Adding more deeplinks","abstract":[{"type":"text","text":"This tutorial will explain how to add deeplinks to your app and how to handle overlapping deeplink templates."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink#Adding-more-deeplinks","kind":"section","type":"section","url":"\/tutorials\/deeplink\/adding-a-deeplink#Adding-more-deeplinks"},"ResultBuilder 3.swift":{"syntax":"swift","content":["import Deeplink","","struct TestData: DefaultInitializable {"," var arg1: String?"," var arg2: String?","}","","struct TestData2 {"," var arg1: String?"," var arg2: String?","}","","let link1 = \"\/test\/1\" as Deeplink","let link2 = try \"\/test\/\\(\\.arg1)\/\\(\\.arg2)\" as Deeplink","let link3 = try \"\/test2\/\\(\\.arg1)\/\\(\\.arg2)\" as Deeplink","","let center = DeeplinksCenter {",""," link1 { url in"," XCTAssertEqual(url.absoluteString, \"https:\/\/apple.com\/test\/1\")"," return true"," }",""," link2 { url, value in"," XCTAssertEqual(url.absoluteString, \"https:\/\/apple.com\/test\/a\/b\")"," XCTAssertEqual(value.arg1, \"a\")"," XCTAssertEqual(value.arg2, \"b\")"," return true"," }",""," link3("," assigningTo: .init(arg1: \"default\", arg2: \"default\")"," ) { (url, value) -> Bool in"," XCTAssertEqual(url.absoluteString, \"https:\/\/apple.com\/test2\/a\/b\")"," XCTAssertEqual(value.arg1, \"a\")"," XCTAssertEqual(value.arg2, \"b\")"," return true"," }","}","","try center.parse(url: URL(string: \"https:\/\/apple.com\/test\/1\")!)","try center.parse(url: URL(string: \"https:\/\/apple.com\/test\/a\/b\")!)","try center.parse(url: URL(string: \"https:\/\/apple.com\/test2\/a\/b\")!)"],"fileName":"ResultBuilder demo.swift","identifier":"ResultBuilder 3.swift","type":"file","fileType":"swift","highlights":[{"line":8},{"line":9},{"line":10},{"line":11},{"line":12},{"line":15},{"line":30},{"line":31},{"line":32},{"line":33},{"line":34},{"line":35},{"line":36},{"line":37},{"line":38},{"line":43}]},"doc://Deeplink/tutorials/Deeplink/Adding-a-Deeplink#Adding-a-deeplink-that-catches-a-list-of-parameters":{"role":"pseudoSymbol","title":"Adding a deeplink that catches a list of parameters","abstract":[{"type":"text","text":"This tutorial will explain how to add deeplinks to your app and how to handle overlapping deeplink templates."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink#Adding-a-deeplink-that-catches-a-list-of-parameters","kind":"section","type":"section","url":"\/tutorials\/deeplink\/adding-a-deeplink#Adding-a-deeplink-that-catches-a-list-of-parameters"},"doc://Deeplink/tutorials/Deeplink/Adding-a-Deeplink#Adding-one-deeplink":{"role":"pseudoSymbol","title":"Adding one deeplink","abstract":[{"type":"text","text":"This tutorial will explain how to add deeplinks to your app and how to handle overlapping deeplink templates."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink#Adding-one-deeplink","kind":"section","type":"section","url":"\/tutorials\/deeplink\/adding-a-deeplink#Adding-one-deeplink"},"doc://Deeplink/tutorials/Deeplink/Using-a-ResultBuilder#Conditionally-removing-templates":{"role":"pseudoSymbol","title":"Conditionally removing templates","abstract":[{"type":"text","text":"If you need advanced behaviors, you can also register your "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"},{"type":"text","text":" templates using a "},{"type":"codeVoice","code":"@resultBuilder"},{"type":"text","text":"."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Using-a-ResultBuilder#Conditionally-removing-templates","kind":"section","type":"section","url":"\/tutorials\/deeplink\/using-a-resultbuilder#Conditionally-removing-templates"},"ResultBuilder 1.swift":{"syntax":"swift","content":["import Deeplink","","let link1 = \"\/test\/1\" as Deeplink","","let center = DeeplinksCenter {",""," link1 { url in"," XCTAssertEqual(url.absoluteString, \"https:\/\/apple.com\/test\/1\")"," return true"," }","}","","try center.parse(url: URL(string: \"https:\/\/apple.com\/test\/1\")!)"],"fileName":"ResultBuilder demo.swift","identifier":"ResultBuilder 1.swift","type":"file","fileType":"swift","highlights":[]},"ResultBuilder 2.swift":{"syntax":"swift","content":["import Deeplink","","struct TestData: DefaultInitializable {"," var arg1: String?"," var arg2: String?","}","","let link1 = \"\/test\/1\" as Deeplink","let link2 = try \"\/test\/\\(\\.arg1)\/\\(\\.arg2)\" as Deeplink","","let center = DeeplinksCenter {",""," link1 { url in"," XCTAssertEqual(url.absoluteString, \"https:\/\/apple.com\/test\/1\")"," return true"," }",""," link2 { url, value in"," XCTAssertEqual(url.absoluteString, \"https:\/\/apple.com\/test\/a\/b\")"," XCTAssertEqual(value.arg1, \"a\")"," XCTAssertEqual(value.arg2, \"b\")"," return true"," }","}","","try center.parse(url: URL(string: \"https:\/\/apple.com\/test\/1\")!)","try center.parse(url: URL(string: \"https:\/\/apple.com\/test\/a\/b\")!)"],"fileName":"ResultBuilder demo.swift","identifier":"ResultBuilder 2.swift","type":"file","fileType":"swift","highlights":[{"line":3},{"line":4},{"line":5},{"line":6},{"line":7},{"line":9},{"line":17},{"line":18},{"line":19},{"line":20},{"line":21},{"line":22},{"line":23},{"line":27}]},"doc://Deeplink/tutorials/Deeplink/Advanced-Usage":{"role":"project","title":"Advanced Usage","estimatedTime":"10min","abstract":[{"type":"text","text":"This tutorial is a small collection of advanced tips and tricks."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Advanced-Usage","kind":"project","type":"topic","url":"\/tutorials\/deeplink\/advanced-usage"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"role":"symbol","title":"DeeplinksCenter","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"DeeplinksCenter"}],"abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DeeplinksCenter"}],"url":"\/documentation\/deeplink\/deeplinkscenter"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/init(_:)":{"role":"symbol","title":"init(_:)","fragments":[{"kind":"keyword","text":"convenience"},{"kind":"text","text":" "},{"kind":"identifier","text":"init"},{"kind":"text","text":"(() -> ["},{"kind":"typeIdentifier","text":"AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V"},{"kind":"text","text":"])"}],"abstract":[{"type":"text","text":"Initializer that takes a DeeplinkBuilder closure."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/init(_:)","kind":"symbol","type":"topic","url":"\/documentation\/deeplink\/deeplinkscenter\/init(_:)"},"doc://Deeplink/tutorials/Table-of-Contents/Using-the-library":{"role":"article","title":"Using the library","abstract":[],"identifier":"doc:\/\/Deeplink\/tutorials\/Table-of-Contents\/Using-the-library","kind":"article","type":"topic","url":"\/tutorials\/table-of-contents\/using-the-library"},"doc://Deeplink/tutorials/Deeplink/Advanced-Usage#Using-DefaultInitializable":{"role":"pseudoSymbol","title":"Using DefaultInitializable","abstract":[{"type":"text","text":"This tutorial is a small collection of advanced tips and tricks."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Advanced-Usage#Using-DefaultInitializable","kind":"section","type":"section","url":"\/tutorials\/deeplink\/advanced-usage#Using-DefaultInitializable"},"ResultBuilder 5.swift":{"syntax":"swift","content":["import Deeplink","","let link1 = \"\/test\/1\" as Deeplink","","func magicABTestIsOn() -> Bool { Bool.random() }","","let center = DeeplinksCenter {",""," if magicABTestIsOn() {"," link1 { url in"," \/\/ Present Screen A"," return true"," }"," }",""," link1 { url in",""," \/\/ Present WebView"," return true"," }","}","","try center.parse(url: URL(string: \"https:\/\/apple.com\/test\/1\")!)"],"fileName":"ResultBuilder demo.swift","identifier":"ResultBuilder 5.swift","type":"file","fileType":"swift","highlights":[{"line":9},{"line":10},{"line":11},{"line":12},{"line":13}]}}} \ No newline at end of file +{"hierarchy":{"paths":[["doc:\/\/Deeplink\/tutorials\/Table-of-Contents","doc:\/\/Deeplink\/tutorials\/Table-of-Contents\/$volume","doc:\/\/Deeplink\/tutorials\/Table-of-Contents\/Using-the-library"]],"reference":"doc:\/\/Deeplink\/tutorials\/Table-of-Contents","modules":[{"reference":"doc:\/\/Deeplink\/tutorials\/Table-of-Contents\/Using-the-library","projects":[{"sections":[{"reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink#Adding-one-deeplink","kind":"task"},{"reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink#Adding-a-deeplink-that-catches-a-list-of-parameters","kind":"task"},{"kind":"task","reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink#Adding-more-deeplinks"}],"reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink"},{"reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Using-a-ResultBuilder","sections":[{"reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Using-a-ResultBuilder#Implementation","kind":"task"},{"reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Using-a-ResultBuilder#Conditionally-removing-templates","kind":"task"}]},{"reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Advanced-Usage","sections":[{"kind":"task","reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Advanced-Usage#Altering-the-matching-behavior"},{"reference":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Advanced-Usage#Using-DefaultInitializable","kind":"task"}]}]}]},"variants":[{"paths":["\/tutorials\/deeplink\/using-a-resultbuilder"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"role":"project","categoryPathComponent":"Table-of-Contents","title":"Registering Deeplinks with a ResultBuilder","category":"Documentation"},"schemaVersion":{"patch":0,"minor":3,"major":0},"sections":[{"title":"Registering Deeplinks with a ResultBuilder","estimatedTimeInMinutes":10,"kind":"hero","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"If you need advanced behaviors, you can also register your "},{"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","isActive":true},{"type":"text","text":" templates using a "},{"type":"codeVoice","code":"@resultBuilder"},{"type":"text","text":"."}]},{"type":"paragraph","inlineContent":[{"text":"For example, you could enable or disable a specific deeplinking behavior based on a feature flag, or some AB testing parameters.","type":"text"}]}],"chapter":"Using the library"},{"kind":"tasks","tasks":[{"anchor":"Implementation","stepsSection":[{"caption":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Registering a literal deeplink template with no arguments only gives you back the URL, in case of a match."}]}],"media":null,"runtimePreview":null,"content":[{"type":"paragraph","inlineContent":[{"text":"You can use the ","type":"text"},{"isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/init(_:)","type":"reference"},{"text":" initializer to open a closure where you can register deeplinks in a different way.","type":"text"}]}],"code":"ResultBuilder 1.swift","type":"step"},{"caption":[],"media":null,"type":"step","code":"ResultBuilder 2.swift","content":[{"inlineContent":[{"text":"Registering a deeplink template with arguments is very similar, but you will get a ","type":"text"},{"type":"codeVoice","code":"Value"},{"type":"text","text":" inside the closure as well."}],"type":"paragraph"}],"runtimePreview":null},{"code":"ResultBuilder 3.swift","runtimePreview":null,"type":"step","content":[{"type":"paragraph","inlineContent":[{"text":"Since our old ","type":"text"},{"type":"codeVoice","code":"TestData"},{"type":"text","text":" type conforms to "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DefaultInitializable"},{"type":"text","text":", we don’t need to provide an instance to assign values to."}]}],"caption":[{"type":"paragraph","inlineContent":[{"text":"In case we cannot conform to this protocol, we can still provide an instance using this other overload.","type":"text"}]}],"media":null}],"contentSection":[{"content":[{"inlineContent":[{"text":"Let’s go through an example where I want to AB test presenting a specific screen, versus just presenting a webview with the corresponding web content.","type":"text"}],"type":"paragraph"}],"kind":"fullWidth"}],"title":"Implementation"},{"contentSection":[{"kind":"fullWidth","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Let’s go through an example where I want to AB test presenting a specific screen, versus just presenting a webview with the corresponding web content."}]}]}],"title":"Conditionally removing templates","stepsSection":[{"type":"paragraph","inlineContent":[{"type":"text","text":"One way to approach this is to add a check inside the "},{"type":"codeVoice","code":"isMatching"},{"type":"text","text":" function."}]},{"type":"step","caption":[{"type":"paragraph","inlineContent":[{"text":"This function is called every time a new URL is evaluated.","type":"text"}]}],"runtimePreview":null,"code":"ResultBuilder 4.swift","media":null,"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"If you have a function "},{"type":"codeVoice","code":"magicABTestIsOn"},{"type":"text","text":" that gives you a "},{"type":"codeVoice","code":"Bool"},{"text":" to enable\/disable a specific behavior, you can call it from inside the ","type":"text"},{"type":"codeVoice","code":"isMatching"},{"type":"text","text":" function."}]}]},{"type":"step","caption":[],"content":[{"type":"paragraph","inlineContent":[{"text":"If you only want to check once when you first initialize your ","type":"text"},{"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","isActive":true},{"text":", you can use the ","type":"text"},{"code":"@resultBuilder","type":"codeVoice"},{"type":"text","text":" capabilities to potentially remove a template registration from the evaluation list all together."}]}],"media":null,"code":"ResultBuilder 5.swift","runtimePreview":null}],"anchor":"Conditionally-removing-templates"}]},{"abstract":[{"text":"This tutorial is a small collection of advanced tips and tricks.","type":"text"}],"action":{"type":"reference","identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Advanced-Usage","isActive":true,"overridingTitle":"Get started","overridingTitleInlineContent":[{"type":"text","text":"Get started"}]},"featuredEyebrow":"Tutorial","kind":"callToAction","title":"Advanced Usage"}],"kind":"project","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Using-a-ResultBuilder"},"references":{"doc://Deeplink/tutorials/Deeplink/Advanced-Usage#Altering-the-matching-behavior":{"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Advanced-Usage#Altering-the-matching-behavior","abstract":[{"type":"text","text":"This tutorial is a small collection of advanced tips and tricks."}],"type":"section","url":"\/tutorials\/deeplink\/advanced-usage#Altering-the-matching-behavior","title":"Altering the matching behavior","kind":"section","role":"pseudoSymbol"},"ResultBuilder 4.swift":{"fileName":"ResultBuilder demo.swift","content":["import Deeplink","","let link1 = \"\/test\/1\" as Deeplink","","func magicABTestIsOn() -> Bool { Bool.random() }","","let center = DeeplinksCenter {",""," link1 { url in"," if !magicABTestIsOn() { return false }",""," \/\/ Present Screen A"," return true"," }",""," link1 { url in",""," \/\/ Present WebView"," return true"," }","}","","try center.parse(url: URL(string: \"https:\/\/apple.com\/test\/1\")!)"],"identifier":"ResultBuilder 4.swift","syntax":"swift","highlights":[],"type":"file","fileType":"swift"},"doc://Deeplink/documentation/Deeplink/DefaultInitializable":{"type":"topic","navigatorTitle":[{"text":"DefaultInitializable","kind":"identifier"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DefaultInitializable","role":"symbol","abstract":[{"text":"A protocol which only requirement is an empty initializer.","type":"text"}],"kind":"symbol","title":"DefaultInitializable","url":"\/documentation\/deeplink\/defaultinitializable","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"DefaultInitializable"}]},"doc://Deeplink/tutorials/Deeplink/Advanced-Usage#Using-DefaultInitializable":{"title":"Using DefaultInitializable","abstract":[{"type":"text","text":"This tutorial is a small collection of advanced tips and tricks."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Advanced-Usage#Using-DefaultInitializable","role":"pseudoSymbol","type":"section","kind":"section","url":"\/tutorials\/deeplink\/advanced-usage#Using-DefaultInitializable"},"doc://Deeplink/tutorials/Deeplink/Using-a-ResultBuilder#Conditionally-removing-templates":{"title":"Conditionally removing templates","abstract":[{"type":"text","text":"If you need advanced behaviors, you can also register your "},{"isActive":true,"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"},{"type":"text","text":" templates using a "},{"type":"codeVoice","code":"@resultBuilder"},{"type":"text","text":"."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Using-a-ResultBuilder#Conditionally-removing-templates","role":"pseudoSymbol","type":"section","kind":"section","url":"\/tutorials\/deeplink\/using-a-resultbuilder#Conditionally-removing-templates"},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter":{"fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DeeplinksCenter"}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter","navigatorTitle":[{"text":"DeeplinksCenter","kind":"identifier"}],"role":"symbol","title":"DeeplinksCenter","kind":"symbol","url":"\/documentation\/deeplink\/deeplinkscenter","type":"topic","abstract":[{"type":"text","text":"Register deeplinks and parse URLs."}]},"doc://Deeplink/documentation/Deeplink/DeeplinksCenter/init(_:)":{"url":"\/documentation\/deeplink\/deeplinkscenter\/init(_:)","role":"symbol","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/DeeplinksCenter\/init(_:)","kind":"symbol","type":"topic","abstract":[{"type":"text","text":"Initializer that takes a DeeplinkBuilder closure."}],"fragments":[{"kind":"keyword","text":"convenience"},{"kind":"text","text":" "},{"text":"init","kind":"identifier"},{"text":"(() -> [","kind":"text"},{"text":"AnyDeeplink","preciseIdentifier":"s:8Deeplink03AnyA0V","kind":"typeIdentifier"},{"text":"])","kind":"text"}],"title":"init(_:)"},"doc://Deeplink/tutorials/Deeplink/Adding-a-Deeplink#Adding-more-deeplinks":{"title":"Adding more deeplinks","abstract":[{"type":"text","text":"This tutorial will explain how to add deeplinks to your app and how to handle overlapping deeplink templates."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink#Adding-more-deeplinks","role":"pseudoSymbol","type":"section","kind":"section","url":"\/tutorials\/deeplink\/adding-a-deeplink#Adding-more-deeplinks"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"url":"\/documentation\/deeplink\/deeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","navigatorTitle":[{"text":"Deeplink","kind":"identifier"}],"abstract":[{"type":"text","text":"An "},{"code":"enum","type":"codeVoice"},{"text":" that represents a deeplink template.","type":"text"}],"title":"Deeplink","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"type":"topic"},"doc://Deeplink/tutorials/Deeplink/Using-a-ResultBuilder#Implementation":{"title":"Implementation","abstract":[{"type":"text","text":"If you need advanced behaviors, you can also register your "},{"type":"reference","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","isActive":true},{"type":"text","text":" templates using a "},{"code":"@resultBuilder","type":"codeVoice"},{"type":"text","text":"."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Using-a-ResultBuilder#Implementation","role":"pseudoSymbol","type":"section","kind":"section","url":"\/tutorials\/deeplink\/using-a-resultbuilder#Implementation"},"doc://Deeplink/tutorials/Table-of-Contents/Using-the-library":{"title":"Using the library","abstract":[],"identifier":"doc:\/\/Deeplink\/tutorials\/Table-of-Contents\/Using-the-library","role":"article","type":"topic","kind":"article","url":"\/tutorials\/table-of-contents\/using-the-library"},"doc://Deeplink/tutorials/Deeplink/Adding-a-Deeplink#Adding-one-deeplink":{"title":"Adding one deeplink","abstract":[{"type":"text","text":"This tutorial will explain how to add deeplinks to your app and how to handle overlapping deeplink templates."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink#Adding-one-deeplink","role":"pseudoSymbol","type":"section","kind":"section","url":"\/tutorials\/deeplink\/adding-a-deeplink#Adding-one-deeplink"},"doc://Deeplink/tutorials/Deeplink/Adding-a-Deeplink":{"title":"Adding Deeplinks","abstract":[{"text":"This tutorial will explain how to add deeplinks to your app and how to handle overlapping deeplink templates.","type":"text"}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink","url":"\/tutorials\/deeplink\/adding-a-deeplink","type":"topic","role":"project","estimatedTime":"10min","kind":"project"},"doc://Deeplink/tutorials/Deeplink/Adding-a-Deeplink#Adding-a-deeplink-that-catches-a-list-of-parameters":{"title":"Adding a deeplink that catches a list of parameters","abstract":[{"type":"text","text":"This tutorial will explain how to add deeplinks to your app and how to handle overlapping deeplink templates."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink#Adding-a-deeplink-that-catches-a-list-of-parameters","role":"pseudoSymbol","type":"section","kind":"section","url":"\/tutorials\/deeplink\/adding-a-deeplink#Adding-a-deeplink-that-catches-a-list-of-parameters"},"ResultBuilder 2.swift":{"fileName":"ResultBuilder demo.swift","content":["import Deeplink","","struct TestData: DefaultInitializable {"," var arg1: String?"," var arg2: String?","}","","let link1 = \"\/test\/1\" as Deeplink","let link2 = try \"\/test\/\\(\\.arg1)\/\\(\\.arg2)\" as Deeplink","","let center = DeeplinksCenter {",""," link1 { url in"," XCTAssertEqual(url.absoluteString, \"https:\/\/apple.com\/test\/1\")"," return true"," }",""," link2 { url, value in"," XCTAssertEqual(url.absoluteString, \"https:\/\/apple.com\/test\/a\/b\")"," XCTAssertEqual(value.arg1, \"a\")"," XCTAssertEqual(value.arg2, \"b\")"," return true"," }","}","","try center.parse(url: URL(string: \"https:\/\/apple.com\/test\/1\")!)","try center.parse(url: URL(string: \"https:\/\/apple.com\/test\/a\/b\")!)"],"identifier":"ResultBuilder 2.swift","syntax":"swift","highlights":[{"line":3},{"line":4},{"line":5},{"line":6},{"line":7},{"line":9},{"line":17},{"line":18},{"line":19},{"line":20},{"line":21},{"line":22},{"line":23},{"line":27}],"type":"file","fileType":"swift"},"ResultBuilder 3.swift":{"fileName":"ResultBuilder demo.swift","content":["import Deeplink","","struct TestData: DefaultInitializable {"," var arg1: String?"," var arg2: String?","}","","struct TestData2 {"," var arg1: String?"," var arg2: String?","}","","let link1 = \"\/test\/1\" as Deeplink","let link2 = try \"\/test\/\\(\\.arg1)\/\\(\\.arg2)\" as Deeplink","let link3 = try \"\/test2\/\\(\\.arg1)\/\\(\\.arg2)\" as Deeplink","","let center = DeeplinksCenter {",""," link1 { url in"," XCTAssertEqual(url.absoluteString, \"https:\/\/apple.com\/test\/1\")"," return true"," }",""," link2 { url, value in"," XCTAssertEqual(url.absoluteString, \"https:\/\/apple.com\/test\/a\/b\")"," XCTAssertEqual(value.arg1, \"a\")"," XCTAssertEqual(value.arg2, \"b\")"," return true"," }",""," link3("," assigningTo: .init(arg1: \"default\", arg2: \"default\")"," ) { (url, value) -> Bool in"," XCTAssertEqual(url.absoluteString, \"https:\/\/apple.com\/test2\/a\/b\")"," XCTAssertEqual(value.arg1, \"a\")"," XCTAssertEqual(value.arg2, \"b\")"," return true"," }","}","","try center.parse(url: URL(string: \"https:\/\/apple.com\/test\/1\")!)","try center.parse(url: URL(string: \"https:\/\/apple.com\/test\/a\/b\")!)","try center.parse(url: URL(string: \"https:\/\/apple.com\/test2\/a\/b\")!)"],"identifier":"ResultBuilder 3.swift","syntax":"swift","highlights":[{"line":8},{"line":9},{"line":10},{"line":11},{"line":12},{"line":15},{"line":30},{"line":31},{"line":32},{"line":33},{"line":34},{"line":35},{"line":36},{"line":37},{"line":38},{"line":43}],"type":"file","fileType":"swift"},"ResultBuilder 5.swift":{"fileName":"ResultBuilder demo.swift","content":["import Deeplink","","let link1 = \"\/test\/1\" as Deeplink","","func magicABTestIsOn() -> Bool { Bool.random() }","","let center = DeeplinksCenter {",""," if magicABTestIsOn() {"," link1 { url in"," \/\/ Present Screen A"," return true"," }"," }",""," link1 { url in",""," \/\/ Present WebView"," return true"," }","}","","try center.parse(url: URL(string: \"https:\/\/apple.com\/test\/1\")!)"],"identifier":"ResultBuilder 5.swift","syntax":"swift","highlights":[{"line":9},{"line":10},{"line":11},{"line":12},{"line":13}],"type":"file","fileType":"swift"},"doc://Deeplink/tutorials/Deeplink/Using-a-ResultBuilder":{"estimatedTime":"10min","identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Using-a-ResultBuilder","abstract":[{"text":"If you need advanced behaviors, you can also register your ","type":"text"},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","type":"reference","isActive":true},{"type":"text","text":" templates using a "},{"type":"codeVoice","code":"@resultBuilder"},{"text":".","type":"text"}],"title":"Registering Deeplinks with a ResultBuilder","role":"project","kind":"project","url":"\/tutorials\/deeplink\/using-a-resultbuilder","type":"topic"},"doc://Deeplink/tutorials/Table-of-Contents":{"identifier":"doc:\/\/Deeplink\/tutorials\/Table-of-Contents","abstract":[{"text":"These tutorials will explain how to add deeplinks to your app, and how to manage more complex situations like overlapping deeplink templates or choosing at runtime whether to match a URL or not.","type":"text"}],"title":"🎣 All about Deeplinks","role":"overview","kind":"overview","url":"\/tutorials\/table-of-contents","type":"topic"},"ResultBuilder 1.swift":{"fileName":"ResultBuilder demo.swift","content":["import Deeplink","","let link1 = \"\/test\/1\" as Deeplink","","let center = DeeplinksCenter {",""," link1 { url in"," XCTAssertEqual(url.absoluteString, \"https:\/\/apple.com\/test\/1\")"," return true"," }","}","","try center.parse(url: URL(string: \"https:\/\/apple.com\/test\/1\")!)"],"identifier":"ResultBuilder 1.swift","syntax":"swift","highlights":[],"type":"file","fileType":"swift"},"doc://Deeplink/tutorials/Deeplink/Advanced-Usage":{"kind":"project","abstract":[{"text":"This tutorial is a small collection of advanced tips and tricks.","type":"text"}],"title":"Advanced Usage","estimatedTime":"10min","url":"\/tutorials\/deeplink\/advanced-usage","identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Advanced-Usage","type":"topic","role":"project"}}} \ No newline at end of file diff --git a/docs/data/tutorials/table-of-contents.json b/docs/data/tutorials/table-of-contents.json index ac6fbcc..231c7b8 100644 --- a/docs/data/tutorials/table-of-contents.json +++ b/docs/data/tutorials/table-of-contents.json @@ -1 +1 @@ -{"variants":[{"paths":["\/tutorials\/table-of-contents"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[{"kind":"hero","title":"🎣 All about Deeplinks","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"These tutorials will explain how to add deeplinks to your app, and how to manage more complex situations like overlapping deeplink templates or choosing at runtime whether to match a URL or not."}]}],"action":{"overridingTitleInlineContent":[{"type":"text","text":"Get started"}],"isActive":true,"type":"reference","identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink","overridingTitle":"Get started"}},{"kind":"volume","content":[],"name":null,"image":null,"chapters":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"This chapter is all about how to use the library: from the basics to more advanced usage."}]}],"name":"Using the library","tutorials":["doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink","doc:\/\/Deeplink\/tutorials\/Deeplink\/Using-a-ResultBuilder","doc:\/\/Deeplink\/tutorials\/Deeplink\/Advanced-Usage"],"image":"Visual.png"}]},{"kind":"resources","tiles":[{"title":"Videos","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Several WWDC videos explain deeplinking and Universal links:"}]},{"type":"unorderedList","items":[{"content":[{"type":"paragraph","inlineContent":[{"type":"reference","isActive":true,"identifier":"https:\/\/developer.apple.com\/videos\/play\/wwdc2017\/250\/"}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"reference","isActive":true,"identifier":"https:\/\/developer.apple.com\/videos\/play\/wwdc2019\/717\/"}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"reference","isActive":true,"identifier":"https:\/\/developer.apple.com\/videos\/play\/wwdc2020\/10098\/"}]}]}]}],"identifier":"videos","action":{"type":"link","title":"Watch videos","destination":"https:\/\/developer.apple.com\/videos\/play\/wwdc2017\/250\/"}}],"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Explore more resources for learning about deeplinks."}]}]}],"identifier":{"url":"doc:\/\/Deeplink\/tutorials\/Table-of-Contents","interfaceLanguage":"swift"},"kind":"overview","metadata":{"role":"overview","title":"🎣 All about Deeplinks","categoryPathComponent":"Table-of-Contents","category":"Documentation","estimatedTime":"30min"},"hierarchy":{"paths":[],"reference":"doc:\/\/Deeplink\/tutorials\/Table-of-Contents"},"references":{"doc://Deeplink/tutorials/Deeplink/Using-a-ResultBuilder":{"role":"project","title":"Registering Deeplinks with a ResultBuilder","estimatedTime":"10min","abstract":[{"type":"text","text":"If you need advanced behaviors, you can also register your "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink"},{"type":"text","text":" templates using a "},{"type":"codeVoice","code":"@resultBuilder"},{"type":"text","text":"."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Using-a-ResultBuilder","kind":"project","type":"topic","url":"\/tutorials\/deeplink\/using-a-resultbuilder"},"https://developer.apple.com/videos/play/wwdc2017/250/":{"title":"2017 - Extend Your App’s Presence with Deep Linking","titleInlineContent":[{"type":"text","text":"2017 - Extend Your App’s Presence with Deep Linking"}],"type":"link","identifier":"https:\/\/developer.apple.com\/videos\/play\/wwdc2017\/250\/","url":"https:\/\/developer.apple.com\/videos\/play\/wwdc2017\/250\/"},"Visual.png":{"alt":"A visual representation of transforming some parameters in a URL into values assigned to specific properties of a struct.","type":"image","identifier":"Visual.png","variants":[{"url":"\/images\/Visual.png","traits":["1x","light"]},{"url":"\/images\/Visual@2x.png","traits":["2x","light"]}]},"doc://Deeplink/tutorials/Deeplink/Advanced-Usage":{"role":"project","title":"Advanced Usage","estimatedTime":"10min","abstract":[{"type":"text","text":"This tutorial is a small collection of advanced tips and tricks."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Advanced-Usage","kind":"project","type":"topic","url":"\/tutorials\/deeplink\/advanced-usage"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"role":"symbol","title":"Deeplink","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"abstract":[{"type":"text","text":"An "},{"type":"codeVoice","code":"enum"},{"type":"text","text":" that represents a deeplink template."}],"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Deeplink"}],"url":"\/documentation\/deeplink\/deeplink"},"doc://Deeplink/tutorials/Table-of-Contents":{"role":"overview","title":"🎣 All about Deeplinks","abstract":[{"type":"text","text":"These tutorials will explain how to add deeplinks to your app, and how to manage more complex situations like overlapping deeplink templates or choosing at runtime whether to match a URL or not."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Table-of-Contents","kind":"overview","type":"topic","url":"\/tutorials\/table-of-contents"},"https://developer.apple.com/videos/play/wwdc2019/717/":{"title":"2019 - What’s new in Universal links","titleInlineContent":[{"type":"text","text":"2019 - What’s new in Universal links"}],"type":"link","identifier":"https:\/\/developer.apple.com\/videos\/play\/wwdc2019\/717\/","url":"https:\/\/developer.apple.com\/videos\/play\/wwdc2019\/717\/"},"https://developer.apple.com/videos/play/wwdc2020/10098/":{"title":"2020 - What’s new in Universal links","titleInlineContent":[{"type":"text","text":"2020 - What’s new in Universal links"}],"type":"link","identifier":"https:\/\/developer.apple.com\/videos\/play\/wwdc2020\/10098\/","url":"https:\/\/developer.apple.com\/videos\/play\/wwdc2020\/10098\/"},"doc://Deeplink/tutorials/Deeplink/Adding-a-Deeplink":{"role":"project","title":"Adding Deeplinks","estimatedTime":"10min","abstract":[{"type":"text","text":"This tutorial will explain how to add deeplinks to your app and how to handle overlapping deeplink templates."}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink","kind":"project","type":"topic","url":"\/tutorials\/deeplink\/adding-a-deeplink"}}} \ No newline at end of file +{"hierarchy":{"reference":"doc:\/\/Deeplink\/tutorials\/Table-of-Contents","paths":[]},"schemaVersion":{"major":0,"minor":3,"patch":0},"metadata":{"role":"overview","category":"Documentation","estimatedTime":"30min","categoryPathComponent":"Table-of-Contents","title":"🎣 All about Deeplinks"},"sections":[{"content":[{"inlineContent":[{"text":"These tutorials will explain how to add deeplinks to your app, and how to manage more complex situations like overlapping deeplink templates or choosing at runtime whether to match a URL or not.","type":"text"}],"type":"paragraph"}],"action":{"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink","type":"reference","isActive":true,"overridingTitle":"Get started","overridingTitleInlineContent":[{"text":"Get started","type":"text"}]},"title":"🎣 All about Deeplinks","kind":"hero"},{"chapters":[{"tutorials":["doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink","doc:\/\/Deeplink\/tutorials\/Deeplink\/Using-a-ResultBuilder","doc:\/\/Deeplink\/tutorials\/Deeplink\/Advanced-Usage"],"image":"Visual.png","content":[{"type":"paragraph","inlineContent":[{"text":"This chapter is all about how to use the library: from the basics to more advanced usage.","type":"text"}]}],"name":"Using the library"}],"name":null,"kind":"volume","content":[],"image":null},{"kind":"resources","content":[{"type":"paragraph","inlineContent":[{"text":"Explore more resources for learning about deeplinks.","type":"text"}]}],"tiles":[{"title":"Videos","identifier":"videos","content":[{"inlineContent":[{"text":"Several WWDC videos explain deeplinking and Universal links:","type":"text"}],"type":"paragraph"},{"type":"unorderedList","items":[{"content":[{"inlineContent":[{"type":"reference","identifier":"https:\/\/developer.apple.com\/videos\/play\/wwdc2017\/250\/","isActive":true}],"type":"paragraph"}]},{"content":[{"inlineContent":[{"identifier":"https:\/\/developer.apple.com\/videos\/play\/wwdc2019\/717\/","isActive":true,"type":"reference"}],"type":"paragraph"}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"reference","isActive":true,"identifier":"https:\/\/developer.apple.com\/videos\/play\/wwdc2020\/10098\/"}]}]}]}],"action":{"type":"link","title":"Watch videos","destination":"https:\/\/developer.apple.com\/videos\/play\/wwdc2017\/250\/"}}]}],"identifier":{"url":"doc:\/\/Deeplink\/tutorials\/Table-of-Contents","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/tutorials\/table-of-contents"]}],"kind":"overview","references":{"Visual.png":{"variants":[{"traits":["1x","light"],"url":"\/images\/Visual.png"},{"url":"\/images\/Visual@2x.png","traits":["2x","light"]}],"type":"image","identifier":"Visual.png","alt":"A visual representation of transforming some parameters in a URL into values assigned to specific properties of a struct."},"https://developer.apple.com/videos/play/wwdc2020/10098/":{"identifier":"https:\/\/developer.apple.com\/videos\/play\/wwdc2020\/10098\/","type":"link","title":"2020 - What’s new in Universal links","titleInlineContent":[{"text":"2020 - What’s new in Universal links","type":"text"}],"url":"https:\/\/developer.apple.com\/videos\/play\/wwdc2020\/10098\/"},"doc://Deeplink/tutorials/Deeplink/Adding-a-Deeplink":{"title":"Adding Deeplinks","abstract":[{"text":"This tutorial will explain how to add deeplinks to your app and how to handle overlapping deeplink templates.","type":"text"}],"identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Adding-a-Deeplink","url":"\/tutorials\/deeplink\/adding-a-deeplink","type":"topic","role":"project","estimatedTime":"10min","kind":"project"},"doc://Deeplink/tutorials/Deeplink/Advanced-Usage":{"kind":"project","abstract":[{"text":"This tutorial is a small collection of advanced tips and tricks.","type":"text"}],"title":"Advanced Usage","estimatedTime":"10min","url":"\/tutorials\/deeplink\/advanced-usage","identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Advanced-Usage","type":"topic","role":"project"},"doc://Deeplink/tutorials/Deeplink/Using-a-ResultBuilder":{"estimatedTime":"10min","identifier":"doc:\/\/Deeplink\/tutorials\/Deeplink\/Using-a-ResultBuilder","abstract":[{"text":"If you need advanced behaviors, you can also register your ","type":"text"},{"identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","type":"reference","isActive":true},{"type":"text","text":" templates using a "},{"type":"codeVoice","code":"@resultBuilder"},{"text":".","type":"text"}],"title":"Registering Deeplinks with a ResultBuilder","role":"project","kind":"project","url":"\/tutorials\/deeplink\/using-a-resultbuilder","type":"topic"},"https://developer.apple.com/videos/play/wwdc2019/717/":{"identifier":"https:\/\/developer.apple.com\/videos\/play\/wwdc2019\/717\/","type":"link","title":"2019 - What’s new in Universal links","titleInlineContent":[{"type":"text","text":"2019 - What’s new in Universal links"}],"url":"https:\/\/developer.apple.com\/videos\/play\/wwdc2019\/717\/"},"https://developer.apple.com/videos/play/wwdc2017/250/":{"identifier":"https:\/\/developer.apple.com\/videos\/play\/wwdc2017\/250\/","titleInlineContent":[{"text":"2017 - Extend Your App’s Presence with Deep Linking","type":"text"}],"url":"https:\/\/developer.apple.com\/videos\/play\/wwdc2017\/250\/","title":"2017 - Extend Your App’s Presence with Deep Linking","type":"link"},"doc://Deeplink/tutorials/Table-of-Contents":{"identifier":"doc:\/\/Deeplink\/tutorials\/Table-of-Contents","abstract":[{"text":"These tutorials will explain how to add deeplinks to your app, and how to manage more complex situations like overlapping deeplink templates or choosing at runtime whether to match a URL or not.","type":"text"}],"title":"🎣 All about Deeplinks","role":"overview","kind":"overview","url":"\/tutorials\/table-of-contents","type":"topic"},"doc://Deeplink/documentation/Deeplink/Deeplink":{"url":"\/documentation\/deeplink\/deeplink","identifier":"doc:\/\/Deeplink\/documentation\/Deeplink\/Deeplink","navigatorTitle":[{"text":"Deeplink","kind":"identifier"}],"abstract":[{"type":"text","text":"An "},{"code":"enum","type":"codeVoice"},{"text":" that represents a deeplink template.","type":"text"}],"title":"Deeplink","kind":"symbol","role":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Deeplink"}],"type":"topic"}}} \ No newline at end of file diff --git a/docs/documentation/deeplink/anydeeplink/description/index.html b/docs/documentation/deeplink/anydeeplink/description/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/anydeeplink/description/index.html +++ b/docs/documentation/deeplink/anydeeplink/description/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/anydeeplink/index.html b/docs/documentation/deeplink/anydeeplink/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/anydeeplink/index.html +++ b/docs/documentation/deeplink/anydeeplink/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplink/!=(_:_:)/index.html b/docs/documentation/deeplink/deeplink/!=(_:_:)/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplink/!=(_:_:)/index.html +++ b/docs/documentation/deeplink/deeplink/!=(_:_:)/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplink/callasfunction(_:)-34acp/index.html b/docs/documentation/deeplink/deeplink/callasfunction(_:)-34acp/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplink/callasfunction(_:)-34acp/index.html +++ b/docs/documentation/deeplink/deeplink/callasfunction(_:)-34acp/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplink/callasfunction(_:)-9eb8h/index.html b/docs/documentation/deeplink/deeplink/callasfunction(_:)-9eb8h/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplink/callasfunction(_:)-9eb8h/index.html +++ b/docs/documentation/deeplink/deeplink/callasfunction(_:)-9eb8h/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplink/callasfunction(assigningto:_:)/index.html b/docs/documentation/deeplink/deeplink/callasfunction(assigningto:_:)/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplink/callasfunction(assigningto:_:)/index.html +++ b/docs/documentation/deeplink/deeplink/callasfunction(assigningto:_:)/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplink/catchall/index.html b/docs/documentation/deeplink/deeplink/catchall/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplink/catchall/index.html +++ b/docs/documentation/deeplink/deeplink/catchall/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplink/customstringconvertible-implementations/index.html b/docs/documentation/deeplink/deeplink/customstringconvertible-implementations/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplink/customstringconvertible-implementations/index.html +++ b/docs/documentation/deeplink/deeplink/customstringconvertible-implementations/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplink/description/index.html b/docs/documentation/deeplink/deeplink/description/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplink/description/index.html +++ b/docs/documentation/deeplink/deeplink/description/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplink/encode(_:)/index.html b/docs/documentation/deeplink/deeplink/encode(_:)/index.html new file mode 100644 index 0000000..1c0adb7 --- /dev/null +++ b/docs/documentation/deeplink/deeplink/encode(_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplink/equatable-implementations/index.html b/docs/documentation/deeplink/deeplink/equatable-implementations/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplink/equatable-implementations/index.html +++ b/docs/documentation/deeplink/deeplink/equatable-implementations/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplink/expressiblebyextendedgraphemeclusterliteral-implementations/index.html b/docs/documentation/deeplink/deeplink/expressiblebyextendedgraphemeclusterliteral-implementations/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplink/expressiblebyextendedgraphemeclusterliteral-implementations/index.html +++ b/docs/documentation/deeplink/deeplink/expressiblebyextendedgraphemeclusterliteral-implementations/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplink/expressiblebystringinterpolation-implementations/index.html b/docs/documentation/deeplink/deeplink/expressiblebystringinterpolation-implementations/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplink/expressiblebystringinterpolation-implementations/index.html +++ b/docs/documentation/deeplink/deeplink/expressiblebystringinterpolation-implementations/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplink/expressiblebystringliteral-implementations/index.html b/docs/documentation/deeplink/deeplink/expressiblebystringliteral-implementations/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplink/expressiblebystringliteral-implementations/index.html +++ b/docs/documentation/deeplink/deeplink/expressiblebystringliteral-implementations/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplink/expressiblebyunicodescalarliteral-implementations/index.html b/docs/documentation/deeplink/deeplink/expressiblebyunicodescalarliteral-implementations/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplink/expressiblebyunicodescalarliteral-implementations/index.html +++ b/docs/documentation/deeplink/deeplink/expressiblebyunicodescalarliteral-implementations/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplink/index.html b/docs/documentation/deeplink/deeplink/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplink/index.html +++ b/docs/documentation/deeplink/deeplink/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplink/init(extendedgraphemeclusterliteral:)/index.html b/docs/documentation/deeplink/deeplink/init(extendedgraphemeclusterliteral:)/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplink/init(extendedgraphemeclusterliteral:)/index.html +++ b/docs/documentation/deeplink/deeplink/init(extendedgraphemeclusterliteral:)/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplink/init(stringinterpolation:)/index.html b/docs/documentation/deeplink/deeplink/init(stringinterpolation:)/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplink/init(stringinterpolation:)/index.html +++ b/docs/documentation/deeplink/deeplink/init(stringinterpolation:)/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplink/init(stringliteral:)/index.html b/docs/documentation/deeplink/deeplink/init(stringliteral:)/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplink/init(stringliteral:)/index.html +++ b/docs/documentation/deeplink/deeplink/init(stringliteral:)/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplink/init(unicodescalarliteral:)/index.html b/docs/documentation/deeplink/deeplink/init(unicodescalarliteral:)/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplink/init(unicodescalarliteral:)/index.html +++ b/docs/documentation/deeplink/deeplink/init(unicodescalarliteral:)/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplink/interpolated(_:)/index.html b/docs/documentation/deeplink/deeplink/interpolated(_:)/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplink/interpolated(_:)/index.html +++ b/docs/documentation/deeplink/deeplink/interpolated(_:)/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplink/literal(_:)/index.html b/docs/documentation/deeplink/deeplink/literal(_:)/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplink/literal(_:)/index.html +++ b/docs/documentation/deeplink/deeplink/literal(_:)/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplink/parse(_:)/index.html b/docs/documentation/deeplink/deeplink/parse(_:)/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplink/parse(_:)/index.html +++ b/docs/documentation/deeplink/deeplink/parse(_:)/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplink/parse(_:into:)/index.html b/docs/documentation/deeplink/deeplink/parse(_:into:)/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplink/parse(_:into:)/index.html +++ b/docs/documentation/deeplink/deeplink/parse(_:into:)/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplink/stringliteraltype/index.html b/docs/documentation/deeplink/deeplink/stringliteraltype/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplink/stringliteraltype/index.html +++ b/docs/documentation/deeplink/deeplink/stringliteraltype/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplinkbuilder/buildarray(_:)/index.html b/docs/documentation/deeplink/deeplinkbuilder/buildarray(_:)/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplinkbuilder/buildarray(_:)/index.html +++ b/docs/documentation/deeplink/deeplinkbuilder/buildarray(_:)/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplinkbuilder/buildblock(_:)/index.html b/docs/documentation/deeplink/deeplinkbuilder/buildblock(_:)/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplinkbuilder/buildblock(_:)/index.html +++ b/docs/documentation/deeplink/deeplinkbuilder/buildblock(_:)/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplinkbuilder/buildeither(first:)/index.html b/docs/documentation/deeplink/deeplinkbuilder/buildeither(first:)/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplinkbuilder/buildeither(first:)/index.html +++ b/docs/documentation/deeplink/deeplinkbuilder/buildeither(first:)/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplinkbuilder/buildeither(second:)/index.html b/docs/documentation/deeplink/deeplinkbuilder/buildeither(second:)/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplinkbuilder/buildeither(second:)/index.html +++ b/docs/documentation/deeplink/deeplinkbuilder/buildeither(second:)/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplinkbuilder/buildexpression(_:)-6kuwv/index.html b/docs/documentation/deeplink/deeplinkbuilder/buildexpression(_:)-6kuwv/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplinkbuilder/buildexpression(_:)-6kuwv/index.html +++ b/docs/documentation/deeplink/deeplinkbuilder/buildexpression(_:)-6kuwv/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplinkbuilder/buildexpression(_:)-8a26a/index.html b/docs/documentation/deeplink/deeplinkbuilder/buildexpression(_:)-8a26a/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplinkbuilder/buildexpression(_:)-8a26a/index.html +++ b/docs/documentation/deeplink/deeplinkbuilder/buildexpression(_:)-8a26a/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplinkbuilder/buildlimitedavailability(_:)/index.html b/docs/documentation/deeplink/deeplinkbuilder/buildlimitedavailability(_:)/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplinkbuilder/buildlimitedavailability(_:)/index.html +++ b/docs/documentation/deeplink/deeplinkbuilder/buildlimitedavailability(_:)/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplinkbuilder/buildoptional(_:)/index.html b/docs/documentation/deeplink/deeplinkbuilder/buildoptional(_:)/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplinkbuilder/buildoptional(_:)/index.html +++ b/docs/documentation/deeplink/deeplinkbuilder/buildoptional(_:)/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplinkbuilder/component/index.html b/docs/documentation/deeplink/deeplinkbuilder/component/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplinkbuilder/component/index.html +++ b/docs/documentation/deeplink/deeplinkbuilder/component/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplinkbuilder/index.html b/docs/documentation/deeplink/deeplinkbuilder/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplinkbuilder/index.html +++ b/docs/documentation/deeplink/deeplinkbuilder/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplinkinterpolation/!=(_:_:)/index.html b/docs/documentation/deeplink/deeplinkinterpolation/!=(_:_:)/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplinkinterpolation/!=(_:_:)/index.html +++ b/docs/documentation/deeplink/deeplinkinterpolation/!=(_:_:)/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplinkinterpolation/appendinterpolation(_:)/index.html b/docs/documentation/deeplink/deeplinkinterpolation/appendinterpolation(_:)/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplinkinterpolation/appendinterpolation(_:)/index.html +++ b/docs/documentation/deeplink/deeplinkinterpolation/appendinterpolation(_:)/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplinkinterpolation/appendinterpolation(_:separator:)/index.html b/docs/documentation/deeplink/deeplinkinterpolation/appendinterpolation(_:separator:)/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplinkinterpolation/appendinterpolation(_:separator:)/index.html +++ b/docs/documentation/deeplink/deeplinkinterpolation/appendinterpolation(_:separator:)/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplinkinterpolation/appendliteral(_:)/index.html b/docs/documentation/deeplink/deeplinkinterpolation/appendliteral(_:)/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplinkinterpolation/appendliteral(_:)/index.html +++ b/docs/documentation/deeplink/deeplinkinterpolation/appendliteral(_:)/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplinkinterpolation/customstringconvertible-implementations/index.html b/docs/documentation/deeplink/deeplinkinterpolation/customstringconvertible-implementations/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplinkinterpolation/customstringconvertible-implementations/index.html +++ b/docs/documentation/deeplink/deeplinkinterpolation/customstringconvertible-implementations/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplinkinterpolation/description/index.html b/docs/documentation/deeplink/deeplinkinterpolation/description/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplinkinterpolation/description/index.html +++ b/docs/documentation/deeplink/deeplinkinterpolation/description/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplinkinterpolation/equatable-implementations/index.html b/docs/documentation/deeplink/deeplinkinterpolation/equatable-implementations/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplinkinterpolation/equatable-implementations/index.html +++ b/docs/documentation/deeplink/deeplinkinterpolation/equatable-implementations/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplinkinterpolation/index.html b/docs/documentation/deeplink/deeplinkinterpolation/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplinkinterpolation/index.html +++ b/docs/documentation/deeplink/deeplinkinterpolation/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplinkinterpolation/init(literalcapacity:interpolationcount:)/index.html b/docs/documentation/deeplink/deeplinkinterpolation/init(literalcapacity:interpolationcount:)/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplinkinterpolation/init(literalcapacity:interpolationcount:)/index.html +++ b/docs/documentation/deeplink/deeplinkinterpolation/init(literalcapacity:interpolationcount:)/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplinkscenter/index.html b/docs/documentation/deeplink/deeplinkscenter/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplinkscenter/index.html +++ b/docs/documentation/deeplink/deeplinkscenter/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplinkscenter/init()/index.html b/docs/documentation/deeplink/deeplinkscenter/init()/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplinkscenter/init()/index.html +++ b/docs/documentation/deeplink/deeplinkscenter/init()/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplinkscenter/init(_:)/index.html b/docs/documentation/deeplink/deeplinkscenter/init(_:)/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplinkscenter/init(_:)/index.html +++ b/docs/documentation/deeplink/deeplinkscenter/init(_:)/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplinkscenter/parse(url:)/index.html b/docs/documentation/deeplink/deeplinkscenter/parse(url:)/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplinkscenter/parse(url:)/index.html +++ b/docs/documentation/deeplink/deeplinkscenter/parse(url:)/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplinkscenter/register(deeplink:assigningto:ifmatching:)/index.html b/docs/documentation/deeplink/deeplinkscenter/register(deeplink:assigningto:ifmatching:)/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplinkscenter/register(deeplink:assigningto:ifmatching:)/index.html +++ b/docs/documentation/deeplink/deeplinkscenter/register(deeplink:assigningto:ifmatching:)/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplinkscenter/register(deeplink:ifmatching:)/index.html b/docs/documentation/deeplink/deeplinkscenter/register(deeplink:ifmatching:)/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplinkscenter/register(deeplink:ifmatching:)/index.html +++ b/docs/documentation/deeplink/deeplinkscenter/register(deeplink:ifmatching:)/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplinkscenter/register(deeplinks:assigningto:ifmatching:)/index.html b/docs/documentation/deeplink/deeplinkscenter/register(deeplinks:assigningto:ifmatching:)/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplinkscenter/register(deeplinks:assigningto:ifmatching:)/index.html +++ b/docs/documentation/deeplink/deeplinkscenter/register(deeplinks:assigningto:ifmatching:)/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplinkscenter/register(deeplinks:ifmatching:)/index.html b/docs/documentation/deeplink/deeplinkscenter/register(deeplinks:ifmatching:)/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplinkscenter/register(deeplinks:ifmatching:)/index.html +++ b/docs/documentation/deeplink/deeplinkscenter/register(deeplinks:ifmatching:)/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/deeplinkscenter/testsampledeeplink(_:)/index.html b/docs/documentation/deeplink/deeplinkscenter/testsampledeeplink(_:)/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/deeplinkscenter/testsampledeeplink(_:)/index.html +++ b/docs/documentation/deeplink/deeplinkscenter/testsampledeeplink(_:)/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/defaultinitializable/index.html b/docs/documentation/deeplink/defaultinitializable/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/defaultinitializable/index.html +++ b/docs/documentation/deeplink/defaultinitializable/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/defaultinitializable/init()/index.html b/docs/documentation/deeplink/defaultinitializable/init()/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/defaultinitializable/init()/index.html +++ b/docs/documentation/deeplink/defaultinitializable/init()/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/getting-started-with-deeplinking/index.html b/docs/documentation/deeplink/getting-started-with-deeplinking/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/getting-started-with-deeplinking/index.html +++ b/docs/documentation/deeplink/getting-started-with-deeplinking/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/index.html b/docs/documentation/deeplink/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/index.html +++ b/docs/documentation/deeplink/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/sampledeeplink/index.html b/docs/documentation/deeplink/sampledeeplink/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/sampledeeplink/index.html +++ b/docs/documentation/deeplink/sampledeeplink/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/sampledeeplink/init(deeplinktemplate:urltoparse:assigningtoinstance:expectation:assertions:)/index.html b/docs/documentation/deeplink/sampledeeplink/init(deeplinktemplate:urltoparse:assigningtoinstance:expectation:assertions:)/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/sampledeeplink/init(deeplinktemplate:urltoparse:assigningtoinstance:expectation:assertions:)/index.html +++ b/docs/documentation/deeplink/sampledeeplink/init(deeplinktemplate:urltoparse:assigningtoinstance:expectation:assertions:)/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/documentation/deeplink/sampledeeplink/init(deeplinktemplate:urltoparse:expectation:)/index.html b/docs/documentation/deeplink/sampledeeplink/init(deeplinktemplate:urltoparse:expectation:)/index.html index ee36947..1c0adb7 100644 --- a/docs/documentation/deeplink/sampledeeplink/init(deeplinktemplate:urltoparse:expectation:)/index.html +++ b/docs/documentation/deeplink/sampledeeplink/init(deeplinktemplate:urltoparse:expectation:)/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/index.html b/docs/index.html index ee36947..1c0adb7 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/index/index.json b/docs/index/index.json index a8b49f6..39d826e 100644 --- a/docs/index/index.json +++ b/docs/index/index.json @@ -1 +1 @@ -{"interfaceLanguages":{"swift":[{"children":[{"title":"Essentials","type":"groupMarker"},{"path":"\/documentation\/deeplink\/getting-started-with-deeplinking","title":"Getting started with Deeplinking","type":"article"},{"children":[{"title":"Create a Deeplink template","type":"groupMarker"},{"path":"\/documentation\/deeplink\/deeplink\/init(stringliteral:)","title":"init(stringLiteral: Deeplink.StringLiteralType)","type":"init"},{"path":"\/documentation\/deeplink\/deeplink\/init(stringinterpolation:)","title":"init(stringInterpolation: DeeplinkInterpolation)","type":"init"},{"title":"Parse a URL","type":"groupMarker"},{"path":"\/documentation\/deeplink\/deeplink\/parse(_:)","title":"func parse(URL) throws","type":"method"},{"path":"\/documentation\/deeplink\/deeplink\/parse(_:into:)","title":"func parse(URL, into: inout Value) throws","type":"method"},{"title":"DeeplinkBuilder closures","type":"groupMarker"},{"path":"\/documentation\/deeplink\/deeplink\/callasfunction(_:)-9eb8h","title":"func callAsFunction((URL) throws -> Bool) -> AnyDeeplink","type":"method"},{"path":"\/documentation\/deeplink\/deeplink\/callasfunction(_:)-34acp","title":"func callAsFunction((URL, Value) throws -> Bool) -> AnyDeeplink","type":"method"},{"path":"\/documentation\/deeplink\/deeplink\/callasfunction(assigningto:_:)","title":"func callAsFunction(assigningTo: Value, (URL, Value) throws -> Bool) -> AnyDeeplink","type":"method"},{"title":"Enumeration Cases","type":"groupMarker"},{"path":"\/documentation\/deeplink\/deeplink\/interpolated(_:)","title":"case interpolated(DeeplinkInterpolation)","type":"case"},{"path":"\/documentation\/deeplink\/deeplink\/literal(_:)","title":"case literal(String)","type":"case"},{"title":"Type Aliases","type":"groupMarker"},{"path":"\/documentation\/deeplink\/deeplink\/stringliteraltype","title":"Deeplink.StringLiteralType","type":"typealias"},{"title":"Type Properties","type":"groupMarker"},{"path":"\/documentation\/deeplink\/deeplink\/catchall","title":"static var catchAll: Deeplink","type":"property"},{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/deeplink\/deeplink\/description","title":"var description: String","type":"property"}],"path":"\/documentation\/deeplink\/deeplink\/customstringconvertible-implementations","title":"CustomStringConvertible Implementations","type":"symbol"},{"children":[{"title":"Operators","type":"groupMarker"},{"path":"\/documentation\/deeplink\/deeplink\/!=(_:_:)","title":"static func != (Self, Self) -> Bool","type":"op"}],"path":"\/documentation\/deeplink\/deeplink\/equatable-implementations","title":"Equatable Implementations","type":"symbol"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/deeplink\/deeplink\/init(extendedgraphemeclusterliteral:)","title":"init(extendedGraphemeClusterLiteral: Self.StringLiteralType)","type":"init"}],"path":"\/documentation\/deeplink\/deeplink\/expressiblebyextendedgraphemeclusterliteral-implementations","title":"ExpressibleByExtendedGraphemeClusterLiteral Implementations","type":"symbol"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/deeplink\/deeplink\/init(stringinterpolation:)","title":"init(stringInterpolation: DeeplinkInterpolation)","type":"init"}],"path":"\/documentation\/deeplink\/deeplink\/expressiblebystringinterpolation-implementations","title":"ExpressibleByStringInterpolation Implementations","type":"symbol"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/deeplink\/deeplink\/init(stringliteral:)","title":"init(stringLiteral: Deeplink.StringLiteralType)","type":"init"}],"path":"\/documentation\/deeplink\/deeplink\/expressiblebystringliteral-implementations","title":"ExpressibleByStringLiteral Implementations","type":"symbol"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/deeplink\/deeplink\/init(unicodescalarliteral:)","title":"init(unicodeScalarLiteral: Self.ExtendedGraphemeClusterLiteralType)","type":"init"}],"path":"\/documentation\/deeplink\/deeplink\/expressiblebyunicodescalarliteral-implementations","title":"ExpressibleByUnicodeScalarLiteral Implementations","type":"symbol"}],"path":"\/documentation\/deeplink\/deeplink","title":"Deeplink","type":"enum"},{"children":[{"title":"Initialize a center","type":"groupMarker"},{"path":"\/documentation\/deeplink\/deeplinkscenter\/init()","title":"convenience init()","type":"init"},{"path":"\/documentation\/deeplink\/deeplinkscenter\/init(_:)","title":"convenience init(() -> [AnyDeeplink])","type":"init"},{"title":"Registering deeplinks","type":"groupMarker"},{"path":"\/documentation\/deeplink\/deeplinkscenter\/register(deeplink:assigningto:ifmatching:)","title":"func register(deeplink: Deeplink, assigningTo: Value, ifMatching: (URL, Value) throws -> Bool) -> DeeplinksCenter","type":"method"},{"path":"\/documentation\/deeplink\/deeplinkscenter\/register(deeplink:ifmatching:)","title":"func register(deeplink: Deeplink, ifMatching: (URL) throws -> Bool) -> DeeplinksCenter","type":"method"},{"path":"\/documentation\/deeplink\/deeplinkscenter\/register(deeplinks:assigningto:ifmatching:)","title":"func register(deeplinks: [Deeplink], assigningTo: Value, ifMatching: (URL, Value) throws -> Bool) -> DeeplinksCenter","type":"method"},{"path":"\/documentation\/deeplink\/deeplinkscenter\/register(deeplinks:ifmatching:)","title":"func register(deeplinks: [Deeplink], ifMatching: (URL) throws -> Bool) -> DeeplinksCenter","type":"method"},{"title":"Parsing URLs","type":"groupMarker"},{"path":"\/documentation\/deeplink\/deeplinkscenter\/parse(url:)","title":"func parse(url: URL) throws","type":"method"},{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/deeplink\/deeplinkscenter\/testsampledeeplink(_:)","title":"func testSampleDeeplink(SampleDeeplink) throws","type":"method"}],"path":"\/documentation\/deeplink\/deeplinkscenter","title":"DeeplinksCenter","type":"class"},{"title":"Tests","type":"groupMarker"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/deeplink\/sampledeeplink\/init(deeplinktemplate:urltoparse:assigningtoinstance:expectation:assertions:)","title":"init(deeplinkTemplate: Deeplink, urlToParse: URL, assigningToInstance: Value, expectation: () -> Void, assertions: (Value) -> Void)","type":"init"},{"path":"\/documentation\/deeplink\/sampledeeplink\/init(deeplinktemplate:urltoparse:expectation:)","title":"init(deeplinkTemplate: Deeplink, urlToParse: URL, expectation: () -> Void)","type":"init"}],"path":"\/documentation\/deeplink\/sampledeeplink","title":"SampleDeeplink","type":"struct"},{"title":"Utility","type":"groupMarker"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/deeplink\/defaultinitializable\/init()","title":"init()","type":"init"}],"path":"\/documentation\/deeplink\/defaultinitializable","title":"DefaultInitializable","type":"protocol"},{"title":"Implementation details","type":"groupMarker"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/deeplink\/anydeeplink\/description","title":"let description: String","type":"property"}],"path":"\/documentation\/deeplink\/anydeeplink","title":"AnyDeeplink","type":"struct"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/deeplink\/deeplinkinterpolation\/init(literalcapacity:interpolationcount:)","title":"init(literalCapacity: Int, interpolationCount: Int)","type":"init"},{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/deeplink\/deeplinkinterpolation\/appendinterpolation(_:)","title":"func appendInterpolation(WritableKeyPath) throws","type":"method"},{"path":"\/documentation\/deeplink\/deeplinkinterpolation\/appendinterpolation(_:separator:)","title":"func appendInterpolation(WritableKeyPath, separator: Character) throws","type":"method"},{"path":"\/documentation\/deeplink\/deeplinkinterpolation\/appendliteral(_:)","title":"func appendLiteral(String)","type":"method"},{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/deeplink\/deeplinkinterpolation\/description","title":"var description: String","type":"property"}],"path":"\/documentation\/deeplink\/deeplinkinterpolation\/customstringconvertible-implementations","title":"CustomStringConvertible Implementations","type":"symbol"},{"children":[{"title":"Operators","type":"groupMarker"},{"path":"\/documentation\/deeplink\/deeplinkinterpolation\/!=(_:_:)","title":"static func != (Self, Self) -> Bool","type":"op"}],"path":"\/documentation\/deeplink\/deeplinkinterpolation\/equatable-implementations","title":"Equatable Implementations","type":"symbol"}],"path":"\/documentation\/deeplink\/deeplinkinterpolation","title":"DeeplinkInterpolation","type":"struct"},{"children":[{"title":"Type Aliases","type":"groupMarker"},{"path":"\/documentation\/deeplink\/deeplinkbuilder\/component","title":"DeeplinkBuilder.Component","type":"typealias"},{"title":"Type Methods","type":"groupMarker"},{"path":"\/documentation\/deeplink\/deeplinkbuilder\/buildarray(_:)","title":"static func buildArray([DeeplinkBuilder.Component]) -> DeeplinkBuilder.Component","type":"method"},{"path":"\/documentation\/deeplink\/deeplinkbuilder\/buildblock(_:)","title":"static func buildBlock(DeeplinkBuilder.Component...) -> DeeplinkBuilder.Component","type":"method"},{"path":"\/documentation\/deeplink\/deeplinkbuilder\/buildeither(first:)","title":"static func buildEither(first: DeeplinkBuilder.Component) -> DeeplinkBuilder.Component","type":"method"},{"path":"\/documentation\/deeplink\/deeplinkbuilder\/buildeither(second:)","title":"static func buildEither(second: DeeplinkBuilder.Component) -> DeeplinkBuilder.Component","type":"method"},{"path":"\/documentation\/deeplink\/deeplinkbuilder\/buildexpression(_:)-6kuwv","title":"static func buildExpression(AnyDeeplink?) -> DeeplinkBuilder.Component","type":"method"},{"path":"\/documentation\/deeplink\/deeplinkbuilder\/buildexpression(_:)-8a26a","title":"static func buildExpression(AnyDeeplink) -> DeeplinkBuilder.Component","type":"method"},{"path":"\/documentation\/deeplink\/deeplinkbuilder\/buildlimitedavailability(_:)","title":"static func buildLimitedAvailability(DeeplinkBuilder.Component) -> DeeplinkBuilder.Component","type":"method"},{"path":"\/documentation\/deeplink\/deeplinkbuilder\/buildoptional(_:)","title":"static func buildOptional(DeeplinkBuilder.Component?) -> DeeplinkBuilder.Component","type":"method"}],"path":"\/documentation\/deeplink\/deeplinkbuilder","title":"DeeplinkBuilder","type":"struct"},{"title":"Tutorial","type":"groupMarker"},{"children":[{"title":"Using the library","type":"groupMarker"},{"path":"\/tutorials\/deeplink\/adding-a-deeplink","title":"Adding Deeplinks","type":"project"},{"path":"\/tutorials\/deeplink\/using-a-resultbuilder","title":"Registering Deeplinks with a ResultBuilder","type":"project"},{"path":"\/tutorials\/deeplink\/advanced-usage","title":"Advanced Usage","type":"project"}],"path":"\/tutorials\/table-of-contents","title":"🎣 All about Deeplinks","type":"overview"}],"path":"\/documentation\/deeplink","title":"Deeplink","type":"module"}]},"schemaVersion":{"major":0,"minor":1,"patch":1}} \ No newline at end of file +{"interfaceLanguages":{"swift":[{"children":[{"title":"Essentials","type":"groupMarker"},{"path":"\/documentation\/deeplink\/getting-started-with-deeplinking","title":"Getting started with Deeplinking","type":"article"},{"children":[{"title":"Create a Deeplink template","type":"groupMarker"},{"path":"\/documentation\/deeplink\/deeplink\/init(stringliteral:)","title":"init(stringLiteral: Deeplink.StringLiteralType)","type":"init"},{"path":"\/documentation\/deeplink\/deeplink\/init(stringinterpolation:)","title":"init(stringInterpolation: DeeplinkInterpolation)","type":"init"},{"title":"Parse a URL","type":"groupMarker"},{"path":"\/documentation\/deeplink\/deeplink\/parse(_:)","title":"func parse(URL) throws","type":"method"},{"path":"\/documentation\/deeplink\/deeplink\/parse(_:into:)","title":"func parse(URL, into: inout Value) throws","type":"method"},{"title":"DeeplinkBuilder closures","type":"groupMarker"},{"path":"\/documentation\/deeplink\/deeplink\/callasfunction(_:)-9eb8h","title":"func callAsFunction((URL) throws -> Bool) -> AnyDeeplink","type":"method"},{"path":"\/documentation\/deeplink\/deeplink\/callasfunction(_:)-34acp","title":"func callAsFunction((URL, Value) throws -> Bool) -> AnyDeeplink","type":"method"},{"path":"\/documentation\/deeplink\/deeplink\/callasfunction(assigningto:_:)","title":"func callAsFunction(assigningTo: Value, (URL, Value) throws -> Bool) -> AnyDeeplink","type":"method"},{"title":"Enumeration Cases","type":"groupMarker"},{"path":"\/documentation\/deeplink\/deeplink\/interpolated(_:)","title":"case interpolated(DeeplinkInterpolation)","type":"case"},{"path":"\/documentation\/deeplink\/deeplink\/literal(_:)","title":"case literal(String)","type":"case"},{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/deeplink\/deeplink\/encode(_:)","title":"func encode(Value) -> String","type":"method"},{"title":"Type Aliases","type":"groupMarker"},{"path":"\/documentation\/deeplink\/deeplink\/stringliteraltype","title":"Deeplink.StringLiteralType","type":"typealias"},{"title":"Type Properties","type":"groupMarker"},{"path":"\/documentation\/deeplink\/deeplink\/catchall","title":"static var catchAll: Deeplink","type":"property"},{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/deeplink\/deeplink\/description","title":"var description: String","type":"property"}],"path":"\/documentation\/deeplink\/deeplink\/customstringconvertible-implementations","title":"CustomStringConvertible Implementations","type":"symbol"},{"children":[{"title":"Operators","type":"groupMarker"},{"path":"\/documentation\/deeplink\/deeplink\/!=(_:_:)","title":"static func != (Self, Self) -> Bool","type":"op"}],"path":"\/documentation\/deeplink\/deeplink\/equatable-implementations","title":"Equatable Implementations","type":"symbol"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/deeplink\/deeplink\/init(extendedgraphemeclusterliteral:)","title":"init(extendedGraphemeClusterLiteral: Self.StringLiteralType)","type":"init"}],"path":"\/documentation\/deeplink\/deeplink\/expressiblebyextendedgraphemeclusterliteral-implementations","title":"ExpressibleByExtendedGraphemeClusterLiteral Implementations","type":"symbol"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/deeplink\/deeplink\/init(stringinterpolation:)","title":"init(stringInterpolation: DeeplinkInterpolation)","type":"init"}],"path":"\/documentation\/deeplink\/deeplink\/expressiblebystringinterpolation-implementations","title":"ExpressibleByStringInterpolation Implementations","type":"symbol"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/deeplink\/deeplink\/init(stringliteral:)","title":"init(stringLiteral: Deeplink.StringLiteralType)","type":"init"}],"path":"\/documentation\/deeplink\/deeplink\/expressiblebystringliteral-implementations","title":"ExpressibleByStringLiteral Implementations","type":"symbol"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/deeplink\/deeplink\/init(unicodescalarliteral:)","title":"init(unicodeScalarLiteral: Self.ExtendedGraphemeClusterLiteralType)","type":"init"}],"path":"\/documentation\/deeplink\/deeplink\/expressiblebyunicodescalarliteral-implementations","title":"ExpressibleByUnicodeScalarLiteral Implementations","type":"symbol"}],"path":"\/documentation\/deeplink\/deeplink","title":"Deeplink","type":"enum"},{"children":[{"title":"Initialize a center","type":"groupMarker"},{"path":"\/documentation\/deeplink\/deeplinkscenter\/init()","title":"convenience init()","type":"init"},{"path":"\/documentation\/deeplink\/deeplinkscenter\/init(_:)","title":"convenience init(() -> [AnyDeeplink])","type":"init"},{"title":"Registering deeplinks","type":"groupMarker"},{"path":"\/documentation\/deeplink\/deeplinkscenter\/register(deeplink:assigningto:ifmatching:)","title":"func register(deeplink: Deeplink, assigningTo: Value, ifMatching: (URL, Value) throws -> Bool) -> DeeplinksCenter","type":"method"},{"path":"\/documentation\/deeplink\/deeplinkscenter\/register(deeplink:ifmatching:)","title":"func register(deeplink: Deeplink, ifMatching: (URL) throws -> Bool) -> DeeplinksCenter","type":"method"},{"path":"\/documentation\/deeplink\/deeplinkscenter\/register(deeplinks:assigningto:ifmatching:)","title":"func register(deeplinks: [Deeplink], assigningTo: Value, ifMatching: (URL, Value) throws -> Bool) -> DeeplinksCenter","type":"method"},{"path":"\/documentation\/deeplink\/deeplinkscenter\/register(deeplinks:ifmatching:)","title":"func register(deeplinks: [Deeplink], ifMatching: (URL) throws -> Bool) -> DeeplinksCenter","type":"method"},{"title":"Parsing URLs","type":"groupMarker"},{"path":"\/documentation\/deeplink\/deeplinkscenter\/parse(url:)","title":"func parse(url: URL) throws","type":"method"},{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/deeplink\/deeplinkscenter\/testsampledeeplink(_:)","title":"func testSampleDeeplink(SampleDeeplink) throws","type":"method"}],"path":"\/documentation\/deeplink\/deeplinkscenter","title":"DeeplinksCenter","type":"class"},{"title":"Tests","type":"groupMarker"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/deeplink\/sampledeeplink\/init(deeplinktemplate:urltoparse:assigningtoinstance:expectation:assertions:)","title":"init(deeplinkTemplate: Deeplink, urlToParse: URL, assigningToInstance: Value, expectation: () -> Void, assertions: (Value) -> Void)","type":"init"},{"path":"\/documentation\/deeplink\/sampledeeplink\/init(deeplinktemplate:urltoparse:expectation:)","title":"init(deeplinkTemplate: Deeplink, urlToParse: URL, expectation: () -> Void)","type":"init"}],"path":"\/documentation\/deeplink\/sampledeeplink","title":"SampleDeeplink","type":"struct"},{"title":"Utility","type":"groupMarker"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/deeplink\/defaultinitializable\/init()","title":"init()","type":"init"}],"path":"\/documentation\/deeplink\/defaultinitializable","title":"DefaultInitializable","type":"protocol"},{"title":"Implementation details","type":"groupMarker"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/deeplink\/anydeeplink\/description","title":"let description: String","type":"property"}],"path":"\/documentation\/deeplink\/anydeeplink","title":"AnyDeeplink","type":"struct"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/deeplink\/deeplinkinterpolation\/init(literalcapacity:interpolationcount:)","title":"init(literalCapacity: Int, interpolationCount: Int)","type":"init"},{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/deeplink\/deeplinkinterpolation\/appendinterpolation(_:)","title":"func appendInterpolation(WritableKeyPath) throws","type":"method"},{"path":"\/documentation\/deeplink\/deeplinkinterpolation\/appendinterpolation(_:separator:)","title":"func appendInterpolation(WritableKeyPath, separator: Character) throws","type":"method"},{"path":"\/documentation\/deeplink\/deeplinkinterpolation\/appendliteral(_:)","title":"func appendLiteral(String)","type":"method"},{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/deeplink\/deeplinkinterpolation\/description","title":"var description: String","type":"property"}],"path":"\/documentation\/deeplink\/deeplinkinterpolation\/customstringconvertible-implementations","title":"CustomStringConvertible Implementations","type":"symbol"},{"children":[{"title":"Operators","type":"groupMarker"},{"path":"\/documentation\/deeplink\/deeplinkinterpolation\/!=(_:_:)","title":"static func != (Self, Self) -> Bool","type":"op"}],"path":"\/documentation\/deeplink\/deeplinkinterpolation\/equatable-implementations","title":"Equatable Implementations","type":"symbol"}],"path":"\/documentation\/deeplink\/deeplinkinterpolation","title":"DeeplinkInterpolation","type":"struct"},{"children":[{"title":"Type Aliases","type":"groupMarker"},{"path":"\/documentation\/deeplink\/deeplinkbuilder\/component","title":"DeeplinkBuilder.Component","type":"typealias"},{"title":"Type Methods","type":"groupMarker"},{"path":"\/documentation\/deeplink\/deeplinkbuilder\/buildarray(_:)","title":"static func buildArray([DeeplinkBuilder.Component]) -> DeeplinkBuilder.Component","type":"method"},{"path":"\/documentation\/deeplink\/deeplinkbuilder\/buildblock(_:)","title":"static func buildBlock(DeeplinkBuilder.Component...) -> DeeplinkBuilder.Component","type":"method"},{"path":"\/documentation\/deeplink\/deeplinkbuilder\/buildeither(first:)","title":"static func buildEither(first: DeeplinkBuilder.Component) -> DeeplinkBuilder.Component","type":"method"},{"path":"\/documentation\/deeplink\/deeplinkbuilder\/buildeither(second:)","title":"static func buildEither(second: DeeplinkBuilder.Component) -> DeeplinkBuilder.Component","type":"method"},{"path":"\/documentation\/deeplink\/deeplinkbuilder\/buildexpression(_:)-6kuwv","title":"static func buildExpression(AnyDeeplink?) -> DeeplinkBuilder.Component","type":"method"},{"path":"\/documentation\/deeplink\/deeplinkbuilder\/buildexpression(_:)-8a26a","title":"static func buildExpression(AnyDeeplink) -> DeeplinkBuilder.Component","type":"method"},{"path":"\/documentation\/deeplink\/deeplinkbuilder\/buildlimitedavailability(_:)","title":"static func buildLimitedAvailability(DeeplinkBuilder.Component) -> DeeplinkBuilder.Component","type":"method"},{"path":"\/documentation\/deeplink\/deeplinkbuilder\/buildoptional(_:)","title":"static func buildOptional(DeeplinkBuilder.Component?) -> DeeplinkBuilder.Component","type":"method"}],"path":"\/documentation\/deeplink\/deeplinkbuilder","title":"DeeplinkBuilder","type":"struct"},{"title":"Tutorial","type":"groupMarker"},{"children":[{"title":"Using the library","type":"groupMarker"},{"path":"\/tutorials\/deeplink\/adding-a-deeplink","title":"Adding Deeplinks","type":"project"},{"path":"\/tutorials\/deeplink\/using-a-resultbuilder","title":"Registering Deeplinks with a ResultBuilder","type":"project"},{"path":"\/tutorials\/deeplink\/advanced-usage","title":"Advanced Usage","type":"project"}],"path":"\/tutorials\/table-of-contents","title":"🎣 All about Deeplinks","type":"overview"}],"path":"\/documentation\/deeplink","title":"Deeplink","type":"module"}]},"schemaVersion":{"major":0,"minor":1,"patch":1}} \ No newline at end of file diff --git a/docs/js/chunk-384ef189.bb1ed903.js b/docs/js/chunk-384ef189.bb1ed903.js deleted file mode 100644 index 548fde9..0000000 --- a/docs/js/chunk-384ef189.bb1ed903.js +++ /dev/null @@ -1,10 +0,0 @@ -/*! - * This source file is part of the Swift.org open source project - * - * Copyright (c) 2021 Apple Inc. and the Swift project authors - * Licensed under Apache License v2.0 with Runtime Library Exception - * - * See https://swift.org/LICENSE.txt for license information - * See https://swift.org/CONTRIBUTORS.txt for Swift project authors - */ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-384ef189"],{"00b4":function(e,t,n){"use strict";var a,r,i,o,s,c,l,d,p=n("7b1f"),u={name:"ChangedToken",render(e){const{kind:t,tokens:n}=this;return e("span",{class:["token-"+t,"token-changed"]},n.map(t=>e(F,{props:t})))},props:{kind:{type:String,required:!0},tokens:{type:Array,required:!0}}},f=u,m=n("2877"),h=Object(m["a"])(f,a,r,!1,null,null,null),b=h.exports,g={name:"RawText",render(e){const{_v:t=(t=>e("span",t)),text:n}=this;return t(n)},props:{text:{type:String,required:!0}}},v=g,y=Object(m["a"])(v,i,o,!1,null,null,null),k=y.exports,C={name:"SyntaxToken",render(e){return e("span",{class:"token-"+this.kind},this.text)},props:{kind:{type:String,required:!0},text:{type:String,required:!0}}},_=C,x=Object(m["a"])(_,s,c,!1,null,null,null),O=x.exports,B=n("86d8"),T={name:"TypeIdentifierLink",inject:{references:{default(){return{}}}},render(e){const t="type-identifier-link",n=this.references[this.identifier];return n&&n.url?e(B["a"],{class:t,props:{url:n.url,kind:n.kind,role:n.role}},this.$slots.default):e("span",{class:t},this.$slots.default)},props:{identifier:{type:String,required:!0,default:()=>""}}},S=T,I=Object(m["a"])(S,l,d,!1,null,null,null),j=I.exports;const q={attribute:"attribute",externalParam:"externalParam",genericParameter:"genericParameter",identifier:"identifier",internalParam:"internalParam",keyword:"keyword",label:"label",number:"number",string:"string",text:"text",typeIdentifier:"typeIdentifier",added:"added",removed:"removed"};var w,A,$={name:"DeclarationToken",render(e){const{kind:t,text:n,tokens:a}=this;switch(t){case q.text:{const t={text:n};return e(k,{props:t})}case q.typeIdentifier:{const t={identifier:this.identifier};return e(j,{props:t},[e(p["a"],n)])}case q.added:case q.removed:return e(b,{props:{tokens:a,kind:t}});default:{const a={kind:t,text:n};return e(O,{props:a})}}},constants:{TokenKind:q},props:{kind:{type:String,required:!0},identifier:{type:String,required:!1},text:{type:String,required:!1},tokens:{type:Array,required:!1,default:()=>[]}}},D=$,P=(n("c36f"),Object(m["a"])(D,w,A,!1,null,"5caf1b5b",null)),F=t["a"]=P.exports},"036f":function(e,t,n){"use strict";n("7395")},"18b8":function(e,t,n){},"2a18":function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"link-block",class:e.linkBlockClasses},[n(e.linkComponent,e._b({ref:"apiChangesDiff",tag:"component",staticClass:"link",class:e.linkClasses},"component",e.linkProps,!1),[e.topic.role&&!e.change?n("TopicLinkBlockIcon",{attrs:{role:e.topic.role,imageOverride:e.references[e.iconOverride]}}):e._e(),e.topic.fragments?n("DecoratedTopicTitle",{attrs:{tokens:e.topic.fragments}}):n("WordBreak",{attrs:{tag:e.titleTag}},[e._v(e._s(e.topic.title))]),e.change?n("span",{staticClass:"visuallyhidden"},[e._v("- "+e._s(e.changeName))]):e._e()],1),e.hasAbstractElements?n("div",{staticClass:"abstract"},[e.topic.abstract?n("ContentNode",{attrs:{content:e.topic.abstract}}):e._e(),e.topic.ideTitle?n("div",{staticClass:"topic-keyinfo"},[e.topic.titleStyle===e.titleStyles.title?[n("strong",[e._v("Key:")]),e._v(" "+e._s(e.topic.name)+" ")]:e.topic.titleStyle===e.titleStyles.symbol?[n("strong",[e._v("Name:")]),e._v(" "+e._s(e.topic.ideTitle)+" ")]:e._e()],2):e._e(),e.topic.required||e.topic.defaultImplementations?n("RequirementMetadata",{staticClass:"topic-required",attrs:{defaultImplementationsCount:e.topic.defaultImplementations}}):e._e(),e.topic.conformance?n("ConditionalConstraints",{attrs:{constraints:e.topic.conformance.constraints,prefix:e.topic.conformance.availabilityPrefix}}):e._e()],1):e._e(),e.showDeprecatedBadge?n("Badge",{attrs:{variant:"deprecated"}}):e.showBetaBadge?n("Badge",{attrs:{variant:"beta"}}):e._e(),e._l(e.tags,(function(t){return n("Badge",{key:t.type+"-"+t.text,attrs:{variant:t.type}},[e._v(" "+e._s(t.text)+" ")])}))],2)},r=[],i=n("66cd"),o=n("d26a"),s=n("a0fd"),c=n("7b1f"),l=n("6359"),d=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.imageOverride||e.icon?n("div",{staticClass:"topic-icon-wrapper"},[e.imageOverride?n("OverridableAsset",{staticClass:"topic-icon",attrs:{imageOverride:e.imageOverride}}):e.icon?n(e.icon,{tag:"component",staticClass:"topic-icon"}):e._e()],1):e._e()},p=[],u=n("a9f1"),f=n("3b96"),m=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"api-reference-icon",attrs:{viewBox:"0 0 14 14",themeId:"api-reference"}},[n("title",[e._v("API Reference")]),n("path",{attrs:{d:"m1 1v12h12v-12zm11 11h-10v-10h10z"}}),n("path",{attrs:{d:"m3 4h8v1h-8zm0 2.5h8v1h-8zm0 2.5h8v1h-8z"}}),n("path",{attrs:{d:"m3 4h8v1h-8z"}}),n("path",{attrs:{d:"m3 6.5h8v1h-8z"}}),n("path",{attrs:{d:"m3 9h8v1h-8z"}})])},h=[],b=n("be08"),g={name:"APIReferenceIcon",components:{SVGIcon:b["a"]}},v=g,y=n("2877"),k=Object(y["a"])(v,m,h,!1,null,null,null),C=k.exports,_=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{attrs:{viewBox:"0 0 14 14",themeId:"endpoint"}},[n("title",[e._v("Web Service Endpoint")]),n("path",{attrs:{d:"M4.052 8.737h-1.242l-1.878 5.263h1.15l0.364-1.081h1.939l0.339 1.081h1.193zM2.746 12.012l0.678-2.071 0.653 2.071z"}}),n("path",{attrs:{d:"M11.969 8.737h1.093v5.263h-1.093v-5.263z"}}),n("path",{attrs:{d:"M9.198 8.737h-2.295v5.263h1.095v-1.892h1.12c0.040 0.003 0.087 0.004 0.134 0.004 0.455 0 0.875-0.146 1.217-0.394l-0.006 0.004c0.296-0.293 0.48-0.699 0.48-1.148 0-0.060-0.003-0.118-0.010-0.176l0.001 0.007c0.003-0.039 0.005-0.085 0.005-0.131 0-0.442-0.183-0.842-0.476-1.128l-0-0c-0.317-0.256-0.724-0.41-1.168-0.41-0.034 0-0.069 0.001-0.102 0.003l0.005-0zM9.628 11.014c-0.15 0.118-0.341 0.188-0.548 0.188-0.020 0-0.040-0.001-0.060-0.002l0.003 0h-1.026v-1.549h1.026c0.017-0.001 0.037-0.002 0.058-0.002 0.206 0 0.396 0.066 0.551 0.178l-0.003-0.002c0.135 0.13 0.219 0.313 0.219 0.515 0 0.025-0.001 0.050-0.004 0.074l0-0.003c0.002 0.020 0.003 0.044 0.003 0.068 0 0.208-0.083 0.396-0.219 0.534l0-0z"}}),n("path",{attrs:{d:"M13.529 4.981c0-1.375-1.114-2.489-2.489-2.49h-0l-0.134 0.005c-0.526-1.466-1.903-2.496-3.522-2.496-0.892 0-1.711 0.313-2.353 0.835l0.007-0.005c-0.312-0.243-0.709-0.389-1.14-0.389-1.030 0-1.865 0.834-1.866 1.864v0c0 0.001 0 0.003 0 0.004 0 0.123 0.012 0.242 0.036 0.358l-0.002-0.012c-0.94 0.37-1.593 1.27-1.593 2.323 0 1.372 1.11 2.485 2.482 2.49h8.243c1.306-0.084 2.333-1.164 2.333-2.484 0-0.001 0-0.002 0-0.003v0zM11.139 6.535h-8.319c-0.799-0.072-1.421-0.739-1.421-1.551 0-0.659 0.41-1.223 0.988-1.45l0.011-0.004 0.734-0.28-0.148-0.776-0.012-0.082v-0.088c0-0 0-0.001 0-0.001 0-0.515 0.418-0.933 0.933-0.933 0.216 0 0.416 0.074 0.574 0.197l-0.002-0.002 0.584 0.453 0.575-0.467 0.169-0.127c0.442-0.306 0.991-0.489 1.581-0.489 1.211 0 2.243 0.769 2.633 1.846l0.006 0.019 0.226 0.642 0.814-0.023 0.131 0.006c0.805 0.067 1.432 0.736 1.432 1.552 0 0.836-0.659 1.518-1.486 1.556l-0.003 0z"}})])},x=[],O={name:"EndpointIcon",components:{SVGIcon:b["a"]}},B=O,T=Object(y["a"])(B,_,x,!1,null,null,null),S=T.exports,I=n("a295"),j=n("8d2d"),q=n("fdd9");const w={[i["a"].article]:u["a"],[i["a"].collectionGroup]:C,[i["a"].learn]:I["a"],[i["a"].overview]:I["a"],[i["a"].project]:j["a"],[i["a"].tutorial]:j["a"],[i["a"].resources]:I["a"],[i["a"].sampleCode]:f["a"],[i["a"].restRequestSymbol]:S};var A={components:{OverridableAsset:q["a"],SVGIcon:b["a"]},props:{role:{type:String,required:!0},imageOverride:{type:Object,default:null}},computed:{icon:({role:e})=>w[e]}},$=A,D=(n("83a8"),Object(y["a"])($,d,p,!1,null,"384630c1",null)),P=D.exports,F=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("code",{staticClass:"decorated-title"},e._l(e.tokens,(function(t,a){return n(e.componentFor(t),{key:a,tag:"component",class:[e.classFor(t),e.emptyTokenClass(t)]},[e._v(e._s(t.text))])})),1)},z=[],E=n("00b4");const{TokenKind:M}=E["a"].constants,N={decorator:"decorator",identifier:"identifier",label:"label"};var R={name:"DecoratedTopicTitle",components:{WordBreak:c["a"]},props:{tokens:{type:Array,required:!0,default:()=>[]}},constants:{TokenKind:M},methods:{emptyTokenClass:({text:e})=>({"empty-token":" "===e}),classFor({kind:e}){switch(e){case M.externalParam:case M.identifier:return N.identifier;case M.label:return N.label;default:return N.decorator}},componentFor(e){return/^\s+$/.test(e.text)?"span":c["a"]}}},V=R,L=(n("dcf6"),Object(y["a"])(V,F,z,!1,null,"06ec7395",null)),W=L.exports,G=n("64cf"),K=n("e8ea"),H=n("5d59");const J={article:"article",symbol:"symbol"},X={title:"title",symbol:"symbol"},Q={link:"link"};var U={name:"TopicsLinkBlock",components:{Badge:s["a"],WordBreak:c["a"],ContentNode:l["a"],TopicLinkBlockIcon:P,DecoratedTopicTitle:W,RequirementMetadata:K["a"],ConditionalConstraints:G["a"]},inject:["store","references"],mixins:[H["b"],H["a"]],constants:{ReferenceType:Q,TopicKind:J,TitleStyles:X},props:{isSymbolBeta:Boolean,isSymbolDeprecated:Boolean,topic:{type:Object,required:!0,validator:e=>(!("abstract"in e)||Array.isArray(e.abstract))&&"string"===typeof e.identifier&&(e.type===Q.link&&!e.kind||"string"===typeof e.kind)&&(e.type===Q.link&&!e.role||"string"===typeof e.role)&&"string"===typeof e.title&&"string"===typeof e.url&&(!("defaultImplementations"in e)||"number"===typeof e.defaultImplementations)&&(!("required"in e)||"boolean"===typeof e.required)&&(!("conformance"in e)||"object"===typeof e.conformance)}},data(){return{state:this.store.state}},computed:{linkComponent:({topic:e})=>e.type===Q.link?"a":"router-link",linkProps({topic:e}){const t=Object(o["b"])(e.url,this.$route.query);return e.type===Q.link?{href:t}:{to:t}},linkBlockClasses:({changesClasses:e,hasAbstractElements:t,hasMultipleLinesAfterAPIChanges:n,multipleLinesClass:a})=>({"has-inline-element":!t,[a]:n,...!t&&e}),linkClasses:({changesClasses:e,deprecated:t,hasAbstractElements:n})=>({deprecated:t,"has-adjacent-elements":n,...n&&e}),changesClasses:({getChangesClasses:e,change:t})=>e(t),titleTag({topic:e}){if(e.titleStyle===X.title)return e.ideTitle?"span":"code";if(e.role&&(e.role===i["a"].collection||e.role===i["a"].dictionarySymbol))return"span";switch(e.kind){case J.symbol:return"code";default:return"span"}},titleStyles:()=>X,deprecated:({showDeprecatedBadge:e,topic:t})=>e||t.deprecated,showBetaBadge:({topic:e,isSymbolBeta:t})=>Boolean(!t&&e.beta),showDeprecatedBadge:({topic:e,isSymbolDeprecated:t})=>Boolean(!t&&e.deprecated),change({topic:{identifier:e},state:{apiChanges:t}}){return this.changeFor(e,t)},changeName:({change:e,getChangeName:t})=>t(e),hasAbstractElements:({topic:{abstract:e,conformance:t,required:n,defaultImplementations:a}}={})=>e&&e.length>0||t||n||a,tags:({topic:e})=>(e.tags||[]).slice(0,1),iconOverride:({topic:{images:e=[]}})=>{const t=e.find(({type:e})=>"icon"===e);return t?t.identifier:null}}},Y=U,Z=(n("036f"),Object(y["a"])(Y,a,r,!1,null,"750aa7a8",null));t["default"]=Z.exports},"2f04":function(e,t,n){},3484:function(e,t,n){"use strict";n("18b8")},"5a86":function(e,t,n){"use strict";n("fab0")},"5d59":function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return l}));var a=n("b5cf"),r=n("9055"),i=n("beb1");const o="latest_",s={xcode:{value:"xcode",label:"Xcode"},other:{value:"other",label:"Other"}},c={constants:{multipleLinesClass:r["a"]},data(){return{multipleLinesClass:r["a"]}},computed:{hasMultipleLinesAfterAPIChanges:({change:e,changeType:t,$refs:n})=>!(!e&&!t)&&Object(i["a"])(n.apiChangesDiff)}},l={methods:{toVersionRange({platform:e,versions:t}){return`${e} ${t[0]} – ${e} ${t[1]}`},toOptionValue:e=>`${o}${e}`,toScope:e=>e.slice(o.length,e.length),getOptionsForDiffAvailability(e={}){return this.getOptionsForDiffAvailabilities([e])},getOptionsForDiffAvailabilities(e=[]){const t=e.reduce((e,t={})=>Object.keys(t).reduce((e,n)=>({...e,[n]:(e[n]||[]).concat(t[n])}),e),{}),n=Object.keys(t),a=n.reduce((e,n)=>{const a=t[n];return{...e,[n]:a.find(e=>e.platform===s.xcode.label)||a[0]}},{}),r=e=>({label:this.toVersionRange(a[e]),value:this.toOptionValue(e),platform:a[e].platform}),{sdk:i,beta:o,minor:c,major:l,...d}=a,p=[].concat(i?r("sdk"):[]).concat(o?r("beta"):[]).concat(c?r("minor"):[]).concat(l?r("major"):[]).concat(Object.keys(d).map(r));return this.splitOptionsPerPlatform(p)},changesClassesFor(e,t){const n=this.changeFor(e,t);return this.getChangesClasses(n)},getChangesClasses:e=>({["changed changed-"+e]:!!e}),changeFor(e,t){const{change:n}=(t||{})[e]||{};return n},splitOptionsPerPlatform(e){return e.reduce((e,t)=>{const n=t.platform===s.xcode.label?s.xcode.value:s.other.value;return e[n].push(t),e},{[s.xcode.value]:[],[s.other.value]:[]})},getChangeName(e){return a["b"][e]}},computed:{availableOptions({diffAvailability:e={},toOptionValue:t}){return new Set(Object.keys(e).map(t))}}}},6359:function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("BaseContentNode",e._b({},"BaseContentNode",e.$props,!1))},r=[],i=n("5677"),o={name:"ContentNode",components:{BaseContentNode:i["default"]},props:i["default"].props,methods:i["default"].methods,BlockType:i["default"].BlockType,InlineType:i["default"].InlineType},s=o,c=(n("3484"),n("2877")),l=Object(c["a"])(s,a,r,!1,null,"7f03310b",null);t["a"]=l.exports},"64cf":function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ContentNode",{staticClass:"conditional-constraints",attrs:{content:e.content}})},r=[],i=n("6359"),o={name:"ConditionalConstraints",components:{ContentNode:i["a"]},props:{constraints:i["a"].props.content,prefix:i["a"].props.content},computed:{content:({constraints:e,prefix:t,space:n})=>t.concat(n).concat(e),space:()=>({type:i["a"].InlineType.text,text:" "})}},s=o,c=(n("918a"),n("2877")),l=Object(c["a"])(s,a,r,!1,null,"1548fd90",null);t["a"]=l.exports},7395:function(e,t,n){},"83a8":function(e,t,n){"use strict";n("b6f5")},9055:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));const a="has-multiple-lines"},"918a":function(e,t,n){"use strict";n("a2b5")},a0fd:function(e,t,n){"use strict";var a=function(){var e,t=this,n=t.$createElement,a=t._self._c||n;return a("span",{staticClass:"badge",class:(e={},e["badge-"+t.variant]=t.variant,e),attrs:{role:"presentation"}},[t._t("default",(function(){return[t._v(t._s(t.text))]}))],2)},r=[];const i={beta:"Beta",deprecated:"Deprecated"};var o={name:"Badge",props:{variant:{type:String,default:()=>""}},computed:{text:({variant:e})=>i[e]}},s=o,c=(n("5a86"),n("2877")),l=Object(c["a"])(s,a,r,!1,null,"b3052e12",null);t["a"]=l.exports},a2b5:function(e,t,n){},b5cf:function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}));const a={added:"added",modified:"modified",deprecated:"deprecated"},r=[a.modified,a.added,a.deprecated],i={[a.modified]:"Modified",[a.added]:"Added",[a.deprecated]:"Deprecated"},o={Modified:a.modified,Added:a.added,Deprecated:a.deprecated}},b6f5:function(e,t,n){},beb1:function(e,t,n){"use strict";function a(e){if(!e)return!1;const t=window.getComputedStyle(e.$el||e),n=(e.$el||e).offsetHeight,a=t.lineHeight?parseFloat(t.lineHeight):1,r=t.paddingTop?parseFloat(t.paddingTop):0,i=t.paddingBottom?parseFloat(t.paddingBottom):0,o=t.borderTopWidth?parseFloat(t.borderTopWidth):0,s=t.borderBottomWidth?parseFloat(t.borderBottomWidth):0,c=n-(r+i+o+s),l=c/a;return l>=2}n.d(t,"a",(function(){return a}))},c36f:function(e,t,n){"use strict";n("f8bd")},dcf6:function(e,t,n){"use strict";n("2f04")},e8ea:function(e,t,n){"use strict";var a=function(e,t){var n=t._c;return n("p",{staticClass:"requirement-metadata",class:t.data.staticClass},[n("strong",[t._v("Required.")]),t.props.defaultImplementationsCount?[t._v(" Default implementation"+t._s(t.props.defaultImplementationsCount>1?"s":"")+" provided. ")]:t._e()],2)},r=[],i={name:"RequirementMetadata",props:{defaultImplementationsCount:{type:Number,default:0}}},o=i,s=n("2877"),c=Object(s["a"])(o,a,r,!0,null,null,null);t["a"]=c.exports},f8bd:function(e,t,n){},fab0:function(e,t,n){}}]); \ No newline at end of file diff --git a/docs/js/chunk-c0335d80.76a68cc5.js b/docs/js/chunk-c0335d80.76a68cc5.js new file mode 100644 index 0000000..f4f01b7 --- /dev/null +++ b/docs/js/chunk-c0335d80.76a68cc5.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-c0335d80"],{"00b4":function(e,t,n){"use strict";var a,r,i,o,s,c,l,d,p=n("7b1f"),u={name:"ChangedToken",render(e){const{kind:t,tokens:n}=this;return e("span",{class:["token-"+t,"token-changed"]},n.map(t=>e(D,{props:t})))},props:{kind:{type:String,required:!0},tokens:{type:Array,required:!0}}},f=u,m=n("2877"),h=Object(m["a"])(f,a,r,!1,null,null,null),b=h.exports,g=n("86d8"),v=n("2f34"),y={name:"LinkableToken",mixins:[v["a"]],render(e){const t=this.references[this.identifier];return t&&t.url?e(g["a"],{props:{url:t.url,kind:t.kind,role:t.role}},this.$slots.default):e("span",{},this.$slots.default)},props:{identifier:{type:String,required:!0,default:()=>""}}},k=y,C=Object(m["a"])(k,i,o,!1,null,null,null),_=C.exports,x={name:"RawText",render(e){const{_v:t=(t=>e("span",t)),text:n}=this;return t(n)},props:{text:{type:String,required:!0}}},O=x,B=Object(m["a"])(O,s,c,!1,null,null,null),T=B.exports,S={name:"SyntaxToken",render(e){return e("span",{class:"token-"+this.kind},this.text)},props:{kind:{type:String,required:!0},text:{type:String,required:!0}}},I=S,$=Object(m["a"])(I,l,d,!1,null,null,null),j=$.exports;const q={attribute:"attribute",externalParam:"externalParam",genericParameter:"genericParameter",identifier:"identifier",internalParam:"internalParam",keyword:"keyword",label:"label",number:"number",string:"string",text:"text",typeIdentifier:"typeIdentifier",added:"added",removed:"removed"};var w,A,P={name:"DeclarationToken",render(e){const{kind:t,text:n,tokens:a}=this;switch(t){case q.text:{const t={text:n};return e(T,{props:t})}case q.typeIdentifier:{const t={identifier:this.identifier};return e(_,{class:"type-identifier-link",props:t},[e(p["a"],n)])}case q.attribute:{const{identifier:a}=this;return a?e(_,{class:"attribute-link",props:{identifier:a}},[e(p["a"],n)]):e(j,{props:{kind:t,text:n}})}case q.added:case q.removed:return e(b,{props:{tokens:a,kind:t}});default:{const a={kind:t,text:n};return e(j,{props:a})}}},constants:{TokenKind:q},props:{kind:{type:String,required:!0},identifier:{type:String,required:!1},text:{type:String,required:!1},tokens:{type:Array,required:!1,default:()=>[]}}},F=P,z=(n("8f34"),Object(m["a"])(F,w,A,!1,null,"3fd63d6c",null)),D=t["a"]=z.exports},"2a18":function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"link-block",class:e.linkBlockClasses},[n(e.linkComponent,e._b({ref:"apiChangesDiff",tag:"component",staticClass:"link",class:e.linkClasses},"component",e.linkProps,!1),[e.topic.role&&!e.change?n("TopicLinkBlockIcon",{attrs:{role:e.topic.role,imageOverride:e.references[e.iconOverride]}}):e._e(),e.topic.fragments?n("DecoratedTopicTitle",{attrs:{tokens:e.topic.fragments}}):n("WordBreak",{attrs:{tag:e.titleTag}},[e._v(e._s(e.topic.title))]),e.change?n("span",{staticClass:"visuallyhidden"},[e._v("- "+e._s(e.$t(e.changeName)))]):e._e()],1),e.hasAbstractElements?n("div",{staticClass:"abstract"},[e.topic.abstract?n("ContentNode",{attrs:{content:e.topic.abstract}}):e._e(),e.topic.ideTitle?n("div",{staticClass:"topic-keyinfo"},[e.topic.titleStyle===e.titleStyles.title?[n("strong",[e._v("Key:")]),e._v(" "+e._s(e.topic.name)+" ")]:e.topic.titleStyle===e.titleStyles.symbol?[n("strong",[e._v("Name:")]),e._v(" "+e._s(e.topic.ideTitle)+" ")]:e._e()],2):e._e(),e.topic.required||e.topic.defaultImplementations?n("RequirementMetadata",{staticClass:"topic-required",attrs:{defaultImplementationsCount:e.topic.defaultImplementations}}):e._e(),e.topic.conformance?n("ConditionalConstraints",{attrs:{constraints:e.topic.conformance.constraints,prefix:e.topic.conformance.availabilityPrefix}}):e._e()],1):e._e(),e.showDeprecatedBadge?n("Badge",{attrs:{variant:"deprecated"}}):e.showBetaBadge?n("Badge",{attrs:{variant:"beta"}}):e._e(),e._l(e.tags,(function(t){return n("Badge",{key:t.type+"-"+t.text,attrs:{variant:t.type}},[e._v(" "+e._s(t.text)+" ")])}))],2)},r=[],i=n("66cd"),o=n("d26a"),s=n("a0fd"),c=n("7b1f"),l=n("6359"),d=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.imageOverride||e.icon?n("div",{staticClass:"topic-icon-wrapper"},[e.imageOverride?n("OverridableAsset",{staticClass:"topic-icon",attrs:{imageOverride:e.imageOverride}}):e.icon?n(e.icon,{tag:"component",staticClass:"topic-icon"}):e._e()],1):e._e()},p=[],u=n("a9f1"),f=n("3b96"),m=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"api-reference-icon",attrs:{viewBox:"0 0 14 14",themeId:"api-reference"}},[n("title",[e._v(e._s(e.$t("api-reference")))]),n("path",{attrs:{d:"m1 1v12h12v-12zm11 11h-10v-10h10z"}}),n("path",{attrs:{d:"m3 4h8v1h-8zm0 2.5h8v1h-8zm0 2.5h8v1h-8z"}}),n("path",{attrs:{d:"m3 4h8v1h-8z"}}),n("path",{attrs:{d:"m3 6.5h8v1h-8z"}}),n("path",{attrs:{d:"m3 9h8v1h-8z"}})])},h=[],b=n("be08"),g={name:"APIReferenceIcon",components:{SVGIcon:b["a"]}},v=g,y=n("2877"),k=Object(y["a"])(v,m,h,!1,null,null,null),C=k.exports,_=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{attrs:{viewBox:"0 0 14 14",themeId:"endpoint"}},[n("title",[e._v(e._s(e.$t("icons.web-service-endpoint")))]),n("path",{attrs:{d:"M4.052 8.737h-1.242l-1.878 5.263h1.15l0.364-1.081h1.939l0.339 1.081h1.193zM2.746 12.012l0.678-2.071 0.653 2.071z"}}),n("path",{attrs:{d:"M11.969 8.737h1.093v5.263h-1.093v-5.263z"}}),n("path",{attrs:{d:"M9.198 8.737h-2.295v5.263h1.095v-1.892h1.12c0.040 0.003 0.087 0.004 0.134 0.004 0.455 0 0.875-0.146 1.217-0.394l-0.006 0.004c0.296-0.293 0.48-0.699 0.48-1.148 0-0.060-0.003-0.118-0.010-0.176l0.001 0.007c0.003-0.039 0.005-0.085 0.005-0.131 0-0.442-0.183-0.842-0.476-1.128l-0-0c-0.317-0.256-0.724-0.41-1.168-0.41-0.034 0-0.069 0.001-0.102 0.003l0.005-0zM9.628 11.014c-0.15 0.118-0.341 0.188-0.548 0.188-0.020 0-0.040-0.001-0.060-0.002l0.003 0h-1.026v-1.549h1.026c0.017-0.001 0.037-0.002 0.058-0.002 0.206 0 0.396 0.066 0.551 0.178l-0.003-0.002c0.135 0.13 0.219 0.313 0.219 0.515 0 0.025-0.001 0.050-0.004 0.074l0-0.003c0.002 0.020 0.003 0.044 0.003 0.068 0 0.208-0.083 0.396-0.219 0.534l0-0z"}}),n("path",{attrs:{d:"M13.529 4.981c0-1.375-1.114-2.489-2.489-2.49h-0l-0.134 0.005c-0.526-1.466-1.903-2.496-3.522-2.496-0.892 0-1.711 0.313-2.353 0.835l0.007-0.005c-0.312-0.243-0.709-0.389-1.14-0.389-1.030 0-1.865 0.834-1.866 1.864v0c0 0.001 0 0.003 0 0.004 0 0.123 0.012 0.242 0.036 0.358l-0.002-0.012c-0.94 0.37-1.593 1.27-1.593 2.323 0 1.372 1.11 2.485 2.482 2.49h8.243c1.306-0.084 2.333-1.164 2.333-2.484 0-0.001 0-0.002 0-0.003v0zM11.139 6.535h-8.319c-0.799-0.072-1.421-0.739-1.421-1.551 0-0.659 0.41-1.223 0.988-1.45l0.011-0.004 0.734-0.28-0.148-0.776-0.012-0.082v-0.088c0-0 0-0.001 0-0.001 0-0.515 0.418-0.933 0.933-0.933 0.216 0 0.416 0.074 0.574 0.197l-0.002-0.002 0.584 0.453 0.575-0.467 0.169-0.127c0.442-0.306 0.991-0.489 1.581-0.489 1.211 0 2.243 0.769 2.633 1.846l0.006 0.019 0.226 0.642 0.814-0.023 0.131 0.006c0.805 0.067 1.432 0.736 1.432 1.552 0 0.836-0.659 1.518-1.486 1.556l-0.003 0z"}})])},x=[],O={name:"EndpointIcon",components:{SVGIcon:b["a"]}},B=O,T=Object(y["a"])(B,_,x,!1,null,null,null),S=T.exports,I=n("a295"),$=n("3024"),j=n("8d2d"),q=n("fdd9");const w={[i["a"].article]:u["a"],[i["a"].collection]:$["a"],[i["a"].collectionGroup]:C,[i["a"].learn]:I["a"],[i["a"].overview]:I["a"],[i["a"].project]:j["a"],[i["a"].tutorial]:j["a"],[i["a"].resources]:I["a"],[i["a"].sampleCode]:f["a"],[i["a"].restRequestSymbol]:S};var A={components:{OverridableAsset:q["a"],SVGIcon:b["a"]},props:{role:{type:String,required:!0},imageOverride:{type:Object,default:null}},computed:{icon:({role:e})=>w[e]}},P=A,F=(n("d94b"),Object(y["a"])(P,d,p,!1,null,"03cf3183",null)),z=F.exports,D=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("code",{staticClass:"decorated-title"},e._l(e.tokens,(function(t,a){return n(e.componentFor(t),{key:a,tag:"component",class:[e.classFor(t),e.emptyTokenClass(t)]},[e._v(e._s(t.text))])})),1)},N=[],E=n("00b4");const{TokenKind:M}=E["a"].constants,V={decorator:"decorator",identifier:"identifier",label:"label"};var L={name:"DecoratedTopicTitle",components:{WordBreak:c["a"]},props:{tokens:{type:Array,required:!0,default:()=>[]}},constants:{TokenKind:M},methods:{emptyTokenClass:({text:e})=>({"empty-token":" "===e}),classFor({kind:e}){switch(e){case M.externalParam:case M.identifier:return V.identifier;case M.label:return V.label;default:return V.decorator}},componentFor(e){return/^\s+$/.test(e.text)?"span":c["a"]}}},R=L,W=(n("dcf6"),Object(y["a"])(R,D,N,!1,null,"06ec7395",null)),G=W.exports,K=n("64cf"),H=n("e8ea"),J=n("5d59"),X=n("2f34");const Q={article:"article",symbol:"symbol"},U={title:"title",symbol:"symbol"},Y={link:"link"};var Z={name:"TopicsLinkBlock",components:{Badge:s["a"],WordBreak:c["a"],ContentNode:l["a"],TopicLinkBlockIcon:z,DecoratedTopicTitle:G,RequirementMetadata:H["a"],ConditionalConstraints:K["a"]},mixins:[J["b"],J["a"],X["a"]],constants:{ReferenceType:Y,TopicKind:Q,TitleStyles:U},props:{isSymbolBeta:Boolean,isSymbolDeprecated:Boolean,topic:{type:Object,required:!0,validator:e=>(!("abstract"in e)||Array.isArray(e.abstract))&&"string"===typeof e.identifier&&(e.type===Y.link&&!e.kind||"string"===typeof e.kind)&&(e.type===Y.link&&!e.role||"string"===typeof e.role)&&"string"===typeof e.title&&"string"===typeof e.url&&(!("defaultImplementations"in e)||"number"===typeof e.defaultImplementations)&&(!("required"in e)||"boolean"===typeof e.required)&&(!("conformance"in e)||"object"===typeof e.conformance)}},data(){return{state:this.store.state}},computed:{linkComponent:({topic:e})=>e.type===Y.link?"a":"router-link",linkProps({topic:e}){const t=Object(o["b"])(e.url,this.$route.query);return e.type===Y.link?{href:t}:{to:t}},linkBlockClasses:({changesClasses:e,hasAbstractElements:t,displaysMultipleLinesAfterAPIChanges:n,multipleLinesClass:a})=>({"has-inline-element":!t,[a]:n,...!t&&e}),linkClasses:({changesClasses:e,deprecated:t,hasAbstractElements:n})=>({deprecated:t,"has-adjacent-elements":n,...n&&e}),changesClasses:({getChangesClasses:e,change:t})=>e(t),titleTag({topic:e}){if(e.titleStyle===U.title)return e.ideTitle?"span":"code";if(e.role&&(e.role===i["a"].collection||e.role===i["a"].dictionarySymbol))return"span";switch(e.kind){case Q.symbol:return"code";default:return"span"}},titleStyles:()=>U,deprecated:({showDeprecatedBadge:e,topic:t})=>e||t.deprecated,showBetaBadge:({topic:e,isSymbolBeta:t})=>Boolean(!t&&e.beta),showDeprecatedBadge:({topic:e,isSymbolDeprecated:t})=>Boolean(!t&&e.deprecated),change({topic:{identifier:e},state:{apiChanges:t}}){return this.changeFor(e,t)},changeName:({change:e,getChangeName:t})=>t(e),hasAbstractElements:({topic:{abstract:e,conformance:t,required:n,defaultImplementations:a}}={})=>e&&e.length>0||t||n||a,tags:({topic:e})=>(e.tags||[]).slice(0,1),iconOverride:({topic:{images:e=[]}})=>{const t=e.find(({type:e})=>"icon"===e);return t?t.identifier:null}}},ee=Z,te=(n("8d8f8"),Object(y["a"])(ee,a,r,!1,null,"52205924",null));t["default"]=te.exports},"2f04":function(e,t,n){},4782:function(e,t,n){},4918:function(e,t,n){},"5d59":function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return l}));var a=n("b5cf"),r=n("9055"),i=n("beb1");const o="latest_",s={xcode:{value:"xcode",label:"Xcode"},other:{value:"other",label:"Other"}},c={constants:{multipleLinesClass:r["a"]},data(){return{multipleLinesClass:r["a"]}},computed:{displaysMultipleLinesAfterAPIChanges:({change:e,changeType:t,$refs:n})=>!(!e&&!t)&&Object(i["a"])(n.apiChangesDiff)}},l={methods:{toVersionRange({platform:e,versions:t}){return`${e} ${t[0]} – ${e} ${t[1]}`},toOptionValue:e=>`${o}${e}`,toScope:e=>e.slice(o.length,e.length),getOptionsForDiffAvailability(e={}){return this.getOptionsForDiffAvailabilities([e])},getOptionsForDiffAvailabilities(e=[]){const t=e.reduce((e,t={})=>Object.keys(t).reduce((e,n)=>({...e,[n]:(e[n]||[]).concat(t[n])}),e),{}),n=Object.keys(t),a=n.reduce((e,n)=>{const a=t[n];return{...e,[n]:a.find(e=>e.platform===s.xcode.label)||a[0]}},{}),r=e=>({label:this.toVersionRange(a[e]),value:this.toOptionValue(e),platform:a[e].platform}),{sdk:i,beta:o,minor:c,major:l,...d}=a,p=[].concat(i?r("sdk"):[]).concat(o?r("beta"):[]).concat(c?r("minor"):[]).concat(l?r("major"):[]).concat(Object.keys(d).map(r));return this.splitOptionsPerPlatform(p)},changesClassesFor(e,t){const n=this.changeFor(e,t);return this.getChangesClasses(n)},getChangesClasses:e=>({["changed changed-"+e]:!!e}),changeFor(e,t){const{change:n}=(t||{})[e]||{};return n},splitOptionsPerPlatform(e){return e.reduce((e,t)=>{const n=t.platform===s.xcode.label?s.xcode.value:s.other.value;return e[n].push(t),e},{[s.xcode.value]:[],[s.other.value]:[]})},getChangeName(e){return a["b"][e]}},computed:{availableOptions({diffAvailability:e={},toOptionValue:t}){return new Set(Object.keys(e).map(t))}}}},6359:function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("BaseContentNode",e._b({},"BaseContentNode",e.$props,!1))},r=[],i=n("5677"),o={name:"ContentNode",components:{BaseContentNode:i["default"]},props:i["default"].props,methods:i["default"].methods,BlockType:i["default"].BlockType,InlineType:i["default"].InlineType},s=o,c=(n("958a"),n("2877")),l=Object(c["a"])(s,a,r,!1,null,"20945666",null);t["a"]=l.exports},"64cf":function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ContentNode",{staticClass:"conditional-constraints",attrs:{content:e.content}})},r=[],i=n("6359"),o={name:"ConditionalConstraints",components:{ContentNode:i["a"]},props:{constraints:i["a"].props.content,prefix:i["a"].props.content},computed:{content:({constraints:e,prefix:t,space:n})=>t.concat(n).concat(e),space:()=>({type:i["a"].InlineType.text,text:" "})}},s=o,c=(n("918a"),n("2877")),l=Object(c["a"])(s,a,r,!1,null,"1548fd90",null);t["a"]=l.exports},"686d":function(e,t,n){},"8d74":function(e,t,n){},"8d8f8":function(e,t,n){"use strict";n("4918")},"8f34":function(e,t,n){"use strict";n("686d")},9055:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));const a="displays-multiple-lines"},"918a":function(e,t,n){"use strict";n("a2b5")},"94ca":function(e,t,n){"use strict";n("4782")},"958a":function(e,t,n){"use strict";n("8d74")},a0fd:function(e,t,n){"use strict";var a=function(){var e,t=this,n=t.$createElement,a=t._self._c||n;return a("span",{staticClass:"badge",class:(e={},e["badge-"+t.variant]=t.variant,e),attrs:{role:"presentation"}},[t._t("default",(function(){return[t._v(t._s(t.text?t.$t(t.text):""))]}))],2)},r=[];const i={beta:"aside-kind.beta",deprecated:"aside-kind.deprecated"};var o={name:"Badge",props:{variant:{type:String,default:()=>""}},computed:{text:({variant:e})=>i[e]}},s=o,c=(n("94ca"),n("2877")),l=Object(c["a"])(s,a,r,!1,null,"8d6893ae",null);t["a"]=l.exports},a2b5:function(e,t,n){},b5cf:function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}));const a={added:"added",modified:"modified",deprecated:"deprecated"},r=[a.modified,a.added,a.deprecated],i={[a.modified]:"change-type.modified",[a.added]:"change-type.added",[a.deprecated]:"change-type.deprecated"},o={"change-type.modified":a.modified,"change-type.added":a.added,"change-type.deprecated":a.deprecated}},beb1:function(e,t,n){"use strict";function a(e){if(!e)return!1;const t=window.getComputedStyle(e.$el||e),n=(e.$el||e).offsetHeight,a=t.lineHeight?parseFloat(t.lineHeight):1,r=t.paddingTop?parseFloat(t.paddingTop):0,i=t.paddingBottom?parseFloat(t.paddingBottom):0,o=t.borderTopWidth?parseFloat(t.borderTopWidth):0,s=t.borderBottomWidth?parseFloat(t.borderBottomWidth):0,c=n-(r+i+o+s),l=c/a;return l>=2}n.d(t,"a",(function(){return a}))},d94b:function(e,t,n){"use strict";n("fff0")},dcf6:function(e,t,n){"use strict";n("2f04")},e8ea:function(e,t,n){"use strict";var a=function(e,t){var n=t._c;return n("p",{staticClass:"requirement-metadata",class:t.data.staticClass},[n("strong",[t._v(t._s(t.parent.$t("required")))]),t.props.defaultImplementationsCount?[t._v(" "+t._s(t.parent.$tc("metadata.default-implementation",t.props.defaultImplementationsCount))+" ")]:t._e()],2)},r=[],i={name:"RequirementMetadata",props:{defaultImplementationsCount:{type:Number,default:0}}},o=i,s=n("2877"),c=Object(s["a"])(o,a,r,!0,null,null,null);t["a"]=c.exports},fff0:function(e,t,n){}}]); \ No newline at end of file diff --git a/docs/js/chunk-vendors.b24b7aaa.js b/docs/js/chunk-vendors.b24b7aaa.js deleted file mode 100644 index 5a98336..0000000 --- a/docs/js/chunk-vendors.b24b7aaa.js +++ /dev/null @@ -1,21 +0,0 @@ -/*! - * This source file is part of the Swift.org open source project - * - * Copyright (c) 2021 Apple Inc. and the Swift project authors - * Licensed under Apache License v2.0 with Runtime Library Exception - * - * See https://swift.org/LICENSE.txt for license information - * See https://swift.org/CONTRIBUTORS.txt for Swift project authors - */ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{2877:function(t,e,n){"use strict";function r(t,e,n,r,o,i,a,s){var c,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=c):o&&(c=s?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var f=u.render;u.render=function(t,e){return c.call(e),f(t,e)}}else{var l=u.beforeCreate;u.beforeCreate=l?[].concat(l,c):[c]}return{exports:t,options:u}}n.d(e,"a",(function(){return r}))},"2b0e":function(t,e,n){"use strict";n.r(e),function(t){ -/*! - * Vue.js v2.6.14 - * (c) 2014-2021 Evan You - * Released under the MIT License. - */ -var n=Object.freeze({});function r(t){return void 0===t||null===t}function o(t){return void 0!==t&&null!==t}function i(t){return!0===t}function a(t){return!1===t}function s(t){return"string"===typeof t||"number"===typeof t||"symbol"===typeof t||"boolean"===typeof t}function c(t){return null!==t&&"object"===typeof t}var u=Object.prototype.toString;function f(t){return"[object Object]"===u.call(t)}function l(t){return"[object RegExp]"===u.call(t)}function p(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function d(t){return o(t)&&"function"===typeof t.then&&"function"===typeof t.catch}function h(t){return null==t?"":Array.isArray(t)||f(t)&&t.toString===u?JSON.stringify(t,null,2):String(t)}function v(t){var e=parseFloat(t);return isNaN(e)?t:e}function y(t,e){for(var n=Object.create(null),r=t.split(","),o=0;o-1)return t.splice(n,1)}}var _=Object.prototype.hasOwnProperty;function b(t,e){return _.call(t,e)}function w(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}var C=/-(\w)/g,x=w((function(t){return t.replace(C,(function(t,e){return e?e.toUpperCase():""}))})),A=w((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),$=/\B([A-Z])/g,k=w((function(t){return t.replace($,"-$1").toLowerCase()}));function O(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function S(t,e){return t.bind(e)}var E=Function.prototype.bind?S:O;function T(t,e){e=e||0;var n=t.length-e,r=new Array(n);while(n--)r[n]=t[n+e];return r}function j(t,e){for(var n in e)t[n]=e[n];return t}function R(t){for(var e={},n=0;n0,nt=Z&&Z.indexOf("edge/")>0,rt=(Z&&Z.indexOf("android"),Z&&/iphone|ipad|ipod|ios/.test(Z)||"ios"===Y),ot=(Z&&/chrome\/\d+/.test(Z),Z&&/phantomjs/.test(Z),Z&&Z.match(/firefox\/(\d+)/)),it={}.watch,at=!1;if(G)try{var st={};Object.defineProperty(st,"passive",{get:function(){at=!0}}),window.addEventListener("test-passive",null,st)}catch(Aa){}var ct=function(){return void 0===X&&(X=!G&&!Q&&"undefined"!==typeof t&&(t["process"]&&"server"===t["process"].env.VUE_ENV)),X},ut=G&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ft(t){return"function"===typeof t&&/native code/.test(t.toString())}var lt,pt="undefined"!==typeof Symbol&&ft(Symbol)&&"undefined"!==typeof Reflect&&ft(Reflect.ownKeys);lt="undefined"!==typeof Set&&ft(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var dt=P,ht=0,vt=function(){this.id=ht++,this.subs=[]};vt.prototype.addSub=function(t){this.subs.push(t)},vt.prototype.removeSub=function(t){g(this.subs,t)},vt.prototype.depend=function(){vt.target&&vt.target.addDep(this)},vt.prototype.notify=function(){var t=this.subs.slice();for(var e=0,n=t.length;e-1)if(i&&!b(o,"default"))a=!1;else if(""===a||a===k(t)){var c=ee(String,o.type);(c<0||s0&&(a=Se(a,(e||"")+"_"+n),Oe(a[0])&&Oe(u)&&(f[c]=Ct(u.text+a[0].text),a.shift()),f.push.apply(f,a)):s(a)?Oe(u)?f[c]=Ct(u.text+a):""!==a&&f.push(Ct(a)):Oe(a)&&Oe(u)?f[c]=Ct(u.text+a.text):(i(t._isVList)&&o(a.tag)&&r(a.key)&&o(e)&&(a.key="__vlist"+e+"_"+n+"__"),f.push(a)));return f}function Ee(t){var e=t.$options.provide;e&&(t._provided="function"===typeof e?e.call(t):e)}function Te(t){var e=je(t.$options.inject,t);e&&(Et(!1),Object.keys(e).forEach((function(n){It(t,n,e[n])})),Et(!0))}function je(t,e){if(t){for(var n=Object.create(null),r=pt?Reflect.ownKeys(t):Object.keys(t),o=0;o0,a=t?!!t.$stable:!i,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&r&&r!==n&&s===r.$key&&!i&&!r.$hasNormal)return r;for(var c in o={},t)t[c]&&"$"!==c[0]&&(o[c]=Ne(e,c,t[c]))}else o={};for(var u in e)u in o||(o[u]=De(e,u));return t&&Object.isExtensible(t)&&(t._normalized=o),z(o,"$stable",a),z(o,"$key",s),z(o,"$hasNormal",i),o}function Ne(t,e,n){var r=function(){var t=arguments.length?n.apply(null,arguments):n({});t=t&&"object"===typeof t&&!Array.isArray(t)?[t]:ke(t);var e=t&&t[0];return t&&(!e||1===t.length&&e.isComment&&!Ie(e))?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:r,enumerable:!0,configurable:!0}),r}function De(t,e){return function(){return t[e]}}function Me(t,e){var n,r,i,a,s;if(Array.isArray(t)||"string"===typeof t)for(n=new Array(t.length),r=0,i=t.length;r1?T(n):n;for(var r=T(arguments,1),o='event handler for "'+t+'"',i=0,a=n.length;idocument.createEvent("Event").timeStamp&&(Jn=function(){return Gn.now()})}function Qn(){var t,e;for(Xn=Jn(),zn=!0,Vn.sort((function(t,e){return t.id-e.id})),Wn=0;WnWn&&Vn[n].id>t.id)n--;Vn.splice(n+1,0,t)}else Vn.push(t);qn||(qn=!0,ve(Qn))}}var nr=0,rr=function(t,e,n,r,o){this.vm=t,o&&(t._watcher=this),t._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++nr,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new lt,this.newDepIds=new lt,this.expression="","function"===typeof e?this.getter=e:(this.getter=K(e),this.getter||(this.getter=P)),this.value=this.lazy?void 0:this.get()};rr.prototype.get=function(){var t;mt(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(Aa){if(!this.user)throw Aa;ne(Aa,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&me(t),gt(),this.cleanupDeps()}return t},rr.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},rr.prototype.cleanupDeps=function(){var t=this.deps.length;while(t--){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},rr.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():er(this)},rr.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||c(t)||this.deep){var e=this.value;if(this.value=t,this.user){var n='callback for watcher "'+this.expression+'"';re(this.cb,this.vm,[t,e],this.vm,n)}else this.cb.call(this.vm,t,e)}}},rr.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},rr.prototype.depend=function(){var t=this.deps.length;while(t--)this.deps[t].depend()},rr.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||g(this.vm._watchers,this);var t=this.deps.length;while(t--)this.deps[t].removeSub(this);this.active=!1}};var or={enumerable:!0,configurable:!0,get:P,set:P};function ir(t,e,n){or.get=function(){return this[e][n]},or.set=function(t){this[e][n]=t},Object.defineProperty(t,n,or)}function ar(t){t._watchers=[];var e=t.$options;e.props&&sr(t,e.props),e.methods&&vr(t,e.methods),e.data?cr(t):Pt(t._data={},!0),e.computed&&lr(t,e.computed),e.watch&&e.watch!==it&&yr(t,e.watch)}function sr(t,e){var n=t.$options.propsData||{},r=t._props={},o=t.$options._propKeys=[],i=!t.$parent;i||Et(!1);var a=function(i){o.push(i);var a=Gt(i,e,n,t);It(r,i,a),i in t||ir(t,"_props",i)};for(var s in e)a(s);Et(!0)}function cr(t){var e=t.$options.data;e=t._data="function"===typeof e?ur(e,t):e||{},f(e)||(e={});var n=Object.keys(e),r=t.$options.props,o=(t.$options.methods,n.length);while(o--){var i=n[o];0,r&&b(r,i)||q(i)||ir(t,"_data",i)}Pt(e,!0)}function ur(t,e){mt();try{return t.call(e,e)}catch(Aa){return ne(Aa,e,"data()"),{}}finally{gt()}}var fr={lazy:!0};function lr(t,e){var n=t._computedWatchers=Object.create(null),r=ct();for(var o in e){var i=e[o],a="function"===typeof i?i:i.get;0,r||(n[o]=new rr(t,a||P,P,fr)),o in t||pr(t,o,i)}}function pr(t,e,n){var r=!ct();"function"===typeof n?(or.get=r?dr(e):hr(n),or.set=P):(or.get=n.get?r&&!1!==n.cache?dr(e):hr(n.get):P,or.set=n.set||P),Object.defineProperty(t,e,or)}function dr(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),vt.target&&e.depend(),e.value}}function hr(t){return function(){return t.call(this,this)}}function vr(t,e){t.$options.props;for(var n in e)t[n]="function"!==typeof e[n]?P:E(e[n],t)}function yr(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var o=0;o-1)return this;var n=T(arguments,1);return n.unshift(this),"function"===typeof t.install?t.install.apply(t,n):"function"===typeof t&&t.apply(null,n),e.push(t),this}}function kr(t){t.mixin=function(t){return this.options=Xt(this.options,t),this}}function Or(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,o=t._Ctor||(t._Ctor={});if(o[r])return o[r];var i=t.name||n.options.name;var a=function(t){this._init(t)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=e++,a.options=Xt(n.options,t),a["super"]=n,a.options.props&&Sr(a),a.options.computed&&Er(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,U.forEach((function(t){a[t]=n[t]})),i&&(a.options.components[i]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=j({},a.options),o[r]=a,a}}function Sr(t){var e=t.options.props;for(var n in e)ir(t.prototype,"_props",n)}function Er(t){var e=t.options.computed;for(var n in e)pr(t.prototype,n,e[n])}function Tr(t){U.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&f(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"===typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}function jr(t){return t&&(t.Ctor.options.name||t.tag)}function Rr(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!l(t)&&t.test(e)}function Pr(t,e){var n=t.cache,r=t.keys,o=t._vnode;for(var i in n){var a=n[i];if(a){var s=a.name;s&&!e(s)&&Ir(n,i,r,o)}}}function Ir(t,e,n,r){var o=t[e];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),t[e]=null,g(n,e)}br(Ar),gr(Ar),Tn(Ar),In(Ar),bn(Ar);var Lr=[String,RegExp,Array],Nr={name:"keep-alive",abstract:!0,props:{include:Lr,exclude:Lr,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,n=t.keys,r=t.vnodeToCache,o=t.keyToCache;if(r){var i=r.tag,a=r.componentInstance,s=r.componentOptions;e[o]={name:jr(s),tag:i,componentInstance:a},n.push(o),this.max&&n.length>parseInt(this.max)&&Ir(e,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)Ir(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",(function(e){Pr(t,(function(t){return Rr(e,t)}))})),this.$watch("exclude",(function(e){Pr(t,(function(t){return!Rr(e,t)}))}))},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=An(t),n=e&&e.componentOptions;if(n){var r=jr(n),o=this,i=o.include,a=o.exclude;if(i&&(!r||!Rr(i,r))||a&&r&&Rr(a,r))return e;var s=this,c=s.cache,u=s.keys,f=null==e.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):e.key;c[f]?(e.componentInstance=c[f].componentInstance,g(u,f),u.push(f)):(this.vnodeToCache=e,this.keyToCache=f),e.data.keepAlive=!0}return e||t&&t[0]}},Dr={KeepAlive:Nr};function Mr(t){var e={get:function(){return B}};Object.defineProperty(t,"config",e),t.util={warn:dt,extend:j,mergeOptions:Xt,defineReactive:It},t.set=Lt,t.delete=Nt,t.nextTick=ve,t.observable=function(t){return Pt(t),t},t.options=Object.create(null),U.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,j(t.options.components,Dr),$r(t),kr(t),Or(t),Tr(t)}Mr(Ar),Object.defineProperty(Ar.prototype,"$isServer",{get:ct}),Object.defineProperty(Ar.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Ar,"FunctionalRenderContext",{value:Ze}),Ar.version="2.6.14";var Fr=y("style,class"),Ur=y("input,textarea,option,select,progress"),Vr=function(t,e,n){return"value"===n&&Ur(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Br=y("contenteditable,draggable,spellcheck"),Hr=y("events,caret,typing,plaintext-only"),qr=function(t,e){return Jr(e)||"false"===e?"false":"contenteditable"===t&&Hr(e)?e:"true"},zr=y("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),Wr="http://www.w3.org/1999/xlink",Kr=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Xr=function(t){return Kr(t)?t.slice(6,t.length):""},Jr=function(t){return null==t||!1===t};function Gr(t){var e=t.data,n=t,r=t;while(o(r.componentInstance))r=r.componentInstance._vnode,r&&r.data&&(e=Qr(r.data,e));while(o(n=n.parent))n&&n.data&&(e=Qr(e,n.data));return Yr(e.staticClass,e.class)}function Qr(t,e){return{staticClass:Zr(t.staticClass,e.staticClass),class:o(t.class)?[t.class,e.class]:e.class}}function Yr(t,e){return o(t)||o(e)?Zr(t,to(e)):""}function Zr(t,e){return t?e?t+" "+e:t:e||""}function to(t){return Array.isArray(t)?eo(t):c(t)?no(t):"string"===typeof t?t:""}function eo(t){for(var e,n="",r=0,i=t.length;r-1?co[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:co[t]=/HTMLUnknownElement/.test(e.toString())}var fo=y("text,number,password,search,email,tel,url");function lo(t){if("string"===typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function po(t,e){var n=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function ho(t,e){return document.createElementNS(ro[t],e)}function vo(t){return document.createTextNode(t)}function yo(t){return document.createComment(t)}function mo(t,e,n){t.insertBefore(e,n)}function go(t,e){t.removeChild(e)}function _o(t,e){t.appendChild(e)}function bo(t){return t.parentNode}function wo(t){return t.nextSibling}function Co(t){return t.tagName}function xo(t,e){t.textContent=e}function Ao(t,e){t.setAttribute(e,"")}var $o=Object.freeze({createElement:po,createElementNS:ho,createTextNode:vo,createComment:yo,insertBefore:mo,removeChild:go,appendChild:_o,parentNode:bo,nextSibling:wo,tagName:Co,setTextContent:xo,setStyleScope:Ao}),ko={create:function(t,e){Oo(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Oo(t,!0),Oo(e))},destroy:function(t){Oo(t,!0)}};function Oo(t,e){var n=t.data.ref;if(o(n)){var r=t.context,i=t.componentInstance||t.elm,a=r.$refs;e?Array.isArray(a[n])?g(a[n],i):a[n]===i&&(a[n]=void 0):t.data.refInFor?Array.isArray(a[n])?a[n].indexOf(i)<0&&a[n].push(i):a[n]=[i]:a[n]=i}}var So=new _t("",{},[]),Eo=["create","activate","update","remove","destroy"];function To(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&o(t.data)===o(e.data)&&jo(t,e)||i(t.isAsyncPlaceholder)&&r(e.asyncFactory.error))}function jo(t,e){if("input"!==t.tag)return!0;var n,r=o(n=t.data)&&o(n=n.attrs)&&n.type,i=o(n=e.data)&&o(n=n.attrs)&&n.type;return r===i||fo(r)&&fo(i)}function Ro(t,e,n){var r,i,a={};for(r=e;r<=n;++r)i=t[r].key,o(i)&&(a[i]=r);return a}function Po(t){var e,n,a={},c=t.modules,u=t.nodeOps;for(e=0;ev?(l=r(n[g+1])?null:n[g+1].elm,x(t,l,n,h,g,i)):h>g&&$(e,p,v)}function S(t,e,n,r){for(var i=n;i-1?qo(t,e,n):zr(e)?Jr(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Br(e)?t.setAttribute(e,qr(e,n)):Kr(e)?Jr(n)?t.removeAttributeNS(Wr,Xr(e)):t.setAttributeNS(Wr,e,n):qo(t,e,n)}function qo(t,e,n){if(Jr(n))t.removeAttribute(e);else{if(tt&&!et&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var zo={create:Bo,update:Bo};function Wo(t,e){var n=e.elm,i=e.data,a=t.data;if(!(r(i.staticClass)&&r(i.class)&&(r(a)||r(a.staticClass)&&r(a.class)))){var s=Gr(e),c=n._transitionClasses;o(c)&&(s=Zr(s,to(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var Ko,Xo={create:Wo,update:Wo},Jo="__r",Go="__c";function Qo(t){if(o(t[Jo])){var e=tt?"change":"input";t[e]=[].concat(t[Jo],t[e]||[]),delete t[Jo]}o(t[Go])&&(t.change=[].concat(t[Go],t.change||[]),delete t[Go])}function Yo(t,e,n){var r=Ko;return function o(){var i=e.apply(null,arguments);null!==i&&ei(t,o,n,r)}}var Zo=se&&!(ot&&Number(ot[1])<=53);function ti(t,e,n,r){if(Zo){var o=Xn,i=e;e=i._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=o||t.timeStamp<=0||t.target.ownerDocument!==document)return i.apply(this,arguments)}}Ko.addEventListener(t,e,at?{capture:n,passive:r}:n)}function ei(t,e,n,r){(r||Ko).removeEventListener(t,e._wrapper||e,n)}function ni(t,e){if(!r(t.data.on)||!r(e.data.on)){var n=e.data.on||{},o=t.data.on||{};Ko=e.elm,Qo(n),we(n,o,ti,ei,Yo,e.context),Ko=void 0}}var ri,oi={create:ni,update:ni};function ii(t,e){if(!r(t.data.domProps)||!r(e.data.domProps)){var n,i,a=e.elm,s=t.data.domProps||{},c=e.data.domProps||{};for(n in o(c.__ob__)&&(c=e.data.domProps=j({},c)),s)n in c||(a[n]="");for(n in c){if(i=c[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),i===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=i;var u=r(i)?"":String(i);ai(a,u)&&(a.value=u)}else if("innerHTML"===n&&io(a.tagName)&&r(a.innerHTML)){ri=ri||document.createElement("div"),ri.innerHTML=""+i+"";var f=ri.firstChild;while(a.firstChild)a.removeChild(a.firstChild);while(f.firstChild)a.appendChild(f.firstChild)}else if(i!==s[n])try{a[n]=i}catch(Aa){}}}}function ai(t,e){return!t.composing&&("OPTION"===t.tagName||si(t,e)||ci(t,e))}function si(t,e){var n=!0;try{n=document.activeElement!==t}catch(Aa){}return n&&t.value!==e}function ci(t,e){var n=t.value,r=t._vModifiers;if(o(r)){if(r.number)return v(n)!==v(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}var ui={create:ii,update:ii},fi=w((function(t){var e={},n=/;(?![^(]*\))/g,r=/:(.+)/;return t.split(n).forEach((function(t){if(t){var n=t.split(r);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}));function li(t){var e=pi(t.style);return t.staticStyle?j(t.staticStyle,e):e}function pi(t){return Array.isArray(t)?R(t):"string"===typeof t?fi(t):t}function di(t,e){var n,r={};if(e){var o=t;while(o.componentInstance)o=o.componentInstance._vnode,o&&o.data&&(n=li(o.data))&&j(r,n)}(n=li(t.data))&&j(r,n);var i=t;while(i=i.parent)i.data&&(n=li(i.data))&&j(r,n);return r}var hi,vi=/^--/,yi=/\s*!important$/,mi=function(t,e,n){if(vi.test(e))t.style.setProperty(e,n);else if(yi.test(n))t.style.setProperty(k(e),n.replace(yi,""),"important");else{var r=_i(e);if(Array.isArray(n))for(var o=0,i=n.length;o-1?e.split(Ci).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Ai(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Ci).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";while(n.indexOf(r)>=0)n=n.replace(r," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function $i(t){if(t){if("object"===typeof t){var e={};return!1!==t.css&&j(e,ki(t.name||"v")),j(e,t),e}return"string"===typeof t?ki(t):void 0}}var ki=w((function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}})),Oi=G&&!et,Si="transition",Ei="animation",Ti="transition",ji="transitionend",Ri="animation",Pi="animationend";Oi&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Ti="WebkitTransition",ji="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Ri="WebkitAnimation",Pi="webkitAnimationEnd"));var Ii=G?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Li(t){Ii((function(){Ii(t)}))}function Ni(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),xi(t,e))}function Di(t,e){t._transitionClasses&&g(t._transitionClasses,e),Ai(t,e)}function Mi(t,e,n){var r=Ui(t,e),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s=o===Si?ji:Pi,c=0,u=function(){t.removeEventListener(s,f),n()},f=function(e){e.target===t&&++c>=a&&u()};setTimeout((function(){c0&&(n=Si,f=a,l=i.length):e===Ei?u>0&&(n=Ei,f=u,l=c.length):(f=Math.max(a,u),n=f>0?a>u?Si:Ei:null,l=n?n===Si?i.length:c.length:0);var p=n===Si&&Fi.test(r[Ti+"Property"]);return{type:n,timeout:f,propCount:l,hasTransform:p}}function Vi(t,e){while(t.length1}function Ki(t,e){!0!==e.data.show&&Hi(e)}var Xi=G?{create:Ki,activate:Ki,remove:function(t,e){!0!==t.data.show?qi(t,e):e()}}:{},Ji=[zo,Xo,oi,ui,wi,Xi],Gi=Ji.concat(Vo),Qi=Po({nodeOps:$o,modules:Gi});et&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&ia(t,"input")}));var Yi={inserted:function(t,e,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?Ce(n,"postpatch",(function(){Yi.componentUpdated(t,e,n)})):Zi(t,e,n.context),t._vOptions=[].map.call(t.options,na)):("textarea"===n.tag||fo(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",ra),t.addEventListener("compositionend",oa),t.addEventListener("change",oa),et&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Zi(t,e,n.context);var r=t._vOptions,o=t._vOptions=[].map.call(t.options,na);if(o.some((function(t,e){return!N(t,r[e])}))){var i=t.multiple?e.value.some((function(t){return ea(t,o)})):e.value!==e.oldValue&&ea(e.value,o);i&&ia(t,"change")}}}};function Zi(t,e,n){ta(t,e,n),(tt||nt)&&setTimeout((function(){ta(t,e,n)}),0)}function ta(t,e,n){var r=e.value,o=t.multiple;if(!o||Array.isArray(r)){for(var i,a,s=0,c=t.options.length;s-1,a.selected!==i&&(a.selected=i);else if(N(na(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));o||(t.selectedIndex=-1)}}function ea(t,e){return e.every((function(e){return!N(e,t)}))}function na(t){return"_value"in t?t._value:t.value}function ra(t){t.target.composing=!0}function oa(t){t.target.composing&&(t.target.composing=!1,ia(t.target,"input"))}function ia(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function aa(t){return!t.componentInstance||t.data&&t.data.transition?t:aa(t.componentInstance._vnode)}var sa={bind:function(t,e,n){var r=e.value;n=aa(n);var o=n.data&&n.data.transition,i=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&o?(n.data.show=!0,Hi(n,(function(){t.style.display=i}))):t.style.display=r?i:"none"},update:function(t,e,n){var r=e.value,o=e.oldValue;if(!r!==!o){n=aa(n);var i=n.data&&n.data.transition;i?(n.data.show=!0,r?Hi(n,(function(){t.style.display=t.__vOriginalDisplay})):qi(n,(function(){t.style.display="none"}))):t.style.display=r?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,r,o){o||(t.style.display=t.__vOriginalDisplay)}},ca={model:Yi,show:sa},ua={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function fa(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?fa(An(e.children)):t}function la(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var o=n._parentListeners;for(var i in o)e[x(i)]=o[i];return e}function pa(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function da(t){while(t=t.parent)if(t.data.transition)return!0}function ha(t,e){return e.key===t.key&&e.tag===t.tag}var va=function(t){return t.tag||Ie(t)},ya=function(t){return"show"===t.name},ma={name:"transition",props:ua,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(va),n.length)){0;var r=this.mode;0;var o=n[0];if(da(this.$vnode))return o;var i=fa(o);if(!i)return o;if(this._leaving)return pa(t,o);var a="__transition-"+this._uid+"-";i.key=null==i.key?i.isComment?a+"comment":a+i.tag:s(i.key)?0===String(i.key).indexOf(a)?i.key:a+i.key:i.key;var c=(i.data||(i.data={})).transition=la(this),u=this._vnode,f=fa(u);if(i.data.directives&&i.data.directives.some(ya)&&(i.data.show=!0),f&&f.data&&!ha(i,f)&&!Ie(f)&&(!f.componentInstance||!f.componentInstance._vnode.isComment)){var l=f.data.transition=j({},c);if("out-in"===r)return this._leaving=!0,Ce(l,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),pa(t,o);if("in-out"===r){if(Ie(i))return u;var p,d=function(){p()};Ce(c,"afterEnter",d),Ce(c,"enterCancelled",d),Ce(l,"delayLeave",(function(t){p=t}))}}return o}}},ga=j({tag:String,moveClass:String},ua);delete ga.mode;var _a={props:ga,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var o=Rn(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,o(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,o=this.$slots.default||[],i=this.children=[],a=la(this),s=0;s=0&&(e=t.slice(r),t=t.slice(0,r));var o=t.indexOf("?");return o>=0&&(n=t.slice(o+1),t=t.slice(0,o)),{path:t,query:n,hash:e}}function T(t){return t.replace(/\/\//g,"/")}var j=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},R=Q,P=M,I=F,L=B,N=G,D=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function M(t,e){var n,r=[],o=0,i=0,a="",s=e&&e.delimiter||"/";while(null!=(n=D.exec(t))){var c=n[0],u=n[1],f=n.index;if(a+=t.slice(i,f),i=f+c.length,u)a+=u[1];else{var l=t[i],p=n[2],d=n[3],h=n[4],v=n[5],y=n[6],m=n[7];a&&(r.push(a),a="");var g=null!=p&&null!=l&&l!==p,_="+"===y||"*"===y,b="?"===y||"*"===y,w=n[2]||s,C=h||v;r.push({name:d||o++,prefix:p||"",delimiter:w,optional:b,repeat:_,partial:g,asterisk:!!m,pattern:C?q(C):m?".*":"[^"+H(w)+"]+?"})}}return i1||!A.length)return 0===A.length?t():t("span",{},A)}if("a"===this.tag)x.on=w,x.attrs={href:c,"aria-current":g};else{var $=st(this.$slots.default);if($){$.isStatic=!1;var k=$.data=o({},$.data);for(var O in k.on=k.on||{},k.on){var S=k.on[O];O in w&&(k.on[O]=Array.isArray(S)?S:[S])}for(var E in w)E in k.on?k.on[E].push(w[E]):k.on[E]=_;var T=$.data.attrs=o({},$.data.attrs);T.href=c,T["aria-current"]=g}else x.on=w}return t(this.tag,x,this.$slots.default)}};function at(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&(void 0===t.button||0===t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function st(t){if(t)for(var e,n=0;n-1&&(s.params[l]=n.params[l]);return s.path=Z(u.path,s.params,'named route "'+c+'"'),p(u,s,a)}if(s.path){s.params={};for(var d=0;d=t.length?n():t[o]?e(t[o],(function(){r(o+1)})):r(o+1)};r(0)}var Ft={redirected:2,aborted:4,cancelled:8,duplicated:16};function Ut(t,e){return qt(t,e,Ft.redirected,'Redirected when going from "'+t.fullPath+'" to "'+Wt(e)+'" via a navigation guard.')}function Vt(t,e){var n=qt(t,e,Ft.duplicated,'Avoided redundant navigation to current location: "'+t.fullPath+'".');return n.name="NavigationDuplicated",n}function Bt(t,e){return qt(t,e,Ft.cancelled,'Navigation cancelled from "'+t.fullPath+'" to "'+e.fullPath+'" with a new navigation.')}function Ht(t,e){return qt(t,e,Ft.aborted,'Navigation aborted from "'+t.fullPath+'" to "'+e.fullPath+'" via a navigation guard.')}function qt(t,e,n,r){var o=new Error(r);return o._isRouter=!0,o.from=t,o.to=e,o.type=n,o}var zt=["params","query","hash"];function Wt(t){if("string"===typeof t)return t;if("path"in t)return t.path;var e={};return zt.forEach((function(n){n in t&&(e[n]=t[n])})),JSON.stringify(e,null,2)}function Kt(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function Xt(t,e){return Kt(t)&&t._isRouter&&(null==e||t.type===e)}function Jt(t){return function(e,n,r){var o=!1,i=0,a=null;Gt(t,(function(t,e,n,s){if("function"===typeof t&&void 0===t.cid){o=!0,i++;var c,u=te((function(e){Zt(e)&&(e=e.default),t.resolved="function"===typeof e?e:et.extend(e),n.components[s]=e,i--,i<=0&&r()})),f=te((function(t){var e="Failed to resolve async component "+s+": "+t;a||(a=Kt(t)?t:new Error(e),r(a))}));try{c=t(u,f)}catch(p){f(p)}if(c)if("function"===typeof c.then)c.then(u,f);else{var l=c.component;l&&"function"===typeof l.then&&l.then(u,f)}}})),o||r()}}function Gt(t,e){return Qt(t.map((function(t){return Object.keys(t.components).map((function(n){return e(t.components[n],t.instances[n],t,n)}))})))}function Qt(t){return Array.prototype.concat.apply([],t)}var Yt="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag;function Zt(t){return t.__esModule||Yt&&"Module"===t[Symbol.toStringTag]}function te(t){var e=!1;return function(){var n=[],r=arguments.length;while(r--)n[r]=arguments[r];if(!e)return e=!0,t.apply(this,n)}}var ee=function(t,e){this.router=t,this.base=ne(e),this.current=m,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function ne(t){if(!t)if(ut){var e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^https?:\/\/[^\/]+/,"")}else t="/";return"/"!==t.charAt(0)&&(t="/"+t),t.replace(/\/$/,"")}function re(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n0)){var e=this.router,n=e.options.scrollBehavior,r=Lt&&n;r&&this.listeners.push(xt());var o=function(){var n=t.current,o=pe(t.base);t.current===m&&o===t._startLocation||t.transitionTo(o,(function(t){r&&At(e,t,n,!0)}))};window.addEventListener("popstate",o),this.listeners.push((function(){window.removeEventListener("popstate",o)}))}},e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var r=this,o=this,i=o.current;this.transitionTo(t,(function(t){Nt(T(r.base+t.fullPath)),At(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,o=this,i=o.current;this.transitionTo(t,(function(t){Dt(T(r.base+t.fullPath)),At(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.ensureURL=function(t){if(pe(this.base)!==this.current.fullPath){var e=T(this.base+this.current.fullPath);t?Nt(e):Dt(e)}},e.prototype.getCurrentLocation=function(){return pe(this.base)},e}(ee);function pe(t){var e=window.location.pathname,n=e.toLowerCase(),r=t.toLowerCase();return!t||n!==r&&0!==n.indexOf(T(r+"/"))||(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var de=function(t){function e(e,n,r){t.call(this,e,n),r&&he(this.base)||ve()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router,n=e.options.scrollBehavior,r=Lt&&n;r&&this.listeners.push(xt());var o=function(){var e=t.current;ve()&&t.transitionTo(ye(),(function(n){r&&At(t.router,n,e,!0),Lt||_e(n.fullPath)}))},i=Lt?"popstate":"hashchange";window.addEventListener(i,o),this.listeners.push((function(){window.removeEventListener(i,o)}))}},e.prototype.push=function(t,e,n){var r=this,o=this,i=o.current;this.transitionTo(t,(function(t){ge(t.fullPath),At(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,o=this,i=o.current;this.transitionTo(t,(function(t){_e(t.fullPath),At(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;ye()!==e&&(t?ge(e):_e(e))},e.prototype.getCurrentLocation=function(){return ye()},e}(ee);function he(t){var e=pe(t);if(!/^\/#/.test(e))return window.location.replace(T(t+"/#"+e)),!0}function ve(){var t=ye();return"/"===t.charAt(0)||(_e("/"+t),!1)}function ye(){var t=window.location.href,e=t.indexOf("#");return e<0?"":(t=t.slice(e+1),t)}function me(t){var e=window.location.href,n=e.indexOf("#"),r=n>=0?e.slice(0,n):e;return r+"#"+t}function ge(t){Lt?Nt(me(t)):window.location.hash=t}function _e(t){Lt?Dt(me(t)):window.location.replace(me(t))}var be=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index).concat(t),e&&e(t)}),n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,(function(){var t=e.current;e.index=n,e.updateRoute(r),e.router.afterHooks.forEach((function(e){e&&e(r,t)}))}),(function(t){Xt(t,Ft.duplicated)&&(e.index=n)}))}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(ee),we=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=ht(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!Lt&&!1!==t.fallback,this.fallback&&(e="hash"),ut||(e="abstract"),this.mode=e,e){case"history":this.history=new le(this,t.base);break;case"hash":this.history=new de(this,t.base,this.fallback);break;case"abstract":this.history=new be(this,t.base);break;default:0}},Ce={currentRoute:{configurable:!0}};function xe(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function Ae(t,e,n){var r="hash"===n?"#"+e:e;return t?T(t+"/"+r):r}we.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},Ce.currentRoute.get=function(){return this.history&&this.history.current},we.prototype.init=function(t){var e=this;if(this.apps.push(t),t.$once("hook:destroyed",(function(){var n=e.apps.indexOf(t);n>-1&&e.apps.splice(n,1),e.app===t&&(e.app=e.apps[0]||null),e.app||e.history.teardown()})),!this.app){this.app=t;var n=this.history;if(n instanceof le||n instanceof de){var r=function(t){var r=n.current,o=e.options.scrollBehavior,i=Lt&&o;i&&"fullPath"in t&&At(e,t,r,!1)},o=function(t){n.setupListeners(),r(t)};n.transitionTo(n.getCurrentLocation(),o,o)}n.listen((function(t){e.apps.forEach((function(e){e._route=t}))}))}},we.prototype.beforeEach=function(t){return xe(this.beforeHooks,t)},we.prototype.beforeResolve=function(t){return xe(this.resolveHooks,t)},we.prototype.afterEach=function(t){return xe(this.afterHooks,t)},we.prototype.onReady=function(t,e){this.history.onReady(t,e)},we.prototype.onError=function(t){this.history.onError(t)},we.prototype.push=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!==typeof Promise)return new Promise((function(e,n){r.history.push(t,e,n)}));this.history.push(t,e,n)},we.prototype.replace=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!==typeof Promise)return new Promise((function(e,n){r.history.replace(t,e,n)}));this.history.replace(t,e,n)},we.prototype.go=function(t){this.history.go(t)},we.prototype.back=function(){this.go(-1)},we.prototype.forward=function(){this.go(1)},we.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map((function(t){return Object.keys(t.components).map((function(e){return t.components[e]}))}))):[]},we.prototype.resolve=function(t,e,n){e=e||this.history.current;var r=tt(t,e,n,this),o=this.match(r,e),i=o.redirectedFrom||o.fullPath,a=this.history.base,s=Ae(a,i,this.mode);return{location:r,route:o,href:s,normalizedTo:r,resolved:o}},we.prototype.getRoutes=function(){return this.matcher.getRoutes()},we.prototype.addRoute=function(t,e){this.matcher.addRoute(t,e),this.history.current!==m&&this.history.transitionTo(this.history.getCurrentLocation())},we.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==m&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(we.prototype,Ce),we.install=ct,we.version="3.5.2",we.isNavigationFailure=Xt,we.NavigationFailureType=Ft,we.START_LOCATION=m,ut&&window.Vue&&window.Vue.use(we),e["a"]=we},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}t.exports=n},e7a5:function(t,e,n){(function(e){(function(e,n){t.exports=n(e)})("undefined"!=typeof e?e:this,(function(t){if(t.CSS&&t.CSS.escape)return t.CSS.escape;var e=function(t){if(0==arguments.length)throw new TypeError("`CSS.escape` requires an argument.");var e,n=String(t),r=n.length,o=-1,i="",a=n.charCodeAt(0);while(++o=1&&e<=31||127==e||0==o&&e>=48&&e<=57||1==o&&e>=48&&e<=57&&45==a?"\\"+e.toString(16)+" ":(0!=o||1!=r||45!=e)&&(e>=128||45==e||95==e||e>=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122)?n.charAt(o):"\\"+n.charAt(o):"�";return i};return t.CSS||(t.CSS={}),t.CSS.escape=e,e}))}).call(this,n("c8ba"))}}]); \ No newline at end of file diff --git a/docs/js/chunk-vendors.ba2dd0cb.js b/docs/js/chunk-vendors.ba2dd0cb.js new file mode 100644 index 0000000..1230066 --- /dev/null +++ b/docs/js/chunk-vendors.ba2dd0cb.js @@ -0,0 +1,26 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{2877:function(t,e,n){"use strict";function r(t,e,n,r,i,o,a,s){var c,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=c):i&&(c=s?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:t,options:u}}n.d(e,"a",(function(){return r}))},"2b0e":function(t,e,n){"use strict";n.r(e),function(t){ +/*! + * Vue.js v2.6.14 + * (c) 2014-2021 Evan You + * Released under the MIT License. + */ +var n=Object.freeze({});function r(t){return void 0===t||null===t}function i(t){return void 0!==t&&null!==t}function o(t){return!0===t}function a(t){return!1===t}function s(t){return"string"===typeof t||"number"===typeof t||"symbol"===typeof t||"boolean"===typeof t}function c(t){return null!==t&&"object"===typeof t}var u=Object.prototype.toString;function l(t){return"[object Object]"===u.call(t)}function f(t){return"[object RegExp]"===u.call(t)}function p(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function h(t){return i(t)&&"function"===typeof t.then&&"function"===typeof t.catch}function d(t){return null==t?"":Array.isArray(t)||l(t)&&t.toString===u?JSON.stringify(t,null,2):String(t)}function v(t){var e=parseFloat(t);return isNaN(e)?t:e}function m(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i-1)return t.splice(n,1)}}var _=Object.prototype.hasOwnProperty;function b(t,e){return _.call(t,e)}function w(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}var C=/-(\w)/g,k=w((function(t){return t.replace(C,(function(t,e){return e?e.toUpperCase():""}))})),$=w((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),x=/\B([A-Z])/g,A=w((function(t){return t.replace(x,"-$1").toLowerCase()}));function O(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function S(t,e){return t.bind(e)}var T=Function.prototype.bind?S:O;function E(t,e){e=e||0;var n=t.length-e,r=new Array(n);while(n--)r[n]=t[n+e];return r}function j(t,e){for(var n in e)t[n]=e[n];return t}function F(t){for(var e={},n=0;n0,nt=Q&&Q.indexOf("edge/")>0,rt=(Q&&Q.indexOf("android"),Q&&/iphone|ipad|ipod|ios/.test(Q)||"ios"===Y),it=(Q&&/chrome\/\d+/.test(Q),Q&&/phantomjs/.test(Q),Q&&Q.match(/firefox\/(\d+)/)),ot={}.watch,at=!1;if(X)try{var st={};Object.defineProperty(st,"passive",{get:function(){at=!0}}),window.addEventListener("test-passive",null,st)}catch($a){}var ct=function(){return void 0===K&&(K=!X&&!Z&&"undefined"!==typeof t&&(t["process"]&&"server"===t["process"].env.VUE_ENV)),K},ut=X&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function lt(t){return"function"===typeof t&&/native code/.test(t.toString())}var ft,pt="undefined"!==typeof Symbol&<(Symbol)&&"undefined"!==typeof Reflect&<(Reflect.ownKeys);ft="undefined"!==typeof Set&<(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var ht=I,dt=0,vt=function(){this.id=dt++,this.subs=[]};vt.prototype.addSub=function(t){this.subs.push(t)},vt.prototype.removeSub=function(t){g(this.subs,t)},vt.prototype.depend=function(){vt.target&&vt.target.addDep(this)},vt.prototype.notify=function(){var t=this.subs.slice();for(var e=0,n=t.length;e-1)if(o&&!b(i,"default"))a=!1;else if(""===a||a===A(t)){var c=ee(String,i.type);(c<0||s0&&(a=Se(a,(e||"")+"_"+n),Oe(a[0])&&Oe(u)&&(l[c]=Ct(u.text+a[0].text),a.shift()),l.push.apply(l,a)):s(a)?Oe(u)?l[c]=Ct(u.text+a):""!==a&&l.push(Ct(a)):Oe(a)&&Oe(u)?l[c]=Ct(u.text+a.text):(o(t._isVList)&&i(a.tag)&&r(a.key)&&i(e)&&(a.key="__vlist"+e+"_"+n+"__"),l.push(a)));return l}function Te(t){var e=t.$options.provide;e&&(t._provided="function"===typeof e?e.call(t):e)}function Ee(t){var e=je(t.$options.inject,t);e&&(Tt(!1),Object.keys(e).forEach((function(n){Lt(t,n,e[n])})),Tt(!0))}function je(t,e){if(t){for(var n=Object.create(null),r=pt?Reflect.ownKeys(t):Object.keys(t),i=0;i0,a=t?!!t.$stable:!o,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&r&&r!==n&&s===r.$key&&!o&&!r.$hasNormal)return r;for(var c in i={},t)t[c]&&"$"!==c[0]&&(i[c]=De(e,c,t[c]))}else i={};for(var u in e)u in i||(i[u]=Re(e,u));return t&&Object.isExtensible(t)&&(t._normalized=i),z(i,"$stable",a),z(i,"$key",s),z(i,"$hasNormal",o),i}function De(t,e,n){var r=function(){var t=arguments.length?n.apply(null,arguments):n({});t=t&&"object"===typeof t&&!Array.isArray(t)?[t]:Ae(t);var e=t&&t[0];return t&&(!e||1===t.length&&e.isComment&&!Le(e))?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:r,enumerable:!0,configurable:!0}),r}function Re(t,e){return function(){return t[e]}}function Ne(t,e){var n,r,o,a,s;if(Array.isArray(t)||"string"===typeof t)for(n=new Array(t.length),r=0,o=t.length;r1?E(n):n;for(var r=E(arguments,1),i='event handler for "'+t+'"',o=0,a=n.length;odocument.createEvent("Event").timeStamp&&(Gn=function(){return Xn.now()})}function Zn(){var t,e;for(Kn=Gn(),zn=!0,Wn.sort((function(t,e){return t.id-e.id})),qn=0;qnqn&&Wn[n].id>t.id)n--;Wn.splice(n+1,0,t)}else Wn.push(t);Bn||(Bn=!0,ve(Zn))}}var nr=0,rr=function(t,e,n,r,i){this.vm=t,i&&(t._watcher=this),t._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++nr,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ft,this.newDepIds=new ft,this.expression="","function"===typeof e?this.getter=e:(this.getter=J(e),this.getter||(this.getter=I)),this.value=this.lazy?void 0:this.get()};rr.prototype.get=function(){var t;yt(this);var e=this.vm;try{t=this.getter.call(e,e)}catch($a){if(!this.user)throw $a;ne($a,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&ye(t),gt(),this.cleanupDeps()}return t},rr.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},rr.prototype.cleanupDeps=function(){var t=this.deps.length;while(t--){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},rr.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():er(this)},rr.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||c(t)||this.deep){var e=this.value;if(this.value=t,this.user){var n='callback for watcher "'+this.expression+'"';re(this.cb,this.vm,[t,e],this.vm,n)}else this.cb.call(this.vm,t,e)}}},rr.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},rr.prototype.depend=function(){var t=this.deps.length;while(t--)this.deps[t].depend()},rr.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||g(this.vm._watchers,this);var t=this.deps.length;while(t--)this.deps[t].removeSub(this);this.active=!1}};var ir={enumerable:!0,configurable:!0,get:I,set:I};function or(t,e,n){ir.get=function(){return this[e][n]},ir.set=function(t){this[e][n]=t},Object.defineProperty(t,n,ir)}function ar(t){t._watchers=[];var e=t.$options;e.props&&sr(t,e.props),e.methods&&vr(t,e.methods),e.data?cr(t):It(t._data={},!0),e.computed&&fr(t,e.computed),e.watch&&e.watch!==ot&&mr(t,e.watch)}function sr(t,e){var n=t.$options.propsData||{},r=t._props={},i=t.$options._propKeys=[],o=!t.$parent;o||Tt(!1);var a=function(o){i.push(o);var a=Xt(o,e,n,t);Lt(r,o,a),o in t||or(t,"_props",o)};for(var s in e)a(s);Tt(!0)}function cr(t){var e=t.$options.data;e=t._data="function"===typeof e?ur(e,t):e||{},l(e)||(e={});var n=Object.keys(e),r=t.$options.props,i=(t.$options.methods,n.length);while(i--){var o=n[i];0,r&&b(r,o)||B(o)||or(t,"_data",o)}It(e,!0)}function ur(t,e){yt();try{return t.call(e,e)}catch($a){return ne($a,e,"data()"),{}}finally{gt()}}var lr={lazy:!0};function fr(t,e){var n=t._computedWatchers=Object.create(null),r=ct();for(var i in e){var o=e[i],a="function"===typeof o?o:o.get;0,r||(n[i]=new rr(t,a||I,I,lr)),i in t||pr(t,i,o)}}function pr(t,e,n){var r=!ct();"function"===typeof n?(ir.get=r?hr(e):dr(n),ir.set=I):(ir.get=n.get?r&&!1!==n.cache?hr(e):dr(n.get):I,ir.set=n.set||I),Object.defineProperty(t,e,ir)}function hr(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),vt.target&&e.depend(),e.value}}function dr(t){return function(){return t.call(this,this)}}function vr(t,e){t.$options.props;for(var n in e)t[n]="function"!==typeof e[n]?I:T(e[n],t)}function mr(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var i=0;i-1)return this;var n=E(arguments,1);return n.unshift(this),"function"===typeof t.install?t.install.apply(t,n):"function"===typeof t&&t.apply(null,n),e.push(t),this}}function Ar(t){t.mixin=function(t){return this.options=Kt(this.options,t),this}}function Or(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,i=t._Ctor||(t._Ctor={});if(i[r])return i[r];var o=t.name||n.options.name;var a=function(t){this._init(t)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=e++,a.options=Kt(n.options,t),a["super"]=n,a.options.props&&Sr(a),a.options.computed&&Tr(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,V.forEach((function(t){a[t]=n[t]})),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=j({},a.options),i[r]=a,a}}function Sr(t){var e=t.options.props;for(var n in e)or(t.prototype,"_props",n)}function Tr(t){var e=t.options.computed;for(var n in e)pr(t.prototype,n,e[n])}function Er(t){V.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&l(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"===typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}function jr(t){return t&&(t.Ctor.options.name||t.tag)}function Fr(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!f(t)&&t.test(e)}function Ir(t,e){var n=t.cache,r=t.keys,i=t._vnode;for(var o in n){var a=n[o];if(a){var s=a.name;s&&!e(s)&&Lr(n,o,r,i)}}}function Lr(t,e,n,r){var i=t[e];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),t[e]=null,g(n,e)}br($r),gr($r),En($r),Ln($r),bn($r);var Mr=[String,RegExp,Array],Dr={name:"keep-alive",abstract:!0,props:{include:Mr,exclude:Mr,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,n=t.keys,r=t.vnodeToCache,i=t.keyToCache;if(r){var o=r.tag,a=r.componentInstance,s=r.componentOptions;e[i]={name:jr(s),tag:o,componentInstance:a},n.push(i),this.max&&n.length>parseInt(this.max)&&Lr(e,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)Lr(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",(function(e){Ir(t,(function(t){return Fr(e,t)}))})),this.$watch("exclude",(function(e){Ir(t,(function(t){return!Fr(e,t)}))}))},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=$n(t),n=e&&e.componentOptions;if(n){var r=jr(n),i=this,o=i.include,a=i.exclude;if(o&&(!r||!Fr(o,r))||a&&r&&Fr(a,r))return e;var s=this,c=s.cache,u=s.keys,l=null==e.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):e.key;c[l]?(e.componentInstance=c[l].componentInstance,g(u,l),u.push(l)):(this.vnodeToCache=e,this.keyToCache=l),e.data.keepAlive=!0}return e||t&&t[0]}},Rr={KeepAlive:Dr};function Nr(t){var e={get:function(){return H}};Object.defineProperty(t,"config",e),t.util={warn:ht,extend:j,mergeOptions:Kt,defineReactive:Lt},t.set=Mt,t.delete=Dt,t.nextTick=ve,t.observable=function(t){return It(t),t},t.options=Object.create(null),V.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,j(t.options.components,Rr),xr(t),Ar(t),Or(t),Er(t)}Nr($r),Object.defineProperty($r.prototype,"$isServer",{get:ct}),Object.defineProperty($r.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty($r,"FunctionalRenderContext",{value:Qe}),$r.version="2.6.14";var Pr=m("style,class"),Vr=m("input,textarea,option,select,progress"),Wr=function(t,e,n){return"value"===n&&Vr(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Hr=m("contenteditable,draggable,spellcheck"),Ur=m("events,caret,typing,plaintext-only"),Br=function(t,e){return Gr(e)||"false"===e?"false":"contenteditable"===t&&Ur(e)?e:"true"},zr=m("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),qr="http://www.w3.org/1999/xlink",Jr=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Kr=function(t){return Jr(t)?t.slice(6,t.length):""},Gr=function(t){return null==t||!1===t};function Xr(t){var e=t.data,n=t,r=t;while(i(r.componentInstance))r=r.componentInstance._vnode,r&&r.data&&(e=Zr(r.data,e));while(i(n=n.parent))n&&n.data&&(e=Zr(e,n.data));return Yr(e.staticClass,e.class)}function Zr(t,e){return{staticClass:Qr(t.staticClass,e.staticClass),class:i(t.class)?[t.class,e.class]:e.class}}function Yr(t,e){return i(t)||i(e)?Qr(t,ti(e)):""}function Qr(t,e){return t?e?t+" "+e:t:e||""}function ti(t){return Array.isArray(t)?ei(t):c(t)?ni(t):"string"===typeof t?t:""}function ei(t){for(var e,n="",r=0,o=t.length;r-1?ci[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:ci[t]=/HTMLUnknownElement/.test(e.toString())}var li=m("text,number,password,search,email,tel,url");function fi(t){if("string"===typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function pi(t,e){var n=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function hi(t,e){return document.createElementNS(ri[t],e)}function di(t){return document.createTextNode(t)}function vi(t){return document.createComment(t)}function mi(t,e,n){t.insertBefore(e,n)}function yi(t,e){t.removeChild(e)}function gi(t,e){t.appendChild(e)}function _i(t){return t.parentNode}function bi(t){return t.nextSibling}function wi(t){return t.tagName}function Ci(t,e){t.textContent=e}function ki(t,e){t.setAttribute(e,"")}var $i=Object.freeze({createElement:pi,createElementNS:hi,createTextNode:di,createComment:vi,insertBefore:mi,removeChild:yi,appendChild:gi,parentNode:_i,nextSibling:bi,tagName:wi,setTextContent:Ci,setStyleScope:ki}),xi={create:function(t,e){Ai(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Ai(t,!0),Ai(e))},destroy:function(t){Ai(t,!0)}};function Ai(t,e){var n=t.data.ref;if(i(n)){var r=t.context,o=t.componentInstance||t.elm,a=r.$refs;e?Array.isArray(a[n])?g(a[n],o):a[n]===o&&(a[n]=void 0):t.data.refInFor?Array.isArray(a[n])?a[n].indexOf(o)<0&&a[n].push(o):a[n]=[o]:a[n]=o}}var Oi=new _t("",{},[]),Si=["create","activate","update","remove","destroy"];function Ti(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&i(t.data)===i(e.data)&&Ei(t,e)||o(t.isAsyncPlaceholder)&&r(e.asyncFactory.error))}function Ei(t,e){if("input"!==t.tag)return!0;var n,r=i(n=t.data)&&i(n=n.attrs)&&n.type,o=i(n=e.data)&&i(n=n.attrs)&&n.type;return r===o||li(r)&&li(o)}function ji(t,e,n){var r,o,a={};for(r=e;r<=n;++r)o=t[r].key,i(o)&&(a[o]=r);return a}function Fi(t){var e,n,a={},c=t.modules,u=t.nodeOps;for(e=0;ev?(f=r(n[g+1])?null:n[g+1].elm,k(t,f,n,d,g,o)):d>g&&x(e,p,v)}function S(t,e,n,r){for(var o=n;o-1?Ui(t,e,n):zr(e)?Gr(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Hr(e)?t.setAttribute(e,Br(e,n)):Jr(e)?Gr(n)?t.removeAttributeNS(qr,Kr(e)):t.setAttributeNS(qr,e,n):Ui(t,e,n)}function Ui(t,e,n){if(Gr(n))t.removeAttribute(e);else{if(tt&&!et&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var Bi={create:Wi,update:Wi};function zi(t,e){var n=e.elm,o=e.data,a=t.data;if(!(r(o.staticClass)&&r(o.class)&&(r(a)||r(a.staticClass)&&r(a.class)))){var s=Xr(e),c=n._transitionClasses;i(c)&&(s=Qr(s,ti(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var qi,Ji={create:zi,update:zi},Ki="__r",Gi="__c";function Xi(t){if(i(t[Ki])){var e=tt?"change":"input";t[e]=[].concat(t[Ki],t[e]||[]),delete t[Ki]}i(t[Gi])&&(t.change=[].concat(t[Gi],t.change||[]),delete t[Gi])}function Zi(t,e,n){var r=qi;return function i(){var o=e.apply(null,arguments);null!==o&&to(t,i,n,r)}}var Yi=se&&!(it&&Number(it[1])<=53);function Qi(t,e,n,r){if(Yi){var i=Kn,o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=i||t.timeStamp<=0||t.target.ownerDocument!==document)return o.apply(this,arguments)}}qi.addEventListener(t,e,at?{capture:n,passive:r}:n)}function to(t,e,n,r){(r||qi).removeEventListener(t,e._wrapper||e,n)}function eo(t,e){if(!r(t.data.on)||!r(e.data.on)){var n=e.data.on||{},i=t.data.on||{};qi=e.elm,Xi(n),we(n,i,Qi,to,Zi,e.context),qi=void 0}}var no,ro={create:eo,update:eo};function io(t,e){if(!r(t.data.domProps)||!r(e.data.domProps)){var n,o,a=e.elm,s=t.data.domProps||{},c=e.data.domProps||{};for(n in i(c.__ob__)&&(c=e.data.domProps=j({},c)),s)n in c||(a[n]="");for(n in c){if(o=c[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),o===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=o;var u=r(o)?"":String(o);oo(a,u)&&(a.value=u)}else if("innerHTML"===n&&oi(a.tagName)&&r(a.innerHTML)){no=no||document.createElement("div"),no.innerHTML=""+o+"";var l=no.firstChild;while(a.firstChild)a.removeChild(a.firstChild);while(l.firstChild)a.appendChild(l.firstChild)}else if(o!==s[n])try{a[n]=o}catch($a){}}}}function oo(t,e){return!t.composing&&("OPTION"===t.tagName||ao(t,e)||so(t,e))}function ao(t,e){var n=!0;try{n=document.activeElement!==t}catch($a){}return n&&t.value!==e}function so(t,e){var n=t.value,r=t._vModifiers;if(i(r)){if(r.number)return v(n)!==v(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}var co={create:io,update:io},uo=w((function(t){var e={},n=/;(?![^(]*\))/g,r=/:(.+)/;return t.split(n).forEach((function(t){if(t){var n=t.split(r);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}));function lo(t){var e=fo(t.style);return t.staticStyle?j(t.staticStyle,e):e}function fo(t){return Array.isArray(t)?F(t):"string"===typeof t?uo(t):t}function po(t,e){var n,r={};if(e){var i=t;while(i.componentInstance)i=i.componentInstance._vnode,i&&i.data&&(n=lo(i.data))&&j(r,n)}(n=lo(t.data))&&j(r,n);var o=t;while(o=o.parent)o.data&&(n=lo(o.data))&&j(r,n);return r}var ho,vo=/^--/,mo=/\s*!important$/,yo=function(t,e,n){if(vo.test(e))t.style.setProperty(e,n);else if(mo.test(n))t.style.setProperty(A(e),n.replace(mo,""),"important");else{var r=_o(e);if(Array.isArray(n))for(var i=0,o=n.length;i-1?e.split(Co).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function $o(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Co).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";while(n.indexOf(r)>=0)n=n.replace(r," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function xo(t){if(t){if("object"===typeof t){var e={};return!1!==t.css&&j(e,Ao(t.name||"v")),j(e,t),e}return"string"===typeof t?Ao(t):void 0}}var Ao=w((function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}})),Oo=X&&!et,So="transition",To="animation",Eo="transition",jo="transitionend",Fo="animation",Io="animationend";Oo&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Eo="WebkitTransition",jo="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Fo="WebkitAnimation",Io="webkitAnimationEnd"));var Lo=X?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Mo(t){Lo((function(){Lo(t)}))}function Do(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),ko(t,e))}function Ro(t,e){t._transitionClasses&&g(t._transitionClasses,e),$o(t,e)}function No(t,e,n){var r=Vo(t,e),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===So?jo:Io,c=0,u=function(){t.removeEventListener(s,l),n()},l=function(e){e.target===t&&++c>=a&&u()};setTimeout((function(){c0&&(n=So,l=a,f=o.length):e===To?u>0&&(n=To,l=u,f=c.length):(l=Math.max(a,u),n=l>0?a>u?So:To:null,f=n?n===So?o.length:c.length:0);var p=n===So&&Po.test(r[Eo+"Property"]);return{type:n,timeout:l,propCount:f,hasTransform:p}}function Wo(t,e){while(t.length1}function Jo(t,e){!0!==e.data.show&&Uo(e)}var Ko=X?{create:Jo,activate:Jo,remove:function(t,e){!0!==t.data.show?Bo(t,e):e()}}:{},Go=[Bi,Ji,ro,co,wo,Ko],Xo=Go.concat(Vi),Zo=Fi({nodeOps:$i,modules:Xo});et&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&oa(t,"input")}));var Yo={inserted:function(t,e,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?Ce(n,"postpatch",(function(){Yo.componentUpdated(t,e,n)})):Qo(t,e,n.context),t._vOptions=[].map.call(t.options,na)):("textarea"===n.tag||li(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",ra),t.addEventListener("compositionend",ia),t.addEventListener("change",ia),et&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Qo(t,e,n.context);var r=t._vOptions,i=t._vOptions=[].map.call(t.options,na);if(i.some((function(t,e){return!D(t,r[e])}))){var o=t.multiple?e.value.some((function(t){return ea(t,i)})):e.value!==e.oldValue&&ea(e.value,i);o&&oa(t,"change")}}}};function Qo(t,e,n){ta(t,e,n),(tt||nt)&&setTimeout((function(){ta(t,e,n)}),0)}function ta(t,e,n){var r=e.value,i=t.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,c=t.options.length;s-1,a.selected!==o&&(a.selected=o);else if(D(na(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));i||(t.selectedIndex=-1)}}function ea(t,e){return e.every((function(e){return!D(e,t)}))}function na(t){return"_value"in t?t._value:t.value}function ra(t){t.target.composing=!0}function ia(t){t.target.composing&&(t.target.composing=!1,oa(t.target,"input"))}function oa(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function aa(t){return!t.componentInstance||t.data&&t.data.transition?t:aa(t.componentInstance._vnode)}var sa={bind:function(t,e,n){var r=e.value;n=aa(n);var i=n.data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&i?(n.data.show=!0,Uo(n,(function(){t.style.display=o}))):t.style.display=r?o:"none"},update:function(t,e,n){var r=e.value,i=e.oldValue;if(!r!==!i){n=aa(n);var o=n.data&&n.data.transition;o?(n.data.show=!0,r?Uo(n,(function(){t.style.display=t.__vOriginalDisplay})):Bo(n,(function(){t.style.display="none"}))):t.style.display=r?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,r,i){i||(t.style.display=t.__vOriginalDisplay)}},ca={model:Yo,show:sa},ua={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function la(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?la($n(e.children)):t}function fa(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var i=n._parentListeners;for(var o in i)e[k(o)]=i[o];return e}function pa(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function ha(t){while(t=t.parent)if(t.data.transition)return!0}function da(t,e){return e.key===t.key&&e.tag===t.tag}var va=function(t){return t.tag||Le(t)},ma=function(t){return"show"===t.name},ya={name:"transition",props:ua,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(va),n.length)){0;var r=this.mode;0;var i=n[0];if(ha(this.$vnode))return i;var o=la(i);if(!o)return i;if(this._leaving)return pa(t,i);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:s(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var c=(o.data||(o.data={})).transition=fa(this),u=this._vnode,l=la(u);if(o.data.directives&&o.data.directives.some(ma)&&(o.data.show=!0),l&&l.data&&!da(o,l)&&!Le(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var f=l.data.transition=j({},c);if("out-in"===r)return this._leaving=!0,Ce(f,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),pa(t,i);if("in-out"===r){if(Le(o))return u;var p,h=function(){p()};Ce(c,"afterEnter",h),Ce(c,"enterCancelled",h),Ce(f,"delayLeave",(function(t){p=t}))}}return i}}},ga=j({tag:String,moveClass:String},ua);delete ga.mode;var _a={props:ga,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var i=Fn(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,i(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=fa(this),s=0;s=0&&(e=t.slice(r),t=t.slice(0,r));var i=t.indexOf("?");return i>=0&&(n=t.slice(i+1),t=t.slice(0,i)),{path:t,query:n,hash:e}}function E(t){return t.replace(/\/\//g,"/")}var j=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},F=Z,I=N,L=P,M=H,D=X,R=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function N(t,e){var n,r=[],i=0,o=0,a="",s=e&&e.delimiter||"/";while(null!=(n=R.exec(t))){var c=n[0],u=n[1],l=n.index;if(a+=t.slice(o,l),o=l+c.length,u)a+=u[1];else{var f=t[o],p=n[2],h=n[3],d=n[4],v=n[5],m=n[6],y=n[7];a&&(r.push(a),a="");var g=null!=p&&null!=f&&f!==p,_="+"===m||"*"===m,b="?"===m||"*"===m,w=n[2]||s,C=d||v;r.push({name:h||i++,prefix:p||"",delimiter:w,optional:b,repeat:_,partial:g,asterisk:!!y,pattern:C?B(C):y?".*":"[^"+U(w)+"]+?"})}}return o1||!$.length)return 0===$.length?t():t("span",{},$)}if("a"===this.tag)k.on=w,k.attrs={href:c,"aria-current":g};else{var x=st(this.$slots.default);if(x){x.isStatic=!1;var A=x.data=i({},x.data);for(var O in A.on=A.on||{},A.on){var S=A.on[O];O in w&&(A.on[O]=Array.isArray(S)?S:[S])}for(var T in w)T in A.on?A.on[T].push(w[T]):A.on[T]=_;var E=x.data.attrs=i({},x.data.attrs);E.href=c,E["aria-current"]=g}else k.on=w}return t(this.tag,k,this.$slots.default)}};function at(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&(void 0===t.button||0===t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function st(t){if(t)for(var e,n=0;n-1&&(s.params[f]=n.params[f]);return s.path=Q(u.path,s.params,'named route "'+c+'"'),p(u,s,a)}if(s.path){s.params={};for(var h=0;h=t.length?n():t[i]?e(t[i],(function(){r(i+1)})):r(i+1)};r(0)}var Pt={redirected:2,aborted:4,cancelled:8,duplicated:16};function Vt(t,e){return Bt(t,e,Pt.redirected,'Redirected when going from "'+t.fullPath+'" to "'+qt(e)+'" via a navigation guard.')}function Wt(t,e){var n=Bt(t,e,Pt.duplicated,'Avoided redundant navigation to current location: "'+t.fullPath+'".');return n.name="NavigationDuplicated",n}function Ht(t,e){return Bt(t,e,Pt.cancelled,'Navigation cancelled from "'+t.fullPath+'" to "'+e.fullPath+'" with a new navigation.')}function Ut(t,e){return Bt(t,e,Pt.aborted,'Navigation aborted from "'+t.fullPath+'" to "'+e.fullPath+'" via a navigation guard.')}function Bt(t,e,n,r){var i=new Error(r);return i._isRouter=!0,i.from=t,i.to=e,i.type=n,i}var zt=["params","query","hash"];function qt(t){if("string"===typeof t)return t;if("path"in t)return t.path;var e={};return zt.forEach((function(n){n in t&&(e[n]=t[n])})),JSON.stringify(e,null,2)}function Jt(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function Kt(t,e){return Jt(t)&&t._isRouter&&(null==e||t.type===e)}function Gt(t){return function(e,n,r){var i=!1,o=0,a=null;Xt(t,(function(t,e,n,s){if("function"===typeof t&&void 0===t.cid){i=!0,o++;var c,u=te((function(e){Qt(e)&&(e=e.default),t.resolved="function"===typeof e?e:et.extend(e),n.components[s]=e,o--,o<=0&&r()})),l=te((function(t){var e="Failed to resolve async component "+s+": "+t;a||(a=Jt(t)?t:new Error(e),r(a))}));try{c=t(u,l)}catch(p){l(p)}if(c)if("function"===typeof c.then)c.then(u,l);else{var f=c.component;f&&"function"===typeof f.then&&f.then(u,l)}}})),i||r()}}function Xt(t,e){return Zt(t.map((function(t){return Object.keys(t.components).map((function(n){return e(t.components[n],t.instances[n],t,n)}))})))}function Zt(t){return Array.prototype.concat.apply([],t)}var Yt="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag;function Qt(t){return t.__esModule||Yt&&"Module"===t[Symbol.toStringTag]}function te(t){var e=!1;return function(){var n=[],r=arguments.length;while(r--)n[r]=arguments[r];if(!e)return e=!0,t.apply(this,n)}}var ee=function(t,e){this.router=t,this.base=ne(e),this.current=y,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function ne(t){if(!t)if(ut){var e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^https?:\/\/[^\/]+/,"")}else t="/";return"/"!==t.charAt(0)&&(t="/"+t),t.replace(/\/$/,"")}function re(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n0)){var e=this.router,n=e.options.scrollBehavior,r=Mt&&n;r&&this.listeners.push(kt());var i=function(){var n=t.current,i=pe(t.base);t.current===y&&i===t._startLocation||t.transitionTo(i,(function(t){r&&$t(e,t,n,!0)}))};window.addEventListener("popstate",i),this.listeners.push((function(){window.removeEventListener("popstate",i)}))}},e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var r=this,i=this,o=i.current;this.transitionTo(t,(function(t){Dt(E(r.base+t.fullPath)),$t(r.router,t,o,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,i=this,o=i.current;this.transitionTo(t,(function(t){Rt(E(r.base+t.fullPath)),$t(r.router,t,o,!1),e&&e(t)}),n)},e.prototype.ensureURL=function(t){if(pe(this.base)!==this.current.fullPath){var e=E(this.base+this.current.fullPath);t?Dt(e):Rt(e)}},e.prototype.getCurrentLocation=function(){return pe(this.base)},e}(ee);function pe(t){var e=window.location.pathname,n=e.toLowerCase(),r=t.toLowerCase();return!t||n!==r&&0!==n.indexOf(E(r+"/"))||(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var he=function(t){function e(e,n,r){t.call(this,e,n),r&&de(this.base)||ve()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router,n=e.options.scrollBehavior,r=Mt&&n;r&&this.listeners.push(kt());var i=function(){var e=t.current;ve()&&t.transitionTo(me(),(function(n){r&&$t(t.router,n,e,!0),Mt||_e(n.fullPath)}))},o=Mt?"popstate":"hashchange";window.addEventListener(o,i),this.listeners.push((function(){window.removeEventListener(o,i)}))}},e.prototype.push=function(t,e,n){var r=this,i=this,o=i.current;this.transitionTo(t,(function(t){ge(t.fullPath),$t(r.router,t,o,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,i=this,o=i.current;this.transitionTo(t,(function(t){_e(t.fullPath),$t(r.router,t,o,!1),e&&e(t)}),n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;me()!==e&&(t?ge(e):_e(e))},e.prototype.getCurrentLocation=function(){return me()},e}(ee);function de(t){var e=pe(t);if(!/^\/#/.test(e))return window.location.replace(E(t+"/#"+e)),!0}function ve(){var t=me();return"/"===t.charAt(0)||(_e("/"+t),!1)}function me(){var t=window.location.href,e=t.indexOf("#");return e<0?"":(t=t.slice(e+1),t)}function ye(t){var e=window.location.href,n=e.indexOf("#"),r=n>=0?e.slice(0,n):e;return r+"#"+t}function ge(t){Mt?Dt(ye(t)):window.location.hash=t}function _e(t){Mt?Rt(ye(t)):window.location.replace(ye(t))}var be=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index).concat(t),e&&e(t)}),n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,(function(){var t=e.current;e.index=n,e.updateRoute(r),e.router.afterHooks.forEach((function(e){e&&e(r,t)}))}),(function(t){Kt(t,Pt.duplicated)&&(e.index=n)}))}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(ee),we=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=dt(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!Mt&&!1!==t.fallback,this.fallback&&(e="hash"),ut||(e="abstract"),this.mode=e,e){case"history":this.history=new fe(this,t.base);break;case"hash":this.history=new he(this,t.base,this.fallback);break;case"abstract":this.history=new be(this,t.base);break;default:0}},Ce={currentRoute:{configurable:!0}};function ke(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function $e(t,e,n){var r="hash"===n?"#"+e:e;return t?E(t+"/"+r):r}we.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},Ce.currentRoute.get=function(){return this.history&&this.history.current},we.prototype.init=function(t){var e=this;if(this.apps.push(t),t.$once("hook:destroyed",(function(){var n=e.apps.indexOf(t);n>-1&&e.apps.splice(n,1),e.app===t&&(e.app=e.apps[0]||null),e.app||e.history.teardown()})),!this.app){this.app=t;var n=this.history;if(n instanceof fe||n instanceof he){var r=function(t){var r=n.current,i=e.options.scrollBehavior,o=Mt&&i;o&&"fullPath"in t&&$t(e,t,r,!1)},i=function(t){n.setupListeners(),r(t)};n.transitionTo(n.getCurrentLocation(),i,i)}n.listen((function(t){e.apps.forEach((function(e){e._route=t}))}))}},we.prototype.beforeEach=function(t){return ke(this.beforeHooks,t)},we.prototype.beforeResolve=function(t){return ke(this.resolveHooks,t)},we.prototype.afterEach=function(t){return ke(this.afterHooks,t)},we.prototype.onReady=function(t,e){this.history.onReady(t,e)},we.prototype.onError=function(t){this.history.onError(t)},we.prototype.push=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!==typeof Promise)return new Promise((function(e,n){r.history.push(t,e,n)}));this.history.push(t,e,n)},we.prototype.replace=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!==typeof Promise)return new Promise((function(e,n){r.history.replace(t,e,n)}));this.history.replace(t,e,n)},we.prototype.go=function(t){this.history.go(t)},we.prototype.back=function(){this.go(-1)},we.prototype.forward=function(){this.go(1)},we.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map((function(t){return Object.keys(t.components).map((function(e){return t.components[e]}))}))):[]},we.prototype.resolve=function(t,e,n){e=e||this.history.current;var r=tt(t,e,n,this),i=this.match(r,e),o=i.redirectedFrom||i.fullPath,a=this.history.base,s=$e(a,o,this.mode);return{location:r,route:i,href:s,normalizedTo:r,resolved:i}},we.prototype.getRoutes=function(){return this.matcher.getRoutes()},we.prototype.addRoute=function(t,e){this.matcher.addRoute(t,e),this.history.current!==y&&this.history.transitionTo(this.history.getCurrentLocation())},we.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==y&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(we.prototype,Ce),we.install=ct,we.version="3.5.2",we.isNavigationFailure=Kt,we.NavigationFailureType=Pt,we.START_LOCATION=y,ut&&window.Vue&&window.Vue.use(we),e["a"]=we},a925:function(t,e,n){"use strict"; +/*! + * vue-i18n v8.28.2 + * (c) 2022 kazuya kawaguchi + * Released under the MIT License. + */var r=["compactDisplay","currency","currencyDisplay","currencySign","localeMatcher","notation","numberingSystem","signDisplay","style","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"],i=["dateStyle","timeStyle","calendar","localeMatcher","hour12","hourCycle","timeZone","formatMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function o(t,e){"undefined"!==typeof console&&(console.warn("[vue-i18n] "+t),e&&console.warn(e.stack))}function a(t,e){"undefined"!==typeof console&&(console.error("[vue-i18n] "+t),e&&console.error(e.stack))}var s=Array.isArray;function c(t){return null!==t&&"object"===typeof t}function u(t){return"boolean"===typeof t}function l(t){return"string"===typeof t}var f=Object.prototype.toString,p="[object Object]";function h(t){return f.call(t)===p}function d(t){return null===t||void 0===t}function v(t){return"function"===typeof t}function m(){var t=[],e=arguments.length;while(e--)t[e]=arguments[e];var n=null,r=null;return 1===t.length?c(t[0])||s(t[0])?r=t[0]:"string"===typeof t[0]&&(n=t[0]):2===t.length&&("string"===typeof t[0]&&(n=t[0]),(c(t[1])||s(t[1]))&&(r=t[1])),{locale:n,params:r}}function y(t){return JSON.parse(JSON.stringify(t))}function g(t,e){if(t.delete(e))return t}function _(t){var e=[];return t.forEach((function(t){return e.push(t)})),e}function b(t,e){return!!~t.indexOf(e)}var w=Object.prototype.hasOwnProperty;function C(t,e){return w.call(t,e)}function k(t){for(var e=arguments,n=Object(t),r=1;r/g,">").replace(/"/g,""").replace(/'/g,"'")}function A(t){return null!=t&&Object.keys(t).forEach((function(e){"string"==typeof t[e]&&(t[e]=x(t[e]))})),t}function O(t){t.prototype.hasOwnProperty("$i18n")||Object.defineProperty(t.prototype,"$i18n",{get:function(){return this._i18n}}),t.prototype.$t=function(t){var e=[],n=arguments.length-1;while(n-- >0)e[n]=arguments[n+1];var r=this.$i18n;return r._t.apply(r,[t,r.locale,r._getMessages(),this].concat(e))},t.prototype.$tc=function(t,e){var n=[],r=arguments.length-2;while(r-- >0)n[r]=arguments[r+2];var i=this.$i18n;return i._tc.apply(i,[t,i.locale,i._getMessages(),this,e].concat(n))},t.prototype.$te=function(t,e){var n=this.$i18n;return n._te(t,n.locale,n._getMessages(),e)},t.prototype.$d=function(t){var e,n=[],r=arguments.length-1;while(r-- >0)n[r]=arguments[r+1];return(e=this.$i18n).d.apply(e,[t].concat(n))},t.prototype.$n=function(t){var e,n=[],r=arguments.length-1;while(r-- >0)n[r]=arguments[r+1];return(e=this.$i18n).n.apply(e,[t].concat(n))}}function S(t){function e(){this!==this.$root&&this.$options.__INTLIFY_META__&&this.$el&&this.$el.setAttribute("data-intlify",this.$options.__INTLIFY_META__)}return void 0===t&&(t=!1),t?{mounted:e}:{beforeCreate:function(){var t=this.$options;if(t.i18n=t.i18n||(t.__i18nBridge||t.__i18n?{}:null),t.i18n)if(t.i18n instanceof At){if(t.__i18nBridge||t.__i18n)try{var e=t.i18n&&t.i18n.messages?t.i18n.messages:{},n=t.__i18nBridge||t.__i18n;n.forEach((function(t){e=k(e,JSON.parse(t))})),Object.keys(e).forEach((function(n){t.i18n.mergeLocaleMessage(n,e[n])}))}catch(c){0}this._i18n=t.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(h(t.i18n)){var r=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof At?this.$root.$i18n:null;if(r&&(t.i18n.root=this.$root,t.i18n.formatter=r.formatter,t.i18n.fallbackLocale=r.fallbackLocale,t.i18n.formatFallbackMessages=r.formatFallbackMessages,t.i18n.silentTranslationWarn=r.silentTranslationWarn,t.i18n.silentFallbackWarn=r.silentFallbackWarn,t.i18n.pluralizationRules=r.pluralizationRules,t.i18n.preserveDirectiveContent=r.preserveDirectiveContent),t.__i18nBridge||t.__i18n)try{var i=t.i18n&&t.i18n.messages?t.i18n.messages:{},o=t.__i18nBridge||t.__i18n;o.forEach((function(t){i=k(i,JSON.parse(t))})),t.i18n.messages=i}catch(c){0}var a=t.i18n,s=a.sharedMessages;s&&h(s)&&(t.i18n.messages=k(t.i18n.messages,s)),this._i18n=new At(t.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===t.i18n.sync||t.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),r&&r.onComponentInstanceCreated(this._i18n)}else 0;else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof At?this._i18n=this.$root.$i18n:t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof At&&(this._i18n=t.parent.$i18n)},beforeMount:function(){var t=this.$options;t.i18n=t.i18n||(t.__i18nBridge||t.__i18n?{}:null),t.i18n?(t.i18n instanceof At||h(t.i18n))&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof At||t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof At)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},mounted:e,beforeDestroy:function(){if(this._i18n){var t=this;this.$nextTick((function(){t._subscribing&&(t._i18n.unsubscribeDataChanging(t),delete t._subscribing),t._i18nWatcher&&(t._i18nWatcher(),t._i18n.destroyVM(),delete t._i18nWatcher),t._localeWatcher&&(t._localeWatcher(),delete t._localeWatcher)}))}}}}var T={name:"i18n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(t,e){var n=e.data,r=e.parent,i=e.props,o=e.slots,a=r.$i18n;if(a){var s=i.path,c=i.locale,u=i.places,l=o(),f=a.i(s,c,E(l)||u?j(l.default,u):l),p=i.tag&&!0!==i.tag||!1===i.tag?i.tag:"span";return p?t(p,n,f):f}}};function E(t){var e;for(e in t)if("default"!==e)return!1;return Boolean(e)}function j(t,e){var n=e?F(e):{};if(!t)return n;t=t.filter((function(t){return t.tag||""!==t.text.trim()}));var r=t.every(M);return t.reduce(r?I:L,n)}function F(t){return Array.isArray(t)?t.reduce(L,{}):Object.assign({},t)}function I(t,e){return e.data&&e.data.attrs&&e.data.attrs.place&&(t[e.data.attrs.place]=e),t}function L(t,e,n){return t[n]=e,t}function M(t){return Boolean(t.data&&t.data.attrs&&t.data.attrs.place)}var D,R={name:"i18n-n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(t,e){var n=e.props,i=e.parent,o=e.data,a=i.$i18n;if(!a)return null;var s=null,u=null;l(n.format)?s=n.format:c(n.format)&&(n.format.key&&(s=n.format.key),u=Object.keys(n.format).reduce((function(t,e){var i;return b(r,e)?Object.assign({},t,(i={},i[e]=n.format[e],i)):t}),null));var f=n.locale||a.locale,p=a._ntp(n.value,f,s,u),h=p.map((function(t,e){var n,r=o.scopedSlots&&o.scopedSlots[t.type];return r?r((n={},n[t.type]=t.value,n.index=e,n.parts=p,n)):t.value})),d=n.tag&&!0!==n.tag||!1===n.tag?n.tag:"span";return d?t(d,{attrs:o.attrs,class:o["class"],staticClass:o.staticClass},h):h}};function N(t,e,n){W(t,n)&&U(t,e,n)}function P(t,e,n,r){if(W(t,n)){var i=n.context.$i18n;H(t,n)&&$(e.value,e.oldValue)&&$(t._localeMessage,i.getLocaleMessage(i.locale))||U(t,e,n)}}function V(t,e,n,r){var i=n.context;if(i){var a=n.context.$i18n||{};e.modifiers.preserve||a.preserveDirectiveContent||(t.textContent=""),t._vt=void 0,delete t["_vt"],t._locale=void 0,delete t["_locale"],t._localeMessage=void 0,delete t["_localeMessage"]}else o("Vue instance does not exists in VNode context")}function W(t,e){var n=e.context;return n?!!n.$i18n||(o("VueI18n instance does not exists in Vue instance"),!1):(o("Vue instance does not exists in VNode context"),!1)}function H(t,e){var n=e.context;return t._locale===n.$i18n.locale}function U(t,e,n){var r,i,a=e.value,s=B(a),c=s.path,u=s.locale,l=s.args,f=s.choice;if(c||u||l)if(c){var p=n.context;t._vt=t.textContent=null!=f?(r=p.$i18n).tc.apply(r,[c,f].concat(z(u,l))):(i=p.$i18n).t.apply(i,[c].concat(z(u,l))),t._locale=p.$i18n.locale,t._localeMessage=p.$i18n.getLocaleMessage(p.$i18n.locale)}else o("`path` is required in v-t directive");else o("value type not supported")}function B(t){var e,n,r,i;return l(t)?e=t:h(t)&&(e=t.path,n=t.locale,r=t.args,i=t.choice),{path:e,locale:n,args:r,choice:i}}function z(t,e){var n=[];return t&&n.push(t),e&&(Array.isArray(e)||h(e))&&n.push(e),n}function q(t,e){void 0===e&&(e={bridge:!1}),q.installed=!0,D=t;D.version&&Number(D.version.split(".")[0]);O(D),D.mixin(S(e.bridge)),D.directive("t",{bind:N,update:P,unbind:V}),D.component(T.name,T),D.component(R.name,R);var n=D.config.optionMergeStrategies;n.i18n=function(t,e){return void 0===e?t:e}}var J=function(){this._caches=Object.create(null)};J.prototype.interpolate=function(t,e){if(!e)return[t];var n=this._caches[t];return n||(n=X(t),this._caches[t]=n),Z(n,e)};var K=/^(?:\d)+/,G=/^(?:\w)+/;function X(t){var e=[],n=0,r="";while(n0)f--,l=at,p[Y]();else{if(f=0,void 0===n)return!1;if(n=mt(n),!1===n)return!1;p[Q]()}};while(null!==l)if(u++,e=t[u],"\\"!==e||!h()){if(i=vt(e),s=ft[l],o=s[i]||s["else"]||lt,o===lt)return;if(l=o[0],a=p[o[1]],a&&(r=o[2],r=void 0===r?e:r,!1===a()))return;if(l===ut)return c}}var gt=function(){this._cache=Object.create(null)};gt.prototype.parsePath=function(t){var e=this._cache[t];return e||(e=yt(t),e&&(this._cache[t]=e)),e||[]},gt.prototype.getPathValue=function(t,e){if(!c(t))return null;var n=this.parsePath(e);if(0===n.length)return null;var r=n.length,i=t,o=0;while(o/,wt=/(?:@(?:\.[a-zA-Z]+)?:(?:[\w\-_|./]+|\([\w\-_:|./]+\)))/g,Ct=/^@(?:\.([a-zA-Z]+))?:/,kt=/[()]/g,$t={upper:function(t){return t.toLocaleUpperCase()},lower:function(t){return t.toLocaleLowerCase()},capitalize:function(t){return""+t.charAt(0).toLocaleUpperCase()+t.substr(1)}},xt=new J,At=function(t){var e=this;void 0===t&&(t={}),!D&&"undefined"!==typeof window&&window.Vue&&q(window.Vue);var n=t.locale||"en-US",r=!1!==t.fallbackLocale&&(t.fallbackLocale||"en-US"),i=t.messages||{},o=t.dateTimeFormats||t.datetimeFormats||{},a=t.numberFormats||{};this._vm=null,this._formatter=t.formatter||xt,this._modifiers=t.modifiers||{},this._missing=t.missing||null,this._root=t.root||null,this._sync=void 0===t.sync||!!t.sync,this._fallbackRoot=void 0===t.fallbackRoot||!!t.fallbackRoot,this._fallbackRootWithEmptyString=void 0===t.fallbackRootWithEmptyString||!!t.fallbackRootWithEmptyString,this._formatFallbackMessages=void 0!==t.formatFallbackMessages&&!!t.formatFallbackMessages,this._silentTranslationWarn=void 0!==t.silentTranslationWarn&&t.silentTranslationWarn,this._silentFallbackWarn=void 0!==t.silentFallbackWarn&&!!t.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new gt,this._dataListeners=new Set,this._componentInstanceCreatedListener=t.componentInstanceCreatedListener||null,this._preserveDirectiveContent=void 0!==t.preserveDirectiveContent&&!!t.preserveDirectiveContent,this.pluralizationRules=t.pluralizationRules||{},this._warnHtmlInMessage=t.warnHtmlInMessage||"off",this._postTranslation=t.postTranslation||null,this._escapeParameterHtml=t.escapeParameterHtml||!1,"__VUE_I18N_BRIDGE__"in t&&(this.__VUE_I18N_BRIDGE__=t.__VUE_I18N_BRIDGE__),this.getChoiceIndex=function(t,n){var r=Object.getPrototypeOf(e);if(r&&r.getChoiceIndex){var i=r.getChoiceIndex;return i.call(e,t,n)}var o=function(t,e){return t=Math.abs(t),2===e?t?t>1?1:0:1:t?Math.min(t,2):0};return e.locale in e.pluralizationRules?e.pluralizationRules[e.locale].apply(e,[t,n]):o(t,n)},this._exist=function(t,n){return!(!t||!n)&&(!d(e._path.getPathValue(t,n))||!!t[n])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(i).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,i[t])})),this._initVM({locale:n,fallbackLocale:r,messages:i,dateTimeFormats:o,numberFormats:a})},Ot={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0},sync:{configurable:!0}};At.prototype._checkLocaleMessage=function(t,e,n){var r=[],i=function(t,e,n,r){if(h(n))Object.keys(n).forEach((function(o){var a=n[o];h(a)?(r.push(o),r.push("."),i(t,e,a,r),r.pop(),r.pop()):(r.push(o),i(t,e,a,r),r.pop())}));else if(s(n))n.forEach((function(n,o){h(n)?(r.push("["+o+"]"),r.push("."),i(t,e,n,r),r.pop(),r.pop()):(r.push("["+o+"]"),i(t,e,n,r),r.pop())}));else if(l(n)){var c=bt.test(n);if(c){var u="Detected HTML in message '"+n+"' of keypath '"+r.join("")+"' at '"+e+"'. Consider component interpolation with '' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===t?o(u):"error"===t&&a(u)}}};i(e,t,n,r)},At.prototype._initVM=function(t){var e=D.config.silent;D.config.silent=!0,this._vm=new D({data:t,__VUE18N__INSTANCE__:!0}),D.config.silent=e},At.prototype.destroyVM=function(){this._vm.$destroy()},At.prototype.subscribeDataChanging=function(t){this._dataListeners.add(t)},At.prototype.unsubscribeDataChanging=function(t){g(this._dataListeners,t)},At.prototype.watchI18nData=function(){var t=this;return this._vm.$watch("$data",(function(){var e=_(t._dataListeners),n=e.length;while(n--)D.nextTick((function(){e[n]&&e[n].$forceUpdate()}))}),{deep:!0})},At.prototype.watchLocale=function(t){if(t){if(!this.__VUE_I18N_BRIDGE__)return null;var e=this,n=this._vm;return this.vm.$watch("locale",(function(r){n.$set(n,"locale",r),e.__VUE_I18N_BRIDGE__&&t&&(t.locale.value=r),n.$forceUpdate()}),{immediate:!0})}if(!this._sync||!this._root)return null;var r=this._vm;return this._root.$i18n.vm.$watch("locale",(function(t){r.$set(r,"locale",t),r.$forceUpdate()}),{immediate:!0})},At.prototype.onComponentInstanceCreated=function(t){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(t,this)},Ot.vm.get=function(){return this._vm},Ot.messages.get=function(){return y(this._getMessages())},Ot.dateTimeFormats.get=function(){return y(this._getDateTimeFormats())},Ot.numberFormats.get=function(){return y(this._getNumberFormats())},Ot.availableLocales.get=function(){return Object.keys(this.messages).sort()},Ot.locale.get=function(){return this._vm.locale},Ot.locale.set=function(t){this._vm.$set(this._vm,"locale",t)},Ot.fallbackLocale.get=function(){return this._vm.fallbackLocale},Ot.fallbackLocale.set=function(t){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",t)},Ot.formatFallbackMessages.get=function(){return this._formatFallbackMessages},Ot.formatFallbackMessages.set=function(t){this._formatFallbackMessages=t},Ot.missing.get=function(){return this._missing},Ot.missing.set=function(t){this._missing=t},Ot.formatter.get=function(){return this._formatter},Ot.formatter.set=function(t){this._formatter=t},Ot.silentTranslationWarn.get=function(){return this._silentTranslationWarn},Ot.silentTranslationWarn.set=function(t){this._silentTranslationWarn=t},Ot.silentFallbackWarn.get=function(){return this._silentFallbackWarn},Ot.silentFallbackWarn.set=function(t){this._silentFallbackWarn=t},Ot.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},Ot.preserveDirectiveContent.set=function(t){this._preserveDirectiveContent=t},Ot.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},Ot.warnHtmlInMessage.set=function(t){var e=this,n=this._warnHtmlInMessage;if(this._warnHtmlInMessage=t,n!==t&&("warn"===t||"error"===t)){var r=this._getMessages();Object.keys(r).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,r[t])}))}},Ot.postTranslation.get=function(){return this._postTranslation},Ot.postTranslation.set=function(t){this._postTranslation=t},Ot.sync.get=function(){return this._sync},Ot.sync.set=function(t){this._sync=t},At.prototype._getMessages=function(){return this._vm.messages},At.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},At.prototype._getNumberFormats=function(){return this._vm.numberFormats},At.prototype._warnDefault=function(t,e,n,r,i,o){if(!d(n))return n;if(this._missing){var a=this._missing.apply(null,[t,e,r,i]);if(l(a))return a}else 0;if(this._formatFallbackMessages){var s=m.apply(void 0,i);return this._render(e,o,s.params,e)}return e},At.prototype._isFallbackRoot=function(t){return(this._fallbackRootWithEmptyString?!t:d(t))&&!d(this._root)&&this._fallbackRoot},At.prototype._isSilentFallbackWarn=function(t){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(t):this._silentFallbackWarn},At.prototype._isSilentFallback=function(t,e){return this._isSilentFallbackWarn(e)&&(this._isFallbackRoot()||t!==this.fallbackLocale)},At.prototype._isSilentTranslationWarn=function(t){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(t):this._silentTranslationWarn},At.prototype._interpolate=function(t,e,n,r,i,o,a){if(!e)return null;var c,u=this._path.getPathValue(e,n);if(s(u)||h(u))return u;if(d(u)){if(!h(e))return null;if(c=e[n],!l(c)&&!v(c))return null}else{if(!l(u)&&!v(u))return null;c=u}return l(c)&&(c.indexOf("@:")>=0||c.indexOf("@.")>=0)&&(c=this._link(t,e,c,r,"raw",o,a)),this._render(c,i,o,n)},At.prototype._link=function(t,e,n,r,i,o,a){var c=n,u=c.match(wt);for(var l in u)if(u.hasOwnProperty(l)){var f=u[l],p=f.match(Ct),h=p[0],d=p[1],v=f.replace(h,"").replace(kt,"");if(b(a,v))return c;a.push(v);var m=this._interpolate(t,e,v,r,"raw"===i?"string":i,"raw"===i?void 0:o,a);if(this._isFallbackRoot(m)){if(!this._root)throw Error("unexpected error");var y=this._root.$i18n;m=y._translate(y._getMessages(),y.locale,y.fallbackLocale,v,r,i,o)}m=this._warnDefault(t,v,m,r,s(o)?o:[o],i),this._modifiers.hasOwnProperty(d)?m=this._modifiers[d](m):$t.hasOwnProperty(d)&&(m=$t[d](m)),a.pop(),c=m?c.replace(f,m):c}return c},At.prototype._createMessageContext=function(t,e,n,r){var i=this,o=s(t)?t:[],a=c(t)?t:{},u=function(t){return o[t]},l=function(t){return a[t]},f=this._getMessages(),p=this.locale;return{list:u,named:l,values:t,formatter:e,path:n,messages:f,locale:p,linked:function(t){return i._interpolate(p,f[p]||{},t,null,r,void 0,[t])}}},At.prototype._render=function(t,e,n,r){if(v(t))return t(this._createMessageContext(n,this._formatter||xt,r,e));var i=this._formatter.interpolate(t,n,r);return i||(i=xt.interpolate(t,n,r)),"string"!==e||l(i)?i:i.join("")},At.prototype._appendItemToChain=function(t,e,n){var r=!1;return b(t,e)||(r=!0,e&&(r="!"!==e[e.length-1],e=e.replace(/!/g,""),t.push(e),n&&n[e]&&(r=n[e]))),r},At.prototype._appendLocaleToChain=function(t,e,n){var r,i=e.split("-");do{var o=i.join("-");r=this._appendItemToChain(t,o,n),i.splice(-1,1)}while(i.length&&!0===r);return r},At.prototype._appendBlockToChain=function(t,e,n){for(var r=!0,i=0;i0)o[a]=arguments[a+4];if(!t)return"";var s=m.apply(void 0,o);this._escapeParameterHtml&&(s.params=A(s.params));var c=s.locale||e,u=this._translate(n,c,this.fallbackLocale,t,r,"string",s.params);if(this._isFallbackRoot(u)){if(!this._root)throw Error("unexpected error");return(i=this._root).$t.apply(i,[t].concat(o))}return u=this._warnDefault(c,t,u,r,o,"string"),this._postTranslation&&null!==u&&void 0!==u&&(u=this._postTranslation(u,t)),u},At.prototype.t=function(t){var e,n=[],r=arguments.length-1;while(r-- >0)n[r]=arguments[r+1];return(e=this)._t.apply(e,[t,this.locale,this._getMessages(),null].concat(n))},At.prototype._i=function(t,e,n,r,i){var o=this._translate(n,e,this.fallbackLocale,t,r,"raw",i);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(t,e,i)}return this._warnDefault(e,t,o,r,[i],"raw")},At.prototype.i=function(t,e,n){return t?(l(e)||(e=this.locale),this._i(t,e,this._getMessages(),null,n)):""},At.prototype._tc=function(t,e,n,r,i){var o,a=[],s=arguments.length-5;while(s-- >0)a[s]=arguments[s+5];if(!t)return"";void 0===i&&(i=1);var c={count:i,n:i},u=m.apply(void 0,a);return u.params=Object.assign(c,u.params),a=null===u.locale?[u.params]:[u.locale,u.params],this.fetchChoice((o=this)._t.apply(o,[t,e,n,r].concat(a)),i)},At.prototype.fetchChoice=function(t,e){if(!t||!l(t))return null;var n=t.split("|");return e=this.getChoiceIndex(e,n.length),n[e]?n[e].trim():t},At.prototype.tc=function(t,e){var n,r=[],i=arguments.length-2;while(i-- >0)r[i]=arguments[i+2];return(n=this)._tc.apply(n,[t,this.locale,this._getMessages(),null,e].concat(r))},At.prototype._te=function(t,e,n){var r=[],i=arguments.length-3;while(i-- >0)r[i]=arguments[i+3];var o=m.apply(void 0,r).locale||e;return this._exist(n[o],t)},At.prototype.te=function(t,e){return this._te(t,this.locale,this._getMessages(),e)},At.prototype.getLocaleMessage=function(t){return y(this._vm.messages[t]||{})},At.prototype.setLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,e)},At.prototype.mergeLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,k("undefined"!==typeof this._vm.messages[t]&&Object.keys(this._vm.messages[t]).length?Object.assign({},this._vm.messages[t]):{},e))},At.prototype.getDateTimeFormat=function(t){return y(this._vm.dateTimeFormats[t]||{})},At.prototype.setDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,e),this._clearDateTimeFormat(t,e)},At.prototype.mergeDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,k(this._vm.dateTimeFormats[t]||{},e)),this._clearDateTimeFormat(t,e)},At.prototype._clearDateTimeFormat=function(t,e){for(var n in e){var r=t+"__"+n;this._dateTimeFormatters.hasOwnProperty(r)&&delete this._dateTimeFormatters[r]}},At.prototype._localizeDateTime=function(t,e,n,r,i,o){for(var a=e,s=r[a],c=this._getLocaleChain(e,n),u=0;u0)e[n]=arguments[n+1];var r=this.locale,o=null,a=null;return 1===e.length?(l(e[0])?o=e[0]:c(e[0])&&(e[0].locale&&(r=e[0].locale),e[0].key&&(o=e[0].key)),a=Object.keys(e[0]).reduce((function(t,n){var r;return b(i,n)?Object.assign({},t,(r={},r[n]=e[0][n],r)):t}),null)):2===e.length&&(l(e[0])&&(o=e[0]),l(e[1])&&(r=e[1])),this._d(t,r,o,a)},At.prototype.getNumberFormat=function(t){return y(this._vm.numberFormats[t]||{})},At.prototype.setNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,e),this._clearNumberFormat(t,e)},At.prototype.mergeNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,k(this._vm.numberFormats[t]||{},e)),this._clearNumberFormat(t,e)},At.prototype._clearNumberFormat=function(t,e){for(var n in e){var r=t+"__"+n;this._numberFormatters.hasOwnProperty(r)&&delete this._numberFormatters[r]}},At.prototype._getNumberFormatter=function(t,e,n,r,i,o){for(var a=e,s=r[a],c=this._getLocaleChain(e,n),u=0;u0)e[n]=arguments[n+1];var i=this.locale,o=null,a=null;return 1===e.length?l(e[0])?o=e[0]:c(e[0])&&(e[0].locale&&(i=e[0].locale),e[0].key&&(o=e[0].key),a=Object.keys(e[0]).reduce((function(t,n){var i;return b(r,n)?Object.assign({},t,(i={},i[n]=e[0][n],i)):t}),null)):2===e.length&&(l(e[0])&&(o=e[0]),l(e[1])&&(i=e[1])),this._n(t,i,o,a)},At.prototype._ntp=function(t,e,n,r){if(!At.availabilities.numberFormat)return[];if(!n){var i=r?new Intl.NumberFormat(e,r):new Intl.NumberFormat(e);return i.formatToParts(t)}var o=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),n,r),a=o&&o.formatToParts(t);if(this._isFallbackRoot(a)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(t,e,n,r)}return a||[]},Object.defineProperties(At.prototype,Ot),Object.defineProperty(At,"availabilities",{get:function(){if(!_t){var t="undefined"!==typeof Intl;_t={dateTimeFormat:t&&"undefined"!==typeof Intl.DateTimeFormat,numberFormat:t&&"undefined"!==typeof Intl.NumberFormat}}return _t}}),At.install=q,At.version="8.28.2",e["a"]=At},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}t.exports=n},e7a5:function(t,e,n){(function(e){(function(e,n){t.exports=n(e)})("undefined"!=typeof e?e:this,(function(t){if(t.CSS&&t.CSS.escape)return t.CSS.escape;var e=function(t){if(0==arguments.length)throw new TypeError("`CSS.escape` requires an argument.");var e,n=String(t),r=n.length,i=-1,o="",a=n.charCodeAt(0);while(++i=1&&e<=31||127==e||0==i&&e>=48&&e<=57||1==i&&e>=48&&e<=57&&45==a?"\\"+e.toString(16)+" ":(0!=i||1!=r||45!=e)&&(e>=128||45==e||95==e||e>=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122)?n.charAt(i):"\\"+n.charAt(i):"�";return o};return t.CSS||(t.CSS={}),t.CSS.escape=e,e}))}).call(this,n("c8ba"))}}]); \ No newline at end of file diff --git a/docs/js/documentation-topic.2ed269e3.js b/docs/js/documentation-topic.2ed269e3.js deleted file mode 100644 index b53a2bd..0000000 --- a/docs/js/documentation-topic.2ed269e3.js +++ /dev/null @@ -1,10 +0,0 @@ -/*! - * This source file is part of the Swift.org open source project - * - * Copyright (c) 2021 Apple Inc. and the Swift project authors - * Licensed under Apache License v2.0 with Runtime Library Exception - * - * See https://swift.org/LICENSE.txt for license information - * See https://swift.org/CONTRIBUTORS.txt for Swift project authors - */ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["documentation-topic"],{"087c":function(e,t,n){},"0b72":function(e,t,n){},"0f49":function(e,t,n){},"0ff0":function(e,t,n){"use strict";n("713d")},"115d":function(e,t,n){"use strict";n("20dd")},1347:function(e,t,n){"use strict";n("367e")},"18f4":function(e,t,n){},"1c02":function(e,t,n){"use strict";n("0f49")},"1f24":function(e,t,n){},2059:function(e,t,n){},"20dd":function(e,t,n){},"218b":function(e,t,n){"use strict";n("9d52")},"21ff":function(e,t,n){"use strict";n("fd6e")},"228b":function(e,t,n){"use strict";n("7cb7")},"22f6":function(e,t,n){},2521:function(e,t,n){},"252c":function(e,t,n){"use strict";(function(e){function i(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var i=e.indexOf("rv:");return parseInt(e.substring(i+3,e.indexOf(".",i)),10)}var a=e.indexOf("Edge/");return a>0?parseInt(e.substring(a+5,e.indexOf(".",a)),10):-1}n.d(t,"a",(function(){return r}));var a=void 0;function s(){s.init||(s.init=!0,a=-1!==i())}var r={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"resize-observer",attrs:{tabindex:"-1"}})},staticRenderFns:[],_scopeId:"data-v-b329ee4c",name:"resize-observer",methods:{compareAndNotify:function(){this._w===this.$el.offsetWidth&&this._h===this.$el.offsetHeight||(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.$emit("notify"))},addResizeHandlers:function(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers:function(){this._resizeObject&&this._resizeObject.onload&&(!a&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),delete this._resizeObject.onload)}},mounted:function(){var e=this;s(),this.$nextTick((function(){e._w=e.$el.offsetWidth,e._h=e.$el.offsetHeight}));var t=document.createElement("object");this._resizeObject=t,t.setAttribute("aria-hidden","true"),t.setAttribute("tabindex",-1),t.onload=this.addResizeHandlers,t.type="text/html",a&&this.$el.appendChild(t),t.data="about:blank",a||this.$el.appendChild(t)},beforeDestroy:function(){this.removeResizeHandlers()}};function o(e){e.component("resize-observer",r),e.component("ResizeObserver",r)}var l={version:"0.4.5",install:o},c=null;"undefined"!==typeof window?c=window.Vue:"undefined"!==typeof e&&(c=e.Vue),c&&c.use(l)}).call(this,n("c8ba"))},"260a":function(e,t,n){"use strict";n("9a8a")},2822:function(e,t,n){"use strict";n("2521")},"2ca2":function(e,t,n){"use strict";n("98e2")},"2dc5":function(e,t,n){"use strict";n("649a")},"2efe":function(e,t,n){"use strict";n("8541")},"2f87":function(e,t,n){"use strict";n("b0a0")},3377:function(e,t,n){},3396:function(e,t,n){"use strict";n("cdce")},"34e5":function(e,t,n){"use strict";n("087c")},"367e":function(e,t,n){},"370f":function(e,t,n){},"374e":function(e,t,n){"use strict";n("0b72")},"37dc":function(e,t,n){},"3a47":function(e,t,n){},"3a72":function(e,t,n){"use strict";n("3a47")},"3fc1":function(e,t,n){},4125:function(e,t,n){},4281:function(e,t,n){"use strict";n("f0dd")},"447f":function(e,t,n){"use strict";n("1f24")},4539:function(e,t,n){"use strict";n("7db8")},"46c5":function(e,t,n){"use strict";n("dff0")},4737:function(e,t,n){},"4b9a":function(e,t,n){"use strict";n("8df2")},"4de6":function(e,t,n){"use strict";n("9dbb")},5079:function(e,t,n){},"533e":function(e,t,n){},5550:function(e,t,n){"use strict";n("73e2")},"56bb":function(e,t,n){},"58d9":function(e,t,n){},"5c33":function(e,t,n){"use strict";n("4737")},"5c57":function(e,t,n){"use strict";n("f0ff")},"649a":function(e,t,n){},"696e":function(e,t,n){},"69ba":function(e,t,n){"use strict";n("2059")},"6c70":function(e,t,n){},"713d":function(e,t,n){},"719b":function(e,t,n){"use strict";n("8b3c")},"73e2":function(e,t,n){},7649:function(e,t,n){"use strict";n("37dc")},"7a2c":function(e,t,n){"use strict";n("c4c1")},"7cb7":function(e,t,n){},"7d0e":function(e,t,n){"use strict";n("696e")},"7d10":function(e,t,n){},"7db8":function(e,t,n){},"83ed":function(e,t,n){"use strict";n("b8c2")},8541:function(e,t,n){},"85fe":function(e,t,n){"use strict";(function(e){function i(e){return i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:{},r=function(r){for(var l=arguments.length,c=new Array(l>1?l-1:0),d=1;d1){var i=e.find((function(e){return e.isIntersecting}));i&&(t=i)}if(n.callback){var a=t.isIntersecting&&t.intersectionRatio>=n.threshold;if(a===n.oldResult)return;n.oldResult=a,n.callback(a,t)}}),this.options.intersection),t.context.$nextTick((function(){n.observer&&n.observer.observe(n.el)}))}}},{key:"destroyObserver",value:function(){this.observer&&(this.observer.disconnect(),this.observer=null),this.callback&&this.callback._clear&&(this.callback._clear(),this.callback=null)}},{key:"threshold",get:function(){return this.options.intersection&&this.options.intersection.threshold||0}}]),e}();function f(e,t,n){var i=t.value;if(i)if("undefined"===typeof IntersectionObserver)console.warn("[vue-observe-visibility] IntersectionObserver API is not available in your browser. Please install this polyfill: https://github.com/w3c/IntersectionObserver/tree/master/polyfill");else{var a=new g(e,i,n);e._vue_visibilityState=a}}function m(e,t,n){var i=t.value,a=t.oldValue;if(!p(i,a)){var s=e._vue_visibilityState;i?s?s.createObserver(i,n):f(e,{value:i},n):y(e)}}function y(e){var t=e._vue_visibilityState;t&&(t.destroyObserver(),delete e._vue_visibilityState)}var v={bind:f,update:m,unbind:y};function b(e){e.directive("observe-visibility",v)}var T={version:"0.4.6",install:b},_=null;"undefined"!==typeof window?_=window.Vue:"undefined"!==typeof e&&(_=e.Vue),_&&_.use(T)}).call(this,n("c8ba"))},"87ff":function(e,t,n){"use strict";n("d840")},"89ec":function(e,t,n){},"8b3c":function(e,t,n){},"8b7a":function(e,t,n){"use strict";n("89ec")},"8df2":function(e,t,n){},"96a4":function(e,t,n){"use strict";n("58d9")},"98e2":function(e,t,n){},"9a8a":function(e,t,n){},"9d52":function(e,t,n){},"9dbb":function(e,t,n){},a40c:function(e,t,n){"use strict";n("c33d")},a780:function(e,t,n){"use strict";n("a7c6")},a7c6:function(e,t,n){},a91f:function(e,t,n){"use strict";n("6c70")},ac53:function(e,t,n){"use strict";n("d573")},ad1a:function(e,t,n){},b0a0:function(e,t,n){},b39c:function(e,t,n){"use strict";n("18f4")},b831:function(e,t,n){"use strict";n("533e")},b8c2:function(e,t,n){},bab5:function(e,t,n){"use strict";n("f0aa")},bcfb:function(e,t,n){"use strict";n("e4ea")},c2c8:function(e,t,n){"use strict";n("ad1a")},c33d:function(e,t,n){},c3a6:function(e,t,n){"use strict";n("7d10")},c4c1:function(e,t,n){},ca3d:function(e,t,n){"use strict";n("5079")},cdce:function(e,t,n){},d1b4:function(e,t,n){"use strict";n("4125")},d573:function(e,t,n){},d6cc:function(e,t,n){"use strict";n("3fc1")},d790:function(e,t,n){"use strict";n("56bb")},d840:function(e,t,n){},dff0:function(e,t,n){},e3c9:function(e,t,n){"use strict";n("3377")},e4ea:function(e,t,n){},e508:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return M})),n.d(t,"b",(function(){return W})),n.d(t,"c",(function(){return U}));var i=n("252c"),a=n("85fe"),s=n("ed83"),r=n.n(s),o=n("2b0e"),l={itemsLimit:1e3};function c(e){return c="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function h(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,i=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a,s=!0,r=!1;return{s:function(){i=e[Symbol.iterator]()},n:function(){var e=i.next();return s=e.done,e},e:function(e){r=!0,a=e},f:function(){try{s||null==i.return||i.return()}finally{if(r)throw a}}}}var m={items:{type:Array,required:!0},keyField:{type:String,default:"id"},direction:{type:String,default:"vertical",validator:function(e){return["vertical","horizontal"].includes(e)}}};function y(){return this.items.length&&"object"!==c(this.items[0])}var v=!1;if("undefined"!==typeof window){v=!1;try{var b=Object.defineProperty({},"passive",{get:function(){v=!0}});window.addEventListener("test",null,b)}catch(Y){}}var T=0,_={name:"RecycleScroller",components:{ResizeObserver:i["a"]},directives:{ObserveVisibility:a["a"]},props:h({},m,{itemSize:{type:Number,default:null},minItemSize:{type:[Number,String],default:null},sizeField:{type:String,default:"size"},typeField:{type:String,default:"type"},buffer:{type:Number,default:200},pageMode:{type:Boolean,default:!1},prerender:{type:Number,default:0},emitUpdate:{type:Boolean,default:!1}}),data:function(){return{pool:[],totalSize:0,ready:!1,hoverKey:null}},computed:{sizes:function(){if(null===this.itemSize){for(var e,t={"-1":{accumulator:0}},n=this.items,i=this.sizeField,a=this.minItemSize,s=1e4,r=0,o=0,l=n.length;o1&&void 0!==arguments[1]&&arguments[1],n=this.$_unusedViews,i=e.nr.type,a=n.get(i);a||(a=[],n.set(i,a)),a.push(e),t||(e.nr.used=!1,e.position=-9999,this.$_views.delete(e.nr.key))},handleResize:function(){this.$emit("resize"),this.ready&&this.updateVisibleItems(!1)},handleScroll:function(e){var t=this;this.$_scrollDirty||(this.$_scrollDirty=!0,requestAnimationFrame((function(){t.$_scrollDirty=!1;var e=t.updateVisibleItems(!1,!0),n=e.continuous;n||(clearTimeout(t.$_refreshTimout),t.$_refreshTimout=setTimeout(t.handleScroll,100))})))},handleVisibilityChange:function(e,t){var n=this;this.ready&&(e||0!==t.boundingClientRect.width||0!==t.boundingClientRect.height?(this.$emit("visible"),requestAnimationFrame((function(){n.updateVisibleItems(!1)}))):this.$emit("hidden"))},updateVisibleItems:function(e){var t,n,i,a,s=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.itemSize,o=this.$_computedMinItemSize,c=this.typeField,d=this.simpleArray?null:this.keyField,u=this.items,h=u.length,p=this.sizes,g=this.$_views,f=this.$_unusedViews,m=this.pool;if(h)if(this.$_prerender)t=0,n=this.prerender,i=null;else{var y=this.getScroll();if(s){var v=y.start-this.$_lastUpdateScrollPosition;if(v<0&&(v=-v),null===r&&vy.start&&(C=k),k=~~((S+C)/2)}while(k!==_);for(k<0&&(k=0),t=k,i=p[h-1].accumulator,n=k;nh&&(n=h))}else t=~~(y.start/r),n=Math.ceil(y.end/r),t<0&&(t=0),n>h&&(n=h),i=h*r}else t=n=i=0;n-t>l.itemsLimit&&this.itemsLimitError(),this.totalSize=i;var w=t<=this.$_endIndex&&n>=this.$_startIndex;if(this.$_continuous!==w){if(w){g.clear(),f.clear();for(var I=0,O=m.length;I=n)&&this.unuseView(a));for(var P,$,A,L,N=w?null:new Map,j=t;j=A.length)&&(a=this.addView(m,j,P,E,$),this.unuseView(a,!0),A=f.get($)),a=A[L],a.item=P,a.nr.used=!0,a.nr.index=j,a.nr.key=E,a.nr.type=$,N.set($,L+1),L++),g.set(E,a)),a.position=null===r?p[j-1].accumulator:j*r):a&&this.unuseView(a)}return this.$_startIndex=t,this.$_endIndex=n,this.emitUpdate&&this.$emit("update",t,n),clearTimeout(this.$_sortTimer),this.$_sortTimer=setTimeout(this.sortViews,300),{continuous:w}},getListenerTarget:function(){var e=r()(this.$el);return!window.document||e!==window.document.documentElement&&e!==window.document.body||(e=window),e},getScroll:function(){var e,t=this.$el,n=this.direction,i="vertical"===n;if(this.pageMode){var a=t.getBoundingClientRect(),s=i?a.height:a.width,r=-(i?a.top:a.left),o=i?window.innerHeight:window.innerWidth;r<0&&(o+=r,r=0),r+o>s&&(o=s-r),e={start:r,end:r+o}}else e=i?{start:t.scrollTop,end:t.scrollTop+t.clientHeight}:{start:t.scrollLeft,end:t.scrollLeft+t.clientWidth};return e},applyPageMode:function(){this.pageMode?this.addListeners():this.removeListeners()},addListeners:function(){this.listenerTarget=this.getListenerTarget(),this.listenerTarget.addEventListener("scroll",this.handleScroll,!!v&&{passive:!0}),this.listenerTarget.addEventListener("resize",this.handleResize)},removeListeners:function(){this.listenerTarget&&(this.listenerTarget.removeEventListener("scroll",this.handleScroll),this.listenerTarget.removeEventListener("resize",this.handleResize),this.listenerTarget=null)},scrollToItem:function(e){var t;t=null===this.itemSize?e>0?this.sizes[e-1].accumulator:0:e*this.itemSize,this.scrollToPosition(t)},scrollToPosition:function(e){"vertical"===this.direction?this.$el.scrollTop=e:this.$el.scrollLeft=e},itemsLimitError:function(){var e=this;throw setTimeout((function(){console.log("It seems the scroller element isn't scrolling, so it tries to render all the items at once.","Scroller:",e.$el),console.log("Make sure the scroller has a fixed height (or width) and 'overflow-y' (or 'overflow-x') set to 'auto' so it can scroll correctly and only render the items visible in the scroll viewport.")})),new Error("Rendered items limit reached")},sortViews:function(){this.pool.sort((function(e,t){return e.nr.index-t.nr.index}))}}};function S(e,t,n,i,a,s,r,o,l,c){"boolean"!==typeof r&&(l=o,o=r,r=!1);const d="function"===typeof n?n.options:n;let u;if(e&&e.render&&(d.render=e.render,d.staticRenderFns=e.staticRenderFns,d._compiled=!0,a&&(d.functional=!0)),i&&(d._scopeId=i),s?(u=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,l(e)),e&&e._registeredComponents&&e._registeredComponents.add(s)},d._ssrRegister=u):t&&(u=r?function(e){t.call(this,c(e,this.$root.$options.shadowRoot))}:function(e){t.call(this,o(e))}),u)if(d.functional){const e=d.render;d.render=function(t,n){return u.call(n),e(t,n)}}else{const e=d.beforeCreate;d.beforeCreate=e?[].concat(e,u):[u]}return n}const C=_;var k=function(){var e,t,n=this,i=n.$createElement,a=n._self._c||i;return a("div",{directives:[{name:"observe-visibility",rawName:"v-observe-visibility",value:n.handleVisibilityChange,expression:"handleVisibilityChange"}],staticClass:"vue-recycle-scroller",class:(e={ready:n.ready,"page-mode":n.pageMode},e["direction-"+n.direction]=!0,e),on:{"&scroll":function(e){return n.handleScroll(e)}}},[n.$slots.before?a("div",{staticClass:"vue-recycle-scroller__slot"},[n._t("before")],2):n._e(),n._v(" "),a("div",{ref:"wrapper",staticClass:"vue-recycle-scroller__item-wrapper",style:(t={},t["vertical"===n.direction?"minHeight":"minWidth"]=n.totalSize+"px",t)},n._l(n.pool,(function(e){return a("div",{key:e.nr.id,staticClass:"vue-recycle-scroller__item-view",class:{hover:n.hoverKey===e.nr.key},style:n.ready?{transform:"translate"+("vertical"===n.direction?"Y":"X")+"("+e.position+"px)"}:null,on:{mouseenter:function(t){n.hoverKey=e.nr.key},mouseleave:function(e){n.hoverKey=null}}},[n._t("default",null,{item:e.item,index:e.nr.index,active:e.nr.used})],2)})),0),n._v(" "),n.$slots.after?a("div",{staticClass:"vue-recycle-scroller__slot"},[n._t("after")],2):n._e(),n._v(" "),a("ResizeObserver",{on:{notify:n.handleResize}})],1)},w=[];k._withStripped=!0;const I=void 0,O=void 0,x=void 0,D=!1,P=S({render:k,staticRenderFns:w},I,C,O,D,x,!1,void 0,void 0,void 0);var $={name:"DynamicScroller",components:{RecycleScroller:P},inheritAttrs:!1,provide:function(){return"undefined"!==typeof ResizeObserver&&(this.$_resizeObserver=new ResizeObserver((function(e){var t,n=f(e);try{for(n.s();!(t=n.n()).done;){var i=t.value;if(i.target){var a=new CustomEvent("resize",{detail:{contentRect:i.contentRect}});i.target.dispatchEvent(a)}}}catch(s){n.e(s)}finally{n.f()}}))),{vscrollData:this.vscrollData,vscrollParent:this,vscrollResizeObserver:this.$_resizeObserver}},props:h({},m,{minItemSize:{type:[Number,String],required:!0}}),data:function(){return{vscrollData:{active:!0,sizes:{},validSizes:{},keyField:this.keyField,simpleArray:!1}}},computed:{simpleArray:y,itemsWithSize:function(){for(var e=[],t=this.items,n=this.keyField,i=this.simpleArray,a=this.vscrollData.sizes,s=0;s0&&void 0!==arguments[0])||arguments[0];(e||this.simpleArray)&&(this.vscrollData.validSizes={}),this.$emit("vscroll:update",{force:!0})},scrollToItem:function(e){var t=this.$refs.scroller;t&&t.scrollToItem(e)},getItemSize:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=this.simpleArray?null!=t?t:this.items.indexOf(e):e[this.keyField];return this.vscrollData.sizes[n]||0},scrollToBottom:function(){var e=this;if(!this.$_scrollingToBottom){this.$_scrollingToBottom=!0;var t=this.$el;this.$nextTick((function(){t.scrollTop=t.scrollHeight+5e3;var n=function n(){t.scrollTop=t.scrollHeight+5e3,requestAnimationFrame((function(){t.scrollTop=t.scrollHeight+5e3,0===e.$_undefinedSizes?e.$_scrollingToBottom=!1:requestAnimationFrame(n)}))};requestAnimationFrame(n)}))}}}};const A=$;var L=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("RecycleScroller",e._g(e._b({ref:"scroller",attrs:{items:e.itemsWithSize,"min-item-size":e.minItemSize,direction:e.direction,"key-field":"id"},on:{resize:e.onScrollerResize,visible:e.onScrollerVisible},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.item,i=t.index,a=t.active;return[e._t("default",null,null,{item:n.item,index:i,active:a,itemWithSize:n})]}}],null,!0)},"RecycleScroller",e.$attrs,!1),e.listeners),[e._v(" "),n("template",{slot:"before"},[e._t("before")],2),e._v(" "),n("template",{slot:"after"},[e._t("after")],2)],2)},N=[];L._withStripped=!0;const j=void 0,E=void 0,B=void 0,R=!1,M=S({render:L,staticRenderFns:N},j,A,E,R,B,!1,void 0,void 0,void 0);var K={name:"DynamicScrollerItem",inject:["vscrollData","vscrollParent","vscrollResizeObserver"],props:{item:{required:!0},watchData:{type:Boolean,default:!1},active:{type:Boolean,required:!0},index:{type:Number,default:void 0},sizeDependencies:{type:[Array,Object],default:null},emitResize:{type:Boolean,default:!1},tag:{type:String,default:"div"}},computed:{id:function(){return this.vscrollData.simpleArray?this.index:this.item[this.vscrollData.keyField]},size:function(){return this.vscrollData.validSizes[this.id]&&this.vscrollData.sizes[this.id]||0},finalActive:function(){return this.active&&this.vscrollData.active}},watch:{watchData:"updateWatchData",id:function(){this.size||this.onDataUpdate()},finalActive:function(e){this.size||(e?this.vscrollParent.$_undefinedMap[this.id]||(this.vscrollParent.$_undefinedSizes++,this.vscrollParent.$_undefinedMap[this.id]=!0):this.vscrollParent.$_undefinedMap[this.id]&&(this.vscrollParent.$_undefinedSizes--,this.vscrollParent.$_undefinedMap[this.id]=!1)),this.vscrollResizeObserver?e?this.observeSize():this.unobserveSize():e&&this.$_pendingVScrollUpdate===this.id&&this.updateSize()}},created:function(){var e=this;if(!this.$isServer&&(this.$_forceNextVScrollUpdate=null,this.updateWatchData(),!this.vscrollResizeObserver)){var t=function(t){e.$watch((function(){return e.sizeDependencies[t]}),e.onDataUpdate)};for(var n in this.sizeDependencies)t(n);this.vscrollParent.$on("vscroll:update",this.onVscrollUpdate),this.vscrollParent.$on("vscroll:update-size",this.onVscrollUpdateSize)}},mounted:function(){this.vscrollData.active&&(this.updateSize(),this.observeSize())},beforeDestroy:function(){this.vscrollParent.$off("vscroll:update",this.onVscrollUpdate),this.vscrollParent.$off("vscroll:update-size",this.onVscrollUpdateSize),this.unobserveSize()},methods:{updateSize:function(){this.finalActive?this.$_pendingSizeUpdate!==this.id&&(this.$_pendingSizeUpdate=this.id,this.$_forceNextVScrollUpdate=null,this.$_pendingVScrollUpdate=null,this.computeSize(this.id)):this.$_forceNextVScrollUpdate=this.id},updateWatchData:function(){var e=this;this.watchData?this.$_watchData=this.$watch("data",(function(){e.onDataUpdate()}),{deep:!0}):this.$_watchData&&(this.$_watchData(),this.$_watchData=null)},onVscrollUpdate:function(e){var t=e.force;!this.finalActive&&t&&(this.$_pendingVScrollUpdate=this.id),this.$_forceNextVScrollUpdate!==this.id&&!t&&this.size||this.updateSize()},onDataUpdate:function(){this.updateSize()},computeSize:function(e){var t=this;this.$nextTick((function(){if(t.id===e){var n=t.$el.offsetWidth,i=t.$el.offsetHeight;t.applySize(n,i)}t.$_pendingSizeUpdate=null}))},applySize:function(e,t){var n=Math.round("vertical"===this.vscrollParent.direction?t:e);n&&this.size!==n&&(this.vscrollParent.$_undefinedMap[this.id]&&(this.vscrollParent.$_undefinedSizes--,this.vscrollParent.$_undefinedMap[this.id]=void 0),this.$set(this.vscrollData.sizes,this.id,n),this.$set(this.vscrollData.validSizes,this.id,!0),this.emitResize&&this.$emit("resize",this.id))},observeSize:function(){this.vscrollResizeObserver&&(this.vscrollResizeObserver.observe(this.$el.parentNode),this.$el.parentNode.addEventListener("resize",this.onResize))},unobserveSize:function(){this.vscrollResizeObserver&&(this.vscrollResizeObserver.unobserve(this.$el.parentNode),this.$el.parentNode.removeEventListener("resize",this.onResize))},onResize:function(e){var t=e.detail.contentRect,n=t.width,i=t.height;this.applySize(n,i)}},render:function(e){return e(this.tag,this.$slots.default)}};const z=K,F=void 0,q=void 0,H=void 0,V=void 0,W=S({},F,z,q,V,H,!1,void 0,void 0,void 0);function U(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.idProp,n=void 0===t?function(e){return e.item.id}:t,i={},a=new o["default"]({data:function(){return{store:i}}});return{data:function(){return{idState:null}},created:function(){var e=this;this.$_id=null,this.$_getId="function"===typeof n?function(){return n.call(e,e)}:function(){return e[n]},this.$watch(this.$_getId,{handler:function(e){var t=this;this.$nextTick((function(){t.$_id=e}))},immediate:!0}),this.$_updateIdState()},beforeUpdate:function(){this.$_updateIdState()},methods:{$_idStateInit:function(e){var t=this.$options.idState;if("function"===typeof t){var n=t.call(this,this);return a.$set(i,e,n),this.$_id=e,n}throw new Error("[mixin IdState] Missing `idState` function on component definition.")},$_updateIdState:function(){var e=this.$_getId();null==e&&console.warn("No id found for IdState with idProp: '".concat(n,"'.")),e!==this.$_id&&(i[e]||this.$_idStateInit(e),this.idState=i[e])}}}}function G(e,t){e.component("".concat(t,"recycle-scroller"),P),e.component("".concat(t,"RecycleScroller"),P),e.component("".concat(t,"dynamic-scroller"),M),e.component("".concat(t,"DynamicScroller"),M),e.component("".concat(t,"dynamic-scroller-item"),W),e.component("".concat(t,"DynamicScrollerItem"),W)}var Q={version:"1.0.10",install:function(e,t){var n=Object.assign({},{installComponents:!0,componentsPrefix:""},t);for(var i in n)"undefined"!==typeof n[i]&&(l[i]=n[i]);n.installComponents&&G(e,n.componentsPrefix)}},X=null;"undefined"!==typeof window?X=window.Vue:"undefined"!==typeof e&&(X=e.Vue),X&&X.use(Q)}).call(this,n("c8ba"))},e5a5:function(e,t,n){"use strict";n("f0a3")},e81e:function(e,t,n){"use strict";n("370f")},ed83:function(e,t,n){var i,a,s;(function(n,r){a=[],i=r,s="function"===typeof i?i.apply(t,a):i,void 0===s||(e.exports=s)})(0,(function(){var e=/(auto|scroll)/,t=function(e,n){return null===e.parentNode?n:t(e.parentNode,n.concat([e]))},n=function(e,t){return getComputedStyle(e,null).getPropertyValue(t)},i=function(e){return n(e,"overflow")+n(e,"overflow-y")+n(e,"overflow-x")},a=function(t){return e.test(i(t))},s=function(e){if(e instanceof HTMLElement||e instanceof SVGElement){for(var n=t(e.parentNode,[]),i=0;i({"~0":"~","~1":"/"}[e]||e))}function*o(e){const t=1;if(e.lengtht)throw new Error("invalid array index "+e);return n}function*p(e,t,n={strict:!1}){let i=e;for(const a of o(t)){if(n.strict&&!Object.prototype.hasOwnProperty.call(i,a))throw new u(t);i=i[a],yield{node:i,token:a}}}function g(e,t){let n=e;for(const{node:i}of p(e,t,{strict:!0}))n=i;return n}function f(e,t,n){let i=null,a=e,s=null;for(const{node:o,token:l}of p(e,t))i=a,a=o,s=l;if(!i)throw new u(t);if(Array.isArray(i))try{const e=h(s,i);i.splice(e,0,n)}catch(r){throw new u(t)}else Object.assign(i,{[s]:n});return e}function m(e,t){let n=null,i=e,a=null;for(const{node:r,token:o}of p(e,t))n=i,i=r,a=o;if(!n)throw new u(t);if(Array.isArray(n))try{const e=h(a,n);n.splice(e,1)}catch(s){throw new u(t)}else{if(!i)throw new u(t);delete n[a]}return e}function y(e,t,n){return m(e,t),f(e,t,n),e}function v(e,t,n){const i=g(e,t);return m(e,t),f(e,n,i),e}function b(e,t,n){return f(e,n,g(e,t)),e}function T(e,t,n){function i(e,t){const n=typeof e,a=typeof t;if(n!==a)return!1;switch(n){case d:{const n=Object.keys(e),a=Object.keys(t);return n.length===a.length&&n.every((n,s)=>n===a[s]&&i(e[n],t[n]))}default:return e===t}}const a=g(e,t);if(!i(n,a))throw new Error("test failed");return e}const _={add:(e,{path:t,value:n})=>f(e,t,n),copy:(e,{from:t,path:n})=>b(e,t,n),move:(e,{from:t,path:n})=>v(e,t,n),remove:(e,{path:t})=>m(e,t),replace:(e,{path:t,value:n})=>y(e,t,n),test:(e,{path:t,value:n})=>T(e,t,n)};function S(e,{op:t,...n}){const i=_[t];if(!i)throw new Error("unknown operation");return i(e,n)}function C(e,t){return t.reduce(S,e)}var k=n("66cd"),w=n("25a9"),I=n("2b88"),O=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"doc-topic",class:{"with-on-this-page":e.enableOnThisPageNav&&e.isOnThisPageNavVisible}},[n("main",{staticClass:"main",attrs:{id:"main",role:"main",tabindex:"0"}},[n("DocumentationHero",{attrs:{role:e.role,enhanceBackground:e.enhanceBackground,shortHero:e.shortHero,shouldShowLanguageSwitcher:e.shouldShowLanguageSwitcher,iconOverride:e.references[e.pageIcon]},scopedSlots:e._u([{key:"above-content",fn:function(){return[e._t("above-hero-content")]},proxy:!0}],null,!0)},[e._t("above-title"),e.shouldShowLanguageSwitcher?n("LanguageSwitcher",{attrs:{interfaceLanguage:e.interfaceLanguage,objcPath:e.objcPath,swiftPath:e.swiftPath}}):e._e(),e.enableMinimized?e._e():n("Title",{attrs:{eyebrow:e.roleHeading}},[n(e.titleBreakComponent,{tag:"component"},[e._v(e._s(e.title))]),e.isSymbolDeprecated||e.isSymbolBeta?n("small",{class:e.tagName,attrs:{slot:"after","data-tag-name":e.tagName},slot:"after"}):e._e()],1),e.abstract?n("Abstract",{attrs:{content:e.abstract}}):e._e(),e.sampleCodeDownload?n("div",[n("DownloadButton",{staticClass:"sample-download",attrs:{action:e.sampleCodeDownload.action}})],1):e._e(),e.shouldShowAvailability?n("Availability",{attrs:{platforms:e.platforms,technologies:e.technologies}}):e._e()],2),n("div",{staticClass:"doc-content-wrapper"},[n("div",{staticClass:"doc-content",class:{"no-primary-content":!e.hasPrimaryContent}},[e.hasPrimaryContent?n("div",{staticClass:"container"},[n("div",{staticClass:"description",class:{"after-enhanced-hero":e.enhanceBackground}},[e.isRequirement?n("RequirementMetadata",{attrs:{defaultImplementationsCount:e.defaultImplementationsCount}}):e._e(),e.deprecationSummary&&e.deprecationSummary.length?n("Aside",{attrs:{kind:"deprecated"}},[n("ContentNode",{attrs:{content:e.deprecationSummary}})],1):e._e(),e.downloadNotAvailableSummary&&e.downloadNotAvailableSummary.length?n("Aside",{attrs:{kind:"note"}},[n("ContentNode",{attrs:{content:e.downloadNotAvailableSummary}})],1):e._e()],1),e.primaryContentSections&&e.primaryContentSections.length?n("PrimaryContent",{class:{"with-border":!e.enhanceBackground&&!e.enableMinimized},attrs:{conformance:e.conformance,source:e.remoteSource,sections:e.primaryContentSections}}):e._e()],1):e._e(),e.shouldRenderTopicSection?n("Topics",{attrs:{sections:e.topicSections,isSymbolDeprecated:e.isSymbolDeprecated,isSymbolBeta:e.isSymbolBeta,topicStyle:e.topicSectionsStyle}}):e._e(),e.defaultImplementationsSections&&!e.enableMinimized?n("DefaultImplementations",{attrs:{sections:e.defaultImplementationsSections,isSymbolDeprecated:e.isSymbolDeprecated,isSymbolBeta:e.isSymbolBeta}}):e._e(),e.relationshipsSections&&!e.enableMinimized?n("Relationships",{attrs:{sections:e.relationshipsSections}}):e._e(),e.seeAlsoSections&&!e.enableMinimized?n("SeeAlso",{attrs:{sections:e.seeAlsoSections}}):e._e()],1),e.enableOnThisPageNav?[n("OnThisPageStickyContainer",{directives:[{name:"show",rawName:"v-show",value:e.isOnThisPageNavVisible,expression:"isOnThisPageNavVisible"}]},[e.topicState.onThisPageSections.length>2?n("OnThisPageNav"):e._e()],1)]:e._e()],2),!e.isTargetIDE&&e.hasBetaContent?n("BetaLegalText"):e._e()],1),n("div",{staticClass:"visuallyhidden",attrs:{"aria-live":"polite"}},[e._v(" Current page is "+e._s(e.pageTitle)+" ")])])},x=[],D=n("8649"),P=n("bf08"),$=n("e3ab"),A=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"betainfo"},[n("div",{staticClass:"betainfo-container"},[n("GridRow",[n("GridColumn",{attrs:{span:{large:12}}},[n("p",{staticClass:"betainfo-label"},[e._v("Beta Software")]),n("div",{staticClass:"betainfo-content"},[e._t("content",(function(){return[n("p",[e._v("This documentation refers to beta software and may be changed.")])]}))],2),e._t("after")],2)],1)],1)])},L=[],N=n("0f00"),j=n("620a"),E={name:"BetaLegalText",components:{GridColumn:j["a"],GridRow:N["a"]}},B=E,R=(n("5c33"),n("2877")),M=Object(R["a"])(B,A,L,!1,null,"0f5e5efb",null),K=M.exports,z=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Section",{staticClass:"language",attrs:{role:"complementary","aria-label":"Language"}},[n("Title",[e._v("Language: ")]),n("div",{staticClass:"language-list"},[n("LanguageSwitcherLink",{staticClass:"language-option swift",class:{active:e.swift.active},attrs:{url:e.swift.active?null:e.swift.url},on:{click:function(t){return e.chooseLanguage(e.swift)}}},[e._v(" "+e._s(e.swift.name)+" ")]),n("LanguageSwitcherLink",{staticClass:"language-option objc",class:{active:e.objc.active},attrs:{url:e.objc.active?null:e.objc.url},on:{click:function(t){return e.chooseLanguage(e.objc)}}},[e._v(" "+e._s(e.objc.name)+" ")])],1)],1)},F=[],q=n("d26a"),H=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.url?n("a",{attrs:{href:e.url},on:{click:function(t){return t.preventDefault(),e.$emit("click")}}},[e._t("default")],2):n("span",[e._t("default")],2)},V=[],W={name:"LanguageSwitcherLink",props:{url:[String,Object]}},U=W,G=Object(R["a"])(U,H,V,!1,null,null,null),Q=G.exports,X=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"summary-section"},[e._t("default")],2)},Y=[],J={name:"Section"},Z=J,ee=(n("1347"),Object(R["a"])(Z,X,Y,!1,null,"3aa6f694",null)),te=ee.exports,ne=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("p",{staticClass:"title"},[e._t("default")],2)},ie=[],ae={name:"Title"},se=ae,re=(n("ede5"),Object(R["a"])(se,ne,ie,!1,null,"6796f6ea",null)),oe=re.exports,le={name:"LanguageSwitcher",components:{LanguageSwitcherLink:Q,Section:te,Title:oe},inject:{isTargetIDE:{default:()=>!1},store:{default(){return{setPreferredLanguage(){}}}}},props:{interfaceLanguage:{type:String,required:!0},objcPath:{type:String,required:!0},swiftPath:{type:String,required:!0}},computed:{objc:({interfaceLanguage:e,normalizePath:t,objcPath:n,$route:{query:i}})=>({...D["a"].objectiveC,active:D["a"].objectiveC.key.api===e,url:Object(q["b"])(t(n),{...i,language:D["a"].objectiveC.key.url})}),swift:({interfaceLanguage:e,normalizePath:t,swiftPath:n,$route:{query:i}})=>({...D["a"].swift,active:D["a"].swift.key.api===e,url:Object(q["b"])(t(n),{...i,language:void 0})})},methods:{chooseLanguage(e){this.isTargetIDE||this.store.setPreferredLanguage(e.key.url),this.$router.push(e.url)},normalizePath(e){return e.startsWith("/")?e:"/"+e}}},ce=le,de=(n("4539"),Object(R["a"])(ce,z,F,!1,null,"0de98d61",null)),ue=de.exports,he=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["documentation-hero",{"documentation-hero--disabled":!e.enhanceBackground,"theme-dark":e.enhanceBackground}],style:e.styles},[n("div",{staticClass:"icon"},[e.enhanceBackground?n("TopicTypeIcon",{key:"first",staticClass:"background-icon first-icon",attrs:{type:e.type,"image-override":e.iconOverride,"with-colors":""}}):e._e()],1),n("div",{staticClass:"documentation-hero__above-content"},[e._t("above-content")],2),n("div",{staticClass:"documentation-hero__content",class:{"short-hero":e.shortHero,"extra-bottom-padding":e.shouldShowLanguageSwitcher}},[e._t("default")],2)])},pe=[],ge=n("f12c"),fe=n("31d4"),me=n("2cae"),ye={name:"DocumentationHero",components:{TopicTypeIcon:ge["a"]},props:{role:{type:String,required:!0},enhanceBackground:{type:Boolean,required:!0},shortHero:{type:Boolean,required:!0},shouldShowLanguageSwitcher:{type:Boolean,required:!0},iconOverride:{type:Object,required:!1}},computed:{color:({type:e})=>me["b"][fe["a"][e]||e]||me["a"].teal,styles:({color:e})=>({"--accent-color":`var(--color-documentation-intro-accent, var(--color-type-icon-${e}, var(--color-figure-gray-secondary)))`}),type:({role:e})=>{switch(e){case k["a"].collection:return fe["b"].module;case k["a"].collectionGroup:return fe["b"].collection;default:return e}}}},ve=ye,be=(n("e3c9"),Object(R["a"])(ve,he,pe,!1,null,"3ec838d1",null)),Te=be.exports,_e=n("7b1f"),Se=n("12b1"),Ce=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"OnThisPageNav"},[n("ul",{staticClass:"items"},e._l(e.onThisPageSections,(function(t){return n("li",{key:t.anchor,class:e.getItemClasses(t)},[n("router-link",{staticClass:"base-link",attrs:{to:t.url},nativeOn:{click:function(n){return e.handleFocusAndScroll(t.anchor)}}},[n("WordBreak",[e._v(e._s(t.title))])],1)],1)})),0)])},ke=[];function we(e,t){let n,i;return function(...a){const s=this;if(!i)return e.apply(s,a),void(i=Date.now());clearTimeout(n),n=setTimeout(()=>{Date.now()-i>=t&&(e.apply(s,a),i=Date.now())},t-(Date.now()-i))}}var Ie=n("3908"),Oe=n("8a61"),xe={name:"OnThisPageNav",components:{WordBreak:_e["a"]},mixins:[Oe["a"]],inject:{store:{default(){return{state:{onThisPageSections:[],currentPageAnchor:null}}}}},computed:{onThisPageSections:({store:e,$route:t})=>e.state.onThisPageSections.map(e=>({...e,url:Object(q["b"])("#"+e.anchor,t.query)})),currentPageAnchor:({store:e})=>e.state.currentPageAnchor},async mounted(){window.addEventListener("scroll",this.onScroll,!1),this.$once("hook:beforeDestroy",()=>{window.removeEventListener("scroll",this.onScroll)})},watch:{onThisPageSections:{immediate:!0,async handler(){await Object(Ie["b"])(8),this.onScroll()}}},methods:{onScroll:we((function(){const e=this.onThisPageSections.length;if(!e)return;const{scrollY:t,innerHeight:n}=window,{scrollHeight:i}=document.body,a=t+n>=i,s=t<=0,r=.3*n+t;if(s||a){const t=s?0:e-1;return void this.store.setCurrentPageSection(this.onThisPageSections[t].anchor)}let o,l,c=null;for(o=0;ot||Object(it["a"])(e||""),className:()=>at}},rt=st,ot=(n("46c5"),Object(R["a"])(rt,tt,nt,!1,null,"4aae1079",null)),lt=ot.exports,ct=n("2a18"),dt={name:"TopicsTable",inject:{references:{default(){return{}}}},components:{TopicsLinkCardGrid:Ue["a"],WordBreak:_e["a"],ContentTable:et,TopicsLinkBlock:ct["default"],ContentNode:Ne["a"],ContentTableSection:lt,LinkableHeading:Ge["a"]},props:{isSymbolDeprecated:Boolean,isSymbolBeta:Boolean,sections:{type:Array,required:!0},title:{type:String,required:!1,default(){return"Topics"}},anchor:{type:String,required:!1,default(){return"topics"}},wrapTitle:{type:Boolean,default:!1},topicStyle:{type:String,default:Se["a"].list}},computed:{shouldRenderList:({topicStyle:e})=>e===Se["a"].list,sectionsWithTopics(){return this.sections.map(e=>({...e,topics:e.identifiers.reduce((e,t)=>this.references[t]?e.concat(this.references[t]):e,[])}))}}},ut=dt,ht=(n("4b9a"),Object(R["a"])(ut,Ve,We,!1,null,"6cec8012",null)),pt=ht.exports,gt={name:"DefaultImplementations",components:{TopicsTable:pt},computed:{contentSectionData:()=>qe.defaultImplementations},props:{isSymbolDeprecated:Boolean,isSymbolBeta:Boolean,sections:pt.props.sections}},ft=gt,mt=Object(R["a"])(ft,Ke,ze,!1,null,null,null),yt=mt.exports,vt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"primary-content"},e._l(e.sections,(function(t,i){return n(e.componentFor(t),e._b({key:i,tag:"component"},"component",e.propsFor(t),!1))})),1)},bt=[],Tt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",[n("LinkableHeading",{attrs:{anchor:e.contentSectionData.anchor}},[e._v(" "+e._s(e.contentSectionData.title)+" ")]),n("dl",{staticClass:"datalist"},[e._l(e.values,(function(t){return[n("dt",{key:t.name+":name",staticClass:"param-name"},[n("WordBreak",{attrs:{tag:"code"}},[e._v(e._s(t.name))])],1),t.content?n("dd",{key:t.name+":content",staticClass:"value-content"},[n("ContentNode",{attrs:{content:t.content}})],1):e._e()]}))],2)],1)},_t=[],St=n("5677"),Ct={name:"PossibleValues",components:{ContentNode:St["default"],LinkableHeading:Ge["a"],WordBreak:_e["a"]},props:{values:{type:Array,required:!0}},computed:{contentSectionData:()=>He[Fe.possibleValues]}},kt=Ct,wt=(n("719b"),Object(R["a"])(kt,Tt,_t,!1,null,null,null)),It=wt.exports,Ot=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",[n("LinkableHeading",{attrs:{anchor:e.anchor}},[e._v(e._s(e.title))]),n("DeclarationSource",{attrs:{tokens:e.tokens}})],1)},xt=[],Dt=function(){var e,t=this,n=t.$createElement,i=t._self._c||n;return i("pre",{ref:"declarationGroup",staticClass:"source",class:(e={},e[t.multipleLinesClass]=t.hasMultipleLines,e)},[i("code",{ref:"code"},t._l(t.formattedTokens,(function(e,n){return i("Token",t._b({key:n},"Token",t.propsFor(e),!1))})),1)])},Pt=[];function $t(e){const t=e.getElementsByClassName("token-identifier");if(t.length<2)return;const n=e.textContent.indexOf(":")+1;for(let i=1;iObject(jt["c"])(["theme","code","indentationWidth"],Rt),formattedTokens:({language:e,formattedSwiftTokens:t,tokens:n})=>e===D["a"].swift.key.api?t:n,formattedSwiftTokens:({indentationWidth:e,tokens:t})=>{const n=" ".repeat(e);let i=!1;const a=[];let s=0,r=1,o=null,l=null,c=null,d=null,u=0;while(sObject(it["a"])(e)}},Ht=qt,Vt=Object(R["a"])(Ht,Ot,xt,!1,null,null,null),Wt=Vt.exports,Ut=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"declaration"},[n("LinkableHeading",{attrs:{anchor:e.contentSectionData.anchor}},[e._v(" "+e._s(e.contentSectionData.title)+" ")]),e.hasModifiedChanges?[n("DeclarationDiff",{class:[e.changeClasses,e.multipleLinesClass],attrs:{changes:e.declarationChanges,changeType:e.changeType}})]:e._l(e.declarations,(function(t,i){return n("DeclarationGroup",{key:i,class:e.changeClasses,attrs:{declaration:t,shouldCaption:e.hasPlatformVariants,changeType:e.changeType}})})),e.source?n("DeclarationSourceLink",{attrs:{url:e.source.url,fileName:e.source.fileName}}):e._e(),e.conformance?n("ConditionalConstraints",{attrs:{constraints:e.conformance.constraints,prefix:e.conformance.availabilityPrefix}}):e._e()],2)},Gt=[],Qt=n("64cf"),Xt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"apiChangesDiff",staticClass:"declaration-group",class:e.classes},[e.shouldCaption?n("p",{staticClass:"platforms"},[n("strong",[e._v(e._s(e.caption))])]):e._e(),n("Source",{attrs:{tokens:e.declaration.tokens,language:e.interfaceLanguage}})],1)},Yt=[],Jt=n("5d59"),Zt={name:"DeclarationGroup",components:{Source:Ft},mixins:[Jt["a"]],inject:{languages:{default:()=>new Set},interfaceLanguage:{default:()=>D["a"].swift.key.api},symbolKind:{default:()=>{}}},props:{declaration:{type:Object,required:!0},shouldCaption:{type:Boolean,default:!1},changeType:{type:String,required:!1}},computed:{classes:({changeType:e,multipleLinesClass:t,hasMultipleLinesAfterAPIChanges:n})=>({["declaration-group--changed declaration-group--"+e]:e,[t]:n}),caption(){return this.declaration.platforms.join(", ")},isSwift:({interfaceLanguage:e})=>e===D["a"].swift.key.api}},en=Zt,tn=(n("a40c"),Object(R["a"])(en,Xt,Yt,!1,null,"c5ecdd3e",null)),nn=tn.exports,an=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"declaration-diff"},[n("div",{staticClass:"declaration-diff-current"},[n("div",{staticClass:"declaration-diff-version"},[e._v("Current")]),e._l(e.currentDeclarations,(function(t,i){return n("DeclarationGroup",{key:i,attrs:{declaration:t,"should-caption":e.currentDeclarations.length>1,changeType:e.changeType}})}))],2),n("div",{staticClass:"declaration-diff-previous"},[n("div",{staticClass:"declaration-diff-version"},[e._v("Previous")]),e._l(e.previousDeclarations,(function(t,i){return n("DeclarationGroup",{key:i,attrs:{declaration:t,"should-caption":e.previousDeclarations.length>1,changeType:e.changeType}})}))],2)])},sn=[],rn={name:"DeclarationDiff",components:{DeclarationGroup:nn},props:{changes:{type:Object,required:!0},changeType:{type:String,required:!0}},computed:{previousDeclarations:({changes:e})=>e.declaration.previous||[],currentDeclarations:({changes:e})=>e.declaration.new||[]}},on=rn,ln=(n("7a2c"),Object(R["a"])(on,an,sn,!1,null,"b3e21c4a",null)),cn=ln.exports,dn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("a",{staticClass:"declaration-source-link",attrs:{href:e.url,title:"Open source file for "+e.fileName,target:"_blank"}},[e.isSwiftFile?n("SwiftFileIcon",{staticClass:"declaration-icon"}):e._e(),n("WordBreak",[e._v(e._s(e.fileName))])],1)},un=[],hn=n("a88f"),pn={name:"DeclarationSourceLink",components:{WordBreak:_e["a"],SwiftFileIcon:hn["a"]},props:{url:{type:String,required:!0},fileName:{type:String,required:!0}},computed:{isSwiftFile:({fileName:e})=>e.endsWith(".swift")}},gn=pn,fn=(n("2dc5"),Object(R["a"])(gn,dn,un,!1,null,"ad6ea67c",null)),mn=fn.exports,yn=n("b5cf"),vn={name:"Declaration",components:{DeclarationDiff:cn,DeclarationGroup:nn,DeclarationSourceLink:mn,ConditionalConstraints:Qt["a"],LinkableHeading:Ge["a"]},constants:{ChangeTypes:yn["c"],multipleLinesClass:Nt["a"]},inject:["identifier","store"],data:({store:{state:e}})=>({state:e,multipleLinesClass:Nt["a"]}),props:{conformance:{type:Object,required:!1},source:{type:Object,required:!1},declarations:{type:Array,required:!0}},computed:{contentSectionData:()=>He[Fe.declarations],hasPlatformVariants(){return this.declarations.length>1},hasModifiedChanges({declarationChanges:e}){if(!e||!e.declaration)return!1;const t=e.declaration;return!(!(t.new||[]).length||!(t.previous||[]).length)},declarationChanges:({state:{apiChanges:e},identifier:t})=>e&&e[t],changeType:({declarationChanges:e,hasModifiedChanges:t})=>{if(!e)return;const n=e.declaration;return n?t?yn["c"].modified:e.change:e.change===yn["c"].added?yn["c"].added:void 0},changeClasses:({changeType:e})=>({["changed changed-"+e]:e})}},bn=vn,Tn=(n("7d0e"),Object(R["a"])(bn,Ut,Gt,!1,null,"586930aa",null)),_n=Tn.exports,Sn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"details"},[n("LinkableHeading",{attrs:{anchor:e.contentSectionData.anchor}},[e._v(" "+e._s(e.contentSectionData.title)+" ")]),n("dl",[e.isSymbol?[n("dt",{key:e.details.name+":name",staticClass:"detail-type"},[e._v(" Name ")]),n("dd",{key:e.details.ideTitle+":content",staticClass:"detail-content"},[e._v(" "+e._s(e.details.ideTitle)+" ")])]:e._e(),e.isTitle?[n("dt",{key:e.details.name+":key",staticClass:"detail-type"},[e._v(" Key ")]),n("dd",{key:e.details.ideTitle+":content",staticClass:"detail-content"},[e._v(" "+e._s(e.details.name)+" ")])]:e._e(),n("dt",{key:e.details.name+":type",staticClass:"detail-type"},[e._v(" Type ")]),n("dd",{staticClass:"detail-content"},[n("PropertyListKeyType",{attrs:{types:e.details.value}})],1)],2)],1)},Cn=[],kn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"type"},[e._v(e._s(e.typeOutput))])},wn=[],In={name:"PropertyListKeyType",props:{types:{type:Array,required:!0}},computed:{englishTypes(){return this.types.map(({arrayMode:e,baseType:t="*"})=>e?"array of "+this.pluralizeKeyType(t):t)},typeOutput(){return this.englishTypes.length>2?[this.englishTypes.slice(0,this.englishTypes.length-1).join(", "),this.englishTypes[this.englishTypes.length-1]].join(", or "):this.englishTypes.join(" or ")}},methods:{pluralizeKeyType(e){switch(e){case"dictionary":return"dictionaries";case"array":case"number":case"string":return e+"s";default:return e}}}},On=In,xn=(n("f7c0"),Object(R["a"])(On,kn,wn,!1,null,"791bac44",null)),Dn=xn.exports,Pn={name:"PropertyListKeyDetails",components:{PropertyListKeyType:Dn,LinkableHeading:Ge["a"]},props:{details:{type:Object,required:!0}},computed:{contentSectionData:()=>He[Fe.details],isTitle(){return"title"===this.details.titleStyle&&this.details.ideTitle},isSymbol(){return"symbol"===this.details.titleStyle&&this.details.ideTitle}}},$n=Pn,An=(n("c2c8"),Object(R["a"])($n,Sn,Cn,!1,null,"55ba4aa2",null)),Ln=An.exports,Nn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"parameters"},[n("LinkableHeading",{attrs:{anchor:e.contentSectionData.anchor}},[e._v(" "+e._s(e.contentSectionData.title)+" ")]),n("dl",[e._l(e.parameters,(function(t){return[n("dt",{key:t.name+":name",staticClass:"param-name"},[n("code",[e._v(e._s(t.name))])]),n("dd",{key:t.name+":content",staticClass:"param-content"},[n("ContentNode",{attrs:{content:t.content}})],1)]}))],2)],1)},jn=[],En={name:"Parameters",components:{ContentNode:Ne["a"],LinkableHeading:Ge["a"]},props:{parameters:{type:Array,required:!0}},computed:{contentSectionData:()=>He[Fe.parameters]}},Bn=En,Rn=(n("ac53"),Object(R["a"])(Bn,Nn,jn,!1,null,"ac6bef9a",null)),Mn=Rn.exports,Kn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",[n("LinkableHeading",{attrs:{anchor:e.anchor}},[e._v(e._s(e.title))]),n("ParametersTable",{staticClass:"property-table",attrs:{parameters:e.properties,changes:e.propertyChanges},scopedSlots:e._u([{key:"symbol",fn:function(t){var i=t.name,a=t.type,s=t.content,r=t.changes,o=t.deprecated;return[n("div",{staticClass:"property-name",class:{deprecated:o}},[n("WordBreak",{attrs:{tag:"code"}},[e._v(e._s(i))])],1),e.shouldShiftType({name:i,content:s})?e._e():n("PossiblyChangedType",{attrs:{type:a,changes:r.type}})]}},{key:"description",fn:function(t){var i=t.name,a=t.type,s=t.attributes,r=t.content,o=t.required,l=t.changes,c=t.deprecated,d=t.readOnly;return[e.shouldShiftType({name:i,content:r})?n("PossiblyChangedType",{attrs:{type:a,changes:l.type}}):e._e(),c?[n("Badge",{staticClass:"property-deprecated",attrs:{variant:"deprecated"}}),e._v("  ")]:e._e(),n("PossiblyChangedTextAttribute",{attrs:{changes:l.required,value:o}},[e._v("(Required) ")]),n("PossiblyChangedTextAttribute",{attrs:{changes:l.readOnly,value:d}},[e._v("(Read only) ")]),r?n("ContentNode",{attrs:{content:r}}):e._e(),n("ParameterAttributes",{attrs:{attributes:s,changes:l.attributes}})]}}])})],1)},zn=[],Fn={inject:["identifier","store"],data:({store:{state:e}})=>({state:e}),computed:{apiChanges:({state:{apiChanges:e},identifier:t})=>e&&e[t]}},qn=n("a0fd"),Hn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"parameters-table"},e._l(e.parameters,(function(t){return n("Row",{key:t[e.keyBy],staticClass:"param",class:e.changedClasses(t[e.keyBy])},[n("Column",{staticClass:"param-symbol",attrs:{span:{large:3,small:12}}},[e._t("symbol",null,null,e.getProps(t,e.changes[t[e.keyBy]]))],2),n("Column",{staticClass:"param-content",attrs:{span:{large:9,small:12}}},[e._t("description",null,null,e.getProps(t,e.changes[t[e.keyBy]]))],2)],1)})),1)},Vn=[],Wn={name:"ParametersTable",components:{Row:N["a"],Column:j["a"]},props:{parameters:{type:Array,required:!0},changes:{type:Object,default:()=>({})},keyBy:{type:String,default:"name"}},methods:{getProps(e,t={}){return{...e,changes:t}},changedClasses(e){const{changes:t}=this,{change:n}=t[e]||{};return{["changed changed-"+n]:n}}}},Un=Wn,Gn=(n("e5a5"),Object(R["a"])(Un,Hn,Vn,!1,null,"31e03854",null)),Qn=Gn.exports,Xn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"parameter-attributes"},[e.shouldRender(e.AttributeKind.default)?n("ParameterMetaAttribute",e._b({scopedSlots:e._u([{key:"default",fn:function(t){var i=t.attribute;return[e._v(" "+e._s(i.title||"Default")+": "),n("code",[e._v(e._s(i.value))])]}}],null,!1,4247435012)},"ParameterMetaAttribute",{kind:e.AttributeKind.default,attributes:e.attributesObject,changes:e.changes},!1)):e._e(),e.shouldRender(e.AttributeKind.minimum)?n("ParameterMetaAttribute",e._b({scopedSlots:e._u([{key:"default",fn:function(t){var i=t.attribute;return[e._v(" "+e._s(i.title||"Minimum")+": "),n("code",[e._v(e._s(i.value))])]}}],null,!1,455861177)},"ParameterMetaAttribute",{kind:e.AttributeKind.minimum,attributes:e.attributesObject,changes:e.changes},!1)):e._e(),e.shouldRender(e.AttributeKind.minimumExclusive)?n("ParameterMetaAttribute",e._b({scopedSlots:e._u([{key:"default",fn:function(t){var i=t.attribute;return[e._v(" "+e._s(i.title||"Minimum")+": "),n("code",[e._v("> "+e._s(i.value))])]}}],null,!1,3844501612)},"ParameterMetaAttribute",{kind:e.AttributeKind.minimumExclusive,attributes:e.attributesObject,changes:e.changes},!1)):e._e(),e.shouldRender(e.AttributeKind.maximum)?n("ParameterMetaAttribute",e._b({scopedSlots:e._u([{key:"default",fn:function(t){var i=t.attribute;return[e._v(" "+e._s(i.title||"Maximum")+": "),n("code",[e._v(e._s(i.value))])]}}],null,!1,19641767)},"ParameterMetaAttribute",{kind:e.AttributeKind.maximum,attributes:e.attributesObject,changes:e.changes},!1)):e._e(),e.shouldRender(e.AttributeKind.maximumExclusive)?n("ParameterMetaAttribute",e._b({scopedSlots:e._u([{key:"default",fn:function(t){var i=t.attribute;return[e._v(" "+e._s(i.title||"Maximum")+": "),n("code",[e._v("< "+e._s(i.value))])]}}],null,!1,4289558576)},"ParameterMetaAttribute",{kind:e.AttributeKind.maximumExclusive,attributes:e.attributesObject,changes:e.changes},!1)):e._e(),e.shouldRender(e.AttributeKind.allowedTypes)?n("ParameterMetaAttribute",e._b({scopedSlots:e._u([{key:"default",fn:function(t){var i=t.attribute;return[e._v(" "+e._s(e.fallbackToValues(i).length>1?"Possible types":"Type")+": "),n("code",[e._l(e.fallbackToValues(i),(function(t,a){return[e._l(t,(function(t,s){return[n("DeclarationToken",e._b({key:a+"-"+s},"DeclarationToken",t,!1)),a+11?"Possible values":"Value")+": "),n("code",[e._v(e._s(e.fallbackToValues(i).join(", ")))])]}}],null,!1,1507632019)},"ParameterMetaAttribute",{kind:e.AttributeKind.allowedValues,attributes:e.attributesObject,changes:e.changes},!1)):e._e()],1)},Yn=[],Jn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("RenderChanged",{attrs:{value:e.attributes[e.kind],changes:e.changes[e.kind]},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.value;return n("div",{staticClass:"property-metadata"},[e._t("default",null,{attribute:i})],2)}}],null,!0)})},Zn=[];const ei={added:"change-added",removed:"change-removed"};var ti,ni,ii={name:"RenderChanged",constants:{ChangedClasses:ei},props:{changes:{type:Object,default:()=>({new:null,previous:null})},value:{type:[Object,Array,String,Boolean],default:null},wrapChanges:{type:Boolean,default:!0},renderSingleChange:{type:Boolean,default:!1}},render(e){const{value:t,changes:n={},wrapChanges:i,renderSingleChange:a}=this,{new:s,previous:r}=n,o=(t,n)=>{const a=this.$scopedSlots.default({value:t});return n&&i?e("div",{class:n},[a]):a?a[0]:null};if(s||r){const t=o(s,ei.added),n=o(r,ei.removed);return a?s&&!r?t:n:e("div",{class:"property-changegroup"},[s?t:"",r?n:""])}return o(t)}},ai=ii,si=Object(R["a"])(ai,ti,ni,!1,null,null,null),ri=si.exports,oi={name:"ParameterMetaAttribute",components:{RenderChanged:ri},props:{kind:{type:String,required:!0},attributes:{type:Object,required:!0},changes:{type:Object,default:()=>({})}}},li=oi,ci=(n("2822"),Object(R["a"])(li,Jn,Zn,!1,null,"8590589e",null)),di=ci.exports;const ui={allowedTypes:"allowedTypes",allowedValues:"allowedValues",default:"default",maximum:"maximum",maximumExclusive:"maximumExclusive",minimum:"minimum",minimumExclusive:"minimumExclusive"};var hi={name:"ParameterAttributes",components:{ParameterMetaAttribute:di,DeclarationToken:Et["a"]},constants:{AttributeKind:ui},props:{attributes:{type:Array,default:()=>[]},changes:{type:Object,default:()=>({})}},computed:{AttributeKind:()=>ui,attributesObject:({attributes:e})=>e.reduce((e,t)=>({...e,[t.kind]:t}),{})},methods:{shouldRender(e){return Object.prototype.hasOwnProperty.call(this.attributesObject,e)},fallbackToValues:e=>{const t=e||[];return Array.isArray(t)?t:t.values}}},pi=hi,gi=Object(R["a"])(pi,Xn,Yn,!1,null,null,null),fi=gi.exports,mi=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("RenderChanged",{attrs:{renderSingleChange:"",value:e.value,changes:e.changes},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.value;return i?n("span",{staticClass:"property-text"},[e._t("default")],2):e._e()}}],null,!0)})},yi=[],vi={name:"PossiblyChangedTextAttribute",components:{RenderChanged:ri},props:{changes:{type:Object,required:!1},value:{type:Boolean,default:!1}}},bi=vi,Ti=(n("5c57"),Object(R["a"])(bi,mi,yi,!1,null,null,null)),_i=Ti.exports,Si=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("RenderChanged",{attrs:{value:e.type,wrapChanges:!1,changes:e.changes},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.value;return n("DeclarationTokenGroup",{staticClass:"property-metadata property-type",attrs:{type:e.getValues(i)}})}}])})},Ci=[],ki=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.type&&e.type.length?n("div",[n("code",e._l(e.type,(function(t,i){return n("DeclarationToken",e._b({key:i},"DeclarationToken",t,!1))})),1)]):e._e()},wi=[],Ii={name:"DeclarationTokenGroup",components:{DeclarationToken:Et["a"]},props:{type:{type:Array,default:()=>[],required:!1}}},Oi=Ii,xi=Object(R["a"])(Oi,ki,wi,!1,null,null,null),Di=xi.exports,Pi={name:"PossiblyChangedType",components:{DeclarationTokenGroup:Di,RenderChanged:ri},props:{type:{type:Array,required:!0},changes:{type:Object,required:!1}},methods:{getValues(e){return Array.isArray(e)?e:e.values}}},$i=Pi,Ai=(n("2f87"),Object(R["a"])($i,Si,Ci,!1,null,"0a648a1e",null)),Li=Ai.exports,Ni={name:"PropertyTable",mixins:[Fn],components:{Badge:qn["a"],WordBreak:_e["a"],PossiblyChangedTextAttribute:_i,PossiblyChangedType:Li,ParameterAttributes:fi,ContentNode:Ne["a"],ParametersTable:Qn,LinkableHeading:Ge["a"]},props:{title:{type:String,required:!0},properties:{type:Array,required:!0}},computed:{anchor:({title:e})=>Object(it["a"])(e),propertyChanges:({apiChanges:e})=>(e||{}).properties},methods:{shouldShiftType:({content:e=[],name:t})=>!e.length&&t}},ji=Ni,Ei=(n("21ff"),Object(R["a"])(ji,Kn,zn,!1,null,"25cd22fa",null)),Bi=Ei.exports,Ri=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",[n("LinkableHeading",{attrs:{anchor:e.anchor}},[e._v(e._s(e.title))]),n("ParametersTable",{attrs:{parameters:[e.bodyParam],changes:e.bodyChanges,keyBy:"key"},scopedSlots:e._u([{key:"symbol",fn:function(t){var i=t.type,a=t.content,s=t.changes,r=t.name;return[e.shouldShiftType({name:r,content:a})?e._e():n("PossiblyChangedType",{attrs:{type:i,changes:s.type}})]}},{key:"description",fn:function(t){var i=t.name,a=t.content,s=t.mimeType,r=t.type,o=t.changes;return[e.shouldShiftType({name:i,content:a})?n("PossiblyChangedType",{attrs:{type:r,changes:o.type}}):e._e(),a?n("ContentNode",{attrs:{content:a}}):e._e(),s?n("PossiblyChangedMimetype",{attrs:{mimetype:s,changes:o.mimetype,change:o.change}}):e._e()]}}])}),e.parts.length?[n("h3",[e._v("Parts")]),n("ParametersTable",{staticClass:"parts",attrs:{parameters:e.parts,changes:e.partsChanges},scopedSlots:e._u([{key:"symbol",fn:function(t){var i=t.name,a=t.type,s=t.content,r=t.changes;return[n("div",{staticClass:"part-name"},[n("WordBreak",{attrs:{tag:"code"}},[e._v(e._s(i))])],1),s?n("PossiblyChangedType",{attrs:{type:a,changes:r.type}}):e._e()]}},{key:"description",fn:function(t){var i=t.content,a=t.mimeType,s=t.required,r=t.type,o=t.attributes,l=t.changes,c=t.readOnly;return[n("div",[i?e._e():n("PossiblyChangedType",{attrs:{type:r,changes:l.type}}),n("PossiblyChangedTextAttribute",{attrs:{changes:l.required,value:s}},[e._v("(Required) ")]),n("PossiblyChangedTextAttribute",{attrs:{changes:l.readOnly,value:c}},[e._v("(Read only) ")]),i?n("ContentNode",{attrs:{content:i}}):e._e(),a?n("PossiblyChangedMimetype",{attrs:{mimetype:a,changes:l.mimetype,change:l.change}}):e._e(),n("ParameterAttributes",{attrs:{attributes:o,changes:l.attributes}})],1)]}}],null,!1,1779956822)})]:e._e()],2)},Mi=[],Ki=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("RenderChanged",{attrs:{changes:e.changeValues,value:e.mimetype},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.value;return n("div",{staticClass:"response-mimetype"},[e._v("Content-Type: "+e._s(i))])}}])})},zi=[],Fi={name:"PossiblyChangedMimetype",components:{RenderChanged:ri},props:{mimetype:{type:String,required:!0},changes:{type:[Object,String],required:!1},change:{type:String,required:!1}},computed:{changeValues({change:e,changes:t}){return e===yn["c"].modified&&"string"!==typeof t?t:void 0}}},qi=Fi,Hi=(n("a91f"),Object(R["a"])(qi,Ki,zi,!1,null,"2faa6020",null)),Vi=Hi.exports;const Wi="restRequestBody";var Ui={name:"RestBody",mixins:[Fn],components:{PossiblyChangedMimetype:Vi,PossiblyChangedTextAttribute:_i,PossiblyChangedType:Li,WordBreak:_e["a"],ParameterAttributes:fi,ContentNode:Ne["a"],ParametersTable:Qn,LinkableHeading:Ge["a"]},constants:{ChangesKey:Wi},props:{bodyContentType:{type:Array,required:!0},content:{type:Array},mimeType:{type:String,required:!0},parts:{type:Array,default:()=>[]},title:{type:String,required:!0}},computed:{anchor:({title:e})=>Object(it["a"])(e),bodyParam:({bodyContentType:e,content:t,mimeType:n})=>({key:Wi,content:t,mimeType:n,type:e}),bodyChanges:({apiChanges:e})=>e||{},partsChanges:({bodyChanges:e})=>(e[Wi]||{}).parts},methods:{shouldShiftType:({content:e=[],name:t})=>!e.length&&t}},Gi=Ui,Qi=(n("3a72"),Object(R["a"])(Gi,Ri,Mi,!1,null,"37777476",null)),Xi=Qi.exports,Yi=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",[n("LinkableHeading",{attrs:{anchor:e.anchor}},[e._v(e._s(e.title))]),n("ParametersTable",{attrs:{parameters:e.parameters,changes:e.parameterChanges},scopedSlots:e._u([{key:"symbol",fn:function(t){var i=t.name,a=t.type,s=t.content,r=t.changes,o=t.deprecated;return[n("div",{staticClass:"param-name",class:{deprecated:o}},[n("WordBreak",{attrs:{tag:"code"}},[e._v(e._s(i))])],1),e.shouldShiftType({content:s,name:i})?e._e():n("PossiblyChangedType",{attrs:{type:a,changes:r.type}})]}},{key:"description",fn:function(t){var i=t.name,a=t.type,s=t.content,r=t.required,o=t.attributes,l=t.changes,c=t.deprecated,d=t.readOnly;return[n("div",[e.shouldShiftType({content:s,name:i})?n("PossiblyChangedType",{attrs:{type:a,changes:l.type}}):e._e(),c?[n("Badge",{staticClass:"param-deprecated",attrs:{variant:"deprecated"}}),e._v("  ")]:e._e(),n("PossiblyChangedTextAttribute",{attrs:{changes:l.required,value:r}},[e._v("(Required) ")]),n("PossiblyChangedTextAttribute",{attrs:{changes:l.readOnly,value:d}},[e._v("(Read only) ")]),s?n("ContentNode",{attrs:{content:s}}):e._e(),n("ParameterAttributes",{attrs:{attributes:o,changes:l}})],2)]}}])})],1)},Ji=[],Zi={name:"RestParameters",mixins:[Fn],components:{Badge:qn["a"],PossiblyChangedType:Li,PossiblyChangedTextAttribute:_i,ParameterAttributes:fi,WordBreak:_e["a"],ContentNode:Ne["a"],ParametersTable:Qn,LinkableHeading:Ge["a"]},props:{title:{type:String,required:!0},parameters:{type:Array,required:!0}},computed:{anchor:({title:e})=>Object(it["a"])(e),parameterChanges:({apiChanges:e})=>(e||{}).restParameters},methods:{shouldShiftType:({content:e=[],name:t})=>!e.length&&t}},ea=Zi,ta=(n("83ed"),Object(R["a"])(ea,Yi,Ji,!1,null,"05f57530",null)),na=ta.exports,ia=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",[n("LinkableHeading",{attrs:{anchor:e.anchor}},[e._v(e._s(e.title))]),n("ParametersTable",{attrs:{parameters:e.responses,changes:e.propertyChanges,"key-by":"status"},scopedSlots:e._u([{key:"symbol",fn:function(t){var i=t.status,a=t.type,s=t.reason,r=t.content,o=t.changes;return[n("div",{staticClass:"response-name"},[n("code",[e._v(" "+e._s(i)+" "),n("span",{staticClass:"reason"},[e._v(e._s(s))])])]),e.shouldShiftType({content:r,reason:s,status:i})?e._e():n("PossiblyChangedType",{attrs:{type:a,changes:o.type}})]}},{key:"description",fn:function(t){var i=t.content,a=t.mimetype,s=t.reason,r=t.type,o=t.status,l=t.changes;return[e.shouldShiftType({content:i,reason:s,status:o})?n("PossiblyChangedType",{attrs:{type:r,changes:l.type}}):e._e(),n("div",{staticClass:"response-reason"},[n("code",[e._v(e._s(s))])]),i?n("ContentNode",{attrs:{content:i}}):e._e(),a?n("PossiblyChangedMimetype",{attrs:{mimetype:a,changes:l.mimetype,change:l.change}}):e._e()]}}])})],1)},aa=[],sa={name:"RestResponses",mixins:[Fn],components:{PossiblyChangedMimetype:Vi,PossiblyChangedType:Li,ContentNode:Ne["a"],ParametersTable:Qn,LinkableHeading:Ge["a"]},props:{title:{type:String,required:!0},responses:{type:Array,required:!0}},computed:{anchor:({title:e})=>Object(it["a"])(e),propertyChanges:({apiChanges:e})=>(e||{}).restResponses},methods:{shouldShiftType:({content:e=[],reason:t,status:n})=>!(e.length||t)&&n}},ra=sa,oa=(n("7649"),Object(R["a"])(ra,ia,aa,!1,null,"881189f4",null)),la=oa.exports,ca={name:"PrimaryContent",components:{Declaration:_n,ContentNode:Ne["a"],Parameters:Mn,PropertyListKeyDetails:Ln,PropertyTable:Bi,RestBody:Xi,RestEndpoint:Wt,RestParameters:na,RestResponses:la,PossibleValues:It},constants:{SectionKind:Fe},props:{conformance:{type:Object,required:!1},source:{type:Object,required:!1},sections:{type:Array,required:!0,validator:e=>e.every(({kind:e})=>Object.prototype.hasOwnProperty.call(Fe,e))}},computed:{span(){return{large:9,medium:9,small:12}}},methods:{componentFor(e){return{[Fe.content]:Ne["a"],[Fe.declarations]:_n,[Fe.details]:Ln,[Fe.parameters]:Mn,[Fe.properties]:Bi,[Fe.restBody]:Xi,[Fe.restParameters]:na,[Fe.restHeaders]:na,[Fe.restCookies]:na,[Fe.restEndpoint]:Wt,[Fe.restResponses]:la,[Fe.possibleValues]:It}[e.kind]},propsFor(e){const{conformance:t,source:n}=this,{bodyContentType:i,content:a,declarations:s,details:r,items:o,kind:l,mimeType:c,parameters:d,title:u,tokens:h,values:p}=e;return{[Fe.content]:{content:a},[Fe.declarations]:{conformance:t,source:n,declarations:s},[Fe.details]:{details:r},[Fe.parameters]:{parameters:d},[Fe.possibleValues]:{values:p},[Fe.properties]:{properties:o,title:u},[Fe.restBody]:{bodyContentType:i,content:a,mimeType:c,parts:d,title:u},[Fe.restCookies]:{parameters:o,title:u},[Fe.restEndpoint]:{tokens:h,title:u},[Fe.restHeaders]:{parameters:o,title:u},[Fe.restParameters]:{parameters:o,title:u},[Fe.restResponses]:{responses:o,title:u}}[l]}}},da=ca,ua=(n("96a4"),Object(R["a"])(da,vt,bt,!1,null,"2aa0f0dc",null)),ha=ua.exports,pa=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ContentTable",{attrs:{anchor:e.contentSectionData.anchor,title:e.contentSectionData.title}},e._l(e.sectionsWithSymbols,(function(e){return n("Section",{key:e.type,attrs:{title:e.title,anchor:e.anchor}},[n("List",{attrs:{symbols:e.symbols,type:e.type}})],1)})),1)},ga=[],fa=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ul",{ref:"apiChangesDiff",staticClass:"relationships-list",class:e.classes},e._l(e.symbols,(function(t){return n("li",{key:t.identifier,staticClass:"relationships-item"},[t.url?n("router-link",{staticClass:"link",attrs:{to:e.buildUrl(t.url,e.$route.query)}},[n("WordBreak",{attrs:{tag:"code"}},[e._v(e._s(t.title))])],1):n("WordBreak",{attrs:{tag:"code"}},[e._v(e._s(t.title))]),t.conformance?n("ConditionalConstraints",{attrs:{constraints:t.conformance.constraints,prefix:t.conformance.conformancePrefix}}):e._e()],1)})),0)},ma=[];const ya=3,va={conformsTo:"conformance",inheritsFrom:"inheritance",inheritedBy:"inheritedBy"};var ba={name:"RelationshipsList",components:{ConditionalConstraints:Qt["a"],WordBreak:_e["a"]},inject:["store","identifier"],mixins:[Jt["b"],Jt["a"]],props:{symbols:{type:Array,required:!0},type:{type:String,required:!0}},data(){return{state:this.store.state}},computed:{classes({changeType:e,multipleLinesClass:t,hasMultipleLinesAfterAPIChanges:n}){return[{inline:this.shouldDisplayInline,column:!this.shouldDisplayInline,["changed changed-"+e]:!!e,[t]:n}]},hasAvailabilityConstraints(){return this.symbols.some(e=>!!(e.conformance||{}).constraints)},changes({identifier:e,state:{apiChanges:t}}){return(t||{})[e]||{}},changeType({changes:e,type:t}){const n=va[t];if(e.change!==yn["c"].modified)return e.change;const i=e[n];if(!i)return;const a=(e,t)=>e.map((e,n)=>[e,t[n]]),s=a(i.previous,i.new).some(([e,t])=>e.content?0===e.content.length&&t.content.length>0:!!t.content);return s?yn["c"].added:yn["c"].modified},shouldDisplayInline(){const{hasAvailabilityConstraints:e,symbols:t}=this;return t.length<=ya&&!e}},methods:{buildUrl:q["b"]}},Ta=ba,_a=(n("4281"),Object(R["a"])(Ta,fa,ma,!1,null,"6497632e",null)),Sa=_a.exports,Ca={name:"Relationships",inject:{references:{default(){return{}}}},components:{ContentTable:et,List:Sa,Section:lt},props:{sections:{type:Array,required:!0}},computed:{contentSectionData:()=>qe.relationships,sectionsWithSymbols(){return this.sections.map(e=>({...e,symbols:e.identifiers.reduce((e,t)=>this.references[t]?e.concat(this.references[t]):e,[])}))}}},ka=Ca,wa=Object(R["a"])(ka,pa,ga,!1,null,null,null),Ia=wa.exports,Oa=n("e8ea"),xa=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Section",{staticClass:"availability",attrs:{role:"complementary","aria-label":"Availability"}},[e._l(e.technologies,(function(t){return n("Badge",{key:t,staticClass:"technology"},[n("TechnologyIcon",{staticClass:"tech-icon"}),e._v(" "+e._s(t)+" ")],1)})),e._l(e.platforms,(function(t){return n("Badge",{key:t.name,staticClass:"platform",class:e.changesClassesFor(t.name)},[n("AvailabilityRange",{attrs:{deprecatedAt:t.deprecatedAt,introducedAt:t.introducedAt,platformName:t.name}}),t.deprecatedAt?n("span",{staticClass:"deprecated"},[e._v("Deprecated")]):t.beta?n("span",{staticClass:"beta"},[e._v("Beta")]):e._e()],1)}))],2)},Da=[],Pa=n("3024"),$a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{attrs:{role:"text","aria-label":e.ariaLabel,title:e.description}},[e._v(" "+e._s(e.text)+" ")])},Aa=[],La={name:"AvailabilityRange",props:{deprecatedAt:{type:String,required:!1},introducedAt:{type:String,required:!0},platformName:{type:String,required:!0}},computed:{ariaLabel(){const{deprecatedAt:e,description:t,text:n}=this;return[n].concat(e?"Deprecated":[]).concat(t).join(", ")},description(){const{deprecatedAt:e,introducedAt:t,platformName:n}=this;return e?`Introduced in ${n} ${t} and deprecated in ${n} ${e}`:`Available on ${n} ${t} and later`},text(){const{deprecatedAt:e,introducedAt:t,platformName:n}=this;return e?`${n} ${t}–${e}`:`${n} ${t}+`}}},Na=La,ja=Object(R["a"])(Na,$a,Aa,!1,null,null,null),Ea=ja.exports,Ba={name:"Availability",mixins:[Jt["b"]],inject:["identifier","store"],components:{Badge:qn["a"],AvailabilityRange:Ea,Section:te,TechnologyIcon:Pa["a"]},props:{platforms:{type:Array,required:!0},technologies:{type:Array,required:!1}},data(){return{state:this.store.state}},methods:{changeFor(e){const{identifier:t,state:{apiChanges:n}}=this,{availability:i={}}=(n||{})[t]||{},a=i[e];if(a)return a.deprecated?yn["c"].deprecated:a.introduced&&!a.introduced.previous?yn["c"].added:yn["c"].modified}}},Ra=Ba,Ma=(n("d6cc"),Object(R["a"])(Ra,xa,Da,!1,null,"3b784eb3",null)),Ka=Ma.exports,za=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("TopicsTable",{attrs:{anchor:e.contentSectionData.anchor,title:e.contentSectionData.title,isSymbolDeprecated:e.isSymbolDeprecated,isSymbolBeta:e.isSymbolBeta,sections:e.sections}})},Fa=[],qa={name:"SeeAlso",components:{TopicsTable:pt},props:{isSymbolDeprecated:Boolean,isSymbolBeta:Boolean,sections:pt.props.sections},computed:{contentSectionData:()=>qe.seeAlso}},Ha=qa,Va=Object(R["a"])(Ha,za,Fa,!1,null,null,null),Wa=Va.exports,Ua=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"topictitle"},[e.eyebrow?n("span",{staticClass:"eyebrow"},[e._v(e._s(e.eyebrow))]):e._e(),n("h1",{staticClass:"title"},[e._t("default"),e._t("after")],2)])},Ga=[],Qa={name:"Title",props:{eyebrow:{type:String,required:!1}}},Xa=Qa,Ya=(n("3396"),Object(R["a"])(Xa,Ua,Ga,!1,null,"4492c658",null)),Ja=Ya.exports,Za=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("TopicsTable",{attrs:{anchor:e.contentSectionData.anchor,title:e.contentSectionData.title,isSymbolDeprecated:e.isSymbolDeprecated,isSymbolBeta:e.isSymbolBeta,sections:e.sections,topicStyle:e.topicStyle}})},es=[],ts={name:"Topics",components:{TopicsTable:pt},computed:{contentSectionData:()=>qe.topics},props:{isSymbolDeprecated:Boolean,isSymbolBeta:Boolean,sections:pt.props.sections,topicStyle:{type:String,required:!0,validator:e=>Object.hasOwnProperty.call(Se["a"],e)}}},ns=ts,is=Object(R["a"])(ns,Za,es,!1,null,null,null),as=is.exports,ss=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"OnThisPageStickyContainer"},[e._t("default")],2)},rs=[],os={name:"OnThisPageStickyContainer"},ls=os,cs=(n("447f"),Object(R["a"])(ls,ss,rs,!1,null,"08d4053b",null)),ds=cs.exports;const us=1050;var hs={name:"DocumentationTopic",mixins:[P["a"]],constants:{ON_THIS_PAGE_CONTAINER_BREAKPOINT:us},inject:{isTargetIDE:{default(){return!1}},store:{default(){return{reset(){},state:{}}}}},components:{OnThisPageStickyContainer:ds,OnThisPageNav:$e,DocumentationHero:Te,Abstract:Re,Aside:$["a"],BetaLegalText:K,ContentNode:Ne["a"],DefaultImplementations:yt,DownloadButton:Me["a"],LanguageSwitcher:ue,PrimaryContent:ha,Relationships:Ia,RequirementMetadata:Oa["a"],Availability:Ka,SeeAlso:Wa,Title:Ja,Topics:as,WordBreak:_e["a"]},props:{abstract:{type:Array,required:!1},conformance:{type:Object,required:!1},defaultImplementationsSections:{type:Array,required:!1},downloadNotAvailableSummary:{type:Array,required:!1},deprecationSummary:{type:Array,required:!1},diffAvailability:{type:Object,required:!1},modules:{type:Array,required:!1},hierarchy:{type:Object,default:()=>({})},interfaceLanguage:{type:String,required:!0},identifier:{type:String,required:!0},isRequirement:{type:Boolean,default:()=>!1},platforms:{type:Array,required:!1},primaryContentSections:{type:Array,required:!1},references:{type:Object,required:!0},relationshipsSections:{type:Array,required:!1},roleHeading:{type:String,required:!1},title:{type:String,required:!0},topicSections:{type:Array,required:!1},topicSectionsStyle:{type:String,default:Se["a"].list},sampleCodeDownload:{type:Object,required:!1},seeAlsoSections:{type:Array,required:!1},languagePaths:{type:Object,default:()=>({})},tags:{type:Array,required:!0},objcPath:{type:String,required:!1},swiftPath:{type:String,required:!1},isSymbolDeprecated:{type:Boolean,required:!1},isSymbolBeta:{type:Boolean,required:!1},symbolKind:{type:String,default:""},role:{type:String,default:""},remoteSource:{type:Object,required:!1},pageImages:{type:Array,required:!1},enableMinimized:{type:Boolean,default:!1},enableOnThisPageNav:{type:Boolean,default:!1},disableHeroBackground:{type:Boolean,default:!1}},provide(){return{references:this.references,identifier:this.identifier,languages:new Set(Object.keys(this.languagePaths)),interfaceLanguage:this.interfaceLanguage,symbolKind:this.symbolKind}},data(){return{topicState:this.store.state}},computed:{defaultImplementationsCount(){return(this.defaultImplementationsSections||[]).reduce((e,t)=>e+t.identifiers.length,0)},shouldShowAvailability:({platforms:e,technologies:t,enableMinimized:n})=>((e||[]).length||(t||[]).length)&&!n,hasBetaContent:({platforms:e})=>e&&e.length&&e.some(e=>e.beta),pageTitle:({title:e})=>e,pageDescription:({abstract:e,extractFirstParagraphText:t})=>e?t(e):null,shouldShowLanguageSwitcher:({objcPath:e,swiftPath:t,isTargetIDE:n,enableMinimized:i})=>!!(e&&t&&n)&&!i,enhanceBackground:({symbolKind:e,disableHeroBackground:t,topicSectionsStyle:n})=>!t&&n!==Se["a"].compactGrid&&n!==Se["a"].detailedGrid&&(!e||"module"===e),shortHero:({roleHeading:e,abstract:t,sampleCodeDownload:n,hasAvailability:i,shouldShowLanguageSwitcher:a})=>!!e+!!t+!!n+!!i+a<=1,technologies({modules:e=[]}){const t=e.reduce((e,t)=>(e.push(t.name),e.concat(t.relatedModules||[])),[]);return t.length>1?t:[]},titleBreakComponent:({enhanceBackground:e})=>e?"span":_e["a"],hasPrimaryContent:({isRequirement:e,deprecationSummary:t,downloadNotAvailableSummary:n,primaryContentSections:i})=>e||t&&t.length||n&&n.length||i&&i.length,tagName:({isSymbolDeprecated:e})=>e?"Deprecated":"Beta",pageIcon:({pageImages:e=[]})=>{const t=e.find(({type:e})=>"icon"===e);return t?t.identifier:null},shouldRenderTopicSection:({topicSectionsStyle:e,topicSections:t,enableMinimized:n})=>t&&e!==Se["a"].hidden&&!n,isOnThisPageNavVisible:({topicState:e})=>e.contentWidth>us},methods:{normalizePath(e){return e.startsWith("/")?e:"/"+e}},created(){if(this.topicState.preferredLanguage===D["a"].objectiveC.key.url&&this.interfaceLanguage!==D["a"].objectiveC.key.api&&this.objcPath&&this.$route.query.language!==D["a"].objectiveC.key.url){const{query:e}=this.$route;this.$nextTick().then(()=>{this.$router.replace({path:this.normalizePath(this.objcPath),query:{...e,language:D["a"].objectiveC.key.url}})})}this.store.reset()}},ps=hs,gs=(n("1c02"),Object(R["a"])(ps,O,x,!1,null,"666eaa31",null)),fs=gs.exports,ms=n("2b0e");const ys=()=>({[yn["c"].modified]:0,[yn["c"].added]:0,[yn["c"].deprecated]:0});var vs={state:{apiChanges:null,apiChangesCounts:ys(),selectedAPIChangesVersion:null},setAPIChanges(e){this.state.apiChanges=e},setSelectedAPIChangesVersion(e){this.state.selectedAPIChangesVersion=e},resetApiChanges(){this.state.apiChanges=null,this.state.apiChangesCounts=ys()},async updateApiChangesCounts(){await ms["default"].nextTick(),Object.keys(this.state.apiChangesCounts).forEach(e=>{this.state.apiChangesCounts[e]=this.countChangeType(e)})},countChangeType(e){if(document&&document.querySelectorAll){const t=`.changed-${e}:not(.changed-total)`;return document.querySelectorAll(t).length}return 0}},bs={state:{onThisPageSections:[],currentPageAnchor:null},resetPageSections(){this.state.onThisPageSections=[],this.state.currentPageAnchor=null},addOnThisPageSection(e){this.state.onThisPageSections.push(e)},setCurrentPageSection(e){const t=this.state.onThisPageSections.findIndex(({anchor:t})=>t===e);-1!==t&&(this.state.currentPageAnchor=e)}},Ts=n("d369");const{state:_s,...Ss}=vs,{state:Cs,...ks}=bs;var ws={state:{preferredLanguage:Ts["a"].preferredLanguage,contentWidth:0,..._s,...Cs},reset(){this.state.preferredLanguage=Ts["a"].preferredLanguage,this.resetApiChanges()},setPreferredLanguage(e){this.state.preferredLanguage=e,Ts["a"].preferredLanguage=this.state.preferredLanguage},setContentWidth(e){this.state.contentWidth=e},...Ss,...ks},Is=n("8590"),Os=n("66c9"),xs=n("0caf"),Ds=n("146e");const Ps="",$s=32,As="navigator-hide-button";function Ls(e){return e.split("").reduce((e,t)=>(e<<5)-e+t.charCodeAt(0)|0,0)}function Ns(e){const t={},n=e.length;for(let i=0;ie.parent===Ps);const i=t[e];return i?(i.childUIDs||[]).map(e=>t[e]):[]}function Rs(e,t){const n=[],i=[e];let a=null;while(i.length){a=i.pop();const e=t[a];if(!e)return[];n.unshift(e),e.parent&&e.parent!==Ps&&i.push(e.parent)}return n}function Ms(e,t,n){const i=t[e];return i?Bs(i.parent,t,n):[]}var Ks,zs,Fs={name:"NavigatorDataProvider",props:{interfaceLanguage:{type:String,default:D["a"].swift.key.url},technologyUrl:{type:String,required:!0},apiChangesVersion:{type:String,default:""}},data(){return{isFetching:!1,errorFetching:!1,isFetchingAPIChanges:!1,navigationIndex:{[D["a"].swift.key.url]:[]},navigationReferences:{},diffs:null}},computed:{flatChildren:({technologyWithChildren:e={}})=>js(e.children||[],null,0,e.beta),technologyPath:({technologyUrl:e})=>{const t=/(\/documentation\/(?:[^/]+))\/?/.exec(e);return t?t[1]:""},technologyWithChildren({navigationIndex:e,interfaceLanguage:t,technologyPath:n}){let i=e[t]||[];return i.length||(i=e[D["a"].swift.key.url]||[]),i.find(e=>n.toLowerCase()===e.path.toLowerCase())}},created(){this.fetchIndexData()},methods:{async fetchIndexData(){try{this.isFetching=!0;const{interfaceLanguages:e,references:t}=await Object(w["c"])();this.navigationIndex=Object.freeze(e),this.navigationReferences=Object.freeze(t)}catch(e){this.errorFetching=!0}finally{this.isFetching=!1}}},render(){return this.$scopedSlots.default({technology:this.technologyWithChildren,isFetching:this.isFetching,errorFetching:this.errorFetching,isFetchingAPIChanges:this.isFetchingAPIChanges,apiChanges:this.diffs,flatChildren:this.flatChildren,references:this.navigationReferences})}},qs=Fs,Hs=Object(R["a"])(qs,Ks,zs,!1,null,null,null),Vs=Hs.exports,Ws=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("GenericModal",{attrs:{isFullscreen:"",showClose:!1,visible:e.isVisible},on:{"update:visible":function(t){e.isVisible=t}}},[n("div",{staticClass:"quick-navigation",on:{keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])||t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:(t.preventDefault(),e.focusNext.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])||t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:(t.preventDefault(),e.focusPrev.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")||t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:e.handleKeyEnter.apply(null,arguments)}],click:function(t){return t.target!==t.currentTarget?null:e.closeQuickNavigationModal.apply(null,arguments)}}},[n("div",{staticClass:"quick-navigation__container"},[n("FilterInput",{staticClass:"quick-navigation__filter",attrs:{placeholder:"Search symbols",focusInputWhenCreated:"",focusInputWhenEmpty:""},on:{input:function(t){e.focusedIndex=0}},scopedSlots:e._u([{key:"icon",fn:function(){return[n("div",{staticClass:"quick-navigation__magnifier-icon-container",class:{blue:e.userInput.length}},[n("MagnifierIcon")],1)]},proxy:!0}]),model:{value:e.userInput,callback:function(t){e.userInput=t},expression:"userInput"}}),n("div",{staticClass:"quick-navigation__match-list",class:{active:e.processedUserInput.length}},[e.noResultsWereFound?n("div",{staticClass:"no-results"},[n("p",[e._v(" No results found. ")])]):e._e(),e._l(e.filteredSymbols,(function(t,i){return n("Reference",{key:t.uid,staticClass:"quick-navigation__reference",attrs:{url:t.path},nativeOn:{click:function(t){return e.closeQuickNavigationModal.apply(null,arguments)},focus:function(t){return e.focusIndex(i)}}},[n("div",{ref:"match",refInFor:!0,staticClass:"quick-navigation__symbol-match",class:{selected:i==e.focusedIndex},attrs:{role:"list"}},[n("div",{staticClass:"symbol-info"},[n("div",{staticClass:"symbol-name"},[n("TopicTypeIcon",{staticClass:"navigator-icon",attrs:{type:t.type}}),n("div",{staticClass:"symbol-title"},[n("span",{domProps:{textContent:e._s(e.formatSymbolTitle(t.title,0,t.start))}}),n("QuickNavigationHighlighter",{attrs:{text:t.substring,matcherText:e.processedUserInput}}),n("span",{domProps:{textContent:e._s(e.formatSymbolTitle(t.title,t.start+t.matchLength))}})],1)],1),n("div",{staticClass:"symbol-path"},e._l(t.parents,(function(i,a){return n("div",{key:i.title},[n("span",{staticClass:"parent-path",domProps:{textContent:e._s(i.title)}}),a!==t.parents.length-1?n("span",{staticClass:"parent-path",domProps:{textContent:e._s("/")}}):e._e()])})),0)])])])}))],2)],1)])])},Us=[],Gs=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"filter",class:{focus:e.showSuggestedTags},attrs:{role:"search",tabindex:"0","aria-labelledby":e.searchAriaLabelledBy},on:{"!blur":function(t){return e.handleBlur.apply(null,arguments)},"!focus":function(t){return e.handleFocus.apply(null,arguments)}}},[n("div",{class:["filter__wrapper",{"filter__wrapper--reversed":e.positionReversed}]},[n("div",{staticClass:"filter__top-wrapper"},[n("button",{staticClass:"filter__filter-button",class:{blue:e.inputIsNotEmpty},attrs:{"aria-hidden":"true",tabindex:"-1"},on:{click:e.focusInput,mousedown:function(e){e.preventDefault()}}},[e._t("icon",(function(){return[n("FilterIcon")]}))],2),n("div",{class:["filter__input-box-wrapper",{scrolling:e.isScrolling}],on:{scroll:e.handleScroll}},[e.hasSelectedTags?n("TagList",e._g(e._b({ref:"selectedTags",staticClass:"filter__selected-tags",attrs:{id:e.SelectedTagsId,input:e.input,tags:e.selectedTags,ariaLabel:e.selectedTagsLabel,activeTags:e.activeTags,areTagsRemovable:""},on:{"focus-prev":e.handleFocusPrevOnSelectedTags,"focus-next":e.focusInputFromTags,"reset-filters":e.resetFilters,"prevent-blur":function(t){return e.$emit("update:preventedBlur",!0)}}},"TagList",e.virtualKeyboardBind,!1),e.selectedTagsMultipleSelectionListeners)):e._e(),n("label",{staticClass:"filter__input-label",attrs:{id:"filter-label",for:e.FilterInputId,"data-value":e.modelValue,"aria-label":e.placeholder}},[n("input",e._g(e._b({directives:[{name:"model",rawName:"v-model",value:e.modelValue,expression:"modelValue"}],ref:"input",staticClass:"filter__input",attrs:{id:e.FilterInputId,placeholder:e.hasSelectedTags?"":e.placeholder,"aria-expanded":e.displaySuggestedTags?"true":"false",disabled:e.disabled,type:"text"},domProps:{value:e.modelValue},on:{keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:(t.preventDefault(),e.downHandler.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:(t.preventDefault(),e.upHandler.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])||"button"in t&&0!==t.button?null:e.leftKeyInputHandler.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"right",39,t.key,["Right","ArrowRight"])||"button"in t&&2!==t.button?null:e.rightKeyInputHandler.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"delete",[8,46],t.key,["Backspace","Delete","Del"])?null:e.deleteHandler.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"a",void 0,t.key,void 0)?null:t.metaKey?(t.preventDefault(),t.stopPropagation(),e.selectInputAndTags.apply(null,arguments)):null},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"a",void 0,t.key,void 0)?null:t.ctrlKey?(t.preventDefault(),e.selectInputAndTags.apply(null,arguments)):null},function(t){return t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:e.inputKeydownHandler.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")||t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:e.enterHandler.apply(null,arguments)},function(t){return t.shiftKey?t.ctrlKey||t.altKey||t.metaKey?null:e.inputKeydownHandler.apply(null,arguments):null},function(t){return t.shiftKey&&t.metaKey?t.ctrlKey||t.altKey?null:e.inputKeydownHandler.apply(null,arguments):null},function(t){return t.metaKey?t.ctrlKey||t.shiftKey||t.altKey?null:e.assignEventValues.apply(null,arguments):null},function(t){return t.ctrlKey?t.shiftKey||t.altKey||t.metaKey?null:e.assignEventValues.apply(null,arguments):null}],input:function(t){t.target.composing||(e.modelValue=t.target.value)}}},"input",e.AXinputProperties,!1),e.inputMultipleSelectionListeners))])],1),n("div",{staticClass:"filter__delete-button-wrapper"},[e.input.length||e.displaySuggestedTags||e.hasSelectedTags?n("button",{staticClass:"filter__delete-button",attrs:{"aria-label":"Reset Filter"},on:{click:function(t){return e.resetFilters(!0)},keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")||t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:(t.stopPropagation(),e.resetFilters(!0))},mousedown:function(e){e.preventDefault()}}},[n("ClearRoundedIcon")],1):e._e()])]),e.displaySuggestedTags?n("TagList",e._b({ref:"suggestedTags",staticClass:"filter__suggested-tags",attrs:{id:e.SuggestedTagsId,ariaLabel:e.suggestedTagsLabel,input:e.input,tags:e.suggestedTags},on:{"click-tags":function(t){return e.selectTag(t.tagName)},"prevent-blur":function(t){return e.$emit("update:preventedBlur",!0)},"focus-next":function(t){e.positionReversed?e.focusInput():e.$emit("focus-next")},"focus-prev":function(t){e.positionReversed?e.$emit("focus-prev"):e.focusInput()}}},"TagList",e.virtualKeyboardBind,!1)):e._e()],1)])},Qs=[],Xs=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"clear-rounded-icon",attrs:{viewBox:"0 0 16 16",themeId:"clear-rounded"}},[n("title",[e._v("Clear")]),n("path",{attrs:{d:"M14.55,0l1.45,1.45-6.56,6.55,6.54,6.54-1.45,1.45-6.53-6.53L1.47,15.99,.01,14.53l6.52-6.53L0,1.47,1.45,.02l6.55,6.54L14.55,0Z","fill-rule":"evenodd"}})])},Ys=[],Js=n("be08"),Zs={name:"ClearRoundedIcon",components:{SVGIcon:Js["a"]}},er=Zs,tr=Object(R["a"])(er,Xs,Ys,!1,null,null,null),nr=tr.exports;function ir(){if(window.getSelection)try{const{activeElement:e}=document;return e&&e.value?e.value.substring(e.selectionStart,e.selectionEnd):window.getSelection().toString()}catch(e){return""}else if(document.selection&&"Control"!==document.selection.type)return document.selection.createRange().text;return""}function ar(e){if("number"===typeof e.selectionStart)e.selectionStart=e.selectionEnd=e.value.length;else if("undefined"!==typeof e.createTextRange){e.focus();const t=e.createTextRange();t.collapse(!1),t.select()}}function sr(e){e.selectionStart=e.selectionEnd=0}function rr(e){return/^[\w\W\s]$/.test(e)}function or(e){const t=e.match(/(.*)<\/data>/);try{return t?JSON.parse(t[1]):null}catch(n){return null}}function lr(e){return"string"!==typeof e&&(e=JSON.stringify(e)),`${e}`}function cr(e,t,n,i){let a,s;return function(...r){function o(){clearTimeout(a),a=null}function l(){o(),e.apply(s,r)}if(s=this,!a||!n&&!i){if(!n)return o(),void(a=setTimeout(l,t));a=setTimeout(o,t),e.apply(s,r)}}}const dr=280,ur=100;var hr={data(){return{keyboardIsVirtual:!1,activeTags:[],initTagIndex:null,focusedTagIndex:null,metaKey:!1,shiftKey:!1,tabbing:!1,debouncedHandleDeleteTag:null}},constants:{DebounceDelay:dr,VirtualKeyboardThreshold:ur},computed:{virtualKeyboardBind:({keyboardIsVirtual:e})=>({keyboardIsVirtual:e}),allSelectedTagsAreActive:({selectedTags:e,activeTags:t})=>e.every(e=>t.includes(e))},methods:{selectRangeActiveTags(e=this.focusedTagIndex,t=this.selectedTags.length){this.activeTags=this.selectedTags.slice(e,t)},selectTag(e){this.updateSelectedTags([e]),this.clearFilterOnTagSelect&&this.setFilterInput("")},unselectActiveTags(){this.activeTags.length&&(this.deleteTags(this.activeTags),this.resetActiveTags())},async deleteHandler(e){this.activeTags.length>0&&this.setSelectedTags(this.selectedTags.filter(e=>!this.activeTags.includes(e))),this.inputIsSelected()&&this.allSelectedTagsAreActive?(e.preventDefault(),await this.resetFilters()):0===this.$refs.input.selectionEnd&&this.hasSelectedTags&&(e.preventDefault(),this.keyboardIsVirtual?this.setSelectedTags(this.selectedTags.slice(0,-1)):this.$refs.selectedTags.focusLast()),this.unselectActiveTags()},leftKeyInputHandler(e){if(this.assignEventValues(e),this.hasSelectedTags){if(this.activeTags.length&&!this.shiftKey)return e.preventDefault(),void this.$refs.selectedTags.focusTag(this.activeTags[0]);if(this.shiftKey&&0===this.$refs.input.selectionStart&&"forward"!==this.$refs.input.selectionDirection)return null===this.focusedTagIndex&&(this.focusedTagIndex=this.selectedTags.length),this.focusedTagIndex>0&&(this.focusedTagIndex-=1),this.initTagIndex=this.selectedTags.length,void this.selectTagsPressingShift();(0===this.$refs.input.selectionEnd||this.inputIsSelected())&&this.$refs.selectedTags.focusLast()}},rightKeyInputHandler(e){if(this.assignEventValues(e),this.activeTags.length&&this.shiftKey&&this.focusedTagIndex=ur&&(this.keyboardIsVirtual=!0)}),dr),setFilterInput(e){this.$emit("update:input",e)},setSelectedTags(e){this.$emit("update:selectedTags",e)},updateSelectedTags(e){this.setSelectedTags([...new Set([...this.selectedTags,...e])])},handleCopy(e){e.preventDefault();const t=[],n={tags:[],input:ir()};if(this.activeTags.length){const e=this.activeTags;n.tags=e,t.push(e.join(" "))}return t.push(n.input),n.tags.length||n.input.length?(e.clipboardData.setData("text/html",lr(n)),e.clipboardData.setData("text/plain",t.join(" ")),n):n},handleCut(e){e.preventDefault();const{input:t,tags:n}=this.handleCopy(e);if(!t&&!n.length)return;const i=this.selectedTags.filter(e=>!n.includes(e)),a=this.input.replace(t,"");this.setSelectedTags(i),this.setFilterInput(a)},handlePaste(e){e.preventDefault();const{types:t}=e.clipboardData;let n=[],i=e.clipboardData.getData("text/plain");if(t.includes("text/html")){const t=e.clipboardData.getData("text/html"),a=or(t);a&&({tags:n=[],input:i=""}=a)}const a=ir();i=a.length?this.input.replace(a,i):Object(it["f"])(this.input,i,document.activeElement.selectionStart),this.setFilterInput(i.trim()),this.allSelectedTagsAreActive?this.setSelectedTags(n):this.updateSelectedTags(n),this.resetActiveTags()},async handleDeleteTag({tagName:e,event:t={}}){const{key:n}=t;this.activeTags.length||this.deleteTags([e]),this.unselectActiveTags(),await this.$nextTick(),ar(this.$refs.input),this.hasSelectedTags&&(await this.focusInput(),"Backspace"===n&&sr(this.$refs.input))}},mounted(){window.visualViewport&&(window.visualViewport.addEventListener("resize",this.updateKeyboardType),this.$once("hook:beforeDestroy",()=>{window.visualViewport.removeEventListener("resize",this.updateKeyboardType)}))}};const pr=1e3;var gr={constants:{ScrollingDebounceDelay:pr},data(){return{isScrolling:!1,scrollRemovedAt:0}},created(){this.deleteScroll=cr(this.deleteScroll,pr)},methods:{deleteScroll(){this.isScrolling=!1,this.scrollRemovedAt=Date.now()},handleScroll(e){const{target:t}=e;if(0!==t.scrollTop)return t.scrollTop=0,void e.preventDefault();const n=150,i=t.offsetWidth,a=i+n;if(t.scrollWidth0?this.focusIndex(this.focusedIndex-1):this.startingPointHook())},focusNext({metaKey:e,ctrlKey:t,shiftKey:n}){(e||t)&&n||(this.externalFocusChange=!1,this.focusedIndex0}},kr=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{staticClass:"tag",attrs:{role:"presentation"}},[n("button",{ref:"button",class:{focus:e.isActiveTag},attrs:{role:"option","aria-selected":e.ariaSelected,"aria-roledescription":"tag"},on:{focus:function(t){return e.$emit("focus",{event:t,tagName:e.name})},click:function(t){return t.preventDefault(),e.$emit("click",{event:t,tagName:e.name})},dblclick:function(t){t.preventDefault(),!e.keyboardIsVirtual&&e.deleteTag()},keydown:[function(t){return t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:e.$emit("keydown",{event:t,tagName:e.name})},function(t){return t.shiftKey?t.ctrlKey||t.altKey||t.metaKey?null:e.$emit("keydown",{event:t,tagName:e.name}):null},function(t){return t.shiftKey&&t.metaKey?t.ctrlKey||t.altKey?null:e.$emit("keydown",{event:t,tagName:e.name}):null},function(t){return t.metaKey?t.ctrlKey||t.shiftKey||t.altKey?null:e.$emit("keydown",{event:t,tagName:e.name}):null},function(t){return t.ctrlKey?t.shiftKey||t.altKey||t.metaKey?null:e.$emit("keydown",{event:t,tagName:e.name}):null},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"delete",[8,46],t.key,["Backspace","Delete","Del"])?null:(t.preventDefault(),e.deleteTag.apply(null,arguments))}],mousedown:function(t){return t.preventDefault(),e.focusButton.apply(null,arguments)},copy:e.handleCopy}},[e.isRemovableTag?e._e():n("span",{staticClass:"visuallyhidden"},[e._v(" Add tag - ")]),e._v(" "+e._s(e.name)+" "),e.isRemovableTag?n("span",{staticClass:"visuallyhidden"},[e._v(" – Tag. Select to remove from list. ")]):e._e()])])},wr=[],Ir={name:"Tag",props:{name:{type:String,required:!0},isFocused:{type:Boolean,default:()=>!1},isRemovableTag:{type:Boolean,default:!1},isActiveTag:{type:Boolean,default:!1},activeTags:{type:Array,required:!1},keyboardIsVirtual:{type:Boolean,default:!1}},watch:{isFocused(e){e&&this.focusButton()}},mounted(){document.addEventListener("copy",this.handleCopy),document.addEventListener("cut",this.handleCut),document.addEventListener("paste",this.handlePaste),this.$once("hook:beforeDestroy",()=>{document.removeEventListener("copy",this.handleCopy),document.removeEventListener("cut",this.handleCut),document.removeEventListener("paste",this.handlePaste)})},methods:{isCurrentlyActiveElement(){return document.activeElement===this.$refs.button},handleCopy(e){if(!this.isCurrentlyActiveElement())return;e.preventDefault();let t=[];t=this.activeTags.length>0?this.activeTags:[this.name],e.clipboardData.setData("text/html",lr({tags:t})),e.clipboardData.setData("text/plain",t.join(" "))},handleCut(e){this.isCurrentlyActiveElement()&&this.isRemovableTag&&(this.handleCopy(e),this.deleteTag(e))},handlePaste(e){this.isCurrentlyActiveElement()&&this.isRemovableTag&&(e.preventDefault(),this.deleteTag(e),this.$emit("paste-content",e))},deleteTag(e){this.$emit("delete-tag",{tagName:this.name,event:e}),this.$emit("prevent-blur")},focusButton(e={}){this.keyboardIsVirtual||this.$refs.button.focus(),0===e.buttons&&this.isFocused&&this.deleteTag(e)}},computed:{ariaSelected:({isActiveTag:e,isRemovableTag:t})=>t?e?"true":"false":null}},Or=Ir,xr=(n("bcfb"),Object(R["a"])(Or,kr,wr,!1,null,"3b809bfa",null)),Dr=xr.exports,Pr={name:"Tags",mixins:[gr,Cr],props:{tags:{type:Array,default:()=>[]},activeTags:{type:Array,default:()=>[]},ariaLabel:{type:String,required:!1},id:{type:String,required:!1},input:{type:String,default:null},areTagsRemovable:{type:Boolean,default:!1},keyboardIsVirtual:{type:Boolean,default:!1}},components:{Tag:Dr},methods:{focusTag(e){this.focusIndex(this.tags.indexOf(e))},startingPointHook(){this.$emit("focus-prev")},handleFocus(e,t){this.focusIndex(t),this.isScrolling=!1,this.$emit("focus",e)},endingPointHook(){this.$emit("focus-next")},resetScroll(){this.$refs["scroll-wrapper"].scrollLeft=0},handleKeydown(e){const{key:t}=e,n=this.tags[this.focusedIndex];rr(t)&&n&&this.$emit("delete-tag",{tagName:n.label||n,event:e})}},computed:{totalItemsToNavigate:({tags:e})=>e.length}},$r=Pr,Ar=(n("8b7a"),Object(R["a"])($r,_r,Sr,!1,null,"4b231516",null)),Lr=Ar.exports;const Nr=5,jr="filter-input",Er="selected-tags",Br="suggested-tags",Rr={autocorrect:"off",autocapitalize:"off",spellcheck:"false",role:"combobox","aria-haspopup":"true","aria-autocomplete":"none","aria-owns":"suggestedTags","aria-controls":"suggestedTags"};var Mr,Kr,zr={name:"FilterInput",mixins:[gr,hr],constants:{FilterInputId:jr,SelectedTagsId:Er,SuggestedTagsId:Br,AXinputProperties:Rr,TagLimit:Nr},components:{TagList:Lr,ClearRoundedIcon:nr,FilterIcon:Tr},props:{positionReversed:{type:Boolean,default:()=>!1},tags:{type:Array,default:()=>[]},selectedTags:{type:Array,default:()=>[]},preventedBlur:{type:Boolean,default:()=>!1},placeholder:{type:String,default:()=>"Filter"},disabled:{type:Boolean,default:()=>!1},value:{type:String,default:()=>""},shouldTruncateTags:{type:Boolean,default:!1},focusInputWhenCreated:{type:Boolean,default:!1},focusInputWhenEmpty:{type:Boolean,default:!1},clearFilterOnTagSelect:{type:Boolean,default:!0}},data(){return{resetedTagsViaDeleteButton:!1,FilterInputId:jr,SelectedTagsId:Er,SuggestedTagsId:Br,AXinputProperties:Rr,showSuggestedTags:!1}},computed:{tagsText:({suggestedTags:e})=>Object(it["g"])({en:{one:"tag",other:"tags"}},e.length),selectedTagsLabel:({tagsText:e})=>"Selected "+e,suggestedTagsLabel:({tagsText:e})=>"Suggested "+e,hasSuggestedTags:({suggestedTags:e})=>e.length,hasSelectedTags:({selectedTags:e})=>e.length,inputIsNotEmpty:({input:e,hasSelectedTags:t})=>e.length||t,searchAriaLabelledBy:({hasSelectedTags:e})=>e?jr.concat(" ",Er):jr,modelValue:{get:({value:e})=>e,set(e){this.$emit("input",e)}},input:({value:e})=>e,suggestedTags:({tags:e,selectedTags:t,shouldTruncateTags:n})=>{const i=e.filter(e=>!t.includes(e));return n?i.slice(0,Nr):i},displaySuggestedTags:({showSuggestedTags:e,suggestedTags:t})=>e&&t.length>0,inputMultipleSelectionListeners:({resetActiveTags:e,handleCopy:t,handleCut:n,handlePaste:i})=>({click:e,copy:t,cut:n,paste:i}),selectedTagsMultipleSelectionListeners:({handleSingleTagClick:e,selectInputAndTags:t,handleDeleteTag:n,selectedTagsKeydownHandler:i,focusTagHandler:a,handlePaste:s})=>({"click-tags":e,"select-all":t,"delete-tag":n,keydown:i,focus:a,"paste-tags":s})},watch:{async selectedTags(){this.resetedTagsViaDeleteButton?this.resetedTagsViaDeleteButton=!1:this.$el.contains(document.activeElement)&&await this.focusInput(),this.displaySuggestedTags&&this.hasSuggestedTags&&this.$refs.suggestedTags.resetScroll()},suggestedTags:{immediate:!0,handler(e){this.$emit("suggested-tags",e)}},showSuggestedTags(e){this.$emit("show-suggested-tags",e)}},methods:{async focusInput(){await this.$nextTick(),this.$refs.input.focus(),!this.input&&this.resetActiveTags&&this.resetActiveTags()},async resetFilters(e=!1){if(this.setFilterInput(""),this.setSelectedTags([]),!e)return this.$emit("update:preventedBlur",!0),this.resetActiveTags&&this.resetActiveTags(),void await this.focusInput();this.resetedTagsViaDeleteButton=!0,this.showSuggestedTags=!1,this.$refs.input.blur()},focusFirstTag(e=(()=>{})){this.showSuggestedTags||(this.showSuggestedTags=!0),this.hasSuggestedTags&&this.$refs.suggestedTags?this.$refs.suggestedTags.focusFirst():e()},setFilterInput(e){this.$emit("input",e)},setSelectedTags(e){this.$emit("update:selectedTags",e)},deleteTags(e){this.setSelectedTags(this.selectedTags.filter(t=>!e.includes(t)))},async handleBlur(e){const t=e.relatedTarget;t&&t.matches&&t.matches("button, input, ul")&&this.$el.contains(t)||(await this.$nextTick(),this.resetActiveTags(),this.preventedBlur?this.$emit("update:preventedBlur",!1):this.showSuggestedTags=!1)},downHandler(e){const t=()=>this.$emit("focus-next",e);this.positionReversed?t():this.focusFirstTag(t)},upHandler(e){const t=()=>this.$emit("focus-prev",e);this.positionReversed?this.focusFirstTag(t):t()},handleFocusPrevOnSelectedTags(){this.positionReversed?this.focusFirstTag(()=>this.$emit("focus-prev")):this.$emit("focus-prev")},handleFocus(){this.showSuggestedTags=!0}},created(){this.focusInputWhenCreated&&document.activeElement!==this.$refs.input&&(this.inputIsNotEmpty||this.focusInputWhenEmpty)&&this.focusInput()}},Fr=zr,qr=(n("228b"),Object(R["a"])(Fr,Gs,Qs,!1,null,"449fced2",null)),Hr=qr.exports,Vr=n("c161"),Wr={name:"QuickNavigationHighlighter",props:{text:{type:String,required:!0},matcherText:{type:String,default:""}},render(e){const{matcherText:t,text:n}=this,i=[];let a=0;return t?([...t].forEach(t=>{const s=n.toLowerCase().indexOf(t.toLowerCase(),a);a&&i.push(e("span",n.slice(a,s)));const r=s+1;i.push(e("span",{class:"match"},n.slice(s,r))),a=r}),e("p",{class:"highlight"},i)):e("span",{class:"highlight"},n)}},Ur=Wr,Gr=(n("ca3d"),Object(R["a"])(Ur,Mr,Kr,!1,null,"1c4190f0",null)),Qr=Gr.exports,Xr=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"magnifier-icon",attrs:{viewBox:"0 0 14 14",themeId:"magnifier"}},[n("path",{attrs:{d:"M15.0013 14.0319L10.9437 9.97424C11.8165 8.88933 12.2925 7.53885 12.2929 6.14645C12.2929 2.75841 9.53449 0 6.14645 0C2.75841 0 0 2.75841 0 6.14645C0 9.53449 2.75841 12.2929 6.14645 12.2929C7.57562 12.2929 8.89486 11.7932 9.94425 10.9637L14.0019 15.0213L15.0013 14.0319ZM6.13645 11.0736C4.83315 11.071 3.58399 10.5521 2.66241 9.63048C1.74084 8.70891 1.22194 7.45974 1.2193 6.15644C1.2193 3.44801 3.41802 1.23928 6.13645 1.23928C8.85488 1.23928 11.0536 3.44801 11.0536 6.15644C11.0636 8.86488 8.85488 11.0736 6.13645 11.0736Z"}})])},Yr=[],Jr={name:"MagnifierIcon",components:{SVGIcon:Js["a"]}},Zr=Jr,eo=Object(R["a"])(Zr,Xr,Yr,!1,null,null,null),to=eo.exports,no=n("86d8"),io={name:"QuickNavigationModal",components:{FilterInput:Hr,GenericModal:Vr["a"],MagnifierIcon:to,TopicTypeIcon:ge["a"],QuickNavigationHighlighter:Qr,Reference:no["a"]},mixins:[Cr],data(){return{debouncedInput:"",userInput:""}},props:{children:{type:Array,required:!0},showQuickNavigationModal:{type:Boolean,required:!0}},computed:{childrenMap({children:e}){return Ns(e)},filteredSymbols:({constructFuzzyRegex:e,children:t,fuzzyMatch:n,processedUserInput:i,childrenMap:a,orderSymbolsByPriority:s})=>{const r=t.filter(e=>"groupMarker"!==e.type&&null!=e.title);if(!i)return[];const o=n({inputLength:i.length,symbols:r,processedInputRegex:new RegExp(e(i),"i"),childrenMap:a}),l=[...new Map(o.map(e=>[e.path,e])).values()];return s(l).slice(0,20)},isVisible:{get:({showQuickNavigationModal:e})=>e,set(e){this.$emit("update:showQuickNavigationModal",e)}},noResultsWereFound:({processedUserInput:e,totalItemsToNavigate:t})=>e.length&&!t,processedUserInput:({debouncedInput:e})=>e.replace(/\s/g,""),totalItemsToNavigate:({filteredSymbols:e})=>e.length},watch:{userInput:"debounceInput",focusedIndex:"scrollIntoView"},methods:{closeQuickNavigationModal(){this.$emit("update:showQuickNavigationModal",!1)},constructFuzzyRegex(e){return[...e].reduce((t,n,i)=>t.concat(`[${n}]`).concat(i{const a=n.exec(t.title);if(!a)return!1;const s=a[0].length;return!(s>3*e)&&{uid:t.uid,title:t.title,path:t.path,parents:Rs(t.parent,i),type:t.type,inputLengthDifference:t.title.length-e,matchLength:s,matchLengthDifference:s-e,start:a.index,substring:a[0]}}).filter(Boolean)},handleKeyEnter(){!this.noResultsWereFound&&this.userInput.length&&(this.$router.push(this.filteredSymbols[this.focusedIndex].path),this.closeQuickNavigationModal())},orderSymbolsByPriority(e){return e.sort((e,t)=>e.matchLengthDifference>t.matchLengthDifference?1:e.matchLengthDifferencet.start?1:e.startt.inputLengthDifference?1:e.inputLengthDifference{const n=Math.min(t,vo);return Math.floor(Math.min(n*(e/100),n))},So={medium:30,large:20},Co={medium:50,large:50},ko="sidebar-scroll-lock";var wo={name:"AdjustableSidebarWidth",constants:{SCROLL_LOCK_ID:ko},components:{BreakpointEmitter:uo["a"]},inject:["store"],props:{shownOnMobile:{type:Boolean,default:!1},hiddenOnLarge:{type:Boolean,default:!1},fixedWidth:{type:Number,default:null}},data(){const e=window.innerWidth,t=window.innerHeight,n=ho["b"].large,i=_o(So[n]),a=_o(Co[n]),s=e>=vo?bo:Math.round((i+a)/2),r=co["c"].get(yo,s);return{isDragging:!1,width:this.fixedWidth||Math.min(Math.max(r,i),a),isTouch:!1,windowWidth:e,windowHeight:t,breakpoint:n,noTransition:!1,isTransitioning:!1,isOpeningOnLarge:!1,focusTrapInstance:null,mobileTopOffset:0,topOffset:0}},computed:{minWidthPercent:({breakpoint:e})=>So[e]||0,maxWidthPercent:({breakpoint:e})=>Co[e]||100,maxWidth:({maxWidthPercent:e,windowWidth:t,fixedWidth:n})=>Math.max(n,_o(e,t)),minWidth:({minWidthPercent:e,windowWidth:t,fixedWidth:n})=>Math.min(n||t,_o(e,t)),widthInPx:({width:e})=>e+"px",hiddenOnLargeThreshold:({minWidth:e})=>e/2,events:({isTouch:e})=>e?To.touch:To.mouse,asideStyles:({widthInPx:e,mobileTopOffset:t,topOffset:n,windowHeight:i})=>({width:e,"--top-offset":n?n+"px":null,"--top-offset-mobile":t+"px","--app-height":i+"px"}),asideClasses:({isDragging:e,shownOnMobile:t,noTransition:n,isTransitioning:i,hiddenOnLarge:a,mobileTopOffset:s,isOpeningOnLarge:r})=>({dragging:e,"show-on-mobile":t,"hide-on-large":a,"is-opening-on-large":r,"no-transition":n,"sidebar-transitioning":i,"has-mobile-top-offset":s}),scrollLockID:()=>ko,BreakpointScopes:()=>ho["c"]},async mounted(){window.addEventListener("keydown",this.onEscapeKeydown),window.addEventListener("resize",this.storeWindowSize,{passive:!0}),window.addEventListener("orientationchange",this.storeWindowSize,{passive:!0}),this.storeTopOffset(),0===this.topOffset&&0===window.scrollY||window.addEventListener("scroll",this.storeTopOffset,{passive:!0}),this.$once("hook:beforeDestroy",()=>{window.removeEventListener("keydown",this.onEscapeKeydown),window.removeEventListener("resize",this.storeWindowSize),window.removeEventListener("orientationchange",this.storeWindowSize),window.removeEventListener("scroll",this.storeTopOffset),this.shownOnMobile&&this.toggleScrollLock(!1),this.focusTrapInstance&&this.focusTrapInstance.destroy()}),await this.$nextTick(),this.focusTrapInstance=new go["a"](this.$refs.aside)},watch:{$route:"closeMobileSidebar",width:{immediate:!0,handler:we((function(e){this.emitEventChange(e)}),150)},windowWidth:"getWidthInCheck",async breakpoint(e){this.getWidthInCheck(),e===ho["b"].large&&this.closeMobileSidebar(),this.noTransition=!0,await Object(Ie["b"])(5),this.noTransition=!1},shownOnMobile:"handleExternalOpen",isTransitioning(e){e||this.updateContentWidthInStore()},hiddenOnLarge(){this.isTransitioning=!0}},methods:{getWidthInCheck:cr((function(){this.width>this.maxWidth?this.width=this.maxWidth:this.widththis.maxWidth&&(i=this.maxWidth),this.hiddenOnLarge&&i>=this.hiddenOnLargeThreshold&&(this.$emit("update:hiddenOnLarge",!1),this.isOpeningOnLarge=!0),this.width=Math.max(i,this.minWidth),i<=this.hiddenOnLargeThreshold&&this.$emit("update:hiddenOnLarge",!0)},stopDrag(e){e.preventDefault(),this.isDragging&&(this.isDragging=!1,co["c"].set(yo,this.width),document.removeEventListener(this.events.move,this.handleDrag),document.removeEventListener(this.events.end,this.stopDrag),this.emitEventChange(this.width))},emitEventChange(e){this.$emit("width-change",e),this.updateContentWidthInStore()},getTopOffset(){const e=document.getElementById(mo["e"]);if(!e)return 0;const{y:t}=e.getBoundingClientRect();return Math.max(t,0)},handleExternalOpen(e){e&&(this.mobileTopOffset=this.getTopOffset()),this.toggleScrollLock(e)},async updateContentWidthInStore(){await this.$nextTick(),this.store.setContentWidth(this.$refs.content.offsetWidth)},async toggleScrollLock(e){const t=document.getElementById(this.scrollLockID);e?(await this.$nextTick(),po["a"].lockScroll(t),this.focusTrapInstance.start(),fo["a"].hide(this.$refs.aside)):(po["a"].unlockScroll(t),this.focusTrapInstance.stop(),fo["a"].show(this.$refs.aside))},storeTopOffset:we((function(){this.topOffset=this.getTopOffset()}),60),trackTransitionStart({propertyName:e}){"width"!==e&&"transform"!==e||(this.isTransitioning=!0)},trackTransitionEnd({propertyName:e}){"width"!==e&&"transform"!==e||(this.isTransitioning=!1,this.isOpeningOnLarge=!1)}}},Io=wo,Oo=(n("c3a6"),Object(R["a"])(Io,oo,lo,!1,null,"8b4eac40",null)),xo=Oo.exports,Do=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("nav",{staticClass:"navigator",attrs:{"aria-labelledby":e.INDEX_ROOT_KEY}},[e.isFetching?n("LoadingNavigatorCard",e._b({on:{close:function(t){return e.$emit("close")}}},"LoadingNavigatorCard",e.technologyProps,!1)):n("NavigatorCard",e._b({attrs:{type:e.type,children:e.flatChildren,"active-path":e.activePath,scrollLockID:e.scrollLockID,"error-fetching":e.errorFetching,"render-filter-on-top":e.renderFilterOnTop,"api-changes":e.apiChanges,"allow-hiding":e.allowHiding,"navigator-references":e.navigatorReferences},on:{close:function(t){return e.$emit("close")}}},"NavigatorCard",e.technologyProps,!1)),n("div",{staticClass:"visuallyhidden",attrs:{"aria-live":"polite"}},[e._v(" Navigator is "+e._s(e.isFetching?"loading":"ready")+" ")])],1)},Po=[],$o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("BaseNavigatorCard",e._b({class:{"filter-on-top":e.renderFilterOnTop},on:{close:function(t){return e.$emit("close")},"head-click-alt":e.toggleAllNodes},scopedSlots:e._u([{key:"body",fn:function(t){var i=t.className;return[e._t("post-head"),n("div",{class:i,on:{"!keydown":[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:t.altKey?(t.preventDefault(),e.focusFirst.apply(null,arguments)):null},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:t.altKey?(t.preventDefault(),e.focusLast.apply(null,arguments)):null},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])||t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:(t.preventDefault(),e.focusPrev.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])||t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:(t.preventDefault(),e.focusNext.apply(null,arguments))}]}},[n("DynamicScroller",{directives:[{name:"show",rawName:"v-show",value:e.hasNodes,expression:"hasNodes"}],ref:"scroller",staticClass:"scroller",attrs:{id:e.scrollLockID,"aria-label":"Documentation Navigator",items:e.nodesToRender,"min-item-size":e.itemSize,"emit-update":"","key-field":"uid"},on:{update:e.handleScrollerUpdate,"!keydown":[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:t.altKey?(t.preventDefault(),e.focusFirst.apply(null,arguments)):null},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:t.altKey?(t.preventDefault(),e.focusLast.apply(null,arguments)):null},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])||t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:(t.preventDefault(),e.focusPrev.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])||t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:(t.preventDefault(),e.focusNext.apply(null,arguments))}]},nativeOn:{focusin:function(t){return e.handleFocusIn.apply(null,arguments)},focusout:function(t){return e.handleFocusOut.apply(null,arguments)}},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.item,a=t.active,s=t.index;return[n("DynamicScrollerItem",e._b({},"DynamicScrollerItem",{active:a,item:i,dataIndex:s},!1),[n("NavigatorCardItem",{attrs:{item:i,isRendered:a,"filter-pattern":e.filterPattern,"is-active":i.uid===e.activeUID,"is-bold":e.activePathMap[i.uid],expanded:e.openNodes[i.uid],"api-change":e.apiChangesObject[i.path],isFocused:e.focusedIndex===s,enableFocus:!e.externalFocusChange,"navigator-references":e.navigatorReferences},on:{toggle:e.toggle,"toggle-full":e.toggleFullTree,"toggle-siblings":e.toggleSiblings,navigate:e.handleNavigationChange,"focus-parent":e.focusNodeParent}})],1)]}}],null,!0)}),n("div",{staticClass:"visuallyhidden",attrs:{"aria-live":"polite"}},[e._v(" "+e._s(e.politeAriaLive)+" ")]),n("div",{staticClass:"no-items-wrapper",attrs:{"aria-live":"assertive"}},[n("p",{staticClass:"no-items"},[e._v(" "+e._s(e.assertiveAriaLive)+" ")])])],1),e.errorFetching?e._e():n("div",{staticClass:"filter-wrapper"},[n("div",{staticClass:"navigator-filter"},[n("div",{staticClass:"input-wrapper"},[n("FilterInput",{staticClass:"filter-component",attrs:{tags:e.availableTags,"selected-tags":e.selectedTagsModelValue,placeholder:"Filter","should-keep-open-on-blur":!1,"position-reversed":!e.renderFilterOnTop,"clear-filter-on-tag-select":!1},on:{"update:selectedTags":function(t){e.selectedTagsModelValue=t},"update:selected-tags":function(t){e.selectedTagsModelValue=t},clear:e.clearFilters},model:{value:e.filter,callback:function(t){e.filter=t},expression:"filter"}})],1)])])]}}],null,!0)},"BaseNavigatorCard",{technology:e.technology,isTechnologyBeta:e.isTechnologyBeta,technologyPath:e.technologyPath},!1))},Ao=[],Lo=n("e508");function No(e){const t=Object(it["h"])(Object(it["d"])(e));return new RegExp(t,"ig")}var jo,Eo,Bo=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("BaseNavigatorCardItem",{staticClass:"navigator-card-item",class:{expanded:e.expanded,active:e.isActive,"is-group":e.isGroupMarker},style:{"--nesting-index":e.item.depth},attrs:{"data-nesting-index":e.item.depth,id:"container-"+e.item.uid,"aria-hidden":e.isRendered?null:"true",hideNavigatorIcon:e.isGroupMarker},nativeOn:{keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])||"button"in t&&0!==t.button?null:(t.preventDefault(),e.handleLeftKeydown.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"right",39,t.key,["Right","ArrowRight"])||"button"in t&&2!==t.button||t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:(t.preventDefault(),e.handleRightKeydown.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.clickReference.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"right",39,t.key,["Right","ArrowRight"])?null:t.altKey?"button"in t&&2!==t.button?null:(t.preventDefault(),e.toggleEntireTree.apply(null,arguments)):null}]},scopedSlots:e._u([{key:"depth-spacer",fn:function(){return[n("span",{attrs:{hidden:"",id:e.usageLabel}},[e._v(" To navigate the symbols, press Up Arrow, Down Arrow, Left Arrow or Right Arrow ")]),e.isParent?n("button",{staticClass:"tree-toggle",attrs:{tabindex:"-1","aria-labelledby":e.item.uid,"aria-expanded":e.expanded?"true":"false","aria-describedby":e.ariaDescribedBy},on:{click:[function(t){return t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:(t.preventDefault(),e.toggleTree.apply(null,arguments))},function(t){return t.altKey?(t.preventDefault(),e.toggleEntireTree.apply(null,arguments)):null},function(t){return t.metaKey?(t.preventDefault(),e.toggleSiblings.apply(null,arguments)):null}]}},[n("InlineChevronRightIcon",{staticClass:"icon-inline chevron",class:{rotate:e.expanded,animating:e.idState.isOpening}})],1):e._e()]},proxy:!0},{key:"navigator-icon",fn:function(t){var i,a=t.className;return[e.apiChange?n("span",{class:[(i={},i["changed changed-"+e.apiChange]=e.apiChange,i),a]}):n("TopicTypeIcon",{key:e.item.uid,class:a,attrs:{type:e.item.type,"image-override":e.item.icon?e.navigatorReferences[e.item.icon]:null,shouldCalculateOptimalWidth:!1}})]}},{key:"title-container",fn:function(){return[e.isParent?n("span",{attrs:{hidden:"",id:e.parentLabel}},[e._v(", containing "+e._s(e.item.childUIDs.length)+" symbols")]):e._e(),n("span",{attrs:{id:e.siblingsLabel,hidden:""}},[e._v(" "+e._s(e.item.index+1)+" of "+e._s(e.item.siblingsCount)+" symbols inside ")]),n(e.refComponent,{ref:"reference",tag:"component",staticClass:"leaf-link",class:{bolded:e.isBold},attrs:{id:e.item.uid,url:e.isGroupMarker?null:e.item.path||"",tabindex:e.isFocused?"0":"-1","aria-describedby":e.ariaDescribedBy+" "+e.usageLabel},nativeOn:{click:[function(t){return t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:e.handleClick.apply(null,arguments)},function(t){return t.altKey?(t.preventDefault(),e.toggleEntireTree.apply(null,arguments)):null}]}},[n("HighlightMatches",{attrs:{text:e.item.title,matcher:e.filterPattern}})],1),e.isDeprecated?n("Badge",{attrs:{variant:"deprecated"}}):e.isBeta?n("Badge",{attrs:{variant:"beta"}}):e._e()]},proxy:!0}])})},Ro=[],Mo=n("34b0"),Ko=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"navigator-card-item"},[n("div",{staticClass:"head-wrapper"},[n("div",{staticClass:"depth-spacer"},[e._t("depth-spacer")],2),e.hideNavigatorIcon?e._e():n("div",{staticClass:"navigator-icon-wrapper"},[e._t("navigator-icon",null,{className:"navigator-icon"})],2),n("div",{staticClass:"title-container"},[e._t("title-container")],2)])])},zo=[],Fo={name:"BaseNavigatorCardItem",props:{hideNavigatorIcon:{type:Boolean,default:()=>!1}}},qo=Fo,Ho=(n("b39c"),Object(R["a"])(qo,Ko,zo,!1,null,"0b9fe514",null)),Vo=Ho.exports,Wo={name:"HighlightMatch",props:{text:{type:String,required:!0},matcher:{type:RegExp,default:void 0}},render(e){const{matcher:t,text:n}=this;if(!t)return e("p",{class:"highlight"},n);const i=[];let a=0,s=null;const r=new RegExp(t,"gi");while(null!==(s=r.exec(n))){const t=s[0].length,r=s.index+t,o=n.slice(a,s.index);o&&i.push(e("span",o));const l=n.slice(s.index,r);l&&i.push(e("span",{class:"match"},l)),a=r}const o=n.slice(a,n.length);return o&&i.push(e("span",o)),e("p",{class:"highlight"},i)}},Uo=Wo,Go=(n("b831"),Object(R["a"])(Uo,jo,Eo,!1,null,"d75876e2",null)),Qo=Go.exports,Xo={name:"NavigatorCardItem",mixins:[Object(Lo["c"])({idProp:e=>e.item.uid})],components:{BaseNavigatorCardItem:Vo,HighlightMatches:Qo,TopicTypeIcon:ge["a"],InlineChevronRightIcon:Mo["a"],Reference:no["a"],Badge:qn["a"]},props:{isRendered:{type:Boolean,default:!1},item:{type:Object,required:!0},expanded:{type:Boolean,default:!1},filterPattern:{type:RegExp,default:void 0},isActive:{type:Boolean,default:!1},isBold:{type:Boolean,default:!1},apiChange:{type:String,default:null,validator:e=>yn["d"].includes(e)},isFocused:{type:Boolean,default:()=>!1},enableFocus:{type:Boolean,default:!0},navigatorReferences:{type:Object,default:()=>({})}},idState(){return{isOpening:!1}},computed:{isGroupMarker:({item:{type:e}})=>e===fe["b"].groupMarker,isParent:({item:e,isGroupMarker:t})=>!!e.childUIDs.length&&!t,parentLabel:({item:e})=>"label-parent-"+e.uid,siblingsLabel:({item:e})=>"label-"+e.uid,usageLabel:({item:e})=>"usage-"+e.uid,ariaDescribedBy({item:e,siblingsLabel:t,parentLabel:n,isParent:i}){const a=`${t} ${e.parent}`;return i?`${a} ${n}`:""+a},isBeta:({item:{beta:e}})=>!!e,isDeprecated:({item:{deprecated:e}})=>!!e,refComponent:({isGroupMarker:e})=>e?"h3":no["a"]},methods:{toggleTree(){this.idState.isOpening=!0,this.$emit("toggle",this.item)},toggleEntireTree(){this.idState.isOpening=!0,this.$emit("toggle-full",this.item)},toggleSiblings(){this.idState.isOpening=!0,this.$emit("toggle-siblings",this.item)},handleLeftKeydown(){this.expanded?this.toggleTree():this.$emit("focus-parent",this.item)},handleRightKeydown(){!this.expanded&&this.isParent&&this.toggleTree()},clickReference(){(this.$refs.reference.$el||this.$refs.reference).click()},focusReference(){(this.$refs.reference.$el||this.$refs.reference).focus()},handleClick(){this.isGroupMarker||this.$emit("navigate",this.item.uid)}},watch:{async isFocused(e){await Object(Ie["b"])(8),e&&this.isRendered&&this.enableFocus&&this.focusReference()},async expanded(){await Object(Ie["b"])(9),this.idState.isOpening=!1}}},Yo=Xo,Jo=(n("bab5"),Object(R["a"])(Yo,Bo,Ro,!1,null,"08a89c9e",null)),Zo=Jo.exports,el=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"navigator-card"},[n("div",{staticClass:"navigator-card-full-height"},[n("div",{staticClass:"navigator-card-inner"},[n("div",{staticClass:"head-wrapper"},[n("div",{staticClass:"head-inner"},[n("button",{staticClass:"close-card",class:{"hide-on-large":!e.allowHiding},attrs:{id:e.SIDEBAR_HIDE_BUTTON_ID,"aria-label":"Close documentation navigator"},on:{click:e.handleHideClick}},[n("SidenavIcon",{staticClass:"icon-inline close-icon"})],1),n("Reference",{staticClass:"navigator-head",attrs:{id:e.INDEX_ROOT_KEY,url:e.technologyPath},nativeOn:{click:function(t){return t.altKey?(t.preventDefault(),e.$emit("head-click-alt")):null}}},[n("h2",{staticClass:"card-link"},[e._v(" "+e._s(e.technology)+" ")]),e.isTechnologyBeta?n("Badge",{attrs:{variant:"beta"}}):e._e()],1)],1)]),e._t("body",null,{className:"card-body"})],2)])])},tl=[],nl=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"sidenav-icon",attrs:{viewBox:"0 0 14 14",height:"14",themeId:"sidenav"}},[n("path",{attrs:{d:"M6.533 1.867h-6.533v10.267h14v-10.267zM0.933 11.2v-8.4h4.667v8.4zM13.067 11.2h-6.533v-8.4h6.533z"}}),n("path",{attrs:{d:"M1.867 5.133h2.8v0.933h-2.8z"}}),n("path",{attrs:{d:"M1.867 7.933h2.8v0.933h-2.8z"}})])},il=[],al={name:"SidenavIcon",components:{SVGIcon:Js["a"]}},sl=al,rl=Object(R["a"])(sl,nl,il,!1,null,null,null),ol=rl.exports,ll={name:"BaseNavigatorCard",components:{SidenavIcon:ol,Reference:no["a"],Badge:qn["a"]},props:{allowHiding:{type:Boolean,default:!0},technologyPath:{type:String,default:""},technology:{type:String,required:!0},isTechnologyBeta:{type:Boolean,default:!1}},data(){return{SIDEBAR_HIDE_BUTTON_ID:As,INDEX_ROOT_KEY:Ps}},methods:{async handleHideClick(){this.$emit("close"),await this.$nextTick();const e=document.getElementById(mo["d"]);e&&e.focus()}}},cl=ll,dl=(n("4de6"),Object(R["a"])(cl,el,tl,!1,null,"4a898368",null)),ul=dl.exports;const hl=e=>e[e.length-1],pl=(e,t)=>JSON.stringify(e)===JSON.stringify(t),gl="navigator.state",fl="No results found.",ml="No data available.",yl="There was an error fetching the data.",vl="items were found. Tab back to navigate through them.",bl={sampleCode:"sampleCode",tutorials:"tutorials",articles:"articles"},Tl={[bl.sampleCode]:"Sample Code",[bl.tutorials]:"Tutorials",[bl.articles]:"Articles"},_l=Object.fromEntries(Object.entries(Tl).map(([e,t])=>[t,e])),Sl={[fe["b"].article]:bl.articles,[fe["b"].learn]:bl.tutorials,[fe["b"].overview]:bl.tutorials,[fe["b"].resources]:bl.tutorials,[fe["b"].sampleCode]:bl.sampleCode,[fe["b"].section]:bl.tutorials,[fe["b"].tutorial]:bl.tutorials,[fe["b"].project]:bl.tutorials},Cl="Hide Deprecated";var kl={name:"NavigatorCard",constants:{STORAGE_KEY:gl,FILTER_TAGS:bl,FILTER_TAGS_TO_LABELS:Tl,FILTER_LABELS_TO_TAGS:_l,TOPIC_TYPE_TO_TAG:Sl,NO_RESULTS:fl,NO_CHILDREN:ml,ERROR_FETCHING:yl,ITEMS_FOUND:vl,HIDE_DEPRECATED_TAG:Cl},components:{FilterInput:Hr,NavigatorCardItem:Zo,DynamicScroller:Lo["a"],DynamicScrollerItem:Lo["b"],BaseNavigatorCard:ul},props:{...ul.props,children:{type:Array,required:!0},activePath:{type:Array,required:!0},type:{type:String,required:!0},scrollLockID:{type:String,default:""},errorFetching:{type:Boolean,default:!1},apiChanges:{type:Object,default:null},isTechnologyBeta:{type:Boolean,default:!1},navigatorReferences:{type:Object,default:()=>{}},renderFilterOnTop:{type:Boolean,default:!1}},mixins:[Cr],data(){return{filter:"",debouncedFilter:"",selectedTags:[],openNodes:Object.freeze({}),nodesToRender:Object.freeze([]),activeUID:null,lastFocusTarget:null,NO_RESULTS:fl,NO_CHILDREN:ml,ERROR_FETCHING:yl,ITEMS_FOUND:vl,allNodesToggled:!1}},computed:{politeAriaLive:({hasNodes:e,nodesToRender:t})=>e?[t.length,vl].join(" "):"",assertiveAriaLive:({hasNodes:e,hasFilter:t,errorFetching:n})=>e?"":t?fl:n?yl:ml,availableTags:({selectedTags:e,renderableChildNodesMap:t,apiChangesObject:n})=>{if(e.length)return[];const i=new Set(Object.values(n)),a=new Set(Object.values(Tl)),s=new Set([Cl]);i.size&&s.delete(Cl);const r={type:[],changes:[],other:[]};for(const o in t){if(!Object.hasOwnProperty.call(t,o))continue;if(!a.size&&!i.size&&!s.size)break;const{type:e,path:l,deprecated:c}=t[o],d=Tl[Sl[e]],u=n[l];a.has(d)&&(r.type.push(d),a.delete(d)),u&&i.has(u)&&(r.changes.push(yn["b"][u]),i.delete(u)),c&&s.has(Cl)&&(r.other.push(Cl),s.delete(Cl))}return r.type.concat(r.changes,r.other)},selectedTagsModelValue:{get:({selectedTags:e})=>e.map(e=>Tl[e]||yn["b"][e]||e),set(e){(this.selectedTags.length||e.length)&&(this.selectedTags=e.map(e=>_l[e]||yn["a"][e]||e))}},filterPattern:({debouncedFilter:e})=>e?new RegExp(No(e),"i"):null,itemSize:()=>$s,childrenMap({children:e}){return Ns(e)},activePathChildren({activeUID:e,childrenMap:t}){return e&&t[e]?Rs(e,t):[]},activePathMap:({activePathChildren:e})=>Object.fromEntries(e.map(({uid:e})=>[e,!0])),activeIndex:({activeUID:e,nodesToRender:t})=>t.findIndex(t=>t.uid===e),filteredChildren({hasFilter:e,children:t,filterPattern:n,selectedTags:i,apiChanges:a}){if(!e)return[];const s=new Set(i);return t.filter(({title:e,path:t,type:i,deprecated:r,deprecatedChildrenCount:o,childUIDs:l})=>{const c=r||o===l.length,d=!n||n.test(e);let u=!0;s.size&&(u=s.has(Sl[i]),a&&!u&&(u=s.has(a[t])),!c&&s.has(Cl)&&(u=!0));const h=!a||!!a[t];return d&&u&&h})},renderableChildNodesMap({hasFilter:e,childrenMap:t,deprecatedHidden:n,filteredChildren:i,removeDeprecated:a}){if(!e)return t;const s=i.length-1,r=new Set([]);for(let o=s;o>=0;o-=1){const e=i[o],s=t[e.groupMarkerUID];if(s&&r.add(s),r.has(e))continue;if(r.has(t[e.parent])&&e.type!==fe["b"].groupMarker){r.add(e);continue}let l=[];e.childUIDs.length&&(l=a(Es(e.uid,t),n)),l.concat(Rs(e.uid,t)).forEach(e=>r.add(e))}return Ns([...r])},nodeChangeDeps:({filteredChildren:e,activePathChildren:t,debouncedFilter:n,selectedTags:i})=>[e,t,n,i],hasFilter({debouncedFilter:e,selectedTags:t,apiChanges:n}){return Boolean(e.length||t.length||n)},deprecatedHidden:({selectedTags:e})=>e[0]===Cl,apiChangesObject(){return this.apiChanges||{}},hasNodes:({nodesToRender:e})=>!!e.length,totalItemsToNavigate:({nodesToRender:e})=>e.length,lastActivePathItem:({activePath:e})=>hl(e)},created(){this.restorePersistedState()},watch:{filter:"debounceInput",nodeChangeDeps:"trackOpenNodes",activePath:"handleActivePathChange",apiChanges(e){e||(this.selectedTags=this.selectedTags.filter(e=>!yn["b"][e]))}},methods:{toggleAllNodes(){const e=this.children.filter(e=>e.parent===Ps&&e.type!==fe["b"].groupMarker&&e.childUIDs.length);this.allNodesToggled=!this.allNodesToggled,this.allNodesToggled&&(this.openNodes={},this.generateNodesToRender()),e.forEach(e=>{this.toggleFullTree(e)})},clearFilters(){this.filter="",this.debouncedFilter="",this.selectedTags=[]},scrollToFocus(){this.$refs.scroller.scrollToItem(this.focusedIndex)},debounceInput:cr((function(e){this.debouncedFilter=e,this.lastFocusTarget=null}),200),trackOpenNodes([e,t,n,i],[,a=[],s="",r=[]]=[]){if(n!==s&&!s&&this.getFromStorage("filter")||!pl(i,r)&&!r.length&&this.getFromStorage("selectedTags",[]).length)return;const o=!pl(a,t),{childrenMap:l}=this;let c=t;if(!(this.deprecatedHidden&&!this.debouncedFilter.length||o&&this.hasFilter)&&this.hasFilter){const t=new Set,n=e.length-1;for(let i=n;i>=0;i-=1){const n=e[i];t.has(l[n.parent])||t.has(n)||Rs(n.uid,l).slice(0,-1).forEach(e=>t.add(e))}c=[...t]}const d=o?{...this.openNodes}:{},u=c.reduce((e,t)=>(e[t.uid]=!0,e),d);this.openNodes=Object.freeze(u),this.generateNodesToRender(),this.updateFocusIndexExternally()},toggle(e){const t=this.openNodes[e.uid];let n=[],i=[];if(t){const t=Object(w["a"])(this.openNodes),n=Es(e.uid,this.childrenMap);n.forEach(({uid:e})=>{delete t[e]}),this.openNodes=Object.freeze(t),i=n.slice(1)}else this.openNodes=Object.freeze({...this.openNodes,[e.uid]:!0}),n=Bs(e.uid,this.childrenMap,this.children).filter(e=>this.renderableChildNodesMap[e.uid]);this.augmentRenderNodes({uid:e.uid,include:n,exclude:i})},toggleFullTree(e){const t=this.openNodes[e.uid],n=Object(w["a"])(this.openNodes),i=Es(e.uid,this.childrenMap);let a=[],s=[];i.forEach(({uid:e})=>{t?delete n[e]:n[e]=!0}),t?a=i.slice(1):s=i.slice(1).filter(e=>this.renderableChildNodesMap[e.uid]),this.openNodes=Object.freeze(n),this.augmentRenderNodes({uid:e.uid,exclude:a,include:s})},toggleSiblings(e){const t=this.openNodes[e.uid],n=Object(w["a"])(this.openNodes),i=Ms(e.uid,this.childrenMap,this.children);i.forEach(({uid:e,childUIDs:i,type:a})=>{if(i.length&&a!==fe["b"].groupMarker)if(t){const t=Es(e,this.childrenMap);t.forEach(e=>{delete n[e.uid]}),delete n[e],this.augmentRenderNodes({uid:e,exclude:t.slice(1),include:[]})}else{n[e]=!0;const t=Bs(e,this.childrenMap,this.children).filter(e=>this.renderableChildNodesMap[e.uid]);this.augmentRenderNodes({uid:e,exclude:[],include:t})}}),this.openNodes=Object.freeze(n),this.persistState()},removeDeprecated(e,t){return t?e.filter(({deprecated:e})=>!e):e},generateNodesToRender(){const{children:e,openNodes:t,renderableChildNodesMap:n}=this;this.nodesToRender=Object.freeze(e.filter(e=>n[e.uid]&&(e.parent===Ps||t[e.parent]))),this.persistState(),this.scrollToElement()},augmentRenderNodes({uid:e,include:t=[],exclude:n=[]}){const i=this.nodesToRender.findIndex(t=>t.uid===e);if(t.length){const e=t.filter(e=>!this.nodesToRender.includes(e)),n=this.nodesToRender.slice(0);n.splice(i+1,0,...e),this.nodesToRender=Object.freeze(n)}else if(n.length){const e=new Set(n);this.nodesToRender=Object.freeze(this.nodesToRender.filter(t=>!e.has(t)))}this.persistState()},getFromStorage(e,t=null){const n=co["b"].get(gl,{}),i=n[this.technologyPath];return i?e?i[e]||t:i:t},persistState(){const e={path:this.lastActivePathItem},{path:t}=this.activeUID&&this.childrenMap[this.activeUID]||e,n={technology:this.technology,path:t,hasApiChanges:!!this.apiChanges,openNodes:Object.keys(this.openNodes).map(Number),nodesToRender:this.nodesToRender.map(({uid:e})=>e),activeUID:this.activeUID,filter:this.filter,selectedTags:this.selectedTags},i={...co["b"].get(gl,{}),[this.technologyPath]:n};co["b"].set(gl,i)},clearPersistedState(){const e={...co["b"].get(gl,{}),[this.technologyPath]:{}};co["b"].set(gl,e)},restorePersistedState(){const e=this.getFromStorage();if(!e||e.path!==this.lastActivePathItem)return this.clearPersistedState(),void this.handleActivePathChange(this.activePath);const{technology:t,nodesToRender:n=[],filter:i="",hasAPIChanges:a=!1,activeUID:s=null,selectedTags:r=[],openNodes:o}=e;if(!n.length&&!i&&!r.length)return this.clearPersistedState(),void this.handleActivePathChange(this.activePath);const{childrenMap:l}=this,c=n.every(e=>l[e]),d=s?(this.childrenMap[s]||{}).path===this.lastActivePathItem:1===this.activePath.length;if(t!==this.technology||!c||a!==Boolean(this.apiChanges)||!d||s&&!i&&!r.length&&!n.includes(s))return this.clearPersistedState(),void this.handleActivePathChange(this.activePath);this.openNodes=Object.freeze(Object.fromEntries(o.map(e=>[e,!0]))),this.nodesToRender=Object.freeze(n.map(e=>l[e])),this.selectedTags=r,this.filter=i,this.debouncedFilter=this.filter,this.activeUID=s,this.scrollToElement()},async scrollToElement(){if(await Object(Ie["b"])(1),!this.$refs.scroller)return;if(this.hasFilter&&!this.deprecatedHidden)return void this.$refs.scroller.scrollToItem(0);const e=document.getElementById(this.activeUID);if(e&&0===this.getChildPositionInScroller(e))return;const t=this.nodesToRender.findIndex(e=>e.uid===this.activeUID);-1!==t&&this.$refs.scroller.scrollToItem(t)},getChildPositionInScroller(e){if(!e)return 0;const{paddingTop:t,paddingBottom:n}=getComputedStyle(this.$refs.scroller.$el),i={top:parseInt(t,10)||0,bottom:parseInt(n,10)||0},{y:a,height:s}=this.$refs.scroller.$el.getBoundingClientRect(),{y:r}=e.getBoundingClientRect(),o=e.offsetParent.offsetHeight,l=r-a-i.top;return l<0?-1:l+o>=s-i.bottom?1:0},isInsideScroller(e){return this.$refs.scroller.$el.contains(e)},handleFocusIn({target:e}){this.lastFocusTarget=e;const t=this.getChildPositionInScroller(e);if(0===t)return;const{offsetHeight:n}=e.offsetParent;this.$refs.scroller.$el.scrollBy({top:n*t,left:0})},handleFocusOut(e){e.relatedTarget&&(this.isInsideScroller(e.relatedTarget)||(this.lastFocusTarget=null))},handleScrollerUpdate:cr((async function(){await Object(Ie["a"])(300),this.lastFocusTarget&&this.isInsideScroller(this.lastFocusTarget)&&document.activeElement!==this.lastFocusTarget&&this.lastFocusTarget.focus({preventScroll:!0})}),50),setActiveUID(e){this.activeUID=e},handleNavigationChange(e){this.childrenMap[e].path.startsWith(this.technologyPath)&&this.setActiveUID(e)},pathsToFlatChildren(e){const t=e.slice(0).reverse(),{childrenMap:n}=this;let i=this.children;const a=[];while(t.length){const e=t.pop(),s=i.find(t=>t.path===e);if(!s)break;a.push(s),t.length&&(i=s.childUIDs.map(e=>n[e]))}return a},handleActivePathChange(e){const t=this.childrenMap[this.activeUID],n=hl(e);if(t){if(n===t.path)return;const e=Ms(this.activeUID,this.childrenMap,this.children),i=Bs(this.activeUID,this.childrenMap,this.children),a=Rs(this.activeUID,this.childrenMap),s=[...i,...e,...a].find(e=>e.path===n);if(s)return void this.setActiveUID(s.uid)}const i=this.pathsToFlatChildren(e);i.length?this.setActiveUID(i[i.length-1].uid):this.activeUID?this.setActiveUID(null):this.trackOpenNodes(this.nodeChangeDeps)},updateFocusIndexExternally(){this.externalFocusChange=!0,this.activeIndex>0?this.focusIndex(this.activeIndex):this.focusIndex(0)},focusNodeParent(e){const t=this.childrenMap[e.parent];if(!t)return;const n=this.nodesToRender.findIndex(e=>e.uid===t.uid);-1!==n&&this.focusIndex(n)}}},wl=kl,Il=(n("87ff"),Object(R["a"])(wl,$o,Ao,!1,null,"a440d59c",null)),Ol=Il.exports,xl=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("BaseNavigatorCard",e._b({on:{close:function(t){return e.$emit("close")}},scopedSlots:e._u([{key:"body",fn:function(t){var i=t.className;return[n("transition",{attrs:{name:"delay-visibility"}},[n("div",{staticClass:"loading-navigator",class:i,attrs:{"aria-hidden":"true"}},e._l(e.LOADER_ROWS,(function(e,t){return n("LoadingNavigatorItem",{key:t,attrs:{index:t,width:e.width,hideNavigatorIcon:e.hideNavigatorIcon}})})),1)])]}}])},"BaseNavigatorCard",e.$props,!1))},Dl=[],Pl=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("BaseNavigatorCardItem",{staticClass:"loading-navigator-item",style:"--index: "+e.index+";",attrs:{hideNavigatorIcon:e.hideNavigatorIcon},scopedSlots:e._u([{key:"navigator-icon",fn:function(e){var t=e.className;return[n("div",{class:t})]}},{key:"title-container",fn:function(){return[n("div",{staticClass:"loader",style:{width:e.width}})]},proxy:!0}])})},$l=[],Al={name:"LoadingNavigatorItem",components:{BaseNavigatorCardItem:Vo},props:{...Vo.props,index:{type:Number,default:0},width:{type:String,default:"50%"}}},Ll=Al,Nl=(n("d1b4"),Object(R["a"])(Ll,Pl,$l,!1,null,"0de29914",null)),jl=Nl.exports;const El=[{width:"30%",hideNavigatorIcon:!0},{width:"80%"},{width:"50%"}];var Bl={name:"LoadingNavigatorCard",components:{BaseNavigatorCard:ul,LoadingNavigatorItem:jl},props:{...ul.props},data(){return{LOADER_ROWS:El}}},Rl=Bl,Ml=(n("115d"),Object(R["a"])(Rl,xl,Dl,!1,null,"4b6d345f",null)),Kl=Ml.exports,zl={name:"Navigator",components:{NavigatorCard:Ol,LoadingNavigatorCard:Kl},data(){return{INDEX_ROOT_KEY:Ps}},props:{flatChildren:{type:Array,required:!0},parentTopicIdentifiers:{type:Array,required:!0},technology:{type:Object,required:!0},isFetching:{type:Boolean,default:!1},references:{type:Object,default:()=>{}},navigatorReferences:{type:Object,default:()=>{}},scrollLockID:{type:String,default:""},errorFetching:{type:Boolean,default:!1},renderFilterOnTop:{type:Boolean,default:!1},apiChanges:{type:Object,default:null},allowHiding:{type:Boolean,default:!0}},computed:{parentTopicReferences({references:e,parentTopicIdentifiers:t}){return t.reduce((t,n)=>{const i=e[n];return i?t.concat(i):(console.error(`Reference for "${n}" is missing`),t)},[])},activePath({parentTopicReferences:e,$route:{path:t}}){if(t=t.replace(/\/$/,"").toLowerCase(),!e.length)return[t];let n=1;return"technologies"===e[0].kind&&(n=2),e.slice(n).map(e=>e.url).concat(t)},type:()=>fe["b"].module,technologyProps:({technology:e})=>({technology:e.title,technologyPath:e.path||e.url,isTechnologyBeta:e.beta})}},Fl=zl,ql=(n("0ff0"),Object(R["a"])(Fl,Do,Po,!1,null,"048fdefe",null)),Hl=ql.exports,Vl=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("NavBase",{staticClass:"documentation-nav",attrs:{breakpoint:e.BreakpointName.medium,hasOverlay:!1,hasSolidBackground:"",hasNoBorder:e.hasNoBorder,isDark:e.isDark,isWideFormat:"",hasFullWidthBorder:"","aria-label":"API Reference"},scopedSlots:e._u([e.displaySidenav?{key:"pre-title",fn:function(t){var i=t.closeNav,a=t.isOpen,s=t.currentBreakpoint,r=t.className;return[n("div",{class:r},[n("transition",{attrs:{name:"sidenav-toggle"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.sidenavHiddenOnLarge,expression:"sidenavHiddenOnLarge"}],staticClass:"sidenav-toggle-wrapper"},[n("button",{staticClass:"sidenav-toggle",attrs:{"aria-label":"Open documentation navigator",id:e.baseNavOpenSidenavButtonId,tabindex:a?-1:null},on:{click:function(t){return t.preventDefault(),e.handleSidenavToggle(i,s)}}},[n("span",{staticClass:"sidenav-icon-wrapper"},[n("SidenavIcon",{staticClass:"icon-inline sidenav-icon"})],1)]),n("span",{staticClass:"sidenav-toggle__separator"})])])],1)]}}:null,{key:"tray",fn:function(t){var i=t.closeNav;return[n("Hierarchy",{attrs:{currentTopicTitle:e.title,isSymbolDeprecated:e.isSymbolDeprecated,isSymbolBeta:e.isSymbolBeta,parentTopicIdentifiers:e.hierarchyItems,currentTopicTags:e.currentTopicTags,references:e.references}}),n("NavMenuItems",{staticClass:"nav-menu-settings",attrs:{previousSiblingChildren:e.breadcrumbCount}},[e.interfaceLanguage&&(e.swiftPath||e.objcPath)?n("LanguageToggle",{attrs:{interfaceLanguage:e.interfaceLanguage,objcPath:e.objcPath,swiftPath:e.swiftPath,closeNav:i}}):e._e(),e._t("menu-items")],2),e._t("tray-after",null,null,{breadcrumbCount:e.breadcrumbCount})]}}],null,!0)},[n("template",{slot:"default"},[e._t("title",(function(){return[e.rootLink?n("router-link",{staticClass:"nav-title-link",attrs:{to:e.rootLink}},[e._v(" Documentation ")]):n("span",{staticClass:"nav-title-link inactive"},[e._v("Documentation")])]}),null,{rootLink:e.rootLink,linkClass:"nav-title-link",inactiveClass:"inactive"})],2),n("template",{slot:"after-content"},[e._t("after-content")],2)],2)},Wl=[],Ul=n("cbcf"),Gl=n("9b30"),Ql=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("NavMenuItems",{staticClass:"hierarchy",class:{"has-badge":e.hasBadge},attrs:{"aria-label":"Breadcrumbs"}},[e.root?n("HierarchyItem",{key:e.root.title,staticClass:"root-hierarchy",attrs:{url:e.addQueryParamsToUrl(e.root.url)}},[e._v(" "+e._s(e.root.title)+" ")]):e._e(),e._l(e.collapsibleItems,(function(t){return n("HierarchyItem",{key:t.title,attrs:{isCollapsed:"",url:e.addQueryParamsToUrl(t.url)}},[e._v(" "+e._s(t.title)+" ")])})),e.collapsibleItems.length?n("HierarchyCollapsedItems",{attrs:{topics:e.collapsibleItems}}):e._e(),e._l(e.nonCollapsibleItems,(function(t){return n("HierarchyItem",{key:t.title,attrs:{url:e.addQueryParamsToUrl(t.url)}},[e._v(" "+e._s(t.title)+" ")])})),n("HierarchyItem",[e._v(" "+e._s(e.currentTopicTitle)+" "),n("template",{slot:"tags"},[e.isSymbolDeprecated?n("Badge",{attrs:{variant:"deprecated"}}):e.isSymbolBeta?n("Badge",{attrs:{variant:"beta"}}):e._e(),e._l(e.currentTopicTags,(function(t){return n("Badge",{key:t.type+"-"+t.text,attrs:{variant:t.type}},[e._v(" "+e._s(t.text)+" ")])}))],2)],2)],2)},Xl=[],Yl=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{staticClass:"hierarchy-collapsed-items"},[n("span",{staticClass:"hierarchy-item-icon icon-inline"},[e._v("/")]),n("button",{ref:"btn",staticClass:"toggle",class:{focused:!e.collapsed},on:{click:e.toggleCollapsed}},[n("span",{staticClass:"indicator"},[n("EllipsisIcon",{staticClass:"icon-inline toggle-icon"})],1)]),n("ul",{ref:"dropdown",staticClass:"dropdown",class:{collapsed:e.collapsed}},e._l(e.topicsWithUrls,(function(t){return n("li",{key:t.title,staticClass:"dropdown-item"},[n("router-link",{staticClass:"nav-menu-link",attrs:{to:t.url}},[e._v(e._s(t.title))])],1)})),0)])},Jl=[],Zl=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"ellipsis-icon",attrs:{viewBox:"0 0 14 14",themeId:"ellipsis"}},[n("path",{attrs:{d:"m12.439 7.777v-1.554h-1.554v1.554zm-4.662 0v-1.554h-1.554v1.554zm-4.662 0v-1.554h-1.554v1.554z"}})])},ec=[],tc={name:"EllipsisIcon",components:{SVGIcon:Js["a"]}},nc=tc,ic=Object(R["a"])(nc,Zl,ec,!1,null,null,null),ac=ic.exports,sc={name:"HierarchyCollapsedItems",components:{EllipsisIcon:ac},data:()=>({collapsed:!0}),props:{topics:{type:Array,required:!0}},watch:{collapsed(e,t){t&&!e?document.addEventListener("click",this.handleDocumentClick,!1):!t&&e&&document.removeEventListener("click",this.handleDocumentClick,!1)}},beforeDestroy(){document.removeEventListener("click",this.handleDocumentClick,!1)},computed:{topicsWithUrls:({$route:e,topics:t})=>t.map(t=>({...t,url:Object(q["b"])(t.url,e.query)}))},methods:{handleDocumentClick(e){const{target:t}=e,{collapsed:n,$refs:{btn:i,dropdown:a}}=this,s=!i.contains(t)&&!a.contains(t);!n&&s&&(this.collapsed=!0)},toggleCollapsed(){this.collapsed=!this.collapsed}}},rc=sc,oc=(n("2ca2"),Object(R["a"])(rc,Yl,Jl,!1,null,"74906830",null)),lc=oc.exports,cc=function(e,t){var n=t._c;return n(t.$options.components.NavMenuItemBase,{tag:"component",staticClass:"hierarchy-item",class:[{collapsed:t.props.isCollapsed},t.data.staticClass]},[n("span",{staticClass:"hierarchy-item-icon icon-inline"},[t._v("/")]),t.props.url?n("router-link",{staticClass:"parent item nav-menu-link",attrs:{to:t.props.url}},[t._t("default")],2):[n("span",{staticClass:"current item"},[t._t("default")],2),t._t("tags")]],2)},dc=[],uc=n("863d"),hc={name:"HierarchyItem",components:{NavMenuItemBase:uc["a"],InlineChevronRightIcon:Mo["a"]},props:{isCollapsed:Boolean,url:{type:String,required:!1}}},pc=hc,gc=(n("260a"),Object(R["a"])(pc,cc,dc,!0,null,"382bf39e",null)),fc=gc.exports;const mc=3;var yc={name:"Hierarchy",components:{Badge:qn["a"],NavMenuItems:Gl["a"],HierarchyCollapsedItems:lc,HierarchyItem:fc},constants:{MaxVisibleLinks:mc},inject:["store"],props:{isSymbolDeprecated:Boolean,isSymbolBeta:Boolean,references:Object,currentTopicTitle:{type:String,required:!0},parentTopicIdentifiers:{type:Array,default:()=>[]},currentTopicTags:{type:Array,default:()=>[]}},computed:{windowWidth:({store:e})=>e.state.contentWidth,parentTopics(){return this.parentTopicIdentifiers.reduce((e,t)=>{const n=this.references[t];if(n){const{title:t,url:i}=n;return e.concat({title:t,url:i})}return console.error(`Reference for "${t}" is missing`),e},[])},root:({parentTopics:e,windowWidth:t})=>t<=1e3?null:e[0],firstItemSlice:({root:e})=>e?1:0,linksAfterCollapse:({windowWidth:e,hasBadge:t})=>{const n=t?1:0;return e>1200?mc-n:e>1e3?mc-1-n:e>=800?mc-2-n:0},collapsibleItems:({parentTopics:e,linksAfterCollapse:t,firstItemSlice:n})=>t?e.slice(n,-t):e.slice(n),nonCollapsibleItems:({parentTopics:e,linksAfterCollapse:t,firstItemSlice:n})=>t?e.slice(n).slice(-t):[],hasBadge:({isSymbolDeprecated:e,isSymbolBeta:t,currentTopicTags:n})=>e||t||n.length},methods:{addQueryParamsToUrl(e){return Object(q["b"])(e,this.$route.query)}}},vc=yc,bc=(n("a780"),Object(R["a"])(vc,Ql,Xl,!1,null,"42bf934a",null)),Tc=bc.exports,_c=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("NavMenuItemBase",{staticClass:"nav-menu-setting language-container"},[n("div",{class:{"language-toggle-container":e.hasLanguages}},[n("select",{ref:"language-sizer",staticClass:"language-dropdown language-sizer",attrs:{"aria-hidden":"true",tabindex:"-1"}},[n("option",{key:e.currentLanguage.name,attrs:{selected:""}},[e._v(e._s(e.currentLanguage.name))])]),n("label",{staticClass:"nav-menu-setting-label",attrs:{for:e.hasLanguages?"language-toggle":null}},[e._v("Language:")]),e.hasLanguages?n("select",{directives:[{name:"model",rawName:"v-model",value:e.languageModel,expression:"languageModel"}],staticClass:"language-dropdown nav-menu-link",style:"width: "+e.adjustedWidth+"px",attrs:{id:"language-toggle"},on:{change:[function(t){var n=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.languageModel=t.target.multiple?n:n[0]},function(t){return e.pushRoute(e.currentLanguage.route)}]}},e._l(e.languages,(function(t){return n("option",{key:t.api,domProps:{value:t.api}},[e._v(" "+e._s(t.name)+" ")])})),0):n("span",{staticClass:"nav-menu-toggle-none current-language",attrs:{"aria-current":"page"}},[e._v(e._s(e.currentLanguage.name))]),e.hasLanguages?n("InlineChevronDownIcon",{staticClass:"toggle-icon icon-inline"}):e._e()],1),e.hasLanguages?n("div",{staticClass:"language-list-container"},[n("span",{staticClass:"nav-menu-setting-label"},[e._v("Language:")]),n("ul",{staticClass:"language-list"},e._l(e.languages,(function(t){return n("li",{key:t.api,staticClass:"language-list-item"},[t.api===e.languageModel?n("span",{staticClass:"current-language",attrs:{"data-language":t.api,"aria-current":"page"}},[e._v(" "+e._s(t.name)+" ")]):n("a",{staticClass:"nav-menu-link",attrs:{href:"#"},on:{click:function(n){return n.preventDefault(),e.pushRoute(t.route)}}},[e._v(" "+e._s(t.name)+" ")])])})),0)]):e._e()])},Sc=[],Cc=n("7948"),kc={name:"LanguageToggle",components:{InlineChevronDownIcon:Cc["a"],NavMenuItemBase:uc["a"]},inject:{store:{default(){return{setPreferredLanguage(){}}}}},props:{interfaceLanguage:{type:String,required:!0},objcPath:{type:String,required:!1},swiftPath:{type:String,required:!1},closeNav:{type:Function,default:()=>{}}},data(){return{languageModel:null,adjustedWidth:0}},mounted(){const e=we(async()=>{await Object(Ie["b"])(3),this.calculateSelectWidth()},150);window.addEventListener("resize",e),window.addEventListener("orientationchange",e),this.$once("hook:beforeDestroy",()=>{window.removeEventListener("resize",e),window.removeEventListener("orientationchange",e)})},watch:{interfaceLanguage:{immediate:!0,handler(e){this.languageModel=e}},currentLanguage:{immediate:!0,handler:"calculateSelectWidth"}},methods:{getRoute(e){const t=e.query===D["a"].swift.key.url?void 0:e.query;return{query:{...this.$route.query,language:t},path:this.isCurrentPath(e.path)?null:this.normalizePath(e.path)}},async pushRoute(e){await this.closeNav(),this.store.setPreferredLanguage(e.query),this.$router.push(this.getRoute(e))},isCurrentPath(e){return this.$route.path.replace(/^\//,"")===e},normalizePath(e){return e.startsWith("/")?e:"/"+e},async calculateSelectWidth(){await this.$nextTick(),this.adjustedWidth=this.$refs["language-sizer"].clientWidth+6}},computed:{languages(){return[{name:D["a"].swift.name,api:D["a"].swift.key.api,route:{path:this.swiftPath,query:D["a"].swift.key.url}},{name:D["a"].objectiveC.name,api:D["a"].objectiveC.key.api,route:{path:this.objcPath,query:D["a"].objectiveC.key.url}}]},currentLanguage:({languages:e,languageModel:t})=>e.find(e=>e.api===t),hasLanguages:({objcPath:e,swiftPath:t})=>t&&e}},wc=kc,Ic=(n("34e5"),Object(R["a"])(wc,_c,Sc,!1,null,"005af823",null)),Oc=Ic.exports,xc={name:"DocumentationNav",components:{SidenavIcon:ol,NavBase:Ul["a"],NavMenuItems:Gl["a"],Hierarchy:Tc,LanguageToggle:Oc},props:{title:{type:String,required:!1},parentTopicIdentifiers:{type:Array,required:!1},isSymbolBeta:{type:Boolean,required:!1},isSymbolDeprecated:{type:Boolean,required:!1},isDark:{type:Boolean,default:!1},hasNoBorder:{type:Boolean,default:!1},currentTopicTags:{type:Array,required:!0},references:{type:Object,default:()=>({})},interfaceLanguage:{type:String,required:!1},objcPath:{type:String,required:!1},swiftPath:{type:String,required:!1},sidenavHiddenOnLarge:{type:Boolean,default:!1},displaySidenav:{type:Boolean,default:!1}},computed:{baseNavOpenSidenavButtonId:()=>mo["d"],BreakpointName:()=>ho["b"],breadcrumbCount:({hierarchyItems:e})=>e.length+1,rootHierarchyReference:({parentTopicIdentifiers:e,references:t})=>t[e[0]]||{},isRootTechnologyLink:({rootHierarchyReference:{kind:e}})=>"technologies"===e,rootLink:({isRootTechnologyLink:e,rootHierarchyReference:t,$route:n})=>e?{path:t.url,query:n.query}:null,hierarchyItems:({parentTopicIdentifiers:e,isRootTechnologyLink:t})=>t?e.slice(1):e},methods:{async handleSidenavToggle(e,t){await e(),this.$emit("toggle-sidenav",t),await this.$nextTick();const n=document.getElementById(As);n&&n.focus()}}},Dc=xc,Pc=(n("69ba"),Object(R["a"])(Dc,Vl,Wl,!1,null,"136c3ca6",null)),$c=Pc.exports,Ac=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"StaticContentWidth"},[e._t("default")],2)},Lc=[],Nc={name:"StaticContentWidth",inject:["store"],mounted(){const e=we(async()=>{await this.$nextTick(),this.store.setContentWidth(this.$el.offsetWidth)},150);window.addEventListener("resize",e),window.addEventListener("orientationchange",e),this.$once("hook:beforeDestroy",()=>{window.removeEventListener("resize",e),window.removeEventListener("orientationchange",e)}),e()}},jc=Nc,Ec=Object(R["a"])(jc,Ac,Lc,!1,null,null,null),Bc=Ec.exports,Rc=n("3bdd"),Mc=n("4009"),Kc={watch:{topicData:{immediate:!0,handler:"extractOnThisPageSections"}},methods:{shouldRegisterContentSection(e){return e.type===St["BlockType"].heading&&e.level<4},extractOnThisPageSections(e){if(!e)return;this.store.resetPageSections();const{metadata:{title:t},primaryContentSections:n,topicSections:i,defaultImplementationsSections:a,relationshipsSections:s,seeAlsoSections:r}=e;this.store.addOnThisPageSection({title:t,anchor:Mc["a"],level:1}),n&&n.forEach(e=>{switch(e.kind){case Fe.content:Ne["a"].methods.forEach.call(e,e=>{this.shouldRegisterContentSection(e)&&this.store.addOnThisPageSection({title:e.text,anchor:e.anchor||Object(it["a"])(e.text),level:e.level})});break;case Fe.properties:case Fe.restBody:case Fe.restCookies:case Fe.restEndpoint:case Fe.restHeaders:case Fe.restParameters:case Fe.restResponses:this.store.addOnThisPageSection({title:e.title,anchor:Object(it["a"])(e.title),level:2});break;default:this.store.addOnThisPageSection(He[e.kind])}}),i&&this.store.addOnThisPageSection(qe.topics),a&&this.store.addOnThisPageSection(qe.defaultImplementations),s&&this.store.addOnThisPageSection(qe.relationships),r&&this.store.addOnThisPageSection(qe.seeAlso)}}};const zc="0.3.0",Fc="navigator-hidden-large";var qc={name:"DocumentationTopicView",constants:{MIN_RENDER_JSON_VERSION_WITH_INDEX:zc,NAVIGATOR_HIDDEN_ON_LARGE_KEY:Fc},components:{Navigator:Hl,AdjustableSidebarWidth:xo,StaticContentWidth:Bc,NavigatorDataProvider:Vs,Topic:fs,CodeTheme:Is["a"],Nav:$c,QuickNavigationModal:ro,PortalTarget:I["PortalTarget"],MagnifierIcon:to},mixins:[xs["a"],Ds["a"],Kc],props:{enableMinimized:{type:Boolean,default:!1}},data(){return{topicDataDefault:null,topicDataObjc:null,sidenavVisibleOnMobile:!1,sidenavHiddenOnLarge:co["c"].get(Fc,!1),showQuickNavigationModal:!1,store:ws,BreakpointName:ho["b"]}},computed:{objcOverrides:({topicData:e})=>{const{variantOverrides:t=[]}=e||{},n=({interfaceLanguage:e})=>e===D["a"].objectiveC.key.api,i=({traits:e})=>e.some(n),a=t.find(i);return a?a.patch:null},enableQuickNavigation:({isTargetIDE:e})=>!e&&Object(jt["c"])(["features","docs","quickNavigation","enable"],!0),topicData:{get(){return this.topicDataObjc?this.topicDataObjc:this.topicDataDefault},set(e){this.topicDataDefault=e}},topicKey:({$route:e,topicProps:t})=>[e.path,t.interfaceLanguage].join(),topicProps(){const{abstract:e,defaultImplementationsSections:t,deprecationSummary:n,downloadNotAvailableSummary:i,diffAvailability:a,hierarchy:s,identifier:{interfaceLanguage:r,url:o},metadata:{conformance:l,modules:c,platforms:d,required:u=!1,roleHeading:h,title:p="",tags:g=[],role:f,symbolKind:m="",remoteSource:y,images:v=[]}={},primaryContentSections:b,relationshipsSections:T,references:_={},sampleCodeDownload:S,topicSectionsStyle:C,topicSections:k,seeAlsoSections:w,variantOverrides:I}=this.topicData;return{abstract:e,conformance:l,defaultImplementationsSections:t,deprecationSummary:n,downloadNotAvailableSummary:i,diffAvailability:a,hierarchy:s,role:f,identifier:o,interfaceLanguage:r,isRequirement:u,modules:c,platforms:d,primaryContentSections:b,relationshipsSections:T,references:_,roleHeading:h,sampleCodeDownload:S,title:p,topicSections:k,topicSectionsStyle:C,seeAlsoSections:w,variantOverrides:I,symbolKind:m,tags:g.slice(0,1),remoteSource:y,pageImages:v}},parentTopicIdentifiers:({topicProps:{hierarchy:{paths:e=[]},references:t},$route:n})=>e.length?e.find(e=>{const i=e.find(e=>t[e]&&"technologies"!==t[e].kind),a=i&&t[i];return a&&n.path.toLowerCase().startsWith(a.url.toLowerCase())})||e[0]:[],technology:({$route:e,topicProps:{identifier:t,references:n,role:i,title:a},parentTopicIdentifiers:s})=>{const r={title:a,url:e.path},o=n[t];if(!s.length)return o||r;const l=n[s[0]];return l&&"technologies"!==l.kind?l:(i!==k["a"].collection||o)&&(l&&n[s[1]]||o)||r},languagePaths:({topicData:{variants:e=[]}})=>e.reduce((e,t)=>t.traits.reduce((e,n)=>n.interfaceLanguage?{...e,[n.interfaceLanguage]:(e[n.interfaceLanguage]||[]).concat(t.paths)}:e,e),{}),objcPath:({languagePaths:{[D["a"].objectiveC.key.api]:[e]=[]}={}})=>e,swiftPath:({languagePaths:{[D["a"].swift.key.api]:[e]=[]}={}})=>e,isSymbolBeta:({topicProps:{platforms:e}})=>!!(e&&e.length&&e.every(e=>e.beta)),isSymbolDeprecated:({topicProps:{platforms:e,deprecationSummary:t}})=>!!(t&&t.length>0||e&&e.length&&e.every(e=>e.deprecatedAt)),enableNavigator:({isTargetIDE:e,topicDataDefault:t})=>!e&&Object(Rc["b"])(Object(Rc["a"])(t.schemaVersion),zc)>=0,enableOnThisPageNav:({isTargetIDE:e})=>!Object(jt["c"])(["features","docs","onThisPageNavigator","disable"],!1)&&!e,sidebarProps:({sidenavVisibleOnMobile:e,enableNavigator:t,sidenavHiddenOnLarge:n})=>t?{shownOnMobile:e,hiddenOnLarge:n}:{},sidebarListeners(){return this.enableNavigator?{"update:shownOnMobile":this.toggleMobileSidenav,"update:hiddenOnLarge":this.toggleLargeSidenav}:{}}},methods:{applyObjcOverrides(){this.topicDataObjc=C(Object(w["a"])(this.topicData),this.objcOverrides)},handleCodeColorsChange(e){Os["a"].updateCodeColors(e)},handleToggleSidenav(e){e===ho["b"].large?this.toggleLargeSidenav():this.toggleMobileSidenav()},openQuickNavigationModal(){this.sidenavVisibleOnMobile||(this.showQuickNavigationModal=!0)},toggleLargeSidenav(e=!this.sidenavHiddenOnLarge){this.sidenavHiddenOnLarge=e,co["c"].set(Fc,e)},toggleMobileSidenav(e=!this.sidenavVisibleOnMobile){this.sidenavVisibleOnMobile=e},onQuickNavigationKeydown(e){("/"===e.key||"o"===e.key&&e.shiftKey&&e.metaKey)&&this.enableNavigator&&"input"!==e.target.tagName.toLowerCase()&&(this.openQuickNavigationModal(),e.preventDefault())}},mounted(){this.$bridge.on("contentUpdate",this.handleContentUpdateFromBridge),this.$bridge.on("codeColors",this.handleCodeColorsChange),this.$bridge.send({type:"requestCodeColors"}),this.enableQuickNavigation&&window.addEventListener("keydown",this.onQuickNavigationKeydown)},provide(){return{store:this.store}},inject:{isTargetIDE:{default(){return!1}}},beforeDestroy(){this.$bridge.off("contentUpdate",this.handleContentUpdateFromBridge),this.$bridge.off("codeColors",this.handleCodeColorsChange),this.enableQuickNavigation&&window.removeEventListener("keydown",this.onQuickNavigationKeydown)},beforeRouteEnter(e,t,n){e.meta.skipFetchingData?n(e=>e.newContentMounted()):Object(w["b"])(e,t,n).then(t=>n(n=>{n.topicData=t,e.query.language===D["a"].objectiveC.key.url&&n.objcOverrides&&n.applyObjcOverrides()})).catch(n)},beforeRouteUpdate(e,t,n){e.path===t.path&&e.query.language===D["a"].objectiveC.key.url&&this.objcOverrides?(this.applyObjcOverrides(),n()):Object(w["d"])(e,t)?Object(w["b"])(e,t,n).then(t=>{this.topicDataObjc=null,this.topicData=t,e.query.language===D["a"].objectiveC.key.url&&this.objcOverrides&&this.applyObjcOverrides(),n()}).catch(n):n()},created(){this.store.reset()},watch:{topicData(){this.$nextTick(()=>{this.newContentMounted()})}}},Hc=qc,Vc=(n("5550"),Object(R["a"])(Hc,i,a,!1,null,"3f2e5486",null));t["default"]=Vc.exports},fd6e:function(e,t,n){}}]); \ No newline at end of file diff --git a/docs/js/documentation-topic.57e91f8a.js b/docs/js/documentation-topic.57e91f8a.js new file mode 100644 index 0000000..629d8b6 --- /dev/null +++ b/docs/js/documentation-topic.57e91f8a.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["documentation-topic"],{"00f2":function(e,t,n){"use strict";n("2089")},"0b72":function(e,t,n){},"115d":function(e,t,n){"use strict";n("20dd")},1347:function(e,t,n){"use strict";n("367e")},"14d4":function(e,t,n){},"18f4":function(e,t,n){},"1a39":function(e,t,n){"use strict";n("a7e9")},"1e0b":function(e,t,n){"use strict";n("412b")},"1fde":function(e,t,n){},2089:function(e,t,n){},"20dd":function(e,t,n){},"22f6":function(e,t,n){},2482:function(e,t,n){},2521:function(e,t,n){},"252c":function(e,t,n){"use strict";(function(e){function i(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var i=e.indexOf("rv:");return parseInt(e.substring(i+3,e.indexOf(".",i)),10)}var a=e.indexOf("Edge/");return a>0?parseInt(e.substring(a+5,e.indexOf(".",a)),10):-1}n.d(t,"a",(function(){return r}));var a=void 0;function s(){s.init||(s.init=!0,a=-1!==i())}var r={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"resize-observer",attrs:{tabindex:"-1"}})},staticRenderFns:[],_scopeId:"data-v-b329ee4c",name:"resize-observer",methods:{compareAndNotify:function(){this._w===this.$el.offsetWidth&&this._h===this.$el.offsetHeight||(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.$emit("notify"))},addResizeHandlers:function(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers:function(){this._resizeObject&&this._resizeObject.onload&&(!a&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),delete this._resizeObject.onload)}},mounted:function(){var e=this;s(),this.$nextTick((function(){e._w=e.$el.offsetWidth,e._h=e.$el.offsetHeight}));var t=document.createElement("object");this._resizeObject=t,t.setAttribute("aria-hidden","true"),t.setAttribute("tabindex",-1),t.onload=this.addResizeHandlers,t.type="text/html",a&&this.$el.appendChild(t),t.data="about:blank",a||this.$el.appendChild(t)},beforeDestroy:function(){this.removeResizeHandlers()}};function o(e){e.component("resize-observer",r),e.component("ResizeObserver",r)}var l={version:"0.4.5",install:o},c=null;"undefined"!==typeof window?c=window.Vue:"undefined"!==typeof e&&(c=e.Vue),c&&c.use(l)}).call(this,n("c8ba"))},2591:function(e,t,n){"use strict";n("f6d7")},"260a":function(e,t,n){"use strict";n("9a8a")},"264a":function(e,t,n){},2822:function(e,t,n){"use strict";n("2521")},"2c54":function(e,t,n){},"2ca2":function(e,t,n){"use strict";n("98e2")},"2d12":function(e,t,n){"use strict";n("b324")},"2eeb":function(e,t,n){},"2f87":function(e,t,n){"use strict";n("b0a0")},3396:function(e,t,n){"use strict";n("cdce")},"367e":function(e,t,n){},3702:function(e,t,n){},"370f":function(e,t,n){},"374e":function(e,t,n){"use strict";n("0b72")},"37dc":function(e,t,n){},"39d3":function(e,t,n){"use strict";n("2c54")},"3c37":function(e,t,n){},"3d94":function(e,t,n){},"3e80":function(e,t,n){},4125:function(e,t,n){},"412b":function(e,t,n){},"45b2":function(e,t,n){"use strict";n("264a")},"464f":function(e,t,n){},"46c5":function(e,t,n){"use strict";n("dff0")},5079:function(e,t,n){},"509b":function(e,t,n){},"51f2":function(e,t,n){},5208:function(e,t,n){"use strict";n("3d94")},5228:function(e,t,n){},"533e":function(e,t,n){},5561:function(e,t,n){"use strict";n("a2cc")},"5a73":function(e,t,n){"use strict";n("f9c9")},"5c57":function(e,t,n){"use strict";n("f0ff")},"645a":function(e,t,n){},6513:function(e,t,n){},6742:function(e,t,n){},"6a35":function(e,t,n){"use strict";n("d436")},"6ca9":function(e,t,n){"use strict";n("8429")},"6d05":function(e,t,n){"use strict";n("d7f6")},"719b":function(e,t,n){"use strict";n("8b3c")},"72a9":function(e,t,n){"use strict";n("d551")},7309:function(e,t,n){"use strict";n("c227")},"73a8":function(e,t,n){"use strict";n("3c37")},7649:function(e,t,n){"use strict";n("37dc")},"7a2c":function(e,t,n){"use strict";n("c4c1")},8429:function(e,t,n){},"857c":function(e,t,n){"use strict";n("645a")},"85fe":function(e,t,n){"use strict";(function(e){function i(e){return i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:{},r=function(r){for(var l=arguments.length,c=new Array(l>1?l-1:0),d=1;d1){var i=e.find((function(e){return e.isIntersecting}));i&&(t=i)}if(n.callback){var a=t.isIntersecting&&t.intersectionRatio>=n.threshold;if(a===n.oldResult)return;n.oldResult=a,n.callback(a,t)}}),this.options.intersection),t.context.$nextTick((function(){n.observer&&n.observer.observe(n.el)}))}}},{key:"destroyObserver",value:function(){this.observer&&(this.observer.disconnect(),this.observer=null),this.callback&&this.callback._clear&&(this.callback._clear(),this.callback=null)}},{key:"threshold",get:function(){return this.options.intersection&&this.options.intersection.threshold||0}}]),e}();function f(e,t,n){var i=t.value;if(i)if("undefined"===typeof IntersectionObserver)console.warn("[vue-observe-visibility] IntersectionObserver API is not available in your browser. Please install this polyfill: https://github.com/w3c/IntersectionObserver/tree/master/polyfill");else{var a=new g(e,i,n);e._vue_visibilityState=a}}function m(e,t,n){var i=t.value,a=t.oldValue;if(!p(i,a)){var s=e._vue_visibilityState;i?s?s.createObserver(i,n):f(e,{value:i},n):y(e)}}function y(e){var t=e._vue_visibilityState;t&&(t.destroyObserver(),delete e._vue_visibilityState)}var v={bind:f,update:m,unbind:y};function b(e){e.directive("observe-visibility",v)}var T={version:"0.4.6",install:b},S=null;"undefined"!==typeof window?S=window.Vue:"undefined"!==typeof e&&(S=e.Vue),S&&S.use(T)}).call(this,n("c8ba"))},"8b3c":function(e,t,n){},"8e4d":function(e,t,n){"use strict";n("bdc3")},9475:function(e,t,n){"use strict";n("1fde")},"98e2":function(e,t,n){},"9a8a":function(e,t,n){},"9c7e":function(e,t,n){"use strict";n("5228")},"9c92":function(e,t,n){},"9cea":function(e,t,n){"use strict";n("a61f")},"9f0d":function(e,t,n){},"9f11":function(e,t,n){},"9f17":function(e,t,n){"use strict";n("6742")},a2cc:function(e,t,n){},a34a:function(e,t,n){"use strict";n("51f2")},a61f:function(e,t,n){},a7e9:function(e,t,n){},b0a0:function(e,t,n){},b324:function(e,t,n){},b32a:function(e,t,n){"use strict";n("3e80")},b39c:function(e,t,n){"use strict";n("18f4")},b831:function(e,t,n){"use strict";n("533e")},b857:function(e,t,n){"use strict";n("3702")},bdc3:function(e,t,n){},c1f5:function(e,t,n){"use strict";n("f4ae")},c227:function(e,t,n){},c4bc:function(e,t,n){"use strict";n("2eeb")},c4c1:function(e,t,n){},c61f:function(e,t,n){"use strict";n("509b")},c80b:function(e,t,n){"use strict";n("6513")},ca3d:function(e,t,n){"use strict";n("5079")},cb1f:function(e,t,n){"use strict";n("dd53")},cd88:function(e,t,n){},cdce:function(e,t,n){},d1ac:function(e,t,n){"use strict";n("9f11")},d1b4:function(e,t,n){"use strict";n("4125")},d436:function(e,t,n){},d551:function(e,t,n){},d71b:function(e,t,n){"use strict";n("9f0d")},d7f6:function(e,t,n){},dd53:function(e,t,n){},dfa5:function(e,t,n){"use strict";n("2482")},dff0:function(e,t,n){},e47c:function(e,t,n){"use strict";n("cd88")},e508:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return L})),n.d(t,"b",(function(){return M})),n.d(t,"c",(function(){return z}));var i=n("252c"),a=n("85fe"),s=n("ed83"),r=n.n(s),o=n("2b0e"),l={itemsLimit:1e3};const c={items:{type:Array,required:!0},keyField:{type:String,default:"id"},direction:{type:String,default:"vertical",validator:e=>["vertical","horizontal"].includes(e)},listTag:{type:String,default:"div"},itemTag:{type:String,default:"div"}};function d(){return this.items.length&&"object"!==typeof this.items[0]}let u=!1;if("undefined"!==typeof window){u=!1;try{var h=Object.defineProperty({},"passive",{get(){u=!0}});window.addEventListener("test",null,h)}catch(H){}}let p=0;var g={name:"RecycleScroller",components:{ResizeObserver:i["a"]},directives:{ObserveVisibility:a["a"]},props:{...c,itemSize:{type:Number,default:null},gridItems:{type:Number,default:void 0},itemSecondarySize:{type:Number,default:void 0},minItemSize:{type:[Number,String],default:null},sizeField:{type:String,default:"size"},typeField:{type:String,default:"type"},buffer:{type:Number,default:200},pageMode:{type:Boolean,default:!1},prerender:{type:Number,default:0},emitUpdate:{type:Boolean,default:!1},skipHover:{type:Boolean,default:!1},listTag:{type:String,default:"div"},itemTag:{type:String,default:"div"},listClass:{type:[String,Object,Array],default:""},itemClass:{type:[String,Object,Array],default:""}},data(){return{pool:[],totalSize:0,ready:!1,hoverKey:null}},computed:{sizes(){if(null===this.itemSize){const e={"-1":{accumulator:0}},t=this.items,n=this.sizeField,i=this.minItemSize;let a,s=1e4,r=0;for(let o=0,l=t.length;o{this.$_prerender=!1,this.updateVisibleItems(!0),this.ready=!0})},activated(){const e=this.$_lastUpdateScrollPosition;"number"===typeof e&&this.$nextTick(()=>{this.scrollToPosition(e)})},beforeDestroy(){this.removeListeners()},methods:{addView(e,t,n,i,a){const s={item:n,position:0},r={id:p++,index:t,used:!0,key:i,type:a};return Object.defineProperty(s,"nr",{configurable:!1,value:r}),e.push(s),s},unuseView(e,t=!1){const n=this.$_unusedViews,i=e.nr.type;let a=n.get(i);a||(a=[],n.set(i,a)),a.push(e),t||(e.nr.used=!1,e.position=-9999,this.$_views.delete(e.nr.key))},handleResize(){this.$emit("resize"),this.ready&&this.updateVisibleItems(!1)},handleScroll(e){this.$_scrollDirty||(this.$_scrollDirty=!0,requestAnimationFrame(()=>{this.$_scrollDirty=!1;const{continuous:e}=this.updateVisibleItems(!1,!0);e||(clearTimeout(this.$_refreshTimout),this.$_refreshTimout=setTimeout(this.handleScroll,100))}))},handleVisibilityChange(e,t){this.ready&&(e||0!==t.boundingClientRect.width||0!==t.boundingClientRect.height?(this.$emit("visible"),requestAnimationFrame(()=>{this.updateVisibleItems(!1)})):this.$emit("hidden"))},updateVisibleItems(e,t=!1){const n=this.itemSize,i=this.gridItems||1,a=this.itemSecondarySize||n,s=this.$_computedMinItemSize,r=this.typeField,o=this.simpleArray?null:this.keyField,c=this.items,d=c.length,u=this.sizes,h=this.$_views,p=this.$_unusedViews,g=this.pool;let f,m,y,v,b,T;if(d)if(this.$_prerender)f=v=0,m=b=Math.min(this.prerender,c.length),y=null;else{const e=this.getScroll();if(t){let t=e.start-this.$_lastUpdateScrollPosition;if(t<0&&(t=-t),null===n&&te.start&&(a=s),s=~~((i+a)/2)}while(s!==n);for(s<0&&(s=0),f=s,y=u[d-1].accumulator,m=s;md&&(m=d)),v=f;vd&&(m=d),v<0&&(v=0),b>d&&(b=d),y=Math.ceil(d/i)*n}}else f=m=v=b=y=0;m-f>l.itemsLimit&&this.itemsLimitError(),this.totalSize=y;const S=f<=this.$_endIndex&&m>=this.$_startIndex;if(this.$_continuous!==S){if(S){h.clear(),p.clear();for(let e=0,t=g.length;e=m)&&this.unuseView(T));const _=S?null:new Map;let C,k,w,I;for(let l=f;l=w.length)&&(T=this.addView(g,l,C,e,k),this.unuseView(T,!0),w=p.get(k)),T=w[I],T.item=C,T.nr.used=!0,T.nr.index=l,T.nr.key=e,T.nr.type=k,_.set(k,I+1),I++),h.set(e,T)),null===n?(T.position=u[l-1].accumulator,T.offset=0):(T.position=Math.floor(l/i)*n,T.offset=l%i*a)):T&&this.unuseView(T)}return this.$_startIndex=f,this.$_endIndex=m,this.emitUpdate&&this.$emit("update",f,m,v,b),clearTimeout(this.$_sortTimer),this.$_sortTimer=setTimeout(this.sortViews,300),{continuous:S}},getListenerTarget(){let e=r()(this.$el);return!window.document||e!==window.document.documentElement&&e!==window.document.body||(e=window),e},getScroll(){const{$el:e,direction:t}=this,n="vertical"===t;let i;if(this.pageMode){const t=e.getBoundingClientRect(),a=n?t.height:t.width;let s=-(n?t.top:t.left),r=n?window.innerHeight:window.innerWidth;s<0&&(r+=s,s=0),s+r>a&&(r=a-s),i={start:s,end:s+r}}else i=n?{start:e.scrollTop,end:e.scrollTop+e.clientHeight}:{start:e.scrollLeft,end:e.scrollLeft+e.clientWidth};return i},applyPageMode(){this.pageMode?this.addListeners():this.removeListeners()},addListeners(){this.listenerTarget=this.getListenerTarget(),this.listenerTarget.addEventListener("scroll",this.handleScroll,!!u&&{passive:!0}),this.listenerTarget.addEventListener("resize",this.handleResize)},removeListeners(){this.listenerTarget&&(this.listenerTarget.removeEventListener("scroll",this.handleScroll),this.listenerTarget.removeEventListener("resize",this.handleResize),this.listenerTarget=null)},scrollToItem(e){let t;t=null===this.itemSize?e>0?this.sizes[e-1].accumulator:0:Math.floor(e/this.gridItems)*this.itemSize,this.scrollToPosition(t)},scrollToPosition(e){const t="vertical"===this.direction?{scroll:"scrollTop",start:"top"}:{scroll:"scrollLeft",start:"left"};let n,i,a;if(this.pageMode){const s=r()(this.$el),o="HTML"===s.tagName?0:s[t.scroll],l=s.getBoundingClientRect(),c=this.$el.getBoundingClientRect(),d=c[t.start]-l[t.start];n=s,i=t.scroll,a=e+o+d}else n=this.$el,i=t.scroll,a=e;n[i]=a},itemsLimitError(){throw setTimeout(()=>{console.log("It seems the scroller element isn't scrolling, so it tries to render all the items at once.","Scroller:",this.$el),console.log("Make sure the scroller has a fixed height (or width) and 'overflow-y' (or 'overflow-x') set to 'auto' so it can scroll correctly and only render the items visible in the scroll viewport.")}),new Error("Rendered items limit reached")},sortViews(){this.pool.sort((e,t)=>e.nr.index-t.nr.index)}}};function f(e,t,n,i,a,s,r,o,l,c){"boolean"!==typeof r&&(l=o,o=r,r=!1);const d="function"===typeof n?n.options:n;let u;if(e&&e.render&&(d.render=e.render,d.staticRenderFns=e.staticRenderFns,d._compiled=!0,a&&(d.functional=!0)),i&&(d._scopeId=i),s?(u=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,l(e)),e&&e._registeredComponents&&e._registeredComponents.add(s)},d._ssrRegister=u):t&&(u=r?function(e){t.call(this,c(e,this.$root.$options.shadowRoot))}:function(e){t.call(this,o(e))}),u)if(d.functional){const e=d.render;d.render=function(t,n){return u.call(n),e(t,n)}}else{const e=d.beforeCreate;d.beforeCreate=e?[].concat(e,u):[u]}return n}const m=g;var y=function(){var e,t,n=this,i=n.$createElement,a=n._self._c||i;return a("div",{directives:[{name:"observe-visibility",rawName:"v-observe-visibility",value:n.handleVisibilityChange,expression:"handleVisibilityChange"}],staticClass:"vue-recycle-scroller",class:(e={ready:n.ready,"page-mode":n.pageMode},e["direction-"+n.direction]=!0,e),on:{"&scroll":function(e){return n.handleScroll.apply(null,arguments)}}},[n.$slots.before?a("div",{ref:"before",staticClass:"vue-recycle-scroller__slot"},[n._t("before")],2):n._e(),n._v(" "),a(n.listTag,{ref:"wrapper",tag:"component",staticClass:"vue-recycle-scroller__item-wrapper",class:n.listClass,style:(t={},t["vertical"===n.direction?"minHeight":"minWidth"]=n.totalSize+"px",t)},[n._l(n.pool,(function(e){return a(n.itemTag,n._g({key:e.nr.id,tag:"component",staticClass:"vue-recycle-scroller__item-view",class:[n.itemClass,{hover:!n.skipHover&&n.hoverKey===e.nr.key}],style:n.ready?{transform:"translate"+("vertical"===n.direction?"Y":"X")+"("+e.position+"px) translate"+("vertical"===n.direction?"X":"Y")+"("+e.offset+"px)",width:n.gridItems?("vertical"===n.direction&&n.itemSecondarySize||n.itemSize)+"px":void 0,height:n.gridItems?("horizontal"===n.direction&&n.itemSecondarySize||n.itemSize)+"px":void 0}:null},n.skipHover?{}:{mouseenter:function(){n.hoverKey=e.nr.key},mouseleave:function(){n.hoverKey=null}}),[n._t("default",null,{item:e.item,index:e.nr.index,active:e.nr.used})],2)})),n._v(" "),n._t("empty")],2),n._v(" "),n.$slots.after?a("div",{ref:"after",staticClass:"vue-recycle-scroller__slot"},[n._t("after")],2):n._e(),n._v(" "),a("ResizeObserver",{on:{notify:n.handleResize}})],1)},v=[];y._withStripped=!0;const b=void 0,T=void 0,S=void 0,_=!1,C=f({render:y,staticRenderFns:v},b,m,T,_,S,!1,void 0,void 0,void 0);var k={name:"DynamicScroller",components:{RecycleScroller:C},provide(){return"undefined"!==typeof ResizeObserver&&(this.$_resizeObserver=new ResizeObserver(e=>{requestAnimationFrame(()=>{if(Array.isArray(e))for(const t of e)if(t.target){const e=new CustomEvent("resize",{detail:{contentRect:t.contentRect}});t.target.dispatchEvent(e)}})})),{vscrollData:this.vscrollData,vscrollParent:this,vscrollResizeObserver:this.$_resizeObserver}},inheritAttrs:!1,props:{...c,minItemSize:{type:[Number,String],required:!0}},data(){return{vscrollData:{active:!0,sizes:{},validSizes:{},keyField:this.keyField,simpleArray:!1}}},computed:{simpleArray:d,itemsWithSize(){const e=[],{items:t,keyField:n,simpleArray:i}=this,a=this.vscrollData.sizes,s=t.length;for(let r=0;r=n)break;i+=t[o].size||this.minItemSize,a+=e[o].size||this.minItemSize}const r=a-i;0!==r&&(this.$el.scrollTop+=r)}},beforeCreate(){this.$_updates=[],this.$_undefinedSizes=0,this.$_undefinedMap={}},activated(){this.vscrollData.active=!0},deactivated(){this.vscrollData.active=!1},methods:{onScrollerResize(){const e=this.$refs.scroller;e&&this.forceUpdate(),this.$emit("resize")},onScrollerVisible(){this.$emit("vscroll:update",{force:!1}),this.$emit("visible")},forceUpdate(e=!0){(e||this.simpleArray)&&(this.vscrollData.validSizes={}),this.$emit("vscroll:update",{force:!0})},scrollToItem(e){const t=this.$refs.scroller;t&&t.scrollToItem(e)},getItemSize(e,t){const n=this.simpleArray?null!=t?t:this.items.indexOf(e):e[this.keyField];return this.vscrollData.sizes[n]||0},scrollToBottom(){if(this.$_scrollingToBottom)return;this.$_scrollingToBottom=!0;const e=this.$el;this.$nextTick(()=>{e.scrollTop=e.scrollHeight+5e3;const t=()=>{e.scrollTop=e.scrollHeight+5e3,requestAnimationFrame(()=>{e.scrollTop=e.scrollHeight+5e3,0===this.$_undefinedSizes?this.$_scrollingToBottom=!1:requestAnimationFrame(t)})};requestAnimationFrame(t)})}}};const w=k;var I=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("RecycleScroller",e._g(e._b({ref:"scroller",attrs:{items:e.itemsWithSize,"min-item-size":e.minItemSize,direction:e.direction,"key-field":"id","list-tag":e.listTag,"item-tag":e.itemTag},on:{resize:e.onScrollerResize,visible:e.onScrollerVisible},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.item,i=t.index,a=t.active;return[e._t("default",null,null,{item:n.item,index:i,active:a,itemWithSize:n})]}}],null,!0)},"RecycleScroller",e.$attrs,!1),e.listeners),[e._v(" "),n("template",{slot:"before"},[e._t("before")],2),e._v(" "),n("template",{slot:"after"},[e._t("after")],2),e._v(" "),n("template",{slot:"empty"},[e._t("empty")],2)],2)},x=[];I._withStripped=!0;const $=void 0,O=void 0,D=void 0,P=!1,L=f({render:I,staticRenderFns:x},$,w,O,P,D,!1,void 0,void 0,void 0);var A={name:"DynamicScrollerItem",inject:["vscrollData","vscrollParent","vscrollResizeObserver"],props:{item:{required:!0},watchData:{type:Boolean,default:!1},active:{type:Boolean,required:!0},index:{type:Number,default:void 0},sizeDependencies:{type:[Array,Object],default:null},emitResize:{type:Boolean,default:!1},tag:{type:String,default:"div"}},computed:{id(){if(this.vscrollData.simpleArray)return this.index;if(this.item.hasOwnProperty(this.vscrollData.keyField))return this.item[this.vscrollData.keyField];throw new Error(`keyField '${this.vscrollData.keyField}' not found in your item. You should set a valid keyField prop on your Scroller`)},size(){return this.vscrollData.validSizes[this.id]&&this.vscrollData.sizes[this.id]||0},finalActive(){return this.active&&this.vscrollData.active}},watch:{watchData:"updateWatchData",id(){this.size||this.onDataUpdate()},finalActive(e){this.size||(e?this.vscrollParent.$_undefinedMap[this.id]||(this.vscrollParent.$_undefinedSizes++,this.vscrollParent.$_undefinedMap[this.id]=!0):this.vscrollParent.$_undefinedMap[this.id]&&(this.vscrollParent.$_undefinedSizes--,this.vscrollParent.$_undefinedMap[this.id]=!1)),this.vscrollResizeObserver?e?this.observeSize():this.unobserveSize():e&&this.$_pendingVScrollUpdate===this.id&&this.updateSize()}},created(){if(!this.$isServer&&(this.$_forceNextVScrollUpdate=null,this.updateWatchData(),!this.vscrollResizeObserver)){for(const e in this.sizeDependencies)this.$watch(()=>this.sizeDependencies[e],this.onDataUpdate);this.vscrollParent.$on("vscroll:update",this.onVscrollUpdate),this.vscrollParent.$on("vscroll:update-size",this.onVscrollUpdateSize)}},mounted(){this.vscrollData.active&&(this.updateSize(),this.observeSize())},beforeDestroy(){this.vscrollParent.$off("vscroll:update",this.onVscrollUpdate),this.vscrollParent.$off("vscroll:update-size",this.onVscrollUpdateSize),this.unobserveSize()},methods:{updateSize(){this.finalActive?this.$_pendingSizeUpdate!==this.id&&(this.$_pendingSizeUpdate=this.id,this.$_forceNextVScrollUpdate=null,this.$_pendingVScrollUpdate=null,this.computeSize(this.id)):this.$_forceNextVScrollUpdate=this.id},updateWatchData(){this.watchData&&!this.vscrollResizeObserver?this.$_watchData=this.$watch("item",()=>{this.onDataUpdate()},{deep:!0}):this.$_watchData&&(this.$_watchData(),this.$_watchData=null)},onVscrollUpdate({force:e}){!this.finalActive&&e&&(this.$_pendingVScrollUpdate=this.id),this.$_forceNextVScrollUpdate!==this.id&&!e&&this.size||this.updateSize()},onDataUpdate(){this.updateSize()},computeSize(e){this.$nextTick(()=>{if(this.id===e){const e=this.$el.offsetWidth,t=this.$el.offsetHeight;this.applySize(e,t)}this.$_pendingSizeUpdate=null})},applySize(e,t){const n=~~("vertical"===this.vscrollParent.direction?t:e);n&&this.size!==n&&(this.vscrollParent.$_undefinedMap[this.id]&&(this.vscrollParent.$_undefinedSizes--,this.vscrollParent.$_undefinedMap[this.id]=void 0),this.$set(this.vscrollData.sizes,this.id,n),this.$set(this.vscrollData.validSizes,this.id,!0),this.emitResize&&this.$emit("resize",this.id))},observeSize(){this.vscrollResizeObserver&&this.$el.parentNode&&(this.vscrollResizeObserver.observe(this.$el.parentNode),this.$el.parentNode.addEventListener("resize",this.onResize))},unobserveSize(){this.vscrollResizeObserver&&(this.vscrollResizeObserver.unobserve(this.$el.parentNode),this.$el.parentNode.removeEventListener("resize",this.onResize))},onResize(e){const{width:t,height:n}=e.detail.contentRect;this.applySize(t,n)}},render(e){return e(this.tag,this.$slots.default)}};const N=A,E=void 0,j=void 0,B=void 0,R=void 0,M=f({},E,N,j,R,B,!1,void 0,void 0,void 0);function z({idProp:e=(e=>e.item.id)}={}){const t={},n=new o["default"]({data(){return{store:t}}});return{data(){return{idState:null}},created(){this.$_id=null,this.$_getId="function"===typeof e?()=>e.call(this,this):()=>this[e],this.$watch(this.$_getId,{handler(e){this.$nextTick(()=>{this.$_id=e})},immediate:!0}),this.$_updateIdState()},beforeUpdate(){this.$_updateIdState()},methods:{$_idStateInit(e){const i=this.$options.idState;if("function"===typeof i){const a=i.call(this,this);return n.$set(t,e,a),this.$_id=e,a}throw new Error("[mixin IdState] Missing `idState` function on component definition.")},$_updateIdState(){const n=this.$_getId();null==n&&console.warn(`No id found for IdState with idProp: '${e}'.`),n!==this.$_id&&(t[n]||this.$_idStateInit(n),this.idState=t[n])}}}}function K(e,t){e.component(t+"recycle-scroller",C),e.component(t+"RecycleScroller",C),e.component(t+"dynamic-scroller",L),e.component(t+"DynamicScroller",L),e.component(t+"dynamic-scroller-item",M),e.component(t+"DynamicScrollerItem",M)}const q={version:"1.1.2",install(e,t){const n=Object.assign({},{installComponents:!0,componentsPrefix:""},t);for(const i in n)"undefined"!==typeof n[i]&&(l[i]=n[i]);n.installComponents&&K(e,n.componentsPrefix)}};let F=null;"undefined"!==typeof window?F=window.Vue:"undefined"!==typeof e&&(F=e.Vue),F&&F.use(q)}).call(this,n("c8ba"))},e615:function(e,t,n){"use strict";n("14d4")},e81e:function(e,t,n){"use strict";n("370f")},eb6d:function(e,t,n){"use strict";n("9c92")},ed83:function(e,t,n){var i,a,s;(function(n,r){a=[],i=r,s="function"===typeof i?i.apply(t,a):i,void 0===s||(e.exports=s)})(0,(function(){var e=/(auto|scroll)/,t=function(e,n){return null===e.parentNode?n:t(e.parentNode,n.concat([e]))},n=function(e,t){return getComputedStyle(e,null).getPropertyValue(t)},i=function(e){return n(e,"overflow")+n(e,"overflow-y")+n(e,"overflow-x")},a=function(t){return e.test(i(t))},s=function(e){if(e instanceof HTMLElement||e instanceof SVGElement){for(var n=t(e.parentNode,[]),i=0;i({"~0":"~","~1":"/"}[e]||e))}function*o(e){const t=1;if(e.lengtht)throw new Error("invalid array index "+e);return n}function*p(e,t,n={strict:!1}){let i=e;for(const a of o(t)){if(n.strict&&!Object.prototype.hasOwnProperty.call(i,a))throw new u(t);i=i[a],yield{node:i,token:a}}}function g(e,t){let n=e;for(const{node:i}of p(e,t,{strict:!0}))n=i;return n}function f(e,t,n){let i=null,a=e,s=null;for(const{node:o,token:l}of p(e,t))i=a,a=o,s=l;if(!i)throw new u(t);if(Array.isArray(i))try{const e=h(s,i);i.splice(e,0,n)}catch(r){throw new u(t)}else Object.assign(i,{[s]:n});return e}function m(e,t){let n=null,i=e,a=null;for(const{node:r,token:o}of p(e,t))n=i,i=r,a=o;if(!n)throw new u(t);if(Array.isArray(n))try{const e=h(a,n);n.splice(e,1)}catch(s){throw new u(t)}else{if(!i)throw new u(t);delete n[a]}return e}function y(e,t,n){return m(e,t),f(e,t,n),e}function v(e,t,n){const i=g(e,t);return m(e,t),f(e,n,i),e}function b(e,t,n){return f(e,n,g(e,t)),e}function T(e,t,n){function i(e,t){const n=typeof e,a=typeof t;if(n!==a)return!1;switch(n){case d:{const n=Object.keys(e),a=Object.keys(t);return n.length===a.length&&n.every((n,s)=>n===a[s]&&i(e[n],t[n]))}default:return e===t}}const a=g(e,t);if(!i(n,a))throw new Error("test failed");return e}const S={add:(e,{path:t,value:n})=>f(e,t,n),copy:(e,{from:t,path:n})=>b(e,t,n),move:(e,{from:t,path:n})=>v(e,t,n),remove:(e,{path:t})=>m(e,t),replace:(e,{path:t,value:n})=>y(e,t,n),test:(e,{path:t,value:n})=>T(e,t,n)};function _(e,{op:t,...n}){const i=S[t];if(!i)throw new Error("unknown operation");return i(e,n)}function C(e,t){return t.reduce(_,e)}var k=n("66cd"),w=n("25a9"),I=n("2b88"),x=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"doc-topic",class:{"with-on-this-page":e.enableOnThisPageNav&&e.isOnThisPageNavVisible}},[n(e.isTargetIDE?"div":"main",{tag:"component",staticClass:"main",attrs:{id:"main"}},[n("DocumentationHero",{attrs:{role:e.role,enhanceBackground:e.enhanceBackground,enableMinimized:e.enableMinimized,shortHero:e.shortHero,shouldShowLanguageSwitcher:e.shouldShowLanguageSwitcher,iconOverride:e.references[e.pageIcon],standardColorIdentifier:e.standardColorIdentifier},scopedSlots:e._u([{key:"above-content",fn:function(){return[e._t("above-hero-content")]},proxy:!0}],null,!0)},[e._t("above-title"),e.shouldShowLanguageSwitcher?n("LanguageSwitcher",{attrs:{interfaceLanguage:e.interfaceLanguage,objcPath:e.objcPath,swiftPath:e.swiftPath}}):e._e(),n("Title",{class:{"minimized-title":e.enableMinimized},attrs:{eyebrow:e.enableMinimized?null:e.roleHeading}},[n(e.titleBreakComponent,{tag:"component"},[e._v(e._s(e.title))]),e.isSymbolDeprecated||e.isSymbolBeta?n("small",{class:e.tagName,attrs:{slot:"after","data-tag-name":e.tagName},slot:"after"}):e._e()],1),e.abstract?n("Abstract",{class:{"minimized-abstract":e.enableMinimized},attrs:{content:e.abstract}}):e._e(),e.sampleCodeDownload?n("div",[n("DownloadButton",{staticClass:"sample-download",attrs:{action:e.sampleCodeDownload.action}})],1):e._e(),e.shouldShowAvailability?n("Availability",{attrs:{platforms:e.platforms,technologies:e.technologies}}):e._e(),e.declarations.length?n("div",{staticClass:"declarations-container",class:{"minimized-container":e.enableMinimized}},e._l(e.declarations,(function(t,i){return n("Declaration",{key:i,attrs:{conformance:e.conformance,declarations:t.declarations,source:e.remoteSource}})})),1):e._e()],2),n("div",{staticClass:"doc-content-wrapper"},[n("div",{staticClass:"doc-content",class:{"no-primary-content":!e.hasPrimaryContent&&e.enhanceBackground}},[e.hasPrimaryContent?n("div",{class:["container",{"minimized-container":e.enableMinimized}]},[n("div",{staticClass:"description",class:{"after-enhanced-hero":e.enhanceBackground}},[e.isRequirement?n("RequirementMetadata",{attrs:{defaultImplementationsCount:e.defaultImplementationsCount}}):e._e(),e.deprecationSummary&&e.deprecationSummary.length?n("Aside",{attrs:{kind:"deprecated"}},[n("ContentNode",{attrs:{content:e.deprecationSummary}})],1):e._e(),e.downloadNotAvailableSummary&&e.downloadNotAvailableSummary.length?n("Aside",{attrs:{kind:"note"}},[n("ContentNode",{attrs:{content:e.downloadNotAvailableSummary}})],1):e._e()],1),e.primaryContentSectionsSanitized&&e.primaryContentSectionsSanitized.length?n("PrimaryContent",{class:{"with-border":!e.enhanceBackground},attrs:{conformance:e.conformance,source:e.remoteSource,sections:e.primaryContentSectionsSanitized}}):e._e(),e.shouldShowViewMoreLink?n("ViewMore",{attrs:{url:e.viewMoreLink}}):e._e()],1):e._e(),e.shouldRenderTopicSection?n("Topics",{attrs:{sections:e.topicSections,isSymbolDeprecated:e.isSymbolDeprecated,isSymbolBeta:e.isSymbolBeta,topicStyle:e.topicSectionsStyle}}):e._e(),e.defaultImplementationsSections&&!e.enableMinimized?n("DefaultImplementations",{attrs:{sections:e.defaultImplementationsSections,isSymbolDeprecated:e.isSymbolDeprecated,isSymbolBeta:e.isSymbolBeta}}):e._e(),e.relationshipsSections&&!e.enableMinimized?n("Relationships",{attrs:{sections:e.relationshipsSections}}):e._e(),e.seeAlsoSections&&!e.enableMinimized?n("SeeAlso",{attrs:{sections:e.seeAlsoSections}}):e._e()],1),e.enableOnThisPageNav?[n("OnThisPageStickyContainer",{directives:[{name:"show",rawName:"v-show",value:e.isOnThisPageNavVisible,expression:"isOnThisPageNavVisible"}]},[e.topicState.onThisPageSections.length>2?n("OnThisPageNav"):e._e()],1)]:e._e()],2),!e.isTargetIDE&&e.hasBetaContent?n("BetaLegalText"):e._e()],1),n("div",{staticClass:"visuallyhidden",attrs:{"aria-live":"polite"}},[e._v(" "+e._s(e.$t("documentation.current-page",{title:e.pageTitle}))+" ")])],1)},$=[],O=n("8649"),D=n("bf08"),P=n("d26a"),L=n("748c"),A=n("e425"),N=n("e3ab"),E=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"betainfo"},[n("div",{staticClass:"betainfo-container"},[n("GridRow",[n("GridColumn",{attrs:{span:{large:12}}},[n("p",{staticClass:"betainfo-label"},[e._v(e._s(e.$t("metadata.beta.software")))]),n("div",{staticClass:"betainfo-content"},[e._t("content",(function(){return[n("p",[e._v(e._s(e.$t("metadata.beta.legal")))])]}))],2),e._t("after")],2)],1)],1)])},j=[],B=n("0f00"),R=n("620a"),M={name:"BetaLegalText",components:{GridColumn:R["a"],GridRow:B["a"]}},z=M,K=(n("9cea"),n("2877")),q=Object(K["a"])(z,E,j,!1,null,"e8fd2a92",null),F=q.exports,H=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Section",{staticClass:"language",attrs:{role:"complementary","aria-label":e.$t("language")}},[n("Title",[e._v(e._s(e.$t("formats.colon",{content:e.$t("language")})))]),n("div",{staticClass:"language-list"},[n("LanguageSwitcherLink",{staticClass:"language-option swift",class:{active:e.swift.active},attrs:{url:e.swift.active?null:e.swift.url},on:{click:function(t){return e.chooseLanguage(e.swift)}}},[e._v(" "+e._s(e.swift.name)+" ")]),n("LanguageSwitcherLink",{staticClass:"language-option objc",class:{active:e.objc.active},attrs:{url:e.objc.active?null:e.objc.url},on:{click:function(t){return e.chooseLanguage(e.objc)}}},[e._v(" "+e._s(e.objc.name)+" ")])],1)],1)},V=[],W=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.url?n("a",{attrs:{href:e.url},on:{click:function(t){return t.preventDefault(),e.$emit("click")}}},[e._t("default")],2):n("span",[e._t("default")],2)},U=[],G={name:"LanguageSwitcherLink",props:{url:[String,Object]}},Q=G,X=Object(K["a"])(Q,W,U,!1,null,null,null),Y=X.exports,J=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"summary-section"},[e._t("default")],2)},Z=[],ee={name:"Section"},te=ee,ne=(n("1347"),Object(K["a"])(te,J,Z,!1,null,"3aa6f694",null)),ie=ne.exports,ae=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("p",{staticClass:"title"},[e._t("default")],2)},se=[],re={name:"Title"},oe=re,le=(n("ede5"),Object(K["a"])(oe,ae,se,!1,null,"6796f6ea",null)),ce=le.exports,de={name:"LanguageSwitcher",components:{LanguageSwitcherLink:Y,Section:ie,Title:ce},inject:{isTargetIDE:{default:()=>!1},store:{default(){return{setPreferredLanguage(){}}}}},props:{interfaceLanguage:{type:String,required:!0},objcPath:{type:String,required:!0},swiftPath:{type:String,required:!0}},computed:{objc:({interfaceLanguage:e,objcPath:t,$route:{query:n}})=>({...O["a"].objectiveC,active:O["a"].objectiveC.key.api===e,url:Object(P["b"])(Object(L["d"])(t),{...n,language:O["a"].objectiveC.key.url})}),swift:({interfaceLanguage:e,swiftPath:t,$route:{query:n}})=>({...O["a"].swift,active:O["a"].swift.key.api===e,url:Object(P["b"])(Object(L["d"])(t),{...n,language:void 0})})},methods:{chooseLanguage(e){this.isTargetIDE||this.store.setPreferredLanguage(e.key.url),this.$router.push(e.url)}}},ue=de,he=(n("a34a"),Object(K["a"])(ue,H,V,!1,null,"1a36493d",null)),pe=he.exports,ge=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"view-more-link"},[n("router-link",{staticClass:"base-link",attrs:{to:e.url}},[e._t("default",(function(){return[e._v("View more")]}))],2)],1)},fe=[],me={name:"ViewMore",props:{url:{type:String,required:!0}}},ye=me,ve=(n("2591"),Object(K["a"])(ye,ge,fe,!1,null,"0d14b62a",null)),be=ve.exports,Te=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["documentation-hero",{"documentation-hero--disabled":!e.enhanceBackground,"theme-dark":e.enhanceBackground}],style:e.styles},[n("div",{staticClass:"icon"},[e.enhanceBackground?n("TopicTypeIcon",{key:"first",staticClass:"background-icon first-icon",attrs:{type:e.type,"image-override":e.iconOverride,"with-colors":""}}):e._e()],1),n("div",{staticClass:"documentation-hero__above-content"},[e._t("above-content")],2),n("div",{staticClass:"documentation-hero__content",class:{"short-hero":e.shortHero,"extra-bottom-padding":e.shouldShowLanguageSwitcher,"minimized-hero":e.enableMinimized}},[e._t("default")],2)])},Se=[],_e=n("f12c"),Ce=n("31d4"),ke=n("2cae");const we={red:"red",orange:"orange",yellow:"yellow",blue:"blue",green:"green",purple:"purple",gray:"gray"};var Ie={name:"DocumentationHero",components:{TopicTypeIcon:_e["a"]},props:{role:{type:String,required:!0},enhanceBackground:{type:Boolean,required:!0},enableMinimized:{type:Boolean,default:!1},shortHero:{type:Boolean,required:!0},shouldShowLanguageSwitcher:{type:Boolean,required:!0},iconOverride:{type:Object,required:!1},standardColorIdentifier:{type:String,required:!1,validator:e=>Object.prototype.hasOwnProperty.call(we,e)}},computed:{color:({type:e})=>ke["b"][Ce["a"][e]||e]||ke["a"].teal,styles:({color:e,standardColorIdentifier:t})=>({"--accent-color":`var(--color-documentation-intro-accent, var(--color-type-icon-${e}))`,"--standard-accent-color":t&&`var(--color-standard-${t}-documentation-intro-fill, var(--color-standard-${t}))`}),type:({role:e})=>{switch(e){case k["a"].collection:return Ce["b"].module;case k["a"].collectionGroup:return Ce["b"].collection;default:return e}}}},xe=Ie,$e=(n("c80b"),Object(K["a"])(xe,Te,Se,!1,null,"6540c364",null)),Oe=$e.exports,De=n("7b1f"),Pe=n("12b1"),Le=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"OnThisPageNav"},[n("ul",{staticClass:"items"},e._l(e.onThisPageSections,(function(t){return n("li",{key:t.anchor,class:e.getItemClasses(t)},[n("router-link",{staticClass:"base-link",attrs:{to:t.url},nativeOn:{click:function(n){return e.handleFocusAndScroll(t.anchor)}}},[n(e.getWrapperComponent(t),{tag:"component"},[e._v(" "+e._s(e.getTextContent(t))+" ")])],1)],1)})),0)])},Ae=[];function Ne(e,t){let n,i;return function(...a){const s=this;if(!i)return e.apply(s,a),void(i=Date.now());clearTimeout(n),n=setTimeout(()=>{Date.now()-i>=t&&(e.apply(s,a),i=Date.now())},t-(Date.now()-i))}}var Ee=n("3908"),je=n("8a61"),Be={name:"OnThisPageNav",components:{WordBreak:De["a"]},mixins:[je["a"]],inject:{store:{default(){return{state:{onThisPageSections:[],currentPageAnchor:null}}}}},computed:{onThisPageSections:({store:e,$route:t})=>e.state.onThisPageSections.map(e=>({...e,url:Object(P["b"])("#"+e.anchor,t.query)})),currentPageAnchor:({store:e})=>e.state.currentPageAnchor},async mounted(){window.addEventListener("scroll",this.onScroll,!1),this.$once("hook:beforeDestroy",()=>{window.removeEventListener("scroll",this.onScroll)})},watch:{onThisPageSections:{immediate:!0,async handler(){await Object(Ee["b"])(8),this.onScroll()}}},methods:{onScroll:Ne((function(){const e=this.onThisPageSections.length;if(!e)return;const{scrollY:t,innerHeight:n}=window,{scrollHeight:i}=document.body,a=t+n>=i,s=t<=0,r=.3*n+t;if(s||a){const t=s?0:e-1;return void this.store.setCurrentPageSection(this.onThisPageSections[t].anchor)}let o,l,c=null;for(o=0;oObject(Ze["c"])(["theme","code","indentationWidth"],it),formattedTokens:({language:e,formattedSwiftTokens:t,tokens:n})=>e===O["a"].swift.key.api?t:n,formattedSwiftTokens:({indentationWidth:e,tokens:t})=>{const n=" ".repeat(e);let i=!1;const a=[];let s=0,r=null,o=null,l=null,c=null,d=0,u=null;while(se===nt.attribute||e===nt.externalParam;e.text&&e.text.endsWith(", ")&&g&&f(g)&&(h.text=`${e.text.trimEnd()}\n${n}`,i=!0),a.push(h),s+=1}if(i&&null!==r){const e=a[r].text;a[r].text=`${e}\n${n}`}if(i&&null!==l){const e=a[l].text,t=e.slice(0,c),n=e.slice(c),i=`${t}\n${n}`;a[l].text=i}return a},hasMultipleLines({formattedTokens:e}){return e.reduce((t,n,i)=>{let a=/\n/g;return i===e.length-1&&(a=/\n(?!$)/g),n.text?t+(n.text.match(a)||[]).length:t},1)>=2}},methods:{propsFor(e){return{kind:e.kind,identifier:e.identifier,text:e.text,tokens:e.tokens}},handleWindowResize(){this.displaysMultipleLines=Object(Ye["a"])(this.$refs.declarationGroup)}},async mounted(){window.addEventListener("resize",this.handleWindowResize),this.language===O["a"].objectiveC.key.api&&(await this.$nextTick(),Xe(this.$refs.code.$el,this.language)),this.handleWindowResize()},beforeDestroy(){window.removeEventListener("resize",this.handleWindowResize)}},st=at,rt=(n("72a9"),Object(K["a"])(st,Ue,Ge,!1,null,"d22a3f50",null)),ot=rt.exports,lt=n("5d59"),ct={name:"DeclarationGroup",components:{Source:ot},mixins:[lt["a"]],inject:{languages:{default:()=>new Set},interfaceLanguage:{default:()=>O["a"].swift.key.api},symbolKind:{default:()=>{}}},props:{declaration:{type:Object,required:!0},shouldCaption:{type:Boolean,default:!1},changeType:{type:String,required:!1}},computed:{classes:({changeType:e,multipleLinesClass:t,displaysMultipleLinesAfterAPIChanges:n})=>({["declaration-group--changed declaration-group--"+e]:e,[t]:n}),caption(){return this.declaration.platforms.join(", ")},isSwift:({interfaceLanguage:e})=>e===O["a"].swift.key.api}},dt=ct,ut=(n("c4bc"),Object(K["a"])(dt,Ve,We,!1,null,"4f51d8d2",null)),ht=ut.exports,pt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"declaration-diff"},[n("div",{staticClass:"declaration-diff-current"},[n("div",{staticClass:"declaration-diff-version"},[e._v("Current")]),e._l(e.currentDeclarations,(function(t,i){return n("DeclarationGroup",{key:i,attrs:{declaration:t,"should-caption":e.currentDeclarations.length>1,changeType:e.changeType}})}))],2),n("div",{staticClass:"declaration-diff-previous"},[n("div",{staticClass:"declaration-diff-version"},[e._v("Previous")]),e._l(e.previousDeclarations,(function(t,i){return n("DeclarationGroup",{key:i,attrs:{declaration:t,"should-caption":e.previousDeclarations.length>1,changeType:e.changeType}})}))],2)])},gt=[],ft={name:"DeclarationDiff",components:{DeclarationGroup:ht},props:{changes:{type:Object,required:!0},changeType:{type:String,required:!0}},computed:{previousDeclarations:({changes:e})=>e.declaration.previous||[],currentDeclarations:({changes:e})=>e.declaration.new||[]}},mt=ft,yt=(n("7a2c"),Object(K["a"])(mt,pt,gt,!1,null,"b3e21c4a",null)),vt=yt.exports,bt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("a",{staticClass:"declaration-source-link",attrs:{href:e.url,title:"Open source file for "+e.fileName,target:"_blank"}},[e.isSwiftFile?n("SwiftFileIcon",{staticClass:"declaration-icon"}):e._e(),n("WordBreak",[e._v(e._s(e.fileName))])],1)},Tt=[],St=n("a88f"),_t={name:"DeclarationSourceLink",components:{WordBreak:De["a"],SwiftFileIcon:St["a"]},props:{url:{type:String,required:!0},fileName:{type:String,required:!0}},computed:{isSwiftFile:({fileName:e})=>e.endsWith(".swift")}},Ct=_t,kt=(n("e615"),Object(K["a"])(Ct,bt,Tt,!1,null,"5863919c",null)),wt=kt.exports,It=n("b5cf"),xt={name:"Declaration",components:{DeclarationDiff:vt,DeclarationGroup:ht,DeclarationSourceLink:wt,ConditionalConstraints:He["a"]},constants:{ChangeTypes:It["c"],multipleLinesClass:Je["a"]},inject:["identifier","store"],data:({store:{state:e}})=>({state:e,multipleLinesClass:Je["a"]}),props:{conformance:{type:Object,required:!1},source:{type:Object,required:!1},declarations:{type:Array,required:!0}},computed:{hasPlatformVariants(){return this.declarations.length>1},hasModifiedChanges({declarationChanges:e}){if(!e||!e.declaration)return!1;const t=e.declaration;return!(!(t.new||[]).length||!(t.previous||[]).length)},declarationChanges:({state:{apiChanges:e},identifier:t})=>e&&e[t],changeType:({declarationChanges:e,hasModifiedChanges:t})=>{if(!e)return;const n=e.declaration;return n?t?It["c"].modified:e.change:e.change===It["c"].added?It["c"].added:void 0},changeClasses:({changeType:e})=>({["changed changed-"+e]:e})}},$t=xt,Ot=(n("39d3"),Object(K["a"])($t,qe,Fe,!1,null,"2ab6251b",null)),Dt=Ot.exports,Pt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ContentNode",e._b({staticClass:"abstract"},"ContentNode",e.$props,!1))},Lt=[],At=n("6359"),Nt={name:"Abstract",components:{ContentNode:At["a"]},props:At["a"].props},Et=Nt,jt=(n("374e"),Object(K["a"])(Et,Pt,Lt,!1,null,"702ec04e",null)),Bt=jt.exports,Rt=n("c081"),Mt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("TopicsTable",{attrs:{anchor:e.contentSectionData.anchor,title:e.$t(e.contentSectionData.title),isSymbolDeprecated:e.isSymbolDeprecated,isSymbolBeta:e.isSymbolBeta,sections:e.sections,wrapTitle:!0}})},zt=[];const Kt={topics:{title:"sections.topics",anchor:"topics",level:2},defaultImplementations:{title:"sections.default-implementations",anchor:"default-implementations",level:2},relationships:{title:"sections.relationships",anchor:"relationships",level:2},seeAlso:{title:"sections.see-also",anchor:"see-also",level:2}},qt={[Ke.details]:{title:"sections.details",anchor:"details",level:2},[Ke.parameters]:{title:"sections.parameters",anchor:"parameters",level:2},[Ke.possibleValues]:{title:"sections.possible-values",anchor:"possibleValues",level:2}};var Ft=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ContentTable",{attrs:{anchor:e.anchor,title:e.title}},e._l(e.sectionsWithTopics,(function(t,i){return n("ContentTableSection",{key:t.title+"_"+i,class:{"no-title":!t.title},attrs:{title:t.title,anchor:t.anchor},scopedSlots:e._u([t.title&&e.wrapTitle?{key:"title",fn:function(i){var a=i.className;return[n("LinkableHeading",{class:a,attrs:{level:3,anchor:t.anchor}},[n("WordBreak",[e._v(e._s(t.title))])],1)]}}:null],null,!0)},[t.abstract?n("template",{slot:"abstract"},[n("ContentNode",{attrs:{content:t.abstract}})],1):e._e(),t.discussion?n("template",{slot:"discussion"},[n("ContentNode",{attrs:{content:t.discussion.content}})],1):e._e(),e.shouldRenderList?e._l(t.topics,(function(t){return n("TopicsLinkBlock",{key:t.identifier,staticClass:"topic",attrs:{topic:t,isSymbolDeprecated:e.isSymbolDeprecated,isSymbolBeta:e.isSymbolBeta}})})):n("TopicsLinkCardGrid",{staticClass:"topic",attrs:{items:t.topics,topicStyle:e.topicStyle}})],2)})),1)},Ht=[],Vt=n("70fb"),Wt=n("5dcc"),Ut=n("2f34"),Gt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"contenttable alt-light"},[n("div",{staticClass:"container"},[n("LinkableHeading",{staticClass:"title",attrs:{anchor:e.anchor}},[e._v(e._s(e.title))]),e._t("default")],2)])},Qt=[],Xt={name:"ContentTable",components:{LinkableHeading:Wt["a"]},props:{anchor:{type:String,required:!0},title:{type:String,required:!0}}},Yt=Xt,Jt=(n("e81e"),Object(K["a"])(Yt,Gt,Qt,!1,null,"6e075935",null)),Zt=Jt.exports,en=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"contenttable-section"},[n("div",{staticClass:"section-title"},[e._t("title",(function(){return[e.title?n("LinkableHeading",{class:e.className,attrs:{level:3,anchor:e.anchorComputed}},[e._v(e._s(e.title))]):e._e()]}),{className:e.className})],2),n("div",{staticClass:"section-content"},[e._t("abstract"),e._t("discussion"),e._t("default")],2)])},tn=[],nn=n("002d");const an="contenttable-title";var sn={name:"ContentTableSection",components:{LinkableHeading:Wt["a"]},props:{title:{type:String,required:!1},anchor:{type:String,default:null}},computed:{anchorComputed:({title:e,anchor:t})=>t||Object(nn["a"])(e||""),className:()=>an}},rn=sn,on=(n("46c5"),Object(K["a"])(rn,en,tn,!1,null,"4aae1079",null)),ln=on.exports,cn=n("2a18"),dn={name:"TopicsTable",mixins:[Ut["a"]],components:{TopicsLinkCardGrid:Vt["a"],WordBreak:De["a"],ContentTable:Zt,TopicsLinkBlock:cn["default"],ContentNode:At["a"],ContentTableSection:ln,LinkableHeading:Wt["a"]},props:{isSymbolDeprecated:Boolean,isSymbolBeta:Boolean,sections:{type:Array,required:!0},title:{type:String,required:!1,default(){return"Topics"}},anchor:{type:String,required:!1,default(){return"topics"}},wrapTitle:{type:Boolean,default:!1},topicStyle:{type:String,default:Pe["a"].list}},computed:{shouldRenderList:({topicStyle:e})=>e===Pe["a"].list,sectionsWithTopics(){return this.sections.map(e=>({...e,topics:e.identifiers.reduce((e,t)=>this.references[t]?e.concat(this.references[t]):e,[])}))}}},un=dn,hn=(n("00f2"),Object(K["a"])(un,Ft,Ht,!1,null,"3ccf02e9",null)),pn=hn.exports,gn={name:"DefaultImplementations",components:{TopicsTable:pn},computed:{contentSectionData:()=>Kt.defaultImplementations},props:{isSymbolDeprecated:Boolean,isSymbolBeta:Boolean,sections:pn.props.sections}},fn=gn,mn=Object(K["a"])(fn,Mt,zt,!1,null,null,null),yn=mn.exports,vn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"primary-content"},e._l(e.sections,(function(t,i){return n(e.componentFor(t),e._b({key:i,tag:"component"},"component",e.propsFor(t),!1))})),1)},bn=[],Tn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",[n("LinkableHeading",{attrs:{anchor:e.contentSectionData.anchor}},[e._v(" "+e._s(e.$t(e.contentSectionData.title))+" ")]),n("dl",{staticClass:"datalist"},[e._l(e.values,(function(t){return[n("dt",{key:t.name+":name",staticClass:"param-name"},[n("WordBreak",{attrs:{tag:"code"}},[e._v(e._s(t.name))])],1),t.content?n("dd",{key:t.name+":content",staticClass:"value-content"},[n("ContentNode",{attrs:{content:t.content}})],1):e._e()]}))],2)],1)},Sn=[],_n=n("5677"),Cn={name:"PossibleValues",components:{ContentNode:_n["default"],LinkableHeading:Wt["a"],WordBreak:De["a"]},props:{values:{type:Array,required:!0}},computed:{contentSectionData:()=>qt[Ke.possibleValues]}},kn=Cn,wn=(n("719b"),Object(K["a"])(kn,Tn,Sn,!1,null,null,null)),In=wn.exports,xn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",[n("LinkableHeading",{attrs:{anchor:e.anchor}},[e._v(e._s(e.title))]),n("DeclarationSource",{attrs:{tokens:e.tokens}})],1)},$n=[],On={name:"RestEndpoint",components:{DeclarationSource:ot,LinkableHeading:Wt["a"]},props:{title:{type:String,required:!0},tokens:{type:Array,required:!0}},computed:{anchor:({title:e})=>Object(nn["a"])(e)}},Dn=On,Pn=Object(K["a"])(Dn,xn,$n,!1,null,null,null),Ln=Pn.exports,An=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"details"},[n("LinkableHeading",{attrs:{anchor:e.contentSectionData.anchor}},[e._v(" "+e._s(e.$t(e.contentSectionData.title))+" ")]),n("dl",[e.isSymbol?[n("dt",{key:e.details.name+":name",staticClass:"detail-type"},[e._v(" "+e._s(e.$t("metadata.details.name"))+" ")]),n("dd",{key:e.details.ideTitle+":content",staticClass:"detail-content"},[e._v(" "+e._s(e.details.ideTitle)+" ")])]:e._e(),e.isTitle?[n("dt",{key:e.details.name+":key",staticClass:"detail-type"},[e._v(" "+e._s(e.$t("metadata.details.key"))+" ")]),n("dd",{key:e.details.ideTitle+":content",staticClass:"detail-content"},[e._v(" "+e._s(e.details.name)+" ")])]:e._e(),n("dt",{key:e.details.name+":type",staticClass:"detail-type"},[e._v(" "+e._s(e.$t("metadata.details.type"))+" ")]),n("dd",{staticClass:"detail-content"},[n("PropertyListKeyType",{attrs:{types:e.details.value}})],1)],2)],1)},Nn=[],En=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"type"},[e._v(e._s(e.typeOutput))])},jn=[],Bn={name:"PropertyListKeyType",props:{types:{type:Array,required:!0}},computed:{englishTypes(){return this.types.map(({arrayMode:e,baseType:t="*"})=>e?"array of "+this.pluralizeKeyType(t):t)},typeOutput(){return this.englishTypes.length>2?[this.englishTypes.slice(0,this.englishTypes.length-1).join(", "),this.englishTypes[this.englishTypes.length-1]].join(", or "):this.englishTypes.join(" or ")}},methods:{pluralizeKeyType(e){switch(e){case"dictionary":return"dictionaries";case"array":case"number":case"string":return e+"s";default:return e}}}},Rn=Bn,Mn=(n("f7c0"),Object(K["a"])(Rn,En,jn,!1,null,"791bac44",null)),zn=Mn.exports,Kn={name:"PropertyListKeyDetails",components:{PropertyListKeyType:zn,LinkableHeading:Wt["a"]},props:{details:{type:Object,required:!0}},computed:{contentSectionData:()=>qt[Ke.details],isTitle(){return"title"===this.details.titleStyle&&this.details.ideTitle},isSymbol(){return"symbol"===this.details.titleStyle&&this.details.ideTitle}}},qn=Kn,Fn=(n("45b2"),Object(K["a"])(qn,An,Nn,!1,null,"d66cd00c",null)),Hn=Fn.exports,Vn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"parameters"},[n("LinkableHeading",{attrs:{anchor:e.contentSectionData.anchor}},[e._v(" "+e._s(e.$t(e.contentSectionData.title))+" ")]),n("dl",[e._l(e.parameters,(function(t){return[n("dt",{key:t.name+":name",staticClass:"param-name"},[n("code",[e._v(e._s(t.name))])]),n("dd",{key:t.name+":content",staticClass:"param-content"},[n("ContentNode",{attrs:{content:t.content}})],1)]}))],2)],1)},Wn=[],Un={name:"Parameters",components:{ContentNode:At["a"],LinkableHeading:Wt["a"]},props:{parameters:{type:Array,required:!0}},computed:{contentSectionData:()=>qt[Ke.parameters]}},Gn=Un,Qn=(n("1a39"),Object(K["a"])(Gn,Vn,Wn,!1,null,"53cac581",null)),Xn=Qn.exports,Yn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",[n("LinkableHeading",{attrs:{anchor:e.anchor}},[e._v(e._s(e.title))]),n("ParametersTable",{staticClass:"property-table",attrs:{parameters:e.properties,changes:e.propertyChanges},scopedSlots:e._u([{key:"symbol",fn:function(t){var i=t.name,a=t.type,s=t.content,r=t.changes,o=t.deprecated;return[n("div",{staticClass:"property-name",class:{deprecated:o}},[n("WordBreak",{attrs:{tag:"code"}},[e._v(e._s(i))])],1),e.shouldShiftType({name:i,content:s})?e._e():n("PossiblyChangedType",{attrs:{type:a,changes:r.type}})]}},{key:"description",fn:function(t){var i=t.name,a=t.type,s=t.attributes,r=t.content,o=t.required,l=t.changes,c=t.deprecated,d=t.readOnly;return[e.shouldShiftType({name:i,content:r})?n("PossiblyChangedType",{attrs:{type:a,changes:l.type}}):e._e(),c?[n("Badge",{staticClass:"property-deprecated",attrs:{variant:"deprecated"}}),e._v("  ")]:e._e(),n("PossiblyChangedTextAttribute",{attrs:{changes:l.required,value:o}},[e._v(" "+e._s(e.$t("formats.parenthesis",{content:e.$t("required")}))+" ")]),n("PossiblyChangedTextAttribute",{attrs:{changes:l.readOnly,value:d}},[e._v(" "+e._s(e.$t("formats.parenthesis",{content:e.$t("read-only")}))+" ")]),r?n("ContentNode",{attrs:{content:r}}):e._e(),n("ParameterAttributes",{attrs:{attributes:s,changes:l.attributes}})]}}])})],1)},Jn=[],Zn={inject:["identifier","store"],data:({store:{state:e}})=>({state:e}),computed:{apiChanges:({state:{apiChanges:e},identifier:t})=>e&&e[t]}},ei=n("a0fd"),ti=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"parameters-table"},e._l(e.parameters,(function(t){return n("Row",{key:t[e.keyBy],staticClass:"param",class:e.changedClasses(t[e.keyBy])},[n("Column",{staticClass:"param-symbol",attrs:{span:{large:3,small:12}}},[e._t("symbol",null,null,e.getProps(t,e.changes[t[e.keyBy]]))],2),n("Column",{staticClass:"param-content",attrs:{span:{large:9,small:12}}},[e._t("description",null,null,e.getProps(t,e.changes[t[e.keyBy]]))],2)],1)})),1)},ni=[],ii={name:"ParametersTable",components:{Row:B["a"],Column:R["a"]},props:{parameters:{type:Array,required:!0},changes:{type:Object,default:()=>({})},keyBy:{type:String,default:"name"}},methods:{getProps(e,t={}){return{...e,changes:t}},changedClasses(e){const{changes:t}=this,{change:n}=t[e]||{};return{["changed changed-"+n]:n}}}},ai=ii,si=(n("5561"),Object(K["a"])(ai,ti,ni,!1,null,"3f89f723",null)),ri=si.exports,oi=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"parameter-attributes"},[e.shouldRender(e.AttributeKind.default)?n("ParameterMetaAttribute",e._b({scopedSlots:e._u([{key:"default",fn:function(t){var i=t.attribute;return[e._v(" "+e._s(e.$t("formats.colon",{content:i.title||e.$t("parameters.default")}))),n("code",[e._v(e._s(i.value))])]}}],null,!1,2998238055)},"ParameterMetaAttribute",{kind:e.AttributeKind.default,attributes:e.attributesObject,changes:e.changes},!1)):e._e(),e.shouldRender(e.AttributeKind.minimum)?n("ParameterMetaAttribute",e._b({scopedSlots:e._u([{key:"default",fn:function(t){var i=t.attribute;return[e._v(" "+e._s(e.$t("formats.colon",{content:i.title||e.$t("parameters.minimum")}))),n("code",[e._v(e._s(i.value))])]}}],null,!1,859757818)},"ParameterMetaAttribute",{kind:e.AttributeKind.minimum,attributes:e.attributesObject,changes:e.changes},!1)):e._e(),e.shouldRender(e.AttributeKind.minimumExclusive)?n("ParameterMetaAttribute",e._b({scopedSlots:e._u([{key:"default",fn:function(t){var i=t.attribute;return[e._v(" "+e._s(e.$t("formats.colon",{content:i.title||e.$t("parameters.minimum")}))),n("code",[e._v("> "+e._s(i.value))])]}}],null,!1,770347247)},"ParameterMetaAttribute",{kind:e.AttributeKind.minimumExclusive,attributes:e.attributesObject,changes:e.changes},!1)):e._e(),e.shouldRender(e.AttributeKind.maximum)?n("ParameterMetaAttribute",e._b({scopedSlots:e._u([{key:"default",fn:function(t){var i=t.attribute;return[e._v(" "+e._s(e.$t("formats.colon",{content:i.title||e.$t("parameters.maximum")}))),n("code",[e._v(e._s(i.value))])]}}],null,!1,1190666532)},"ParameterMetaAttribute",{kind:e.AttributeKind.maximum,attributes:e.attributesObject,changes:e.changes},!1)):e._e(),e.shouldRender(e.AttributeKind.maximumExclusive)?n("ParameterMetaAttribute",e._b({scopedSlots:e._u([{key:"default",fn:function(t){var i=t.attribute;return[e._v(" "+e._s(e.$t("formats.colon",{content:i.title||e.$t("parameters.maximum")}))),n("code",[e._v("< "+e._s(i.value))])]}}],null,!1,1156490099)},"ParameterMetaAttribute",{kind:e.AttributeKind.maximumExclusive,attributes:e.attributesObject,changes:e.changes},!1)):e._e(),e.shouldRender(e.AttributeKind.allowedTypes)?n("ParameterMetaAttribute",e._b({scopedSlots:e._u([{key:"default",fn:function(t){var i=t.attribute;return[e._v(" "+e._s(e.$t("formats.colon",{content:e.$tc("parameters.possible-types",e.fallbackToValues(i).length)}))),n("code",[e._l(e.fallbackToValues(i),(function(t,a){return[e._l(t,(function(t,s){return[n("DeclarationToken",e._b({key:a+"-"+s},"DeclarationToken",t,!1)),a+1({new:null,previous:null})},value:{type:[Object,Array,String,Boolean],default:null},wrapChanges:{type:Boolean,default:!0},renderSingleChange:{type:Boolean,default:!1}},render(e){const{value:t,changes:n={},wrapChanges:i,renderSingleChange:a}=this,{new:s,previous:r}=n,o=(t,n)=>{const a=this.$scopedSlots.default({value:t});return n&&i?e("div",{class:n},[a]):a?a[0]:null};if(s||r){const t=o(s,ui.added),n=o(r,ui.removed);return a?s&&!r?t:n:e("div",{class:"property-changegroup"},[s?t:"",r?n:""])}return o(t)}},fi=gi,mi=Object(K["a"])(fi,hi,pi,!1,null,null,null),yi=mi.exports,vi={name:"ParameterMetaAttribute",components:{RenderChanged:yi},props:{kind:{type:String,required:!0},attributes:{type:Object,required:!0},changes:{type:Object,default:()=>({})}}},bi=vi,Ti=(n("2822"),Object(K["a"])(bi,ci,di,!1,null,"8590589e",null)),Si=Ti.exports;const _i={allowedTypes:"allowedTypes",allowedValues:"allowedValues",default:"default",maximum:"maximum",maximumExclusive:"maximumExclusive",minimum:"minimum",minimumExclusive:"minimumExclusive"};var Ci={name:"ParameterAttributes",components:{ParameterMetaAttribute:Si,DeclarationToken:tt["a"]},constants:{AttributeKind:_i},props:{attributes:{type:Array,default:()=>[]},changes:{type:Object,default:()=>({})}},computed:{AttributeKind:()=>_i,attributesObject:({attributes:e})=>e.reduce((e,t)=>({...e,[t.kind]:t}),{})},methods:{shouldRender(e){return Object.prototype.hasOwnProperty.call(this.attributesObject,e)},fallbackToValues:e=>{const t=e||[];return Array.isArray(t)?t:t.values}}},ki=Ci,wi=Object(K["a"])(ki,oi,li,!1,null,null,null),Ii=wi.exports,xi=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("RenderChanged",{attrs:{renderSingleChange:"",value:e.value,changes:e.changes},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.value;return i?n("span",{staticClass:"property-text"},[e._t("default")],2):e._e()}}],null,!0)})},$i=[],Oi={name:"PossiblyChangedTextAttribute",components:{RenderChanged:yi},props:{changes:{type:Object,required:!1},value:{type:Boolean,default:!1}}},Di=Oi,Pi=(n("5c57"),Object(K["a"])(Di,xi,$i,!1,null,null,null)),Li=Pi.exports,Ai=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("RenderChanged",{attrs:{value:e.type,wrapChanges:!1,changes:e.changes},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.value;return n("DeclarationTokenGroup",{staticClass:"property-metadata property-type",attrs:{type:e.getValues(i)}})}}])})},Ni=[],Ei=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.type&&e.type.length?n("div",[n("code",e._l(e.type,(function(t,i){return n("DeclarationToken",e._b({key:i},"DeclarationToken",t,!1))})),1)]):e._e()},ji=[],Bi={name:"DeclarationTokenGroup",components:{DeclarationToken:tt["a"]},props:{type:{type:Array,default:()=>[],required:!1}}},Ri=Bi,Mi=Object(K["a"])(Ri,Ei,ji,!1,null,null,null),zi=Mi.exports,Ki={name:"PossiblyChangedType",components:{DeclarationTokenGroup:zi,RenderChanged:yi},props:{type:{type:Array,required:!0},changes:{type:Object,required:!1}},methods:{getValues(e){return Array.isArray(e)?e:e.values}}},qi=Ki,Fi=(n("2f87"),Object(K["a"])(qi,Ai,Ni,!1,null,"0a648a1e",null)),Hi=Fi.exports,Vi={name:"PropertyTable",mixins:[Zn],components:{Badge:ei["a"],WordBreak:De["a"],PossiblyChangedTextAttribute:Li,PossiblyChangedType:Hi,ParameterAttributes:Ii,ContentNode:At["a"],ParametersTable:ri,LinkableHeading:Wt["a"]},props:{title:{type:String,required:!0},properties:{type:Array,required:!0}},computed:{anchor:({title:e})=>Object(nn["a"])(e),propertyChanges:({apiChanges:e})=>(e||{}).properties},methods:{shouldShiftType:({content:e=[],name:t})=>!e.length&&t}},Wi=Vi,Ui=(n("d71b"),Object(K["a"])(Wi,Yn,Jn,!1,null,"310f0b2c",null)),Gi=Ui.exports,Qi=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",[n("LinkableHeading",{attrs:{anchor:e.anchor}},[e._v(e._s(e.title))]),n("ParametersTable",{attrs:{parameters:[e.bodyParam],changes:e.bodyChanges,keyBy:"key"},scopedSlots:e._u([{key:"symbol",fn:function(t){var i=t.type,a=t.content,s=t.changes,r=t.name;return[e.shouldShiftType({name:r,content:a})?e._e():n("PossiblyChangedType",{attrs:{type:i,changes:s.type}})]}},{key:"description",fn:function(t){var i=t.name,a=t.content,s=t.mimeType,r=t.type,o=t.changes;return[e.shouldShiftType({name:i,content:a})?n("PossiblyChangedType",{attrs:{type:r,changes:o.type}}):e._e(),a?n("ContentNode",{attrs:{content:a}}):e._e(),s?n("PossiblyChangedMimetype",{attrs:{mimetype:s,changes:o.mimetype,change:o.change}}):e._e()]}}])}),e.parts.length?[n("h3",[e._v(e._s(e.$t("sections.parts")))]),n("ParametersTable",{staticClass:"parts",attrs:{parameters:e.parts,changes:e.partsChanges},scopedSlots:e._u([{key:"symbol",fn:function(t){var i=t.name,a=t.type,s=t.content,r=t.changes;return[n("div",{staticClass:"part-name"},[n("WordBreak",{attrs:{tag:"code"}},[e._v(e._s(i))])],1),s?n("PossiblyChangedType",{attrs:{type:a,changes:r.type}}):e._e()]}},{key:"description",fn:function(t){var i=t.content,a=t.mimeType,s=t.required,r=t.type,o=t.attributes,l=t.changes,c=t.readOnly;return[n("div",[i?e._e():n("PossiblyChangedType",{attrs:{type:r,changes:l.type}}),n("PossiblyChangedTextAttribute",{attrs:{changes:l.required,value:s}},[e._v("(Required) ")]),n("PossiblyChangedTextAttribute",{attrs:{changes:l.readOnly,value:c}},[e._v("(Read only) ")]),i?n("ContentNode",{attrs:{content:i}}):e._e(),a?n("PossiblyChangedMimetype",{attrs:{mimetype:a,changes:l.mimetype,change:l.change}}):e._e(),n("ParameterAttributes",{attrs:{attributes:o,changes:l.attributes}})],1)]}}],null,!1,1779956822)})]:e._e()],2)},Xi=[],Yi=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("RenderChanged",{attrs:{changes:e.changeValues,value:e.mimetype},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.value;return n("div",{staticClass:"response-mimetype"},[e._v(" "+e._s(e.$t("content-type",{value:i}))+" ")])}}])})},Ji=[],Zi={name:"PossiblyChangedMimetype",components:{RenderChanged:yi},props:{mimetype:{type:String,required:!0},changes:{type:[Object,String],required:!1},change:{type:String,required:!1}},computed:{changeValues({change:e,changes:t}){return e===It["c"].modified&&"string"!==typeof t?t:void 0}}},ea=Zi,ta=(n("d1ac"),Object(K["a"])(ea,Yi,Ji,!1,null,"20293786",null)),na=ta.exports;const ia="restRequestBody";var aa={name:"RestBody",mixins:[Zn],components:{PossiblyChangedMimetype:na,PossiblyChangedTextAttribute:Li,PossiblyChangedType:Hi,WordBreak:De["a"],ParameterAttributes:Ii,ContentNode:At["a"],ParametersTable:ri,LinkableHeading:Wt["a"]},constants:{ChangesKey:ia},props:{bodyContentType:{type:Array,required:!0},content:{type:Array},mimeType:{type:String,required:!0},parts:{type:Array,default:()=>[]},title:{type:String,required:!0}},computed:{anchor:({title:e})=>Object(nn["a"])(e),bodyParam:({bodyContentType:e,content:t,mimeType:n})=>({key:ia,content:t,mimeType:n,type:e}),bodyChanges:({apiChanges:e})=>e||{},partsChanges:({bodyChanges:e})=>(e[ia]||{}).parts},methods:{shouldShiftType:({content:e=[],name:t})=>!e.length&&t}},sa=aa,ra=(n("6a35"),Object(K["a"])(sa,Qi,Xi,!1,null,"021cd63d",null)),oa=ra.exports,la=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",[n("LinkableHeading",{attrs:{anchor:e.anchor}},[e._v(e._s(e.title))]),n("ParametersTable",{attrs:{parameters:e.parameters,changes:e.parameterChanges},scopedSlots:e._u([{key:"symbol",fn:function(t){var i=t.name,a=t.type,s=t.content,r=t.changes,o=t.deprecated;return[n("div",{staticClass:"param-name",class:{deprecated:o}},[n("WordBreak",{attrs:{tag:"code"}},[e._v(e._s(i))])],1),e.shouldShiftType({content:s,name:i})?e._e():n("PossiblyChangedType",{attrs:{type:a,changes:r.type}})]}},{key:"description",fn:function(t){var i=t.name,a=t.type,s=t.content,r=t.required,o=t.attributes,l=t.changes,c=t.deprecated,d=t.readOnly;return[n("div",[e.shouldShiftType({content:s,name:i})?n("PossiblyChangedType",{attrs:{type:a,changes:l.type}}):e._e(),c?[n("Badge",{staticClass:"param-deprecated",attrs:{variant:"deprecated"}}),e._v("  ")]:e._e(),n("PossiblyChangedTextAttribute",{attrs:{changes:l.required,value:r}},[e._v(" "+e._s(e.$t("formats.parenthesis",{content:e.$t("required")}))+" ")]),n("PossiblyChangedTextAttribute",{attrs:{changes:l.readOnly,value:d}},[e._v(" "+e._s(e.$t("formats.parenthesis",{content:e.$t("read-only")}))+" ")]),s?n("ContentNode",{attrs:{content:s}}):e._e(),n("ParameterAttributes",{attrs:{attributes:o,changes:l}})],2)]}}])})],1)},ca=[],da={name:"RestParameters",mixins:[Zn],components:{Badge:ei["a"],PossiblyChangedType:Hi,PossiblyChangedTextAttribute:Li,ParameterAttributes:Ii,WordBreak:De["a"],ContentNode:At["a"],ParametersTable:ri,LinkableHeading:Wt["a"]},props:{title:{type:String,required:!0},parameters:{type:Array,required:!0}},computed:{anchor:({title:e})=>Object(nn["a"])(e),parameterChanges:({apiChanges:e})=>(e||{}).restParameters},methods:{shouldShiftType:({content:e=[],name:t})=>!e.length&&t}},ua=da,ha=(n("eb6d"),Object(K["a"])(ua,la,ca,!1,null,"03478142",null)),pa=ha.exports,ga=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",[n("LinkableHeading",{attrs:{anchor:e.anchor}},[e._v(e._s(e.title))]),n("ParametersTable",{attrs:{parameters:e.responses,changes:e.propertyChanges,"key-by":"status"},scopedSlots:e._u([{key:"symbol",fn:function(t){var i=t.status,a=t.type,s=t.reason,r=t.content,o=t.changes;return[n("div",{staticClass:"response-name"},[n("code",[e._v(" "+e._s(i)+" "),n("span",{staticClass:"reason"},[e._v(e._s(s))])])]),e.shouldShiftType({content:r,reason:s,status:i})?e._e():n("PossiblyChangedType",{attrs:{type:a,changes:o.type}})]}},{key:"description",fn:function(t){var i=t.content,a=t.mimetype,s=t.reason,r=t.type,o=t.status,l=t.changes;return[e.shouldShiftType({content:i,reason:s,status:o})?n("PossiblyChangedType",{attrs:{type:r,changes:l.type}}):e._e(),n("div",{staticClass:"response-reason"},[n("code",[e._v(e._s(s))])]),i?n("ContentNode",{attrs:{content:i}}):e._e(),a?n("PossiblyChangedMimetype",{attrs:{mimetype:a,changes:l.mimetype,change:l.change}}):e._e()]}}])})],1)},fa=[],ma={name:"RestResponses",mixins:[Zn],components:{PossiblyChangedMimetype:na,PossiblyChangedType:Hi,ContentNode:At["a"],ParametersTable:ri,LinkableHeading:Wt["a"]},props:{title:{type:String,required:!0},responses:{type:Array,required:!0}},computed:{anchor:({title:e})=>Object(nn["a"])(e),propertyChanges:({apiChanges:e})=>(e||{}).restResponses},methods:{shouldShiftType:({content:e=[],reason:t,status:n})=>!(e.length||t)&&n}},ya=ma,va=(n("7649"),Object(K["a"])(ya,ga,fa,!1,null,"881189f4",null)),ba=va.exports,Ta={name:"PrimaryContent",components:{ContentNode:At["a"],Parameters:Xn,PropertyListKeyDetails:Hn,PropertyTable:Gi,RestBody:oa,RestEndpoint:Ln,RestParameters:pa,RestResponses:ba,PossibleValues:In},constants:{SectionKind:Ke},props:{sections:{type:Array,required:!0,validator:e=>e.every(({kind:e})=>Object.prototype.hasOwnProperty.call(Ke,e))}},computed:{span(){return{large:9,medium:9,small:12}}},methods:{componentFor(e){return{[Ke.content]:At["a"],[Ke.details]:Hn,[Ke.parameters]:Xn,[Ke.properties]:Gi,[Ke.restBody]:oa,[Ke.restParameters]:pa,[Ke.restHeaders]:pa,[Ke.restCookies]:pa,[Ke.restEndpoint]:Ln,[Ke.restResponses]:ba,[Ke.possibleValues]:In}[e.kind]},propsFor(e){const{bodyContentType:t,content:n,details:i,items:a,kind:s,mimeType:r,parameters:o,title:l,tokens:c,values:d}=e;return{[Ke.content]:{content:n},[Ke.details]:{details:i},[Ke.parameters]:{parameters:o},[Ke.possibleValues]:{values:d},[Ke.properties]:{properties:a,title:l},[Ke.restBody]:{bodyContentType:t,content:n,mimeType:r,parts:o,title:l},[Ke.restCookies]:{parameters:a,title:l},[Ke.restEndpoint]:{tokens:c,title:l},[Ke.restHeaders]:{parameters:a,title:l},[Ke.restParameters]:{parameters:a,title:l},[Ke.restResponses]:{responses:a,title:l}}[s]}}},Sa=Ta,_a=(n("73a8"),Object(K["a"])(Sa,vn,bn,!1,null,"2baae7e0",null)),Ca=_a.exports,ka=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ContentTable",{attrs:{anchor:e.contentSectionData.anchor,title:e.$t(e.contentSectionData.title)}},e._l(e.sectionsWithSymbols,(function(e){return n("Section",{key:e.type,attrs:{title:e.title,anchor:e.anchor}},[n("List",{attrs:{symbols:e.symbols,type:e.type}})],1)})),1)},wa=[],Ia=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ul",{ref:"apiChangesDiff",staticClass:"relationships-list",class:e.classes},e._l(e.symbols,(function(t){return n("li",{key:t.identifier,staticClass:"relationships-item"},[t.url?n("router-link",{staticClass:"link",attrs:{to:e.buildUrl(t.url,e.$route.query)}},[n("WordBreak",{attrs:{tag:"code"}},[e._v(e._s(t.title))])],1):n("WordBreak",{attrs:{tag:"code"}},[e._v(e._s(t.title))]),t.conformance?n("ConditionalConstraints",{attrs:{constraints:t.conformance.constraints,prefix:t.conformance.conformancePrefix}}):e._e()],1)})),0)},xa=[];const $a=3,Oa={conformsTo:"conformance",inheritsFrom:"inheritance",inheritedBy:"inheritedBy"};var Da={name:"RelationshipsList",components:{ConditionalConstraints:He["a"],WordBreak:De["a"]},inject:["store","identifier"],mixins:[lt["b"],lt["a"]],props:{symbols:{type:Array,required:!0},type:{type:String,required:!0}},data(){return{state:this.store.state}},computed:{classes({changeType:e,multipleLinesClass:t,displaysMultipleLinesAfterAPIChanges:n}){return[{inline:this.shouldDisplayInline,column:!this.shouldDisplayInline,["changed changed-"+e]:!!e,[t]:n}]},hasAvailabilityConstraints(){return this.symbols.some(e=>!!(e.conformance||{}).constraints)},changes({identifier:e,state:{apiChanges:t}}){return(t||{})[e]||{}},changeType({changes:e,type:t}){const n=Oa[t];if(e.change!==It["c"].modified)return e.change;const i=e[n];if(!i)return;const a=(e,t)=>e.map((e,n)=>[e,t[n]]),s=a(i.previous,i.new).some(([e,t])=>e.content?0===e.content.length&&t.content.length>0:!!t.content);return s?It["c"].added:It["c"].modified},shouldDisplayInline(){const{hasAvailabilityConstraints:e,symbols:t}=this;return t.length<=$a&&!e}},methods:{buildUrl:P["b"]}},Pa=Da,La=(n("9475"),Object(K["a"])(Pa,Ia,xa,!1,null,"4c67b8c7",null)),Aa=La.exports,Na={name:"Relationships",mixins:[Ut["a"]],components:{ContentTable:Zt,List:Aa,Section:ln},props:{sections:{type:Array,required:!0}},computed:{contentSectionData:()=>Kt.relationships,sectionsWithSymbols(){return this.sections.map(e=>({...e,symbols:e.identifiers.reduce((e,t)=>this.references[t]?e.concat(this.references[t]):e,[])}))}}},Ea=Na,ja=Object(K["a"])(Ea,ka,wa,!1,null,null,null),Ba=ja.exports,Ra=n("e8ea"),Ma=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Section",{staticClass:"availability",attrs:{role:"complementary","aria-label":e.$t("sections.availability")}},[e._l(e.technologies,(function(t){return n("Badge",{key:t,staticClass:"technology"},[n("TechnologyIcon",{staticClass:"tech-icon"}),e._v(" "+e._s(t)+" ")],1)})),e._l(e.platforms,(function(t){return n("Badge",{key:t.name,staticClass:"platform",class:e.changesClassesFor(t.name)},[n("AvailabilityRange",{attrs:{deprecatedAt:t.deprecatedAt,introducedAt:t.introducedAt,platformName:t.name}}),t.deprecatedAt?n("span",{staticClass:"deprecated"},[e._v(" "+e._s(e.$t("aside-kind.deprecated"))+" ")]):t.beta?n("span",{staticClass:"beta"},[e._v(e._s(e.$t("aside-kind.beta")))]):e._e()],1)}))],2)},za=[],Ka=n("3024"),qa=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{attrs:{role:"text","aria-label":e.ariaLabel,title:e.description}},[e._v(" "+e._s(e.text)+" ")])},Fa=[],Ha={name:"AvailabilityRange",props:{deprecatedAt:{type:String,required:!1},introducedAt:{type:String,required:!0},platformName:{type:String,required:!0}},computed:{ariaLabel(){const{deprecatedAt:e,description:t,text:n}=this;return[n].concat(e?this.$t("change-type.deprecated"):[]).concat(t).join(", ")},description(){const{deprecatedAt:e,introducedAt:t,platformName:n}=this;return e?this.$t("availability.introduced-and-deprecated",{name:n,introducedAt:t,deprecatedAt:e}):this.$t("availability.available-on",{name:n,introducedAt:t})},text(){const{deprecatedAt:e,introducedAt:t,platformName:n}=this;return e?`${n} ${t}–${e}`:`${n} ${t}+`}}},Va=Ha,Wa=Object(K["a"])(Va,qa,Fa,!1,null,null,null),Ua=Wa.exports,Ga={name:"Availability",mixins:[lt["b"]],inject:["identifier","store"],components:{Badge:ei["a"],AvailabilityRange:Ua,Section:ie,TechnologyIcon:Ka["a"]},props:{platforms:{type:Array,required:!0},technologies:{type:Array,required:!1}},data(){return{state:this.store.state}},methods:{changeFor(e){const{identifier:t,state:{apiChanges:n}}=this,{availability:i={}}=(n||{})[t]||{},a=i[e];if(a)return a.deprecated?It["c"].deprecated:a.introduced&&!a.introduced.previous?It["c"].added:It["c"].modified}}},Qa=Ga,Xa=(n("2d12"),Object(K["a"])(Qa,Ma,za,!1,null,"602d8130",null)),Ya=Xa.exports,Ja=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("TopicsTable",{attrs:{anchor:e.contentSectionData.anchor,title:e.$t(e.contentSectionData.title),isSymbolDeprecated:e.isSymbolDeprecated,isSymbolBeta:e.isSymbolBeta,sections:e.sections}})},Za=[],es={name:"SeeAlso",components:{TopicsTable:pn},props:{isSymbolDeprecated:Boolean,isSymbolBeta:Boolean,sections:pn.props.sections},computed:{contentSectionData:()=>Kt.seeAlso}},ts=es,ns=Object(K["a"])(ts,Ja,Za,!1,null,null,null),is=ns.exports,as=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"topictitle"},[e.eyebrow?n("span",{staticClass:"eyebrow"},[e._v(e._s(e.eyebrow))]):e._e(),n("h1",{staticClass:"title"},[e._t("default"),e._t("after")],2)])},ss=[],rs={name:"Title",props:{eyebrow:{type:String,required:!1}}},os=rs,ls=(n("3396"),Object(K["a"])(os,as,ss,!1,null,"4492c658",null)),cs=ls.exports,ds=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("TopicsTable",{attrs:{anchor:e.contentSectionData.anchor,title:e.$t(e.contentSectionData.title),isSymbolDeprecated:e.isSymbolDeprecated,isSymbolBeta:e.isSymbolBeta,sections:e.sections,topicStyle:e.topicStyle}})},us=[],hs={name:"Topics",components:{TopicsTable:pn},computed:{contentSectionData:()=>Kt.topics},props:{isSymbolDeprecated:Boolean,isSymbolBeta:Boolean,sections:pn.props.sections,topicStyle:{type:String,required:!0,validator:e=>Object.hasOwnProperty.call(Pe["a"],e)}}},ps=hs,gs=Object(K["a"])(ps,ds,us,!1,null,null,null),fs=gs.exports,ms=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"OnThisPageStickyContainer"},[e._t("default")],2)},ys=[],vs={name:"OnThisPageStickyContainer"},bs=vs,Ts=(n("1e0b"),Object(K["a"])(bs,ms,ys,!1,null,"1b6d0048",null)),Ss=Ts.exports;const _s=1050;var Cs={name:"DocumentationTopic",mixins:[D["a"]],constants:{ON_THIS_PAGE_CONTAINER_BREAKPOINT:_s},inject:{isTargetIDE:{default(){return!1}},store:{default(){return{reset(){},state:{}}}}},components:{Declaration:Dt,OnThisPageStickyContainer:Ss,OnThisPageNav:ze,DocumentationHero:Oe,Abstract:Bt,Aside:N["a"],BetaLegalText:F,ContentNode:At["a"],DefaultImplementations:yn,DownloadButton:Rt["a"],LanguageSwitcher:pe,PrimaryContent:Ca,Relationships:Ba,RequirementMetadata:Ra["a"],Availability:Ya,SeeAlso:is,Title:cs,Topics:fs,ViewMore:be,WordBreak:De["a"]},props:{abstract:{type:Array,required:!1},conformance:{type:Object,required:!1},defaultImplementationsSections:{type:Array,required:!1},downloadNotAvailableSummary:{type:Array,required:!1},deprecationSummary:{type:Array,required:!1},diffAvailability:{type:Object,required:!1},modules:{type:Array,required:!1},hasNoExpandedDocumentation:{type:Boolean,required:!1},hierarchy:{type:Object,default:()=>({})},interfaceLanguage:{type:String,required:!0},identifier:{type:String,required:!0},isRequirement:{type:Boolean,default:()=>!1},platforms:{type:Array,required:!1},primaryContentSections:{type:Array,required:!1},references:{type:Object,required:!0},relationshipsSections:{type:Array,required:!1},roleHeading:{type:String,required:!1},title:{type:String,required:!0},topicSections:{type:Array,required:!1},topicSectionsStyle:{type:String,default:Pe["a"].list},sampleCodeDownload:{type:Object,required:!1},seeAlsoSections:{type:Array,required:!1},languagePaths:{type:Object,default:()=>({})},tags:{type:Array,required:!0},objcPath:{type:String,required:!1},swiftPath:{type:String,required:!1},isSymbolDeprecated:{type:Boolean,required:!1},isSymbolBeta:{type:Boolean,required:!1},symbolKind:{type:String,default:""},role:{type:String,default:""},remoteSource:{type:Object,required:!1},pageImages:{type:Array,required:!1},enableMinimized:{type:Boolean,default:!1},enableOnThisPageNav:{type:Boolean,default:!1},disableHeroBackground:{type:Boolean,default:!1},standardColorIdentifier:{type:String,required:!1,validator:e=>Object.prototype.hasOwnProperty.call(we,e)},availableLocales:{type:Array,required:!1}},provide(){return{identifier:this.identifier,languages:new Set(Object.keys(this.languagePaths)),interfaceLanguage:this.interfaceLanguage,symbolKind:this.symbolKind,enableMinimized:this.enableMinimized}},data(){return{topicState:this.store.state}},computed:{normalizedSwiftPath:({swiftPath:e})=>Object(L["d"])(e),normalizedObjcPath:({objcPath:e,swiftPath:t})=>Object(L["d"])(e&&t?Object(P["b"])(e,{language:O["a"].objectiveC.key.url}):e),defaultImplementationsCount(){return(this.defaultImplementationsSections||[]).reduce((e,t)=>e+t.identifiers.length,0)},shouldShowAvailability:({platforms:e,technologies:t,enableMinimized:n})=>((e||[]).length||(t||[]).length)&&!n,hasBetaContent:({platforms:e})=>e&&e.length&&e.some(e=>e.beta),pageTitle:({title:e})=>e,pageDescription:({abstract:e,extractFirstParagraphText:t})=>e?t(e):null,shouldShowLanguageSwitcher:({objcPath:e,swiftPath:t,isTargetIDE:n,enableMinimized:i})=>!!(e&&t&&n)&&!i,enhanceBackground:({symbolKind:e,disableHeroBackground:t,enableMinimized:n})=>!t&&!n&&(!e||"module"===e),shortHero:({roleHeading:e,abstract:t,sampleCodeDownload:n,hasAvailability:i,shouldShowLanguageSwitcher:a,declarations:s})=>!!e+!!t+!!n+!!s.length+!!i+a<=1,technologies({modules:e=[]}){const t=e.reduce((e,t)=>(e.push(t.name),e.concat(t.relatedModules||[])),[]);return t.length>1?t:[]},titleBreakComponent:({enhanceBackground:e})=>e?"span":De["a"],hasPrimaryContent:({isRequirement:e,deprecationSummary:t,downloadNotAvailableSummary:n,primaryContentSectionsSanitized:i,shouldShowViewMoreLink:a})=>e||t&&t.length||n&&n.length||i.length||a,viewMoreLink:({interfaceLanguage:e,normalizedObjcPath:t,normalizedSwiftPath:n})=>e===O["a"].objectiveC.key.api?t:n,shouldShowViewMoreLink:({enableMinimized:e,hasNoExpandedDocumentation:t,viewMoreLink:n})=>e&&!t&&n,tagName(){return this.isSymbolDeprecated?this.$t("aside-kind.deprecated"):this.$t("aside-kind.beta")},pageIcon:({pageImages:e=[]})=>{const t=e.find(({type:e})=>"icon"===e);return t?t.identifier:null},shouldRenderTopicSection:({topicSectionsStyle:e,topicSections:t,enableMinimized:n})=>t&&e!==Pe["a"].hidden&&!n,isOnThisPageNavVisible:({topicState:e})=>e.contentWidth>_s,disableMetadata:({enableMinimized:e})=>e,primaryContentSectionsSanitized({primaryContentSections:e=[]}){return e.filter(({kind:e})=>e!==Ke.declarations)},declarations({primaryContentSections:e=[]}){return e.filter(({kind:e})=>e===Ke.declarations)}},methods:{extractProps(e){const{abstract:t,defaultImplementationsSections:n,deprecationSummary:i,downloadNotAvailableSummary:a,diffAvailability:s,hierarchy:r,identifier:{interfaceLanguage:o,url:l},metadata:{conformance:c,hasNoExpandedDocumentation:d,modules:u,availableLocales:h,platforms:p,required:g=!1,roleHeading:f,title:m="",tags:y=[],role:v,symbolKind:b="",remoteSource:T,images:S=[],color:{standardColorIdentifier:_}={}}={},primaryContentSections:C,relationshipsSections:k,references:w={},sampleCodeDownload:I,topicSectionsStyle:x,topicSections:$,seeAlsoSections:D,variantOverrides:P,variants:L=[]}=e,A=L.reduce((e,t)=>t.traits.reduce((e,n)=>n.interfaceLanguage?{...e,[n.interfaceLanguage]:(e[n.interfaceLanguage]||[]).concat(t.paths)}:e,e),{}),{[O["a"].objectiveC.key.api]:[N]=[],[O["a"].swift.key.api]:[E]=[]}=A;return{abstract:t,conformance:c,defaultImplementationsSections:n,deprecationSummary:i,downloadNotAvailableSummary:a,diffAvailability:s,hasNoExpandedDocumentation:d,availableLocales:h,hierarchy:r,role:v,identifier:l,interfaceLanguage:o,isRequirement:g,modules:u,platforms:p,primaryContentSections:C,relationshipsSections:k,references:w,roleHeading:f,sampleCodeDownload:I,title:m,topicSections:$,topicSectionsStyle:x,seeAlsoSections:D,variantOverrides:P,symbolKind:b,tags:y.slice(0,1),remoteSource:T,pageImages:S,objcPath:N,swiftPath:E,standardColorIdentifier:_}}},created(){if(this.topicState.preferredLanguage===O["a"].objectiveC.key.url&&this.interfaceLanguage!==O["a"].objectiveC.key.api&&this.objcPath&&this.$route.query.language!==O["a"].objectiveC.key.url){const{query:e}=this.$route;this.$nextTick().then(()=>{this.$router.replace({path:Object(L["d"])(this.objcPath),query:{...e,language:O["a"].objectiveC.key.url}})})}A["a"].setAvailableLocales(this.availableLocales||[]),this.store.reset(),this.store.setReferences(this.references)},watch:{references(e){this.store.setReferences(e)},availableLocales(e){A["a"].setAvailableLocales(e)}}},ks=Cs,ws=(n("6d05"),Object(K["a"])(ks,x,$,!1,null,"43c74ad0",null)),Is=ws.exports,xs=n("2b0e");const $s=()=>({[It["c"].modified]:0,[It["c"].added]:0,[It["c"].deprecated]:0});var Os={state:{apiChanges:null,apiChangesCounts:$s(),selectedAPIChangesVersion:null},setAPIChanges(e){this.state.apiChanges=e},setSelectedAPIChangesVersion(e){this.state.selectedAPIChangesVersion=e},resetApiChanges(){this.state.apiChanges=null,this.state.apiChangesCounts=$s()},async updateApiChangesCounts(){await xs["default"].nextTick(),Object.keys(this.state.apiChangesCounts).forEach(e=>{this.state.apiChangesCounts[e]=this.countChangeType(e)})},countChangeType(e){if(document&&document.querySelectorAll){const t=`.changed-${e}:not(.changed-total)`;return document.querySelectorAll(t).length}return 0}},Ds={state:{onThisPageSections:[],currentPageAnchor:null},resetPageSections(){this.state.onThisPageSections=[],this.state.currentPageAnchor=null},addOnThisPageSection(e,{i18n:t=!0}={}){this.state.onThisPageSections.push({...e,i18n:t})},setCurrentPageSection(e){const t=this.state.onThisPageSections.findIndex(({anchor:t})=>t===e);-1!==t&&(this.state.currentPageAnchor=e)}},Ps=n("d369");const{state:Ls,...As}=Os,{state:Ns,...Es}=Ds;var js={state:{preferredLanguage:Ps["a"].preferredLanguage,contentWidth:0,...Ls,...Ns,references:{}},reset(){this.state.preferredLanguage=Ps["a"].preferredLanguage,this.state.references={},this.resetApiChanges()},setPreferredLanguage(e){this.state.preferredLanguage=e,Ps["a"].preferredLanguage=this.state.preferredLanguage},setContentWidth(e){this.state.contentWidth=e},setReferences(e){this.state.references=e},...As,...Es},Bs=n("8590"),Rs=n("66c9"),Ms=n("0caf"),zs=n("146e");const Ks="",qs=32,Fs="navigator-hide-button";function Hs(e){return e.split("").reduce((e,t)=>(e<<5)-e+t.charCodeAt(0)|0,0)}function Vs(e){const t={},n=e.length;for(let i=0;ie.parent===Ks);const i=t[e];return i?(i.childUIDs||[]).map(e=>t[e]):[]}function Qs(e,t){const n=[],i=[e];let a=null;while(i.length){a=i.pop();const e=t[a];if(!e)return[];n.unshift(e),e.parent&&e.parent!==Ks&&i.push(e.parent)}return n}function Xs(e,t,n){const i=t[e];return i?Gs(i.parent,t,n):[]}var Ys,Js,Zs={name:"NavigatorDataProvider",props:{interfaceLanguage:{type:String,default:O["a"].swift.key.url},technologyUrl:{type:String,required:!0},apiChangesVersion:{type:String,default:""}},data(){return{isFetching:!1,errorFetching:!1,isFetchingAPIChanges:!1,navigationIndex:{[O["a"].swift.key.url]:[]},navigationReferences:{},diffs:null}},computed:{flatChildren:({technologyWithChildren:e={}})=>Ws(e.children||[],null,0,e.beta),technologyPath:({technologyUrl:e})=>{const t=/(\/documentation\/(?:[^/]+))\/?/.exec(e);return t?t[1]:""},technologyWithChildren({navigationIndex:e,interfaceLanguage:t,technologyPath:n}){let i=e[t]||[];return i.length||(i=e[O["a"].swift.key.url]||[]),i.find(e=>n.toLowerCase()===e.path.toLowerCase())}},methods:{async fetchIndexData(){try{this.isFetching=!0;const{interfaceLanguages:e,references:t}=await Object(w["d"])({slug:this.$route.params.locale||""});this.navigationIndex=Object.freeze(e),this.navigationReferences=Object.freeze(t)}catch(e){this.errorFetching=!0}finally{this.isFetching=!1}}},watch:{"$route.params.locale":{handler:"fetchIndexData",immediate:!0}},render(){return this.$scopedSlots.default({technology:this.technologyWithChildren,isFetching:this.isFetching,errorFetching:this.errorFetching,isFetchingAPIChanges:this.isFetchingAPIChanges,apiChanges:this.diffs,flatChildren:this.flatChildren,references:this.navigationReferences})}},er=Zs,tr=Object(K["a"])(er,Ys,Js,!1,null,null,null),nr=tr.exports,ir=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("button",{staticClass:"quick-navigation-open",attrs:{"aria-label":e.$t("quicknav.button.label"),title:e.$t("quicknav.button.title")}},[e._v(" / ")])},ar=[],sr={name:"QuickNavigationButton"},rr=sr,or=(n("5a73"),Object(K["a"])(rr,ir,ar,!1,null,"53faf852",null)),lr=or.exports,cr=function(){var e,t,n=this,i=n.$createElement,a=n._self._c||i;return a("GenericModal",{attrs:{isFullscreen:"",showClose:!1,visible:n.isVisible,backdropBackgroundColorOverride:"rgba(0, 0, 0, 0.7)"},on:{"update:visible":function(e){n.isVisible=e}}},[a("div",{staticClass:"quick-navigation",on:{keydown:[function(e){return!e.type.indexOf("key")&&n._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"])||e.ctrlKey||e.shiftKey||e.altKey||e.metaKey?null:(e.preventDefault(),n.focusNext.apply(null,arguments))},function(e){return!e.type.indexOf("key")&&n._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"])||e.ctrlKey||e.shiftKey||e.altKey||e.metaKey?null:(e.preventDefault(),n.focusPrev.apply(null,arguments))},function(e){return!e.type.indexOf("key")&&n._k(e.keyCode,"enter",13,e.key,"Enter")||e.ctrlKey||e.shiftKey||e.altKey||e.metaKey?null:n.handleKeyEnter.apply(null,arguments)}],click:function(e){return e.target!==e.currentTarget?null:n.closeQuickNavigationModal.apply(null,arguments)}}},[a("div",{staticClass:"quick-navigation__container",class:{focus:n.focusedInput}},[a("FilterInput",{staticClass:"quick-navigation__filter",attrs:{placeholder:n.$t("filter.search-symbols",{technology:n.technology}),focusInputWhenCreated:"",focusInputWhenEmpty:"",preventBorderStyle:"",selectInputOnFocus:""},on:{input:function(e){n.focusedIndex=0},focus:function(e){n.focusedInput=!0},blur:function(e){n.focusedInput=!1}},scopedSlots:n._u([{key:"icon",fn:function(){return[a("div",{staticClass:"quick-navigation__magnifier-icon-container",class:{blue:n.userInput.length}},[a("MagnifierIcon")],1)]},proxy:!0}]),model:{value:n.userInput,callback:function(e){n.userInput=e},expression:"userInput"}}),a("div",{staticClass:"quick-navigation__match-list",class:{active:n.processedUserInput.length}},[n.noResultsWereFound?a("div",{staticClass:"no-results"},[a("p",[n._v(" No results found. ")])]):[a("div",n._b({staticClass:"quick-navigation__refs"},"div",(e={},e[n.SCROLL_LOCK_DISABLE_ATTR]=!0,e),!1),n._l(n.filteredSymbols,(function(e,t){return a("Reference",{key:e.uid,staticClass:"quick-navigation__reference",attrs:{url:e.path},nativeOn:{click:function(e){return n.closeQuickNavigationModal.apply(null,arguments)},focus:function(e){return n.focusIndex(t)}}},[a("div",{ref:"match",refInFor:!0,staticClass:"quick-navigation__symbol-match",class:{selected:t==n.focusedIndex},attrs:{role:"list"}},[a("div",{staticClass:"symbol-info"},[a("div",{staticClass:"symbol-name"},[a("TopicTypeIcon",{staticClass:"navigator-icon",attrs:{type:e.type}}),a("div",{staticClass:"symbol-title"},[a("span",{domProps:{textContent:n._s(n.formatSymbolTitle(e.title,0,e.start))}}),a("QuickNavigationHighlighter",{attrs:{text:e.substring,matcherText:n.processedUserInput}}),a("span",{domProps:{textContent:n._s(n.formatSymbolTitle(e.title,e.start+e.matchLength))}})],1)],1),a("div",{staticClass:"symbol-path"},n._l(e.parents,(function(t,i){return a("div",{key:t.title},[a("span",{staticClass:"parent-path",domProps:{textContent:n._s(t.title)}}),i!==e.parents.length-1?a("span",{staticClass:"parent-path",domProps:{textContent:n._s("/")}}):n._e()])})),0)])])])})),1),n.previewState?a("Preview",n._b({staticClass:"quick-navigation__preview",attrs:{json:n.previewJSON,state:n.previewState}},"Preview",(t={},t[n.SCROLL_LOCK_DISABLE_ATTR]=!0,t),!1)):n._e()]],2)],1)])])},dr=[],ur=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"filter",class:{focus:e.showSuggestedTags&&!e.preventBorderStyle},attrs:{role:"search",tabindex:"0","aria-labelledby":e.searchAriaLabelledBy},on:{"!blur":function(t){return e.handleBlur.apply(null,arguments)},"!focus":function(t){return e.handleFocus.apply(null,arguments)}}},[n("div",{class:["filter__wrapper",{"filter__wrapper--reversed":e.positionReversed,"filter__wrapper--no-border-style":e.preventBorderStyle}]},[n("div",{staticClass:"filter__top-wrapper"},[n("button",{staticClass:"filter__filter-button",class:{blue:e.inputIsNotEmpty},attrs:{"aria-hidden":"true",tabindex:"-1"},on:{click:e.focusInput,mousedown:function(e){e.preventDefault()}}},[e._t("icon",(function(){return[n("FilterIcon")]}))],2),n("div",{class:["filter__input-box-wrapper",{scrolling:e.isScrolling}],on:{scroll:e.handleScroll}},[e.hasSelectedTags?n("TagList",e._g(e._b({ref:"selectedTags",staticClass:"filter__selected-tags",attrs:{id:e.SelectedTagsId,input:e.input,tags:e.selectedTags,ariaLabel:e.$tc("filter.selected-tags",e.suggestedTags.length),activeTags:e.activeTags,translatableTags:e.translatableTags,areTagsRemovable:""},on:{"focus-prev":e.handleFocusPrevOnSelectedTags,"focus-next":e.focusInputFromTags,"reset-filters":e.resetFilters,"prevent-blur":function(t){return e.$emit("update:preventedBlur",!0)}}},"TagList",e.virtualKeyboardBind,!1),e.selectedTagsMultipleSelectionListeners)):e._e(),n("label",{staticClass:"filter__input-label",attrs:{id:"filter-label",for:e.FilterInputId,"data-value":e.modelValue,"aria-label":e.placeholder}},[n("input",e._g(e._b({directives:[{name:"model",rawName:"v-model",value:e.modelValue,expression:"modelValue"}],ref:"input",staticClass:"filter__input",attrs:{id:e.FilterInputId,placeholder:e.hasSelectedTags?"":e.placeholder,"aria-expanded":e.displaySuggestedTags?"true":"false",disabled:e.disabled,type:"text"},domProps:{value:e.modelValue},on:{focus:function(t){e.selectInputOnFocus&&e.selectInputAndTags()},keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:(t.preventDefault(),e.downHandler.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:(t.preventDefault(),e.upHandler.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])||"button"in t&&0!==t.button?null:e.leftKeyInputHandler.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"right",39,t.key,["Right","ArrowRight"])||"button"in t&&2!==t.button?null:e.rightKeyInputHandler.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"delete",[8,46],t.key,["Backspace","Delete","Del"])?null:e.deleteHandler.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"a",void 0,t.key,void 0)?null:t.metaKey?(t.preventDefault(),t.stopPropagation(),e.selectInputAndTags.apply(null,arguments)):null},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"a",void 0,t.key,void 0)?null:t.ctrlKey?(t.preventDefault(),e.selectInputAndTags.apply(null,arguments)):null},function(t){return t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:e.inputKeydownHandler.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")||t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:e.enterHandler.apply(null,arguments)},function(t){return t.shiftKey?t.ctrlKey||t.altKey||t.metaKey?null:e.inputKeydownHandler.apply(null,arguments):null},function(t){return t.shiftKey&&t.metaKey?t.ctrlKey||t.altKey?null:e.inputKeydownHandler.apply(null,arguments):null},function(t){return t.metaKey?t.ctrlKey||t.shiftKey||t.altKey?null:e.assignEventValues.apply(null,arguments):null},function(t){return t.ctrlKey?t.shiftKey||t.altKey||t.metaKey?null:e.assignEventValues.apply(null,arguments):null}],input:function(t){t.target.composing||(e.modelValue=t.target.value)}}},"input",e.AXinputProperties,!1),e.inputMultipleSelectionListeners))])],1),n("div",{staticClass:"filter__delete-button-wrapper"},[e.input.length||e.displaySuggestedTags||e.hasSelectedTags?n("button",{staticClass:"filter__delete-button",attrs:{"aria-label":e.$t("filter.reset-filter")},on:{click:function(t){return e.resetFilters(!0)},keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")||t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:(t.stopPropagation(),e.resetFilters(!0))},mousedown:function(e){e.preventDefault()}}},[n("ClearRoundedIcon")],1):e._e()])]),e.displaySuggestedTags?n("TagList",e._b({ref:"suggestedTags",staticClass:"filter__suggested-tags",attrs:{id:e.SuggestedTagsId,ariaLabel:e.$tc("filter.suggested-tags",e.suggestedTags.length),input:e.input,tags:e.suggestedTags,translatableTags:e.translatableTags},on:{"click-tags":function(t){return e.selectTag(t.tagName)},"prevent-blur":function(t){return e.$emit("update:preventedBlur",!0)},"focus-next":function(t){e.positionReversed?e.focusInput():e.$emit("focus-next")},"focus-prev":function(t){e.positionReversed?e.$emit("focus-prev"):e.focusInput()}}},"TagList",e.virtualKeyboardBind,!1)):e._e()],1)])},hr=[],pr=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"clear-rounded-icon",attrs:{viewBox:"0 0 16 16",themeId:"clear-rounded"}},[n("title",[e._v(e._s(e.$t("icons.clear")))]),n("path",{attrs:{d:"M14.55,0l1.45,1.45-6.56,6.55,6.54,6.54-1.45,1.45-6.53-6.53L1.47,15.99,.01,14.53l6.52-6.53L0,1.47,1.45,.02l6.55,6.54L14.55,0Z","fill-rule":"evenodd"}})])},gr=[],fr=n("be08"),mr={name:"ClearRoundedIcon",components:{SVGIcon:fr["a"]}},yr=mr,vr=Object(K["a"])(yr,pr,gr,!1,null,null,null),br=vr.exports;function Tr(){if(window.getSelection)try{const{activeElement:e}=document;return e&&e.value?e.value.substring(e.selectionStart,e.selectionEnd):window.getSelection().toString()}catch(e){return""}else if(document.selection&&"Control"!==document.selection.type)return document.selection.createRange().text;return""}function Sr(e){if("number"===typeof e.selectionStart)e.selectionStart=e.selectionEnd=e.value.length;else if("undefined"!==typeof e.createTextRange){e.focus();const t=e.createTextRange();t.collapse(!1),t.select()}}function _r(e){e.selectionStart=e.selectionEnd=0}function Cr(e){return/^[\w\W\s]$/.test(e)}function kr(e){const t=e.match(/(.*)<\/data>/);try{return t?JSON.parse(t[1]):null}catch(n){return null}}function wr(e){return"string"!==typeof e&&(e=JSON.stringify(e)),`${e}`}function Ir(e,t,n,i){let a,s;return function(...r){function o(){clearTimeout(a),a=null}function l(){o(),e.apply(s,r)}if(s=this,!a||!n&&!i){if(!n)return o(),void(a=setTimeout(l,t));a=setTimeout(o,t),e.apply(s,r)}}}const xr=280,$r=100;var Or={data(){return{keyboardIsVirtual:!1,activeTags:[],initTagIndex:null,focusedTagIndex:null,metaKey:!1,shiftKey:!1,tabbing:!1,debouncedHandleDeleteTag:null}},constants:{DebounceDelay:xr,VirtualKeyboardThreshold:$r},computed:{virtualKeyboardBind:({keyboardIsVirtual:e})=>({keyboardIsVirtual:e}),allSelectedTagsAreActive:({selectedTags:e,activeTags:t})=>e.every(e=>t.includes(e))},methods:{selectRangeActiveTags(e=this.focusedTagIndex,t=this.selectedTags.length){this.activeTags=this.selectedTags.slice(e,t)},selectTag(e){this.updateSelectedTags([e]),this.clearFilterOnTagSelect&&this.setFilterInput("")},unselectActiveTags(){this.activeTags.length&&(this.deleteTags(this.activeTags),this.resetActiveTags())},async deleteHandler(e){this.activeTags.length>0&&this.setSelectedTags(this.selectedTags.filter(e=>!this.activeTags.includes(e))),this.inputIsSelected()&&this.allSelectedTagsAreActive?(e.preventDefault(),await this.resetFilters()):0===this.$refs.input.selectionEnd&&this.hasSelectedTags&&(e.preventDefault(),this.keyboardIsVirtual?this.setSelectedTags(this.selectedTags.slice(0,-1)):this.$refs.selectedTags.focusLast()),this.unselectActiveTags()},leftKeyInputHandler(e){if(this.assignEventValues(e),this.hasSelectedTags){if(this.activeTags.length&&!this.shiftKey)return e.preventDefault(),void this.$refs.selectedTags.focusTag(this.activeTags[0]);if(this.shiftKey&&0===this.$refs.input.selectionStart&&"forward"!==this.$refs.input.selectionDirection)return null===this.focusedTagIndex&&(this.focusedTagIndex=this.selectedTags.length),this.focusedTagIndex>0&&(this.focusedTagIndex-=1),this.initTagIndex=this.selectedTags.length,void this.selectTagsPressingShift();(0===this.$refs.input.selectionEnd||this.inputIsSelected())&&this.$refs.selectedTags.focusLast()}},rightKeyInputHandler(e){if(this.assignEventValues(e),this.activeTags.length&&this.shiftKey&&this.focusedTagIndex=$r&&(this.keyboardIsVirtual=!0)}),xr),setFilterInput(e){this.$emit("update:input",e)},setSelectedTags(e){this.$emit("update:selectedTags",e)},updateSelectedTags(e){this.setSelectedTags([...new Set([...this.selectedTags,...e])])},handleCopy(e){e.preventDefault();const t=[],n={tags:[],input:Tr()};if(this.activeTags.length){const e=this.activeTags;n.tags=e,t.push(e.join(" "))}return t.push(n.input),n.tags.length||n.input.length?(e.clipboardData.setData("text/html",wr(n)),e.clipboardData.setData("text/plain",t.join(" ")),n):n},handleCut(e){e.preventDefault();const{input:t,tags:n}=this.handleCopy(e);if(!t&&!n.length)return;const i=this.selectedTags.filter(e=>!n.includes(e)),a=this.input.replace(t,"");this.setSelectedTags(i),this.setFilterInput(a)},handlePaste(e){e.preventDefault();const{types:t}=e.clipboardData;let n=[],i=e.clipboardData.getData("text/plain");if(t.includes("text/html")){const t=e.clipboardData.getData("text/html"),a=kr(t);a&&({tags:n=[],input:i=""}=a)}const a=Tr();i=a.length?this.input.replace(a,i):Object(nn["f"])(this.input,i,document.activeElement.selectionStart),this.setFilterInput(i.trim()),this.allSelectedTagsAreActive?this.setSelectedTags(n):this.updateSelectedTags(n),this.resetActiveTags()},async handleDeleteTag({tagName:e,event:t={}}){const{key:n}=t;this.activeTags.length||this.deleteTags([e]),this.unselectActiveTags(),await this.$nextTick(),Sr(this.$refs.input),this.hasSelectedTags&&(await this.focusInput(),"Backspace"===n&&_r(this.$refs.input))}},mounted(){window.visualViewport&&(window.visualViewport.addEventListener("resize",this.updateKeyboardType),this.$once("hook:beforeDestroy",()=>{window.visualViewport.removeEventListener("resize",this.updateKeyboardType)}))}};const Dr=1e3;var Pr={constants:{ScrollingDebounceDelay:Dr},data(){return{isScrolling:!1,scrollRemovedAt:0}},created(){this.deleteScroll=Ir(this.deleteScroll,Dr)},methods:{deleteScroll(){this.isScrolling=!1,this.scrollRemovedAt=Date.now()},handleScroll(e){const{target:t}=e;if(0!==t.scrollTop)return t.scrollTop=0,void e.preventDefault();const n=150,i=t.offsetWidth,a=i+n;if(t.scrollWidth0?this.focusIndex(this.focusedIndex-1):this.startingPointHook())},focusNext({metaKey:e,ctrlKey:t,shiftKey:n}){(e||t)&&n||(this.externalFocusChange=!1,this.focusedIndex0}},Kr=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{staticClass:"tag",attrs:{role:"presentation"}},[n("button",{ref:"button",class:{focus:e.isActiveTag},attrs:{role:"option","aria-selected":e.ariaSelected,"aria-roledescription":"tag"},on:{focus:function(t){return e.$emit("focus",{event:t,tagName:e.name})},click:function(t){return t.preventDefault(),e.$emit("click",{event:t,tagName:e.name})},dblclick:function(t){t.preventDefault(),!e.keyboardIsVirtual&&e.deleteTag()},keydown:[function(t){return t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:e.$emit("keydown",{event:t,tagName:e.name})},function(t){return t.shiftKey?t.ctrlKey||t.altKey||t.metaKey?null:e.$emit("keydown",{event:t,tagName:e.name}):null},function(t){return t.shiftKey&&t.metaKey?t.ctrlKey||t.altKey?null:e.$emit("keydown",{event:t,tagName:e.name}):null},function(t){return t.metaKey?t.ctrlKey||t.shiftKey||t.altKey?null:e.$emit("keydown",{event:t,tagName:e.name}):null},function(t){return t.ctrlKey?t.shiftKey||t.altKey||t.metaKey?null:e.$emit("keydown",{event:t,tagName:e.name}):null},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"delete",[8,46],t.key,["Backspace","Delete","Del"])?null:(t.preventDefault(),e.deleteTag.apply(null,arguments))}],mousedown:function(t){return t.preventDefault(),e.focusButton.apply(null,arguments)},copy:e.handleCopy}},[e.isRemovableTag?e._e():n("span",{staticClass:"visuallyhidden"},[e._v(" "+e._s(e.$t("filter.add-tag"))+" - ")]),e.isTranslatableTag?[e._v(" "+e._s(e.$t(e.name))+" ")]:[e._v(" "+e._s(e.name)+" ")],e.isRemovableTag?n("span",{staticClass:"visuallyhidden"},[e._v(" – "+e._s(e.$t("filter.tag-select-remove"))+" ")]):e._e()],2)])},qr=[],Fr={name:"Tag",props:{name:{type:String,required:!0},isFocused:{type:Boolean,default:()=>!1},isRemovableTag:{type:Boolean,default:!1},isTranslatableTag:{type:Boolean,default:!1},isActiveTag:{type:Boolean,default:!1},activeTags:{type:Array,required:!1},keyboardIsVirtual:{type:Boolean,default:!1}},watch:{isFocused(e){e&&this.focusButton()}},mounted(){document.addEventListener("copy",this.handleCopy),document.addEventListener("cut",this.handleCut),document.addEventListener("paste",this.handlePaste),this.$once("hook:beforeDestroy",()=>{document.removeEventListener("copy",this.handleCopy),document.removeEventListener("cut",this.handleCut),document.removeEventListener("paste",this.handlePaste)})},methods:{isCurrentlyActiveElement(){return document.activeElement===this.$refs.button},handleCopy(e){if(!this.isCurrentlyActiveElement())return;e.preventDefault();let t=[];t=this.activeTags.length>0?this.activeTags:[this.name],e.clipboardData.setData("text/html",wr({tags:t})),e.clipboardData.setData("text/plain",t.join(" "))},handleCut(e){this.isCurrentlyActiveElement()&&this.isRemovableTag&&(this.handleCopy(e),this.deleteTag(e))},handlePaste(e){this.isCurrentlyActiveElement()&&this.isRemovableTag&&(e.preventDefault(),this.deleteTag(e),this.$emit("paste-content",e))},deleteTag(e){this.$emit("delete-tag",{tagName:this.name,event:e}),this.$emit("prevent-blur")},focusButton(e={}){this.keyboardIsVirtual||this.$refs.button.focus(),0===e.buttons&&this.isFocused&&this.deleteTag(e)}},computed:{ariaSelected:({isActiveTag:e,isRemovableTag:t})=>t?e?"true":"false":null}},Hr=Fr,Vr=(n("f055"),Object(K["a"])(Hr,Kr,qr,!1,null,"7e76f326",null)),Wr=Vr.exports,Ur={name:"Tags",mixins:[Pr,zr],props:{tags:{type:Array,default:()=>[]},activeTags:{type:Array,default:()=>[]},translatableTags:{type:Array,default:()=>[]},ariaLabel:{type:String,required:!1},id:{type:String,required:!1},input:{type:String,default:null},areTagsRemovable:{type:Boolean,default:!1},keyboardIsVirtual:{type:Boolean,default:!1}},components:{Tag:Wr},methods:{focusTag(e){this.focusIndex(this.tags.indexOf(e))},startingPointHook(){this.$emit("focus-prev")},handleFocus(e,t){this.focusIndex(t),this.isScrolling=!1,this.$emit("focus",e)},endingPointHook(){this.$emit("focus-next")},resetScroll(){this.$refs["scroll-wrapper"].scrollLeft=0},handleKeydown(e){const{key:t}=e,n=this.tags[this.focusedIndex];Cr(t)&&n&&this.$emit("delete-tag",{tagName:n.label||n,event:e})}},computed:{totalItemsToNavigate:({tags:e})=>e.length}},Gr=Ur,Qr=(n("9f17"),Object(K["a"])(Gr,Rr,Mr,!1,null,"1f2bd813",null)),Xr=Qr.exports;const Yr=5,Jr="filter-input",Zr="selected-tags",eo="suggested-tags",to={autocorrect:"off",autocapitalize:"off",spellcheck:"false",role:"combobox","aria-haspopup":"true","aria-autocomplete":"none","aria-owns":"suggestedTags","aria-controls":"suggestedTags"};var no,io,ao={name:"FilterInput",mixins:[Pr,Or],constants:{FilterInputId:Jr,SelectedTagsId:Zr,SuggestedTagsId:eo,AXinputProperties:to,TagLimit:Yr},components:{TagList:Xr,ClearRoundedIcon:br,FilterIcon:Br},props:{positionReversed:{type:Boolean,default:()=>!1},tags:{type:Array,default:()=>[]},selectedTags:{type:Array,default:()=>[]},preventedBlur:{type:Boolean,default:()=>!1},placeholder:{type:String,default:()=>""},disabled:{type:Boolean,default:()=>!1},value:{type:String,default:()=>""},shouldTruncateTags:{type:Boolean,default:!1},focusInputWhenCreated:{type:Boolean,default:!1},focusInputWhenEmpty:{type:Boolean,default:!1},selectInputOnFocus:{type:Boolean,default:!1},clearFilterOnTagSelect:{type:Boolean,default:!0},preventBorderStyle:{type:Boolean,default:!1},translatableTags:{type:Array,default:()=>[]}},data(){return{resetedTagsViaDeleteButton:!1,FilterInputId:Jr,SelectedTagsId:Zr,SuggestedTagsId:eo,AXinputProperties:to,showSuggestedTags:!1}},computed:{hasSuggestedTags:({suggestedTags:e})=>e.length,hasSelectedTags:({selectedTags:e})=>e.length,inputIsNotEmpty:({input:e,hasSelectedTags:t})=>e.length||t,searchAriaLabelledBy:({hasSelectedTags:e})=>e?Jr.concat(" ",Zr):Jr,modelValue:{get:({value:e})=>e,set(e){this.$emit("input",e)}},input:({value:e})=>e,suggestedTags:({tags:e,selectedTags:t,shouldTruncateTags:n})=>{const i=e.filter(e=>!t.includes(e));return n?i.slice(0,Yr):i},displaySuggestedTags:({showSuggestedTags:e,suggestedTags:t})=>e&&t.length>0,inputMultipleSelectionListeners:({resetActiveTags:e,handleCopy:t,handleCut:n,handlePaste:i})=>({click:e,copy:t,cut:n,paste:i}),selectedTagsMultipleSelectionListeners:({handleSingleTagClick:e,selectInputAndTags:t,handleDeleteTag:n,selectedTagsKeydownHandler:i,focusTagHandler:a,handlePaste:s})=>({"click-tags":e,"select-all":t,"delete-tag":n,keydown:i,focus:a,"paste-tags":s})},watch:{async selectedTags(){this.resetedTagsViaDeleteButton?this.resetedTagsViaDeleteButton=!1:this.$el.contains(document.activeElement)&&await this.focusInput(),this.displaySuggestedTags&&this.hasSuggestedTags&&this.$refs.suggestedTags.resetScroll()},suggestedTags:{immediate:!0,handler(e){this.$emit("suggested-tags",e)}},showSuggestedTags(e){this.$emit("show-suggested-tags",e)}},methods:{async focusInput(){await this.$nextTick(),this.$refs.input.focus(),!this.input&&this.resetActiveTags&&this.resetActiveTags()},async resetFilters(e=!1){if(this.setFilterInput(""),this.setSelectedTags([]),!e)return this.$emit("update:preventedBlur",!0),this.resetActiveTags&&this.resetActiveTags(),void await this.focusInput();this.resetedTagsViaDeleteButton=!0,this.showSuggestedTags=!1,this.$refs.input.blur()},focusFirstTag(e=(()=>{})){this.showSuggestedTags||(this.showSuggestedTags=!0),this.hasSuggestedTags&&this.$refs.suggestedTags?this.$refs.suggestedTags.focusFirst():e()},setFilterInput(e){this.$emit("input",e)},setSelectedTags(e){this.$emit("update:selectedTags",e)},deleteTags(e){this.setSelectedTags(this.selectedTags.filter(t=>!e.includes(t)))},async handleBlur(e){const t=e.relatedTarget;t&&t.matches&&t.matches("button, input, ul")&&this.$el.contains(t)||(await this.$nextTick(),this.resetActiveTags(),this.preventedBlur?this.$emit("update:preventedBlur",!1):(this.showSuggestedTags=!1,this.$emit("blur")))},downHandler(e){const t=()=>this.$emit("focus-next",e);this.positionReversed?t():this.focusFirstTag(t)},upHandler(e){const t=()=>this.$emit("focus-prev",e);this.positionReversed?this.focusFirstTag(t):t()},handleFocusPrevOnSelectedTags(){this.positionReversed?this.focusFirstTag(()=>this.$emit("focus-prev")):this.$emit("focus-prev")},handleFocus(){this.showSuggestedTags=!0,this.$emit("focus")}},created(){this.focusInputWhenCreated&&document.activeElement!==this.$refs.input&&(this.inputIsNotEmpty||this.focusInputWhenEmpty)&&this.focusInput()}},so=ao,ro=(n("7309"),Object(K["a"])(so,ur,hr,!1,null,"3f01a546",null)),oo=ro.exports,lo=n("c161"),co={name:"QuickNavigationHighlighter",props:{text:{type:String,required:!0},matcherText:{type:String,default:""}},render(e){const{matcherText:t,text:n}=this,i=[];let a=0;return t?([...t].forEach(t=>{const s=n.toLowerCase().indexOf(t.toLowerCase(),a);a&&i.push(e("span",n.slice(a,s)));const r=s+1;i.push(e("span",{class:"match"},n.slice(s,r))),a=r}),e("p",{class:"highlight"},i)):e("span",{class:"highlight"},n)}},uo=co,ho=(n("ca3d"),Object(K["a"])(uo,no,io,!1,null,"1c4190f0",null)),po=ho.exports,go=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"magnifier-icon",attrs:{viewBox:"0 0 14 14",themeId:"magnifier"}},[n("path",{attrs:{d:"M15.0013 14.0319L10.9437 9.97424C11.8165 8.88933 12.2925 7.53885 12.2929 6.14645C12.2929 2.75841 9.53449 0 6.14645 0C2.75841 0 0 2.75841 0 6.14645C0 9.53449 2.75841 12.2929 6.14645 12.2929C7.57562 12.2929 8.89486 11.7932 9.94425 10.9637L14.0019 15.0213L15.0013 14.0319ZM6.13645 11.0736C4.83315 11.071 3.58399 10.5521 2.66241 9.63048C1.74084 8.70891 1.22194 7.45974 1.2193 6.15644C1.2193 3.44801 3.41802 1.23928 6.13645 1.23928C8.85488 1.23928 11.0536 3.44801 11.0536 6.15644C11.0636 8.86488 8.85488 11.0736 6.13645 11.0736Z"}})])},fo=[],mo={name:"MagnifierIcon",components:{SVGIcon:fr["a"]}},yo=mo,vo=Object(K["a"])(yo,go,fo,!1,null,null,null),bo=vo.exports,To=n("86d8"),So=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"preview"},[e.state===e.STATE.success?n("DocumentationTopic",e._b({attrs:{enableMinimized:""}},"DocumentationTopic",e.topicProps,!1)):e.state===e.STATE.loadingSlowly?n("div",{staticClass:"loading"},e._l(e.LOADER_ROW_STYLES,(function(e){return n("div",{key:e["--index"],staticClass:"loading-row",style:e})})),0):e.state===e.STATE.error?n("div",{staticClass:"unavailable"},[n("p",[e._v("Preview unavailable")])]):e._e()],1)},_o=[];const{extractProps:Co}=Is.methods,ko="hero",wo={error:"error",loading:"loading",loadingSlowly:"loadingSlowly",success:"success"},Io={...js,state:Object(w["a"])(js.state)};var xo={name:"QuickNavigationPreview",components:{DocumentationTopic:Is},constants:{PreviewState:wo,PreviewStore:Io},data(){return{store:Io}},provide(){return{store:this.store}},props:{json:{type:Object,required:!1},state:{type:String,required:!0,validator:e=>Object.hasOwnProperty.call(wo,e)}},computed:{LOADER_ROW_STYLES:()=>[{"--index":0,width:"30%"},{"--index":1,width:"80%"},{"--index":2,width:"50%"}],STATE:()=>wo,topicProps:({json:e})=>{const t=Co(e),{sections:n=[]}=e;let{abstract:i}=t;const a=n.find(({kind:e})=>e===ko);return!i&&a&&(i=a.content),{...t,abstract:i}}}},$o=xo,Oo=(n("c1f5"),Object(K["a"])($o,So,_o,!1,null,"6fb5ba95",null)),Do=Oo.exports;class Po{constructor(e){this.map=new Map,this.maxSize=e}get size(){return this.map.size}get(e){if(!this.map.has(e))return;const t=this.map.get(e);return this.map.delete(e),this.map.set(e,t),t}has(e){return this.map.has(e)}set(e,t){if(this.map.has(e)&&this.map.delete(e),this.map.set(e,t),this.map.size>this.maxSize){const e=this.map.keys().next().value;this.map.delete(e)}}*[Symbol.iterator](){yield*this.map}}var Lo=n("f2af");const{PreviewState:Ao}=Do.constants,No="AbortError",Eo=20,jo=1e3;var Bo={name:"QuickNavigationModal",components:{FilterInput:oo,GenericModal:lo["a"],MagnifierIcon:bo,TopicTypeIcon:_e["a"],QuickNavigationHighlighter:po,Reference:To["a"],Preview:Do},mixins:[zr],created(){this.abortController=null,this.$cachedSymbolResults=new Po(Eo),this.loadingTimeout=null},data(){return{debouncedInput:"",userInput:"",focusedInput:!1,cachedSymbolResults:{},previewIsLoadingSlowly:!1,SCROLL_LOCK_DISABLE_ATTR:Lo["a"]}},props:{children:{type:Array,required:!0},showQuickNavigationModal:{type:Boolean,required:!0},technology:{type:String,required:!0}},computed:{childrenMap({children:e}){return Vs(e)},filteredSymbols:({constructFuzzyRegex:e,children:t,fuzzyMatch:n,processedUserInput:i,childrenMap:a,orderSymbolsByPriority:s})=>{const r=t.filter(e=>"groupMarker"!==e.type&&null!=e.title);if(!i)return[];const o=n({inputLength:i.length,symbols:r,processedInputRegex:new RegExp(e(i),"i"),childrenMap:a}),l=[...new Map(o.map(e=>[e.path,e])).values()];return s(l).slice(0,Eo)},isVisible:{get:({showQuickNavigationModal:e})=>e,set(e){this.$emit("update:showQuickNavigationModal",e)}},noResultsWereFound:({processedUserInput:e,totalItemsToNavigate:t})=>e.length&&!t,processedUserInput:({debouncedInput:e})=>e.replace(/\s/g,""),totalItemsToNavigate:({filteredSymbols:e})=>e.length,selectedSymbol:({filteredSymbols:e,focusedIndex:t})=>null!==t?e[t]:null,nextSymbol:({filteredSymbols:e,focusedIndex:t})=>{if(null===t)return null;let n=t+1;return n>=e.length&&(n=0),e[n]},previewJSON:({cachedSymbolResults:e,selectedSymbol:t})=>t?(e[t.uid]||{}).json:null,previewState:({cachedSymbolResults:e,previewIsLoadingSlowly:t,selectedSymbol:n})=>n&&Object.hasOwnProperty.call(e,n.uid)?e[n.uid].success?Ao.success:Ao.error:t?Ao.loadingSlowly:Ao.loading},watch:{userInput:"debounceInput",focusedIndex:"scrollIntoView",selectedSymbol:"fetchSelectedSymbolData",$route:"closeQuickNavigationModal"},methods:{closeQuickNavigationModal(){this.$emit("update:showQuickNavigationModal",!1)},constructFuzzyRegex(e){return[...e].reduce((t,n,i)=>t.concat(`[${n}]`).concat(i{const a=n.exec(t.title);if(!a)return!1;const s=a[0].length;return!(s>3*e)&&{uid:t.uid,title:t.title,path:t.path,parents:Qs(t.parent,i),type:t.type,inputLengthDifference:t.title.length-e,matchLength:s,matchLengthDifference:s-e,start:a.index,substring:a[0]}}).filter(Boolean)},handleKeyEnter(){!this.noResultsWereFound&&this.userInput.length&&(this.$router.push(this.filteredSymbols[this.focusedIndex].path),this.closeQuickNavigationModal())},orderSymbolsByPriority(e){return e.sort((e,t)=>e.matchLengthDifference>t.matchLengthDifference?1:e.matchLengthDifferencet.start?1:e.startt.inputLengthDifference?1:e.inputLengthDifference{this.previewState===Ao.loading&&(this.previewIsLoadingSlowly=!0)},jo),!this.selectedSymbol||this.$cachedSymbolResults.has(this.selectedSymbol.uid))return clearTimeout(this.loadingTimeout),void(this.previewIsLoadingSlowly=!1);const e=async e=>{if(e&&!this.$cachedSymbolResults.has(e.uid))try{const t=await Object(w["b"])(e.path,{signal:this.abortController.signal});this.$cachedSymbolResults.set(e.uid,{success:!0,json:t})}catch(t){t.name!==No&&this.$cachedSymbolResults.set(e.uid,{success:!1})}finally{this.cachedSymbolResults=Object.freeze(Object.fromEntries(this.$cachedSymbolResults))}};this.abortController&&this.abortController.abort(),this.abortController=new AbortController,await Promise.all([e(this.selectedSymbol).finally(()=>{clearTimeout(this.loadingTimeout),this.previewIsLoadingSlowly=!1}),e(this.nextSymbol)])}}},Ro=Bo,Mo=(n("dfa5"),Object(K["a"])(Ro,cr,dr,!1,null,"71686791",null)),zo=Mo.exports,Ko=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"adjustable-sidebar-width",class:{dragging:e.isDragging,"sidebar-hidden":e.hiddenOnLarge}},[n("div",{ref:"sidebar",staticClass:"sidebar"},[n("div",{ref:"aside",staticClass:"aside",class:e.asideClasses,style:e.asideStyles,attrs:{"aria-hidden":e.hiddenOnLarge?"true":null},on:{transitionstart:function(t){return t.target!==t.currentTarget?null:e.trackTransitionStart.apply(null,arguments)},transitionend:function(t){return t.target!==t.currentTarget?null:e.trackTransitionEnd.apply(null,arguments)}}},[e._t("aside",null,{animationClass:"aside-animated-child",scrollLockID:e.scrollLockID,breakpoint:e.breakpoint})],2),e.fixedWidth?e._e():n("div",{staticClass:"resize-handle",on:{mousedown:function(t){return t.preventDefault(),e.startDrag.apply(null,arguments)},touchstart:function(t){return t.preventDefault(),e.startDrag.apply(null,arguments)}}})]),n("div",{ref:"content",staticClass:"content"},[e._t("default")],2),n("BreakpointEmitter",{attrs:{scope:e.BreakpointScopes.nav},on:{change:function(t){e.breakpoint=t}}})],1)},qo=[],Fo=n("5d2d"),Ho=n("a97e"),Vo=n("63b8"),Wo=n("c8e2"),Uo=n("95da"),Go=n("942d");const Qo="sidebar",Xo=1921,Yo=543,Jo=400,Zo={touch:{move:"touchmove",end:"touchend"},mouse:{move:"mousemove",end:"mouseup"}},el=(e,t=window.innerWidth)=>{const n=Math.min(t,Xo);return Math.floor(Math.min(n*(e/100),n))},tl={medium:30,large:20},nl={medium:50,large:50},il="sidebar-scroll-lock";var al={name:"AdjustableSidebarWidth",constants:{SCROLL_LOCK_ID:il},components:{BreakpointEmitter:Ho["a"]},inject:["store"],props:{shownOnMobile:{type:Boolean,default:!1},hiddenOnLarge:{type:Boolean,default:!1},fixedWidth:{type:Number,default:null}},data(){const e=window.innerWidth,t=window.innerHeight,n=Vo["b"].large,i=el(tl[n]),a=el(nl[n]),s=e>=Xo?Yo:Jo,r=Fo["c"].get(Qo,s);return{isDragging:!1,width:this.fixedWidth||Math.min(Math.max(r,i),a),isTouch:!1,windowWidth:e,windowHeight:t,breakpoint:n,noTransition:!1,isTransitioning:!1,isOpeningOnLarge:!1,focusTrapInstance:null,mobileTopOffset:0,topOffset:0}},computed:{minWidthPercent:({breakpoint:e})=>tl[e]||0,maxWidthPercent:({breakpoint:e})=>nl[e]||100,maxWidth:({maxWidthPercent:e,windowWidth:t,fixedWidth:n})=>Math.max(n,el(e,t)),minWidth:({minWidthPercent:e,windowWidth:t,fixedWidth:n})=>Math.min(n||t,el(e,t)),widthInPx:({width:e})=>e+"px",hiddenOnLargeThreshold:({minWidth:e})=>e/2,events:({isTouch:e})=>e?Zo.touch:Zo.mouse,asideStyles:({widthInPx:e,mobileTopOffset:t,topOffset:n,windowHeight:i})=>({width:e,"--top-offset":n?n+"px":null,"--top-offset-mobile":t+"px","--app-height":i+"px"}),asideClasses:({isDragging:e,shownOnMobile:t,noTransition:n,isTransitioning:i,hiddenOnLarge:a,mobileTopOffset:s,isOpeningOnLarge:r})=>({dragging:e,"show-on-mobile":t,"hide-on-large":a,"is-opening-on-large":r,"no-transition":n,"sidebar-transitioning":i,"has-mobile-top-offset":s}),scrollLockID:()=>il,BreakpointScopes:()=>Vo["c"]},async mounted(){window.addEventListener("keydown",this.onEscapeKeydown),window.addEventListener("resize",this.storeWindowSize,{passive:!0}),window.addEventListener("orientationchange",this.storeWindowSize,{passive:!0}),this.storeTopOffset(),0===this.topOffset&&0===window.scrollY||window.addEventListener("scroll",this.storeTopOffset,{passive:!0}),this.$once("hook:beforeDestroy",()=>{window.removeEventListener("keydown",this.onEscapeKeydown),window.removeEventListener("resize",this.storeWindowSize),window.removeEventListener("orientationchange",this.storeWindowSize),window.removeEventListener("scroll",this.storeTopOffset),this.shownOnMobile&&this.toggleScrollLock(!1),this.focusTrapInstance&&this.focusTrapInstance.destroy()}),await this.$nextTick(),this.focusTrapInstance=new Wo["a"](this.$refs.aside)},watch:{$route:"closeMobileSidebar",width:{immediate:!0,handler:Ne((function(e){this.emitEventChange(e)}),150)},windowWidth:"getWidthInCheck",async breakpoint(e){this.getWidthInCheck(),e===Vo["b"].large&&this.closeMobileSidebar(),this.noTransition=!0,await Object(Ee["b"])(5),this.noTransition=!1},shownOnMobile:"handleExternalOpen",async isTransitioning(e){e?(await Object(Ee["a"])(1e3),this.isTransitioning=!1):this.updateContentWidthInStore()},hiddenOnLarge(){this.isTransitioning=!0}},methods:{getWidthInCheck:Ir((function(){this.width>this.maxWidth?this.width=this.maxWidth:this.widththis.maxWidth&&(i=this.maxWidth),this.hiddenOnLarge&&i>=this.hiddenOnLargeThreshold&&(this.$emit("update:hiddenOnLarge",!1),this.isOpeningOnLarge=!0),this.width=Math.max(i,this.minWidth),i<=this.hiddenOnLargeThreshold&&this.$emit("update:hiddenOnLarge",!0)},stopDrag(e){e.preventDefault(),this.isDragging&&(this.isDragging=!1,Fo["c"].set(Qo,this.width),document.removeEventListener(this.events.move,this.handleDrag),document.removeEventListener(this.events.end,this.stopDrag),this.emitEventChange(this.width))},emitEventChange(e){this.$emit("width-change",e),this.updateContentWidthInStore()},getTopOffset(){const e=document.getElementById(Go["e"]);if(!e)return 0;const{y:t}=e.getBoundingClientRect();return Math.max(t,0)},handleExternalOpen(e){e&&(this.mobileTopOffset=this.getTopOffset()),this.toggleScrollLock(e)},async updateContentWidthInStore(){await this.$nextTick(),this.store.setContentWidth(this.$refs.content.offsetWidth)},async toggleScrollLock(e){const t=document.getElementById(this.scrollLockID);e?(await this.$nextTick(),Lo["b"].lockScroll(t),this.focusTrapInstance.start(),Uo["a"].hide(this.$refs.aside)):(Lo["b"].unlockScroll(t),this.focusTrapInstance.stop(),Uo["a"].show(this.$refs.aside))},storeTopOffset:Ne((function(){this.topOffset=this.getTopOffset()}),60),async trackTransitionStart({propertyName:e}){"width"!==e&&"transform"!==e||(this.isTransitioning=!0)},trackTransitionEnd({propertyName:e}){"width"!==e&&"transform"!==e||(this.isTransitioning=!1,this.isOpeningOnLarge=!1)}}},sl=al,rl=(n("cb1f"),Object(K["a"])(sl,Ko,qo,!1,null,"f3c6416c",null)),ol=rl.exports,ll=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("nav",{staticClass:"navigator",attrs:{"aria-labelledby":e.INDEX_ROOT_KEY}},[e.isFetching?n("LoadingNavigatorCard",e._b({on:{close:function(t){return e.$emit("close")}}},"LoadingNavigatorCard",e.technologyProps,!1)):n("NavigatorCard",e._b({attrs:{type:e.type,children:e.flatChildren,"active-path":e.activePath,scrollLockID:e.scrollLockID,"error-fetching":e.errorFetching,"render-filter-on-top":e.renderFilterOnTop,"api-changes":e.apiChanges,"allow-hiding":e.allowHiding,"navigator-references":e.navigatorReferences},on:{close:function(t){return e.$emit("close")}},scopedSlots:e._u([{key:"filter",fn:function(){return[e._t("filter")]},proxy:!0}],null,!0)},"NavigatorCard",e.technologyProps,!1)),n("div",{staticClass:"visuallyhidden",attrs:{"aria-live":"polite"}},[e._v(" "+e._s(e.$t("navigator.navigator-is",{state:e.isFetching?e.$t("navigator.state.loading"):e.$t("navigator.state.ready")}))+" ")])],1)},cl=[],dl=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("BaseNavigatorCard",e._b({class:{"filter-on-top":e.renderFilterOnTop},on:{close:function(t){return e.$emit("close")},"head-click-alt":e.toggleAllNodes},scopedSlots:e._u([{key:"body",fn:function(t){var i=t.className;return[e._t("post-head"),n("div",{class:i,on:{"!keydown":[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:t.altKey?(t.preventDefault(),e.focusFirst.apply(null,arguments)):null},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:t.altKey?(t.preventDefault(),e.focusLast.apply(null,arguments)):null},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])||t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:(t.preventDefault(),e.focusPrev.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])||t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:(t.preventDefault(),e.focusNext.apply(null,arguments))}]}},[n("DynamicScroller",{directives:[{name:"show",rawName:"v-show",value:e.hasNodes,expression:"hasNodes"}],ref:"scroller",staticClass:"scroller",attrs:{id:e.scrollLockID,"aria-label":e.$t("navigator.title"),items:e.nodesToRender,"min-item-size":e.itemSize,"emit-update":"","key-field":"uid"},on:{update:e.handleScrollerUpdate,"!keydown":[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:t.altKey?(t.preventDefault(),e.focusFirst.apply(null,arguments)):null},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:t.altKey?(t.preventDefault(),e.focusLast.apply(null,arguments)):null},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])||t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:(t.preventDefault(),e.focusPrev.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])||t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:(t.preventDefault(),e.focusNext.apply(null,arguments))}]},nativeOn:{focusin:function(t){return e.handleFocusIn.apply(null,arguments)},focusout:function(t){return e.handleFocusOut.apply(null,arguments)}},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.item,a=t.active,s=t.index;return[n("DynamicScrollerItem",e._b({ref:"dynamicScroller_"+i.uid},"DynamicScrollerItem",{active:a,item:i,dataIndex:s},!1),[n("NavigatorCardItem",{attrs:{item:i,isRendered:a,"filter-pattern":e.filterPattern,"is-active":i.uid===e.activeUID,"is-bold":e.activePathMap[i.uid],expanded:e.openNodes[i.uid],"api-change":e.apiChangesObject[i.path],isFocused:e.focusedIndex===s,enableFocus:!e.externalFocusChange,"navigator-references":e.navigatorReferences},on:{toggle:e.toggle,"toggle-full":e.toggleFullTree,"toggle-siblings":e.toggleSiblings,navigate:e.handleNavigationChange,"focus-parent":e.focusNodeParent}})],1)]}}],null,!0)}),n("div",{staticClass:"visuallyhidden",attrs:{"aria-live":"polite"}},[e._v(" "+e._s(e.politeAriaLive)+" ")]),n("div",{staticClass:"no-items-wrapper",attrs:{"aria-live":"assertive"}},[n("p",{staticClass:"no-items"},[e._v(" "+e._s(e.$t(e.assertiveAriaLive))+" ")])])],1),e.errorFetching?e._e():n("div",{staticClass:"filter-wrapper"},[n("div",{staticClass:"navigator-filter"},[n("div",{staticClass:"input-wrapper"},[n("FilterInput",{staticClass:"filter-component",attrs:{tags:e.availableTags,translatableTags:e.translatableTags,"selected-tags":e.selectedTagsModelValue,placeholder:e.$t("filter.title"),"should-keep-open-on-blur":!1,"position-reversed":!e.renderFilterOnTop,"clear-filter-on-tag-select":!1},on:{"update:selectedTags":function(t){e.selectedTagsModelValue=t},"update:selected-tags":function(t){e.selectedTagsModelValue=t},clear:e.clearFilters},model:{value:e.filter,callback:function(t){e.filter=t},expression:"filter"}})],1),e._t("filter")],2)])]}}],null,!0)},"BaseNavigatorCard",{technology:e.technology,isTechnologyBeta:e.isTechnologyBeta,technologyPath:e.technologyPath},!1))},ul=[],hl=n("e508");function pl(e){const t=Object(nn["g"])(Object(nn["d"])(e));return new RegExp(t,"ig")}var gl,fl,ml=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("BaseNavigatorCardItem",{staticClass:"navigator-card-item",class:{expanded:e.expanded,active:e.isActive,"is-group":e.isGroupMarker},style:{"--nesting-index":e.item.depth},attrs:{"data-nesting-index":e.item.depth,id:"container-"+e.item.uid,"aria-hidden":e.isRendered?null:"true",hideNavigatorIcon:e.isGroupMarker},nativeOn:{keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])||"button"in t&&0!==t.button?null:(t.preventDefault(),e.handleLeftKeydown.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"right",39,t.key,["Right","ArrowRight"])||"button"in t&&2!==t.button||t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:(t.preventDefault(),e.handleRightKeydown.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.clickReference.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"right",39,t.key,["Right","ArrowRight"])?null:t.altKey?"button"in t&&2!==t.button?null:(t.preventDefault(),e.toggleEntireTree.apply(null,arguments)):null}]},scopedSlots:e._u([{key:"depth-spacer",fn:function(){return[n("span",{attrs:{hidden:"",id:e.usageLabel}},[e._v(" "+e._s(e.$t("filter.navigate"))+" ")]),e.isParent?n("button",{staticClass:"tree-toggle",attrs:{tabindex:"-1","aria-labelledby":e.item.uid,"aria-expanded":e.expanded?"true":"false","aria-describedby":e.ariaDescribedBy},on:{click:[function(t){return t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:(t.preventDefault(),e.toggleTree.apply(null,arguments))},function(t){return t.altKey?(t.preventDefault(),e.toggleEntireTree.apply(null,arguments)):null},function(t){return t.metaKey?(t.preventDefault(),e.toggleSiblings.apply(null,arguments)):null}]}},[n("InlineChevronRightIcon",{staticClass:"icon-inline chevron",class:{rotate:e.expanded,animating:e.idState.isOpening}})],1):e._e()]},proxy:!0},{key:"navigator-icon",fn:function(t){var i,a=t.className;return[e.apiChange?n("span",{class:[(i={},i["changed changed-"+e.apiChange]=e.apiChange,i),a]}):n("TopicTypeIcon",{key:e.item.uid,class:a,attrs:{type:e.item.type,"image-override":e.item.icon?e.navigatorReferences[e.item.icon]:null,shouldCalculateOptimalWidth:!1}})]}},{key:"title-container",fn:function(){return[e.isParent?n("span",{attrs:{hidden:"",id:e.parentLabel}},[e._v(e._s(e.$tc("filter.parent-label",e.item.childUIDs.length,{"number-siblings":e.item.index+1,"total-siblings":e.item.siblingsCount,"parent-siblings":e.item.parent,"number-parent":e.item.childUIDs.length})))]):e._e(),e.isParent?e._e():n("span",{attrs:{id:e.siblingsLabel,hidden:""}},[e._v(" "+e._s(e.$t("filter.siblings-label",{"number-siblings":e.item.index+1,"total-siblings":e.item.siblingsCount,"parent-siblings":e.item.parent}))+" ")]),n(e.refComponent,{ref:"reference",tag:"component",staticClass:"leaf-link",class:{bolded:e.isBold},attrs:{id:e.item.uid,url:e.isGroupMarker?null:e.item.path||"",tabindex:e.isFocused?"0":"-1","aria-describedby":e.ariaDescribedBy+" "+e.usageLabel},nativeOn:{click:[function(t){return t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:e.handleClick.apply(null,arguments)},function(t){return t.altKey?(t.preventDefault(),e.toggleEntireTree.apply(null,arguments)):null}]}},[n("HighlightMatches",{attrs:{text:e.item.title,matcher:e.filterPattern}})],1),e.isDeprecated?n("Badge",{attrs:{variant:"deprecated"}}):e.isBeta?n("Badge",{attrs:{variant:"beta"}}):e._e()]},proxy:!0}])})},yl=[],vl=n("34b0"),bl=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"navigator-card-item"},[n("div",{staticClass:"head-wrapper"},[n("div",{staticClass:"depth-spacer"},[e._t("depth-spacer")],2),e.hideNavigatorIcon?e._e():n("div",{staticClass:"navigator-icon-wrapper"},[e._t("navigator-icon",null,{className:"navigator-icon"})],2),n("div",{staticClass:"title-container"},[e._t("title-container")],2)])])},Tl=[],Sl={name:"BaseNavigatorCardItem",props:{hideNavigatorIcon:{type:Boolean,default:()=>!1}}},_l=Sl,Cl=(n("b39c"),Object(K["a"])(_l,bl,Tl,!1,null,"0b9fe514",null)),kl=Cl.exports,wl={name:"HighlightMatch",props:{text:{type:String,required:!0},matcher:{type:RegExp,default:void 0}},render(e){const{matcher:t,text:n}=this;if(!t)return e("p",{class:"highlight"},n);const i=[];let a=0,s=null;const r=new RegExp(t,"gi");while(null!==(s=r.exec(n))){const t=s[0].length,r=s.index+t,o=n.slice(a,s.index);o&&i.push(e("span",o));const l=n.slice(s.index,r);l&&i.push(e("span",{class:"match"},l)),a=r}const o=n.slice(a,n.length);return o&&i.push(e("span",o)),e("p",{class:"highlight"},i)}},Il=wl,xl=(n("b831"),Object(K["a"])(Il,gl,fl,!1,null,"d75876e2",null)),$l=xl.exports,Ol={name:"NavigatorCardItem",mixins:[Object(hl["c"])({idProp:e=>e.item.uid})],components:{BaseNavigatorCardItem:kl,HighlightMatches:$l,TopicTypeIcon:_e["a"],InlineChevronRightIcon:vl["a"],Reference:To["a"],Badge:ei["a"]},props:{isRendered:{type:Boolean,default:!1},item:{type:Object,required:!0},expanded:{type:Boolean,default:!1},filterPattern:{type:RegExp,default:void 0},isActive:{type:Boolean,default:!1},isBold:{type:Boolean,default:!1},apiChange:{type:String,default:null,validator:e=>It["d"].includes(e)},isFocused:{type:Boolean,default:()=>!1},enableFocus:{type:Boolean,default:!0},navigatorReferences:{type:Object,default:()=>({})}},idState(){return{isOpening:!1}},computed:{isGroupMarker:({item:{type:e}})=>e===Ce["b"].groupMarker,isParent:({item:e,isGroupMarker:t})=>!!e.childUIDs.length&&!t,parentLabel:({item:e})=>"label-parent-"+e.uid,siblingsLabel:({item:e})=>"label-"+e.uid,usageLabel:({item:e})=>"usage-"+e.uid,ariaDescribedBy:({isParent:e,parentLabel:t,siblingsLabel:n})=>e?""+t:""+n,isBeta:({item:{beta:e}})=>!!e,isDeprecated:({item:{deprecated:e}})=>!!e,refComponent:({isGroupMarker:e})=>e?"h3":To["a"]},methods:{toggleTree(){this.idState.isOpening=!0,this.$emit("toggle",this.item)},toggleEntireTree(){this.idState.isOpening=!0,this.$emit("toggle-full",this.item)},toggleSiblings(){this.idState.isOpening=!0,this.$emit("toggle-siblings",this.item)},handleLeftKeydown(){this.expanded?this.toggleTree():this.$emit("focus-parent",this.item)},handleRightKeydown(){!this.expanded&&this.isParent&&this.toggleTree()},clickReference(){(this.$refs.reference.$el||this.$refs.reference).click()},focusReference(){(this.$refs.reference.$el||this.$refs.reference).focus()},handleClick(){this.isGroupMarker||this.$emit("navigate",this.item.uid)}},watch:{async isFocused(e){await Object(Ee["b"])(8),e&&this.isRendered&&this.enableFocus&&this.focusReference()},async expanded(){await Object(Ee["b"])(9),this.idState.isOpening=!1}}},Dl=Ol,Pl=(n("6ca9"),Object(K["a"])(Dl,ml,yl,!1,null,"0c96ff75",null)),Ll=Pl.exports,Al=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"navigator-card"},[n("div",{staticClass:"navigator-card-full-height"},[n("div",{staticClass:"navigator-card-inner"},[n("div",{staticClass:"head-wrapper"},[n("div",{staticClass:"head-inner"},[n("button",{staticClass:"close-card",class:{"hide-on-large":!e.allowHiding},attrs:{id:e.SIDEBAR_HIDE_BUTTON_ID,"aria-label":e.$t("navigator.close-navigator")},on:{click:e.handleHideClick}},[n("SidenavIcon",{staticClass:"icon-inline close-icon"})],1),n("Reference",{staticClass:"navigator-head",attrs:{id:e.INDEX_ROOT_KEY,url:e.technologyPath},nativeOn:{click:function(t){return t.altKey?(t.preventDefault(),e.$emit("head-click-alt")):null}}},[n("h2",{staticClass:"card-link"},[e._v(" "+e._s(e.technology)+" ")]),e.isTechnologyBeta?n("Badge",{attrs:{variant:"beta"}}):e._e()],1)],1)]),e._t("body",null,{className:"card-body"})],2)])])},Nl=[],El=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"sidenav-icon",attrs:{viewBox:"0 0 14 14",height:"14",themeId:"sidenav"}},[n("path",{attrs:{d:"M6.533 1.867h-6.533v10.267h14v-10.267zM0.933 11.2v-8.4h4.667v8.4zM13.067 11.2h-6.533v-8.4h6.533z"}}),n("path",{attrs:{d:"M1.867 5.133h2.8v0.933h-2.8z"}}),n("path",{attrs:{d:"M1.867 7.933h2.8v0.933h-2.8z"}})])},jl=[],Bl={name:"SidenavIcon",components:{SVGIcon:fr["a"]}},Rl=Bl,Ml=Object(K["a"])(Rl,El,jl,!1,null,null,null),zl=Ml.exports,Kl={name:"BaseNavigatorCard",components:{SidenavIcon:zl,Reference:To["a"],Badge:ei["a"]},props:{allowHiding:{type:Boolean,default:!0},technologyPath:{type:String,default:""},technology:{type:String,required:!0},isTechnologyBeta:{type:Boolean,default:!1}},data(){return{SIDEBAR_HIDE_BUTTON_ID:Fs,INDEX_ROOT_KEY:Ks}},methods:{async handleHideClick(){this.$emit("close"),await this.$nextTick();const e=document.getElementById(Go["d"]);e&&e.focus()}}},ql=Kl,Fl=(n("b32a"),Object(K["a"])(ql,Al,Nl,!1,null,"24789ed0",null)),Hl=Fl.exports;const Vl=e=>e[e.length-1],Wl=(e,t)=>JSON.stringify(e)===JSON.stringify(t),Ul="navigator.state",Gl={sampleCode:"sampleCode",tutorials:"tutorials",articles:"articles"},Ql={[Gl.sampleCode]:"Sample Code",[Gl.tutorials]:"Tutorials",[Gl.articles]:"Articles"},Xl=Object.fromEntries(Object.entries(Ql).map(([e,t])=>[t,e])),Yl={[Ce["b"].article]:Gl.articles,[Ce["b"].learn]:Gl.tutorials,[Ce["b"].overview]:Gl.tutorials,[Ce["b"].resources]:Gl.tutorials,[Ce["b"].sampleCode]:Gl.sampleCode,[Ce["b"].section]:Gl.tutorials,[Ce["b"].tutorial]:Gl.tutorials,[Ce["b"].project]:Gl.tutorials},Jl="navigator.no-results",Zl="navigator.no-children",ec="navigator.error-fetching",tc="navigator.items-found",nc="navigator.tags.hide-deprecated";var ic={name:"NavigatorCard",constants:{STORAGE_KEY:Ul,FILTER_TAGS:Gl,FILTER_TAGS_TO_LABELS:Ql,FILTER_LABELS_TO_TAGS:Xl,TOPIC_TYPE_TO_TAG:Yl,ERROR_FETCHING:ec,ITEMS_FOUND:tc,HIDE_DEPRECATED:nc},components:{FilterInput:oo,NavigatorCardItem:Ll,DynamicScroller:hl["a"],DynamicScrollerItem:hl["b"],BaseNavigatorCard:Hl},props:{...Hl.props,children:{type:Array,required:!0},activePath:{type:Array,required:!0},type:{type:String,required:!0},scrollLockID:{type:String,default:""},errorFetching:{type:Boolean,default:!1},apiChanges:{type:Object,default:null},isTechnologyBeta:{type:Boolean,default:!1},navigatorReferences:{type:Object,default:()=>{}},renderFilterOnTop:{type:Boolean,default:!1},hideAvailableTags:{type:Boolean,default:!1}},mixins:[zr],data(){return{filter:"",debouncedFilter:"",selectedTags:[],openNodes:Object.freeze({}),nodesToRender:Object.freeze([]),activeUID:null,lastFocusTarget:null,allNodesToggled:!1,translatableTags:[nc]}},computed:{politeAriaLive(){const{hasNodes:e,nodesToRender:t}=this;return e?this.$tc(tc,t.length,{number:t.length}):""},assertiveAriaLive:({hasNodes:e,hasFilter:t,errorFetching:n})=>e?"":t?Jl:n?ec:Zl,availableTags({selectedTags:e,renderableChildNodesMap:t,apiChangesObject:n,hideAvailableTags:i}){if(i||e.length)return[];const a=new Set(Object.values(n)),s=new Set(Object.values(Ql)),r=new Set([nc]);a.size&&r.delete(nc);const o={type:[],changes:[],other:[]};for(const l in t){if(!Object.hasOwnProperty.call(t,l))continue;if(!s.size&&!a.size&&!r.size)break;const{type:e,path:i,deprecated:c}=t[l],d=Ql[Yl[e]],u=n[i];s.has(d)&&(o.type.push(d),s.delete(d)),u&&a.has(u)&&(o.changes.push(this.$t(It["b"][u])),a.delete(u)),c&&r.has(nc)&&(o.other.push(nc),r.delete(nc))}return o.type.concat(o.changes,o.other)},selectedTagsModelValue:{get(){return this.selectedTags.map(e=>Ql[e]||this.$t(It["b"][e])||e)},set(e){(this.selectedTags.length||e.length)&&(this.selectedTags=e.map(e=>Xl[e]||It["a"][e]||e))}},filterPattern:({debouncedFilter:e})=>e?new RegExp(pl(e),"i"):null,itemSize:()=>qs,childrenMap({children:e}){return Vs(e)},activePathChildren({activeUID:e,childrenMap:t}){return e&&t[e]?Qs(e,t):[]},activePathMap:({activePathChildren:e})=>Object.fromEntries(e.map(({uid:e})=>[e,!0])),activeIndex:({activeUID:e,nodesToRender:t})=>t.findIndex(t=>t.uid===e),filteredChildren({hasFilter:e,children:t,filterPattern:n,selectedTags:i,apiChanges:a}){if(!e)return[];const s=new Set(i);return t.filter(({title:e,path:t,type:i,deprecated:r,deprecatedChildrenCount:o,childUIDs:l})=>{const c=r||o===l.length,d=!n||n.test(e);let u=!0;s.size&&(u=s.has(Yl[i]),a&&!u&&(u=s.has(a[t])),!c&&s.has(nc)&&(u=!0));const h=!a||!!a[t];return d&&u&&h})},renderableChildNodesMap({hasFilter:e,childrenMap:t,deprecatedHidden:n,filteredChildren:i,removeDeprecated:a}){if(!e)return t;const s=i.length-1,r=new Set([]);for(let o=s;o>=0;o-=1){const e=i[o],s=t[e.groupMarkerUID];if(s&&r.add(s),r.has(e))continue;if(r.has(t[e.parent])&&e.type!==Ce["b"].groupMarker){r.add(e);continue}let l=[];e.childUIDs.length&&(l=a(Us(e.uid,t),n)),l.concat(Qs(e.uid,t)).forEach(e=>r.add(e))}return Vs([...r])},nodeChangeDeps:({filteredChildren:e,activePathChildren:t,debouncedFilter:n,selectedTags:i})=>[e,t,n,i],hasFilter({debouncedFilter:e,selectedTags:t,apiChanges:n}){return Boolean(e.length||t.length||n)},deprecatedHidden:({selectedTags:e})=>e[0]===nc,apiChangesObject(){return this.apiChanges||{}},hasNodes:({nodesToRender:e})=>!!e.length,totalItemsToNavigate:({nodesToRender:e})=>e.length,lastActivePathItem:({activePath:e})=>Vl(e)},created(){this.restorePersistedState()},watch:{filter:"debounceInput",nodeChangeDeps:"trackOpenNodes",activePath:"handleActivePathChange",apiChanges(e){e||(this.selectedTags=this.selectedTags.filter(e=>!this.$t(It["b"][e])))},async activeUID(e,t){await this.$nextTick();const n=this.$refs["dynamicScroller_"+t];n&&n.updateSize&&n.updateSize()}},methods:{setUnlessEqual(e,t){Wl(t,this[e])||(this[e]=Object.freeze(t))},toggleAllNodes(){const e=this.children.filter(e=>e.parent===Ks&&e.type!==Ce["b"].groupMarker&&e.childUIDs.length);this.allNodesToggled=!this.allNodesToggled,this.allNodesToggled&&(this.openNodes={},this.generateNodesToRender()),e.forEach(e=>{this.toggleFullTree(e)})},clearFilters(){this.filter="",this.debouncedFilter="",this.selectedTags=[]},scrollToFocus(){this.$refs.scroller.scrollToItem(this.focusedIndex)},debounceInput:Ir((function(e){this.debouncedFilter=e,this.lastFocusTarget=null}),200),trackOpenNodes([e,t,n,i],[,a=[],s="",r=[]]=[]){if(n!==s&&!s&&this.getFromStorage("filter")||!Wl(i,r)&&!r.length&&this.getFromStorage("selectedTags",[]).length)return;const o=!Wl(a,t),{childrenMap:l}=this;let c=t;if(!(this.deprecatedHidden&&!this.debouncedFilter.length||o&&this.hasFilter)&&this.hasFilter){const t=new Set,n=e.length-1;for(let i=n;i>=0;i-=1){const n=e[i];t.has(l[n.parent])||t.has(n)||Qs(n.uid,l).slice(0,-1).forEach(e=>t.add(e))}c=[...t]}const d=o?{...this.openNodes}:{},u=c.reduce((e,t)=>(e[t.uid]=!0,e),d);this.setUnlessEqual("openNodes",u),this.generateNodesToRender(),this.updateFocusIndexExternally()},toggle(e){const t=this.openNodes[e.uid];let n=[],i=[];if(t){const t=Object(w["a"])(this.openNodes),n=Us(e.uid,this.childrenMap);n.forEach(({uid:e})=>{delete t[e]}),this.setUnlessEqual("openNodes",t),i=n.slice(1)}else this.setUnlessEqual("openNodes",{...this.openNodes,[e.uid]:!0}),n=Gs(e.uid,this.childrenMap,this.children).filter(e=>this.renderableChildNodesMap[e.uid]);this.augmentRenderNodes({uid:e.uid,include:n,exclude:i})},toggleFullTree(e){const t=this.openNodes[e.uid],n=Object(w["a"])(this.openNodes),i=Us(e.uid,this.childrenMap);let a=[],s=[];i.forEach(({uid:e})=>{t?delete n[e]:n[e]=!0}),t?a=i.slice(1):s=i.slice(1).filter(e=>this.renderableChildNodesMap[e.uid]),this.setUnlessEqual("openNodes",n),this.augmentRenderNodes({uid:e.uid,exclude:a,include:s})},toggleSiblings(e){const t=this.openNodes[e.uid],n=Object(w["a"])(this.openNodes),i=Xs(e.uid,this.childrenMap,this.children);i.forEach(({uid:e,childUIDs:i,type:a})=>{if(i.length&&a!==Ce["b"].groupMarker)if(t){const t=Us(e,this.childrenMap);t.forEach(e=>{delete n[e.uid]}),delete n[e],this.augmentRenderNodes({uid:e,exclude:t.slice(1),include:[]})}else{n[e]=!0;const t=Gs(e,this.childrenMap,this.children).filter(e=>this.renderableChildNodesMap[e.uid]);this.augmentRenderNodes({uid:e,exclude:[],include:t})}}),this.setUnlessEqual("openNodes",n),this.persistState()},removeDeprecated(e,t){return t?e.filter(({deprecated:e})=>!e):e},generateNodesToRender(){const{children:e,openNodes:t,renderableChildNodesMap:n}=this;this.setUnlessEqual("nodesToRender",e.filter(e=>n[e.uid]&&(e.parent===Ks||t[e.parent]))),this.persistState(),this.scrollToElement()},augmentRenderNodes({uid:e,include:t=[],exclude:n=[]}){const i=this.nodesToRender.findIndex(t=>t.uid===e);if(t.length){const e=t.filter(e=>!this.nodesToRender.includes(e)),n=this.nodesToRender.slice(0);n.splice(i+1,0,...e),this.setUnlessEqual("nodesToRender",n)}else if(n.length){const e=new Set(n);this.setUnlessEqual("nodesToRender",this.nodesToRender.filter(t=>!e.has(t)))}this.persistState()},getFromStorage(e,t=null){const n=Fo["b"].get(Ul,{}),i=n[this.technologyPath];return i?e?i[e]||t:i:t},persistState(){const e={path:this.lastActivePathItem},{path:t}=this.activeUID&&this.childrenMap[this.activeUID]||e,n={technology:this.technology,path:t,hasApiChanges:!!this.apiChanges,openNodes:Object.keys(this.openNodes).map(Number),nodesToRender:this.nodesToRender.map(({uid:e})=>e),activeUID:this.activeUID,filter:this.filter,selectedTags:this.selectedTags},i={...Fo["b"].get(Ul,{}),[this.technologyPath]:n};Fo["b"].set(Ul,i)},clearPersistedState(){const e={...Fo["b"].get(Ul,{}),[this.technologyPath]:{}};Fo["b"].set(Ul,e)},restorePersistedState(){const e=this.getFromStorage();if(!e||e.path!==this.lastActivePathItem)return this.clearPersistedState(),void this.handleActivePathChange(this.activePath);const{technology:t,nodesToRender:n=[],filter:i="",hasAPIChanges:a=!1,activeUID:s=null,selectedTags:r=[],openNodes:o}=e;if(!n.length&&!i&&!r.length)return this.clearPersistedState(),void this.handleActivePathChange(this.activePath);const{childrenMap:l}=this,c=n.every(e=>l[e]),d=s?(this.childrenMap[s]||{}).path===this.lastActivePathItem:1===this.activePath.length;if(t!==this.technology||!c||a!==Boolean(this.apiChanges)||!d||s&&!i&&!r.length&&!n.includes(s))return this.clearPersistedState(),void this.handleActivePathChange(this.activePath);this.setUnlessEqual("openNodes",Object.fromEntries(o.map(e=>[e,!0]))),this.setUnlessEqual("nodesToRender",n.map(e=>l[e])),this.selectedTags=r,this.filter=i,this.debouncedFilter=this.filter,this.activeUID=s,this.scrollToElement()},async scrollToElement(){if(await Object(Ee["b"])(1),!this.$refs.scroller)return;if(this.hasFilter&&!this.deprecatedHidden)return void this.$refs.scroller.scrollToItem(0);const e=document.getElementById(this.activeUID);if(e&&0===this.getChildPositionInScroller(e))return;const t=this.nodesToRender.findIndex(e=>e.uid===this.activeUID);-1!==t&&this.$refs.scroller.scrollToItem(t)},getChildPositionInScroller(e){if(!e)return 0;const{paddingTop:t,paddingBottom:n}=getComputedStyle(this.$refs.scroller.$el),i={top:parseInt(t,10)||0,bottom:parseInt(n,10)||0},{y:a,height:s}=this.$refs.scroller.$el.getBoundingClientRect(),{y:r}=e.getBoundingClientRect(),o=e.offsetParent.offsetHeight,l=r-a-i.top;return l<0?-1:l+o>=s-i.bottom?1:0},isInsideScroller(e){return this.$refs.scroller.$el.contains(e)},handleFocusIn({target:e}){this.lastFocusTarget=e;const t=this.getChildPositionInScroller(e);if(0===t)return;const{offsetHeight:n}=e.offsetParent;this.$refs.scroller.$el.scrollBy({top:n*t,left:0})},handleFocusOut(e){e.relatedTarget&&(this.isInsideScroller(e.relatedTarget)||(this.lastFocusTarget=null))},handleScrollerUpdate:Ir((async function(){await Object(Ee["a"])(300),this.lastFocusTarget&&this.isInsideScroller(this.lastFocusTarget)&&document.activeElement!==this.lastFocusTarget&&this.lastFocusTarget.focus({preventScroll:!0})}),50),setActiveUID(e){this.activeUID=e},handleNavigationChange(e){this.childrenMap[e].path.startsWith(this.technologyPath)&&this.setActiveUID(e)},pathsToFlatChildren(e){const t=e.slice(0).reverse(),{childrenMap:n}=this;let i=this.children;const a=[];while(t.length){const e=t.pop(),s=i.find(t=>t.path===e);if(!s)break;a.push(s),t.length&&(i=s.childUIDs.map(e=>n[e]))}return a},handleActivePathChange(e){const t=this.childrenMap[this.activeUID],n=Vl(e);if(t){if(n===t.path)return;const e=Xs(this.activeUID,this.childrenMap,this.children),i=Gs(this.activeUID,this.childrenMap,this.children),a=Qs(this.activeUID,this.childrenMap),s=[...i,...e,...a].find(e=>e.path===n);if(s)return void this.setActiveUID(s.uid)}const i=this.pathsToFlatChildren(e);i.length?this.setActiveUID(i[i.length-1].uid):this.activeUID?this.setActiveUID(null):this.trackOpenNodes(this.nodeChangeDeps)},updateFocusIndexExternally(){this.externalFocusChange=!0,this.activeIndex>0?this.focusIndex(this.activeIndex):this.focusIndex(0)},focusNodeParent(e){const t=this.childrenMap[e.parent];if(!t)return;const n=this.nodesToRender.findIndex(e=>e.uid===t.uid);-1!==n&&this.focusIndex(n)}}},ac=ic,sc=(n("8e4d"),Object(K["a"])(ac,dl,ul,!1,null,"1543892a",null)),rc=sc.exports,oc=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("BaseNavigatorCard",e._b({on:{close:function(t){return e.$emit("close")}},scopedSlots:e._u([{key:"body",fn:function(t){var i=t.className;return[n("transition",{attrs:{name:"delay-visibility"}},[n("div",{staticClass:"loading-navigator",class:i,attrs:{"aria-hidden":"true"}},e._l(e.LOADER_ROWS,(function(e,t){return n("LoadingNavigatorItem",{key:t,attrs:{index:t,width:e.width,hideNavigatorIcon:e.hideNavigatorIcon}})})),1)])]}}])},"BaseNavigatorCard",e.$props,!1))},lc=[],cc=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("BaseNavigatorCardItem",{staticClass:"loading-navigator-item",style:"--index: "+e.index+";",attrs:{hideNavigatorIcon:e.hideNavigatorIcon},scopedSlots:e._u([{key:"navigator-icon",fn:function(e){var t=e.className;return[n("div",{class:t})]}},{key:"title-container",fn:function(){return[n("div",{staticClass:"loader",style:{width:e.width}})]},proxy:!0}])})},dc=[],uc={name:"LoadingNavigatorItem",components:{BaseNavigatorCardItem:kl},props:{...kl.props,index:{type:Number,default:0},width:{type:String,default:"50%"}}},hc=uc,pc=(n("d1b4"),Object(K["a"])(hc,cc,dc,!1,null,"0de29914",null)),gc=pc.exports;const fc=[{width:"30%",hideNavigatorIcon:!0},{width:"80%"},{width:"50%"}];var mc={name:"LoadingNavigatorCard",components:{BaseNavigatorCard:Hl,LoadingNavigatorItem:gc},props:{...Hl.props},data(){return{LOADER_ROWS:fc}}},yc=mc,vc=(n("115d"),Object(K["a"])(yc,oc,lc,!1,null,"4b6d345f",null)),bc=vc.exports,Tc={name:"Navigator",components:{NavigatorCard:rc,LoadingNavigatorCard:bc},data(){return{INDEX_ROOT_KEY:Ks}},props:{flatChildren:{type:Array,required:!0},parentTopicIdentifiers:{type:Array,required:!0},technology:{type:Object,required:!0},isFetching:{type:Boolean,default:!1},references:{type:Object,default:()=>{}},navigatorReferences:{type:Object,default:()=>{}},scrollLockID:{type:String,default:""},errorFetching:{type:Boolean,default:!1},renderFilterOnTop:{type:Boolean,default:!1},apiChanges:{type:Object,default:null},allowHiding:{type:Boolean,default:!0}},computed:{parentTopicReferences({references:e,parentTopicIdentifiers:t}){return t.reduce((t,n)=>{const i=e[n];return i?t.concat(i):(console.error(`Reference for "${n}" is missing`),t)},[])},activePath({parentTopicReferences:e,$route:{path:t}}){if(t=t.replace(/\/$/,"").toLowerCase(),!e.length)return[t];let n=1;return"technologies"===e[0].kind&&(n=2),e.slice(n).map(e=>e.url).concat(t)},type:()=>Ce["b"].module,technologyProps:({technology:e})=>({technology:e.title,technologyPath:e.path||e.url,isTechnologyBeta:e.beta})}},Sc=Tc,_c=(n("9c7e"),Object(K["a"])(Sc,ll,cl,!1,null,"159b9764",null)),Cc=_c.exports,kc=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("NavBase",{staticClass:"documentation-nav",attrs:{breakpoint:e.BreakpointName.medium,hasOverlay:!1,hasSolidBackground:"",hasNoBorder:e.hasNoBorder,isDark:e.isDark,isWideFormat:"",hasFullWidthBorder:"","aria-label":e.$t("api-reference")},scopedSlots:e._u([e.displaySidenav?{key:"pre-title",fn:function(t){var i=t.closeNav,a=t.isOpen,s=t.currentBreakpoint,r=t.className;return[n("div",{class:r},[n("transition",{attrs:{name:"sidenav-toggle"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.sidenavHiddenOnLarge,expression:"sidenavHiddenOnLarge"}],staticClass:"sidenav-toggle-wrapper"},[n("button",{staticClass:"sidenav-toggle",attrs:{"aria-label":e.$t("navigator.open-navigator"),id:e.baseNavOpenSidenavButtonId,tabindex:a?-1:null},on:{click:function(t){return t.preventDefault(),e.handleSidenavToggle(i,s)}}},[n("span",{staticClass:"sidenav-icon-wrapper"},[n("SidenavIcon",{staticClass:"icon-inline sidenav-icon"})],1)]),n("span",{staticClass:"sidenav-toggle__separator"})])])],1)]}}:null,{key:"tray",fn:function(t){var i=t.closeNav;return[n("Hierarchy",{attrs:{currentTopicTitle:e.title,isSymbolDeprecated:e.isSymbolDeprecated,isSymbolBeta:e.isSymbolBeta,parentTopicIdentifiers:e.hierarchyItems,currentTopicTags:e.currentTopicTags,references:e.references}}),n("NavMenuItems",{staticClass:"nav-menu-settings",attrs:{previousSiblingChildren:e.breadcrumbCount}},[e.interfaceLanguage&&(e.swiftPath||e.objcPath)?n("LanguageToggle",{attrs:{interfaceLanguage:e.interfaceLanguage,objcPath:e.objcPath,swiftPath:e.swiftPath,closeNav:i}}):e._e(),e._t("menu-items")],2),e._t("tray-after",null,null,{breadcrumbCount:e.breadcrumbCount})]}}],null,!0)},[n("template",{slot:"default"},[e._t("title",(function(){return[e.rootLink?n("router-link",{staticClass:"nav-title-link",attrs:{to:e.rootLink}},[e._v(" "+e._s(e.$t("documentation.title"))+" ")]):n("span",{staticClass:"nav-title-link inactive"},[e._v(e._s(e.$t("documentation.title")))])]}),null,{rootLink:e.rootLink,linkClass:"nav-title-link",inactiveClass:"inactive"})],2),n("template",{slot:"after-content"},[e._t("after-content")],2)],2)},wc=[],Ic=n("cbcf"),xc=n("9b30"),$c=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("NavMenuItems",{staticClass:"hierarchy",class:{"has-badge":e.hasBadge},attrs:{"aria-label":e.$t("documentation.nav.breadcrumbs")}},[e.root?n("HierarchyItem",{key:e.root.title,staticClass:"root-hierarchy",attrs:{url:e.addQueryParamsToUrl(e.root.url)}},[e._v(" "+e._s(e.root.title)+" ")]):e._e(),e._l(e.collapsibleItems,(function(t){return n("HierarchyItem",{key:t.title,attrs:{isCollapsed:"",url:e.addQueryParamsToUrl(t.url)}},[e._v(" "+e._s(t.title)+" ")])})),e.collapsibleItems.length?n("HierarchyCollapsedItems",{attrs:{topics:e.collapsibleItems}}):e._e(),e._l(e.nonCollapsibleItems,(function(t){return n("HierarchyItem",{key:t.title,attrs:{url:e.addQueryParamsToUrl(t.url)}},[e._v(" "+e._s(t.title)+" ")])})),n("HierarchyItem",[e._v(" "+e._s(e.currentTopicTitle)+" "),n("template",{slot:"tags"},[e.isSymbolDeprecated?n("Badge",{attrs:{variant:"deprecated"}}):e.isSymbolBeta?n("Badge",{attrs:{variant:"beta"}}):e._e(),e._l(e.currentTopicTags,(function(t){return n("Badge",{key:t.type+"-"+t.text,attrs:{variant:t.type}},[e._v(" "+e._s(t.text)+" ")])}))],2)],2)],2)},Oc=[],Dc=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{staticClass:"hierarchy-collapsed-items"},[n("span",{staticClass:"hierarchy-item-icon icon-inline"},[e._v("/")]),n("button",{ref:"btn",staticClass:"toggle",class:{focused:!e.collapsed},on:{click:e.toggleCollapsed}},[n("span",{staticClass:"indicator"},[n("EllipsisIcon",{staticClass:"icon-inline toggle-icon"})],1)]),n("ul",{ref:"dropdown",staticClass:"dropdown",class:{collapsed:e.collapsed}},e._l(e.topicsWithUrls,(function(t){return n("li",{key:t.title,staticClass:"dropdown-item"},[n("router-link",{staticClass:"nav-menu-link",attrs:{to:t.url}},[e._v(e._s(t.title))])],1)})),0)])},Pc=[],Lc=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"ellipsis-icon",attrs:{viewBox:"0 0 14 14",themeId:"ellipsis"}},[n("path",{attrs:{d:"m12.439 7.777v-1.554h-1.554v1.554zm-4.662 0v-1.554h-1.554v1.554zm-4.662 0v-1.554h-1.554v1.554z"}})])},Ac=[],Nc={name:"EllipsisIcon",components:{SVGIcon:fr["a"]}},Ec=Nc,jc=Object(K["a"])(Ec,Lc,Ac,!1,null,null,null),Bc=jc.exports,Rc={name:"HierarchyCollapsedItems",components:{EllipsisIcon:Bc},data:()=>({collapsed:!0}),props:{topics:{type:Array,required:!0}},watch:{collapsed(e,t){t&&!e?document.addEventListener("click",this.handleDocumentClick,!1):!t&&e&&document.removeEventListener("click",this.handleDocumentClick,!1)}},beforeDestroy(){document.removeEventListener("click",this.handleDocumentClick,!1)},computed:{topicsWithUrls:({$route:e,topics:t})=>t.map(t=>({...t,url:Object(P["b"])(t.url,e.query)}))},methods:{handleDocumentClick(e){const{target:t}=e,{collapsed:n,$refs:{btn:i,dropdown:a}}=this,s=!i.contains(t)&&!a.contains(t);!n&&s&&(this.collapsed=!0)},toggleCollapsed(){this.collapsed=!this.collapsed}}},Mc=Rc,zc=(n("2ca2"),Object(K["a"])(Mc,Dc,Pc,!1,null,"74906830",null)),Kc=zc.exports,qc=function(e,t){var n=t._c;return n(t.$options.components.NavMenuItemBase,{tag:"component",staticClass:"hierarchy-item",class:[{collapsed:t.props.isCollapsed},t.data.staticClass]},[n("span",{staticClass:"hierarchy-item-icon icon-inline"},[t._v("/")]),t.props.url?n("router-link",{staticClass:"parent item nav-menu-link",attrs:{to:t.props.url}},[t._t("default")],2):[n("span",{staticClass:"current item"},[t._t("default")],2),t._t("tags")]],2)},Fc=[],Hc=n("863d"),Vc={name:"HierarchyItem",components:{NavMenuItemBase:Hc["a"],InlineChevronRightIcon:vl["a"]},props:{isCollapsed:Boolean,url:{type:String,required:!1}}},Wc=Vc,Uc=(n("260a"),Object(K["a"])(Wc,qc,Fc,!0,null,"382bf39e",null)),Gc=Uc.exports;const Qc=3;var Xc={name:"Hierarchy",components:{Badge:ei["a"],NavMenuItems:xc["a"],HierarchyCollapsedItems:Kc,HierarchyItem:Gc},constants:{MaxVisibleLinks:Qc},inject:["store"],props:{isSymbolDeprecated:Boolean,isSymbolBeta:Boolean,references:Object,currentTopicTitle:{type:String,required:!0},parentTopicIdentifiers:{type:Array,default:()=>[]},currentTopicTags:{type:Array,default:()=>[]}},computed:{windowWidth:({store:e})=>e.state.contentWidth,parentTopics(){return this.parentTopicIdentifiers.reduce((e,t)=>{const n=this.references[t];if(n){const{title:t,url:i}=n;return e.concat({title:t,url:i})}return console.error(`Reference for "${t}" is missing`),e},[])},root:({parentTopics:e,windowWidth:t})=>t<=1e3?null:e[0],firstItemSlice:({root:e})=>e?1:0,linksAfterCollapse:({windowWidth:e,hasBadge:t})=>{const n=t?1:0;return e>1200?Qc-n:e>1e3?Qc-1-n:e>=800?Qc-2-n:0},collapsibleItems:({parentTopics:e,linksAfterCollapse:t,firstItemSlice:n})=>t?e.slice(n,-t):e.slice(n),nonCollapsibleItems:({parentTopics:e,linksAfterCollapse:t,firstItemSlice:n})=>t?e.slice(n).slice(-t):[],hasBadge:({isSymbolDeprecated:e,isSymbolBeta:t,currentTopicTags:n})=>e||t||n.length},methods:{addQueryParamsToUrl(e){return Object(P["b"])(e,this.$route.query)}}},Yc=Xc,Jc=(n("5208"),Object(K["a"])(Yc,$c,Oc,!1,null,"c2bd6086",null)),Zc=Jc.exports,ed=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("NavMenuItemBase",{staticClass:"nav-menu-setting language-container"},[n("div",{class:{"language-toggle-container":e.hasLanguages}},[n("select",{ref:"language-sizer",staticClass:"language-dropdown language-sizer",attrs:{"aria-hidden":"true",tabindex:"-1"}},[n("option",{key:e.currentLanguage.name,attrs:{selected:""}},[e._v(e._s(e.currentLanguage.name))])]),n("label",{staticClass:"nav-menu-setting-label",attrs:{for:e.hasLanguages?"language-toggle":null}},[e._v(e._s(e.$t("formats.colon",{content:e.$t("language")})))]),e.hasLanguages?n("select",{directives:[{name:"model",rawName:"v-model",value:e.languageModel,expression:"languageModel"}],staticClass:"language-dropdown nav-menu-link",style:"width: "+e.adjustedWidth+"px",attrs:{id:"language-toggle"},on:{change:[function(t){var n=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.languageModel=t.target.multiple?n:n[0]},function(t){return e.pushRoute(e.currentLanguage.route)}]}},e._l(e.languages,(function(t){return n("option",{key:t.api,domProps:{value:t.api}},[e._v(" "+e._s(t.name)+" ")])})),0):n("span",{staticClass:"nav-menu-toggle-none current-language",attrs:{"aria-current":"page"}},[e._v(e._s(e.currentLanguage.name))]),e.hasLanguages?n("InlineChevronDownIcon",{staticClass:"toggle-icon icon-inline"}):e._e()],1),e.hasLanguages?n("div",{staticClass:"language-list-container"},[n("span",{staticClass:"nav-menu-setting-label"},[e._v(e._s(e.$t("formats.colon",{content:e.$t("language")})))]),n("ul",{staticClass:"language-list"},e._l(e.languages,(function(t){return n("li",{key:t.api,staticClass:"language-list-item"},[t.api===e.languageModel?n("span",{staticClass:"current-language",attrs:{"data-language":t.api,"aria-current":"page"}},[e._v(" "+e._s(t.name)+" ")]):n("a",{staticClass:"nav-menu-link",attrs:{href:"#"},on:{click:function(n){return n.preventDefault(),e.pushRoute(t.route)}}},[e._v(" "+e._s(t.name)+" ")])])})),0)]):e._e()])},td=[],nd=n("7948"),id={name:"LanguageToggle",components:{InlineChevronDownIcon:nd["a"],NavMenuItemBase:Hc["a"]},inject:{store:{default(){return{setPreferredLanguage(){}}}}},props:{interfaceLanguage:{type:String,required:!0},objcPath:{type:String,required:!1},swiftPath:{type:String,required:!1},closeNav:{type:Function,default:()=>{}}},data(){return{languageModel:null,adjustedWidth:0}},mounted(){const e=Ne(async()=>{await Object(Ee["b"])(3),this.calculateSelectWidth()},150);window.addEventListener("resize",e),window.addEventListener("orientationchange",e),this.$once("hook:beforeDestroy",()=>{window.removeEventListener("resize",e),window.removeEventListener("orientationchange",e)})},watch:{interfaceLanguage:{immediate:!0,handler(e){this.languageModel=e}},currentLanguage:{immediate:!0,handler:"calculateSelectWidth"}},methods:{getRoute(e){const t=e.query===O["a"].swift.key.url?void 0:e.query;return{query:{...this.$route.query,language:t},path:this.isCurrentPath(e.path)?null:Object(L["d"])(e.path)}},async pushRoute(e){await this.closeNav(),this.store.setPreferredLanguage(e.query),this.$router.push(this.getRoute(e))},isCurrentPath(e){return this.$route.path.replace(/^\//,"")===e},async calculateSelectWidth(){await this.$nextTick(),this.adjustedWidth=this.$refs["language-sizer"].clientWidth+6}},computed:{languages(){return[{name:O["a"].swift.name,api:O["a"].swift.key.api,route:{path:this.swiftPath,query:O["a"].swift.key.url}},{name:O["a"].objectiveC.name,api:O["a"].objectiveC.key.api,route:{path:this.objcPath,query:O["a"].objectiveC.key.url}}]},currentLanguage:({languages:e,languageModel:t})=>e.find(e=>e.api===t),hasLanguages:({objcPath:e,swiftPath:t})=>t&&e}},ad=id,sd=(n("b857"),Object(K["a"])(ad,ed,td,!1,null,"d12167e0",null)),rd=sd.exports,od={name:"DocumentationNav",components:{SidenavIcon:zl,NavBase:Ic["a"],NavMenuItems:xc["a"],Hierarchy:Zc,LanguageToggle:rd},props:{title:{type:String,required:!1},parentTopicIdentifiers:{type:Array,required:!1},isSymbolBeta:{type:Boolean,required:!1},isSymbolDeprecated:{type:Boolean,required:!1},isDark:{type:Boolean,default:!1},hasNoBorder:{type:Boolean,default:!1},currentTopicTags:{type:Array,required:!0},references:{type:Object,default:()=>({})},interfaceLanguage:{type:String,required:!1},objcPath:{type:String,required:!1},swiftPath:{type:String,required:!1},sidenavHiddenOnLarge:{type:Boolean,default:!1},displaySidenav:{type:Boolean,default:!1}},computed:{baseNavOpenSidenavButtonId:()=>Go["d"],BreakpointName:()=>Vo["b"],breadcrumbCount:({hierarchyItems:e})=>e.length+1,rootHierarchyReference:({parentTopicIdentifiers:e,references:t})=>t[e[0]]||{},isRootTechnologyLink:({rootHierarchyReference:{kind:e}})=>"technologies"===e,rootLink:({isRootTechnologyLink:e,rootHierarchyReference:t,$route:n})=>e?{path:t.url,query:n.query}:null,hierarchyItems:({parentTopicIdentifiers:e,isRootTechnologyLink:t})=>t?e.slice(1):e},methods:{async handleSidenavToggle(e,t){await e(),this.$emit("toggle-sidenav",t),await this.$nextTick();const n=document.getElementById(Fs);n&&n.focus()}}},ld=od,cd=(n("c61f"),Object(K["a"])(ld,kc,wc,!1,null,"138d523a",null)),dd=cd.exports,ud=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"StaticContentWidth"},[e._t("default")],2)},hd=[],pd={name:"StaticContentWidth",inject:["store"],mounted(){const e=Ne(async()=>{await this.$nextTick(),this.store.setContentWidth(this.$el.offsetWidth)},150);window.addEventListener("resize",e),window.addEventListener("orientationchange",e),this.$once("hook:beforeDestroy",()=>{window.removeEventListener("resize",e),window.removeEventListener("orientationchange",e)}),e()}},gd=pd,fd=Object(K["a"])(gd,ud,hd,!1,null,null,null),md=fd.exports,yd=n("3bdd"),vd=n("4009");const bd="symbol";var Td={watch:{topicData:{immediate:!0,handler:"extractOnThisPageSections"}},methods:{shouldRegisterContentSection(e){return e.type===_n["BlockType"].heading&&e.level<4},extractOnThisPageSections(e){if(!e)return;this.store.resetPageSections();const{metadata:{title:t},primaryContentSections:n,topicSections:i,defaultImplementationsSections:a,relationshipsSections:s,seeAlsoSections:r,kind:o}=e;this.store.addOnThisPageSection({title:t,anchor:vd["a"],level:1,isSymbol:o===bd},{i18n:!1}),n&&n.forEach(e=>{switch(e.kind){case Ke.content:At["a"].methods.forEach.call(e,e=>{this.shouldRegisterContentSection(e)&&this.store.addOnThisPageSection({title:e.text,anchor:e.anchor||Object(nn["a"])(e.text),level:e.level},{i18n:!1})});break;case Ke.properties:case Ke.restBody:case Ke.restCookies:case Ke.restEndpoint:case Ke.restHeaders:case Ke.restParameters:case Ke.restResponses:this.store.addOnThisPageSection({title:e.title,anchor:Object(nn["a"])(e.title),level:2});break;default:qt[e.kind]&&this.store.addOnThisPageSection(qt[e.kind])}}),i&&this.store.addOnThisPageSection(Kt.topics),a&&this.store.addOnThisPageSection(Kt.defaultImplementations),s&&this.store.addOnThisPageSection(Kt.relationships),r&&this.store.addOnThisPageSection(Kt.seeAlso)}}},Sd=n("9b56");const _d="0.3.0",Cd="navigator-hidden-large",{extractProps:kd}=Is.methods;var wd={name:"DocumentationTopicView",constants:{MIN_RENDER_JSON_VERSION_WITH_INDEX:_d,NAVIGATOR_HIDDEN_ON_LARGE_KEY:Cd},components:{Navigator:Cc,AdjustableSidebarWidth:ol,StaticContentWidth:md,NavigatorDataProvider:nr,Topic:Is,CodeTheme:Bs["a"],Nav:dd,QuickNavigationButton:lr,QuickNavigationModal:zo,PortalTarget:I["PortalTarget"]},mixins:[Ms["a"],zs["a"],Td],props:{enableMinimized:{type:Boolean,default:!1}},data(){return{topicDataDefault:null,topicDataObjc:null,sidenavVisibleOnMobile:!1,sidenavHiddenOnLarge:Fo["c"].get(Cd,!1),showQuickNavigationModal:!1,store:js,BreakpointName:Vo["b"]}},computed:{objcOverrides:({topicData:e})=>{const{variantOverrides:t=[]}=e||{},n=({interfaceLanguage:e})=>e===O["a"].objectiveC.key.api,i=({traits:e})=>e.some(n),a=t.find(i);return a?a.patch:null},enableQuickNavigation:({isTargetIDE:e})=>!e&&Object(Ze["c"])(["features","docs","quickNavigation","enable"],!0),topicData:{get(){return this.topicDataObjc?this.topicDataObjc:this.topicDataDefault},set(e){this.topicDataDefault=e}},topicKey:({$route:e,topicProps:t})=>[e.path,t.interfaceLanguage].join(),topicProps(){return kd(this.topicData)},parentTopicIdentifiers:({topicProps:{hierarchy:{paths:e=[]},references:t},$route:n})=>e.length?e.find(e=>{const i=e.find(e=>t[e]&&"technologies"!==t[e].kind),a=i&&t[i];return a&&n.path.toLowerCase().startsWith(a.url.toLowerCase())})||e[0]:[],technology:({$route:e,topicProps:{identifier:t,references:n,role:i,title:a},parentTopicIdentifiers:s})=>{const r={title:a,url:e.path},o=n[t];if(!s.length)return o||r;const l=n[s[0]];return l&&"technologies"!==l.kind?l:(i!==k["a"].collection||o)&&(l&&n[s[1]]||o)||r},languagePaths:({topicData:{variants:e=[]}})=>e.reduce((e,t)=>t.traits.reduce((e,n)=>n.interfaceLanguage?{...e,[n.interfaceLanguage]:(e[n.interfaceLanguage]||[]).concat(t.paths)}:e,e),{}),objcPath:({languagePaths:{[O["a"].objectiveC.key.api]:[e]=[]}={}})=>e,swiftPath:({languagePaths:{[O["a"].swift.key.api]:[e]=[]}={}})=>e,isSymbolBeta:({topicProps:{platforms:e}})=>!!(e&&e.length&&e.every(e=>e.beta)),isSymbolDeprecated:({topicProps:{platforms:e,deprecationSummary:t}})=>!!(t&&t.length>0||e&&e.length&&e.every(e=>e.deprecatedAt)),enableNavigator:({isTargetIDE:e,topicDataDefault:t})=>!e&&Object(yd["b"])(Object(yd["a"])(t.schemaVersion),_d)>=0,enableOnThisPageNav:({isTargetIDE:e})=>!Object(Ze["c"])(["features","docs","onThisPageNavigator","disable"],!1)&&!e,sidebarProps:({sidenavVisibleOnMobile:e,enableNavigator:t,sidenavHiddenOnLarge:n})=>t?{shownOnMobile:e,hiddenOnLarge:n}:{},sidebarListeners(){return this.enableNavigator?{"update:shownOnMobile":this.toggleMobileSidenav,"update:hiddenOnLarge":this.toggleLargeSidenav}:{}}},methods:{applyObjcOverrides(){this.topicDataObjc=C(Object(w["a"])(this.topicData),this.objcOverrides)},handleCodeColorsChange(e){Rs["a"].updateCodeColors(e)},handleToggleSidenav(e){e===Vo["b"].large?this.toggleLargeSidenav():this.toggleMobileSidenav()},openQuickNavigationModal(){this.sidenavVisibleOnMobile||(this.showQuickNavigationModal=!0)},toggleLargeSidenav(e=!this.sidenavHiddenOnLarge){this.sidenavHiddenOnLarge=e,Fo["c"].set(Cd,e)},toggleMobileSidenav(e=!this.sidenavVisibleOnMobile){this.sidenavVisibleOnMobile=e},onQuickNavigationKeydown(e){("/"===e.key||"o"===e.key&&e.shiftKey&&e.metaKey)&&this.enableNavigator&&"input"!==e.target.tagName.toLowerCase()&&(this.openQuickNavigationModal(),e.preventDefault())}},mounted(){this.$bridge.on("contentUpdate",this.handleContentUpdateFromBridge),this.$bridge.on("codeColors",this.handleCodeColorsChange),this.$bridge.send({type:"requestCodeColors"}),this.enableQuickNavigation&&window.addEventListener("keydown",this.onQuickNavigationKeydown)},provide(){return{store:this.store}},inject:{isTargetIDE:{default(){return!1}}},beforeDestroy(){this.$bridge.off("contentUpdate",this.handleContentUpdateFromBridge),this.$bridge.off("codeColors",this.handleCodeColorsChange),this.enableQuickNavigation&&window.removeEventListener("keydown",this.onQuickNavigationKeydown)},beforeRouteEnter(e,t,n){e.meta.skipFetchingData?n(e=>e.newContentMounted()):Object(w["c"])(e,t,n).then(t=>n(n=>{Object(Sd["c"])(e.params.locale,n),n.topicData=t,e.query.language===O["a"].objectiveC.key.url&&n.objcOverrides&&n.applyObjcOverrides()})).catch(n)},beforeRouteUpdate(e,t,n){e.path===t.path&&e.query.language===O["a"].objectiveC.key.url&&this.objcOverrides?(this.applyObjcOverrides(),n()):Object(w["e"])(e,t)?Object(w["c"])(e,t,n).then(t=>{this.topicDataObjc=null,this.topicData=t,e.query.language===O["a"].objectiveC.key.url&&this.objcOverrides&&this.applyObjcOverrides(),Object(Sd["c"])(e.params.locale,this),n()}).catch(n):n()},created(){this.store.reset()},watch:{topicData(){this.$nextTick(()=>{this.newContentMounted()})}}},Id=wd,xd=(n("857c"),Object(K["a"])(Id,i,a,!1,null,"4a89caca",null));t["default"]=xd.exports},f9c9:function(e,t,n){}}]); \ No newline at end of file diff --git a/docs/js/documentation-topic~topic.1679ec90.js b/docs/js/documentation-topic~topic.1679ec90.js new file mode 100644 index 0000000..5203308 --- /dev/null +++ b/docs/js/documentation-topic~topic.1679ec90.js @@ -0,0 +1,20 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["documentation-topic~topic"],{"1c3f":function(t,e,n){"use strict";n("b826")},"2b88":function(t,e,n){"use strict"; +/*! + * portal-vue © Thorsten Lünborg, 2019 + * + * Version: 2.1.7 + * + * LICENCE: MIT + * + * https://github.com/linusborg/portal-vue + * + */function s(t){return t&&"object"===typeof t&&"default"in t?t["default"]:t}Object.defineProperty(e,"__esModule",{value:!0});var r=s(n("2b0e"));function o(t){return o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function a(t){return i(t)||l(t)||c()}function i(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e1&&void 0!==arguments[1]?arguments[1]:{};return t.reduce((function(t,n){var s=n.passengers[0],r="function"===typeof s?s(e):n.passengers;return t.concat(r)}),[])}function f(t,e){return t.map((function(t,e){return[e,t]})).sort((function(t,n){return e(t[1],n[1])||t[0]-n[0]})).map((function(t){return t[1]}))}function p(t,e){return e.reduce((function(e,n){return t.hasOwnProperty(n)&&(e[n]=t[n]),e}),{})}var m={},g={},y={},b=r.extend({data:function(){return{transports:m,targets:g,sources:y,trackInstances:u}},methods:{open:function(t){if(u){var e=t.to,n=t.from,s=t.passengers,o=t.order,a=void 0===o?1/0:o;if(e&&n&&s){var i={to:e,from:n,passengers:h(s),order:a},l=Object.keys(this.transports);-1===l.indexOf(e)&&r.set(this.transports,e,[]);var c=this.$_getTransportIndex(i),d=this.transports[e].slice(0);-1===c?d.push(i):d[c]=i,this.transports[e]=f(d,(function(t,e){return t.order-e.order}))}}},close:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.to,s=t.from;if(n&&(s||!1!==e)&&this.transports[n])if(e)this.transports[n]=[];else{var r=this.$_getTransportIndex(t);if(r>=0){var o=this.transports[n].slice(0);o.splice(r,1),this.transports[n]=o}}},registerTarget:function(t,e,n){u&&(this.trackInstances&&!n&&this.targets[t]&&console.warn("[portal-vue]: Target ".concat(t," already exists")),this.$set(this.targets,t,Object.freeze([e])))},unregisterTarget:function(t){this.$delete(this.targets,t)},registerSource:function(t,e,n){u&&(this.trackInstances&&!n&&this.sources[t]&&console.warn("[portal-vue]: source ".concat(t," already exists")),this.$set(this.sources,t,Object.freeze([e])))},unregisterSource:function(t){this.$delete(this.sources,t)},hasTarget:function(t){return!(!this.targets[t]||!this.targets[t][0])},hasSource:function(t){return!(!this.sources[t]||!this.sources[t][0])},hasContentFor:function(t){return!!this.transports[t]&&!!this.transports[t].length},$_getTransportIndex:function(t){var e=t.to,n=t.from;for(var s in this.transports[e])if(this.transports[e][s].from===n)return+s;return-1}}}),v=new b(m),T=1,S=r.extend({name:"portal",props:{disabled:{type:Boolean},name:{type:String,default:function(){return String(T++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}}},created:function(){var t=this;this.$nextTick((function(){v.registerSource(t.name,t)}))},mounted:function(){this.disabled||this.sendUpdate()},updated:function(){this.disabled?this.clear():this.sendUpdate()},beforeDestroy:function(){v.unregisterSource(this.name),this.clear()},watch:{to:function(t,e){e&&e!==t&&this.clear(e),this.sendUpdate()}},methods:{clear:function(t){var e={from:this.name,to:t||this.to};v.close(e)},normalizeSlots:function(){return this.$scopedSlots.default?[this.$scopedSlots.default]:this.$slots.default},normalizeOwnChildren:function(t){return"function"===typeof t?t(this.slotProps):t},sendUpdate:function(){var t=this.normalizeSlots();if(t){var e={from:this.name,to:this.to,passengers:a(t),order:this.order};v.open(e)}else this.clear()}},render:function(t){var e=this.$slots.default||this.$scopedSlots.default||[],n=this.tag;return e&&this.disabled?e.length<=1&&this.slim?this.normalizeOwnChildren(e)[0]:t(n,[this.normalizeOwnChildren(e)]):this.slim?t():t(n,{class:{"v-portal":!0},style:{display:"none"},key:"v-portal-placeholder"})}}),w=r.extend({name:"portalTarget",props:{multiple:{type:Boolean,default:!1},name:{type:String,required:!0},slim:{type:Boolean,default:!1},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},data:function(){return{transports:v.transports,firstRender:!0}},created:function(){var t=this;this.$nextTick((function(){v.registerTarget(t.name,t)}))},watch:{ownTransports:function(){this.$emit("change",this.children().length>0)},name:function(t,e){v.unregisterTarget(e),v.registerTarget(t,this)}},mounted:function(){var t=this;this.transition&&this.$nextTick((function(){t.firstRender=!1}))},beforeDestroy:function(){v.unregisterTarget(this.name)},computed:{ownTransports:function(){var t=this.transports[this.name]||[];return this.multiple?t:0===t.length?[]:[t[t.length-1]]},passengers:function(){return d(this.ownTransports,this.slotProps)}},methods:{children:function(){return 0!==this.passengers.length?this.passengers:this.$scopedSlots.default?this.$scopedSlots.default(this.slotProps):this.$slots.default||[]},noWrapper:function(){var t=this.slim&&!this.transition;return t&&this.children().length>1&&console.warn("[portal-vue]: PortalTarget with `slim` option received more than one child element."),t}},render:function(t){var e=this.noWrapper(),n=this.children(),s=this.transition||this.tag;return e?n[0]:this.slim&&!s?t():t(s,{props:{tag:this.transition&&this.tag?this.tag:void 0},class:{"vue-portal-target":!0}},n)}}),C=0,$=["disabled","name","order","slim","slotProps","tag","to"],k=["multiple","transition"],x=r.extend({name:"MountingPortal",inheritAttrs:!1,props:{append:{type:[Boolean,String]},bail:{type:Boolean},mountTo:{type:String,required:!0},disabled:{type:Boolean},name:{type:String,default:function(){return"mounted_"+String(C++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}},multiple:{type:Boolean,default:!1},targetSlim:{type:Boolean},targetSlotProps:{type:Object,default:function(){return{}}},targetTag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},created:function(){if("undefined"!==typeof document){var t=document.querySelector(this.mountTo);if(t){var e=this.$props;if(v.targets[e.name])e.bail?console.warn("[portal-vue]: Target ".concat(e.name," is already mounted.\n Aborting because 'bail: true' is set")):this.portalTarget=v.targets[e.name];else{var n=e.append;if(n){var s="string"===typeof n?n:"DIV",r=document.createElement(s);t.appendChild(r),t=r}var o=p(this.$props,k);o.slim=this.targetSlim,o.tag=this.targetTag,o.slotProps=this.targetSlotProps,o.name=this.to,this.portalTarget=new w({el:t,parent:this.$parent||this,propsData:o})}}else console.error("[portal-vue]: Mount Point '".concat(this.mountTo,"' not found in document"))}},beforeDestroy:function(){var t=this.portalTarget;if(this.append){var e=t.$el;e.parentNode.removeChild(e)}t.$destroy()},render:function(t){if(!this.portalTarget)return console.warn("[portal-vue] Target wasn't mounted"),t();if(!this.$scopedSlots.manual){var e=p(this.$props,$);return t(S,{props:e,attrs:this.$attrs,on:this.$listeners,scopedSlots:this.$scopedSlots},this.$slots.default)}var n=this.$scopedSlots.manual({to:this.to});return Array.isArray(n)&&(n=n[0]),n||t()}});function P(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.component(e.portalName||"Portal",S),t.component(e.portalTargetName||"PortalTarget",w),t.component(e.MountingPortalName||"MountingPortal",x)}var I={install:P};e.default=I,e.Portal=S,e.PortalTarget=w,e.MountingPortal=x,e.Wormhole=v},"66c9":function(t,e,n){"use strict";e["a"]={state:{codeColors:null},reset(){this.state.codeColors=null},updateCodeColors(t){const e=t=>t?`rgba(${t.red}, ${t.green}, ${t.blue}, ${t.alpha})`:null;this.state.codeColors=Object.entries(t).reduce((t,[n,s])=>({...t,[n]:e(s)}),{})}}},7948:function(t,e,n){"use strict";var s=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("SVGIcon",{staticClass:"inline-chevron-down-icon",attrs:{viewBox:"0 0 14 14",themeId:"inline-chevron-down"}},[n("path",{attrs:{d:"M12.634 2.964l0.76 0.649-6.343 7.426-6.445-7.423 0.755-0.655 5.683 6.545 5.59-6.542z"}})])},r=[],o=n("be08"),a={name:"InlineChevronDownIcon",components:{SVGIcon:o["a"]}},i=a,l=n("2877"),c=Object(l["a"])(i,s,r,!1,null,null,null);e["a"]=c.exports},8590:function(t,e,n){"use strict";var s=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{style:t.codeStyle},[t._t("default")],2)},r=[],o=n("66c9");const a=0,i=255;function l(t){const e=t.match(/rgba\((\d+),\s*(\d+),\s*(\d+),\s*(\d+\.?\d*|\.\d+)\s*\)/);if(!e)throw new Error("invalid rgba() input");const n=10;return{r:parseInt(e[1],n),g:parseInt(e[2],n),b:parseInt(e[3],n),a:parseFloat(e[4])}}function c(t){const{r:e,g:n,b:s}=l(t);return.2126*e+.7152*n+.0722*s}function u(t,e){const n=Math.round(i*e),s=l(t),{a:r}=s,[o,c,u]=[s.r,s.g,s.b].map(t=>Math.max(a,Math.min(i,t+n)));return`rgba(${o}, ${c}, ${u}, ${r})`}function h(t,e){return u(t,e)}function d(t,e){return u(t,-1*e)}var f={name:"CodeTheme",data(){return{codeThemeState:o["a"].state}},computed:{codeStyle(){const{codeColors:t}=this.codeThemeState;return t?{"--text":t.text,"--background":t.background,"--line-highlight":t.lineHighlight,"--url":t.commentURL,"--syntax-comment":t.comment,"--syntax-quote":t.comment,"--syntax-keyword":t.keyword,"--syntax-literal":t.keyword,"--syntax-selector-tag":t.keyword,"--syntax-string":t.stringLiteral,"--syntax-bullet":t.stringLiteral,"--syntax-meta":t.keyword,"--syntax-number":t.stringLiteral,"--syntax-symbol":t.stringLiteral,"--syntax-tag":t.stringLiteral,"--syntax-attr":t.typeAnnotation,"--syntax-built_in":t.typeAnnotation,"--syntax-builtin-name":t.typeAnnotation,"--syntax-class":t.typeAnnotation,"--syntax-params":t.typeAnnotation,"--syntax-section":t.typeAnnotation,"--syntax-title":t.typeAnnotation,"--syntax-type":t.typeAnnotation,"--syntax-attribute":t.keyword,"--syntax-identifier":t.text,"--syntax-subst":t.text,"--color-syntax-param-internal-name":this.internalParamNameColor}:null},internalParamNameColor(){const{background:t,text:e}=this.codeThemeState.codeColors;try{const n=c(t),s=nObject.keys(u).includes(t),default:u.light},codeBackgroundColorOverride:{type:String,default:""},backdropBackgroundColorOverride:{type:String,default:""},width:{type:String,default:null},showClose:{type:Boolean,default:!0}},data(){return{lastFocusItem:null,prefersDarkStyle:!1,focusTrapInstance:null}},computed:{isVisible:{get:({visible:t})=>t,set(t){this.$emit("update:visible",t)}},modalColors(){return{"--code-background":this.codeBackgroundColorOverride,"--backdrop-background":this.backdropBackgroundColorOverride}},themeClass({theme:t,prefersDarkStyle:e,isThemeDynamic:n}){let s={};return n&&(s={"theme-light":!e,"theme-dark":e}),["theme-"+t,s]},stateClasses:({isFullscreen:t,isVisible:e,showClose:n})=>({"modal-fullscreen":t,"modal-standard":!t,"modal-open":e,"modal-with-close":n}),isThemeDynamic:({theme:t})=>t===u.dynamic||t===u.code},watch:{isVisible(t){t?this.onShow():this.onHide()}},mounted(){if(this.focusTrapInstance=new a["a"],document.addEventListener("keydown",this.onKeydown),this.isThemeDynamic){const t=window.matchMedia("(prefers-color-scheme: dark)");t.addListener(this.onColorSchemePreferenceChange),this.$once("hook:beforeDestroy",()=>{t.removeListener(this.onColorSchemePreferenceChange)}),this.onColorSchemePreferenceChange(t)}},beforeDestroy(){this.isVisible&&o["b"].unlockScroll(this.$refs.container),document.removeEventListener("keydown",this.onKeydown),this.focusTrapInstance.destroy()},methods:{async onShow(){await this.$nextTick(),o["b"].lockScroll(this.$refs.container),await this.focusCloseButton(),this.focusTrapInstance.updateFocusContainer(this.$refs.container),this.focusTrapInstance.start(),i["a"].hide(this.$refs.container)},onHide(){o["b"].unlockScroll(this.$refs.container),this.focusTrapInstance.stop(),this.lastFocusItem&&(this.lastFocusItem.focus({preventScroll:!0}),this.lastFocusItem=null),this.$emit("close"),i["a"].show(this.$refs.container)},closeModal(){this.isVisible=!1},selectContent(){window.getSelection().selectAllChildren(this.$refs.content)},onClickOutside(){this.closeModal()},onKeydown(t){const{metaKey:e=!1,ctrlKey:n=!1,key:s}=t;this.isVisible&&("a"===s&&(e||n)&&(t.preventDefault(),this.selectContent()),"Escape"===s&&(t.preventDefault(),this.closeModal()))},onColorSchemePreferenceChange({matches:t}){this.prefersDarkStyle=t},async focusCloseButton(){this.lastFocusItem=document.activeElement,await this.$nextTick(),this.$refs.close&&this.$refs.close.focus(),this.$emit("open")}}},d=h,f=(n("1c3f"),n("2877")),p=Object(f["a"])(d,s,r,!1,null,"795f7b59",null);e["a"]=p.exports},c8e2:function(t,e,n){"use strict";function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,"a",(function(){return o}));var r=n("0cb0");class o{constructor(t){s(this,"focusContainer",null),s(this,"tabTargets",[]),s(this,"firstTabTarget",null),s(this,"lastTabTarget",null),s(this,"lastFocusedElement",null),this.focusContainer=t,this.onFocus=this.onFocus.bind(this)}updateFocusContainer(t){this.focusContainer=t}start(){this.collectTabTargets(),this.firstTabTarget?this.focusContainer.contains(document.activeElement)&&r["a"].isTabbableElement(document.activeElement)||this.firstTabTarget.focus():console.warn("There are no focusable elements. FocusTrap needs at least one."),this.lastFocusedElement=document.activeElement,document.addEventListener("focus",this.onFocus,!0)}stop(){document.removeEventListener("focus",this.onFocus,!0)}collectTabTargets(){this.tabTargets=r["a"].getTabbableElements(this.focusContainer),this.firstTabTarget=this.tabTargets[0],this.lastTabTarget=this.tabTargets[this.tabTargets.length-1]}onFocus(t){if(this.focusContainer.contains(t.target))this.lastFocusedElement=t.target;else{if(t.preventDefault(),this.collectTabTargets(),this.lastFocusedElement===this.lastTabTarget||!this.lastFocusedElement||!document.contains(this.lastFocusedElement))return this.firstTabTarget.focus(),void(this.lastFocusedElement=this.firstTabTarget);this.lastFocusedElement===this.firstTabTarget&&(this.lastTabTarget.focus(),this.lastFocusedElement=this.lastTabTarget)}}destroy(){this.stop(),this.focusContainer=null,this.tabTargets=[],this.firstTabTarget=null,this.lastTabTarget=null,this.lastFocusedElement=null}}}}]); \ No newline at end of file diff --git a/docs/js/documentation-topic~topic.900fc80c.js b/docs/js/documentation-topic~topic.900fc80c.js deleted file mode 100644 index 3367be6..0000000 --- a/docs/js/documentation-topic~topic.900fc80c.js +++ /dev/null @@ -1,20 +0,0 @@ -/*! - * This source file is part of the Swift.org open source project - * - * Copyright (c) 2021 Apple Inc. and the Swift project authors - * Licensed under Apache License v2.0 with Runtime Library Exception - * - * See https://swift.org/LICENSE.txt for license information - * See https://swift.org/CONTRIBUTORS.txt for Swift project authors - */ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["documentation-topic~topic"],{"2b88":function(t,e,n){"use strict"; -/*! - * portal-vue © Thorsten Lünborg, 2019 - * - * Version: 2.1.7 - * - * LICENCE: MIT - * - * https://github.com/linusborg/portal-vue - * - */function s(t){return t&&"object"===typeof t&&"default"in t?t["default"]:t}Object.defineProperty(e,"__esModule",{value:!0});var r=s(n("2b0e"));function o(t){return o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function a(t){return i(t)||l(t)||c()}function i(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e1&&void 0!==arguments[1]?arguments[1]:{};return t.reduce((function(t,n){var s=n.passengers[0],r="function"===typeof s?s(e):n.passengers;return t.concat(r)}),[])}function f(t,e){return t.map((function(t,e){return[e,t]})).sort((function(t,n){return e(t[1],n[1])||t[0]-n[0]})).map((function(t){return t[1]}))}function p(t,e){return e.reduce((function(e,n){return t.hasOwnProperty(n)&&(e[n]=t[n]),e}),{})}var m={},g={},y={},b=r.extend({data:function(){return{transports:m,targets:g,sources:y,trackInstances:u}},methods:{open:function(t){if(u){var e=t.to,n=t.from,s=t.passengers,o=t.order,a=void 0===o?1/0:o;if(e&&n&&s){var i={to:e,from:n,passengers:h(s),order:a},l=Object.keys(this.transports);-1===l.indexOf(e)&&r.set(this.transports,e,[]);var c=this.$_getTransportIndex(i),d=this.transports[e].slice(0);-1===c?d.push(i):d[c]=i,this.transports[e]=f(d,(function(t,e){return t.order-e.order}))}}},close:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.to,s=t.from;if(n&&(s||!1!==e)&&this.transports[n])if(e)this.transports[n]=[];else{var r=this.$_getTransportIndex(t);if(r>=0){var o=this.transports[n].slice(0);o.splice(r,1),this.transports[n]=o}}},registerTarget:function(t,e,n){u&&(this.trackInstances&&!n&&this.targets[t]&&console.warn("[portal-vue]: Target ".concat(t," already exists")),this.$set(this.targets,t,Object.freeze([e])))},unregisterTarget:function(t){this.$delete(this.targets,t)},registerSource:function(t,e,n){u&&(this.trackInstances&&!n&&this.sources[t]&&console.warn("[portal-vue]: source ".concat(t," already exists")),this.$set(this.sources,t,Object.freeze([e])))},unregisterSource:function(t){this.$delete(this.sources,t)},hasTarget:function(t){return!(!this.targets[t]||!this.targets[t][0])},hasSource:function(t){return!(!this.sources[t]||!this.sources[t][0])},hasContentFor:function(t){return!!this.transports[t]&&!!this.transports[t].length},$_getTransportIndex:function(t){var e=t.to,n=t.from;for(var s in this.transports[e])if(this.transports[e][s].from===n)return+s;return-1}}}),v=new b(m),T=1,S=r.extend({name:"portal",props:{disabled:{type:Boolean},name:{type:String,default:function(){return String(T++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}}},created:function(){var t=this;this.$nextTick((function(){v.registerSource(t.name,t)}))},mounted:function(){this.disabled||this.sendUpdate()},updated:function(){this.disabled?this.clear():this.sendUpdate()},beforeDestroy:function(){v.unregisterSource(this.name),this.clear()},watch:{to:function(t,e){e&&e!==t&&this.clear(e),this.sendUpdate()}},methods:{clear:function(t){var e={from:this.name,to:t||this.to};v.close(e)},normalizeSlots:function(){return this.$scopedSlots.default?[this.$scopedSlots.default]:this.$slots.default},normalizeOwnChildren:function(t){return"function"===typeof t?t(this.slotProps):t},sendUpdate:function(){var t=this.normalizeSlots();if(t){var e={from:this.name,to:this.to,passengers:a(t),order:this.order};v.open(e)}else this.clear()}},render:function(t){var e=this.$slots.default||this.$scopedSlots.default||[],n=this.tag;return e&&this.disabled?e.length<=1&&this.slim?this.normalizeOwnChildren(e)[0]:t(n,[this.normalizeOwnChildren(e)]):this.slim?t():t(n,{class:{"v-portal":!0},style:{display:"none"},key:"v-portal-placeholder"})}}),w=r.extend({name:"portalTarget",props:{multiple:{type:Boolean,default:!1},name:{type:String,required:!0},slim:{type:Boolean,default:!1},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},data:function(){return{transports:v.transports,firstRender:!0}},created:function(){var t=this;this.$nextTick((function(){v.registerTarget(t.name,t)}))},watch:{ownTransports:function(){this.$emit("change",this.children().length>0)},name:function(t,e){v.unregisterTarget(e),v.registerTarget(t,this)}},mounted:function(){var t=this;this.transition&&this.$nextTick((function(){t.firstRender=!1}))},beforeDestroy:function(){v.unregisterTarget(this.name)},computed:{ownTransports:function(){var t=this.transports[this.name]||[];return this.multiple?t:0===t.length?[]:[t[t.length-1]]},passengers:function(){return d(this.ownTransports,this.slotProps)}},methods:{children:function(){return 0!==this.passengers.length?this.passengers:this.$scopedSlots.default?this.$scopedSlots.default(this.slotProps):this.$slots.default||[]},noWrapper:function(){var t=this.slim&&!this.transition;return t&&this.children().length>1&&console.warn("[portal-vue]: PortalTarget with `slim` option received more than one child element."),t}},render:function(t){var e=this.noWrapper(),n=this.children(),s=this.transition||this.tag;return e?n[0]:this.slim&&!s?t():t(s,{props:{tag:this.transition&&this.tag?this.tag:void 0},class:{"vue-portal-target":!0}},n)}}),C=0,$=["disabled","name","order","slim","slotProps","tag","to"],x=["multiple","transition"],k=r.extend({name:"MountingPortal",inheritAttrs:!1,props:{append:{type:[Boolean,String]},bail:{type:Boolean},mountTo:{type:String,required:!0},disabled:{type:Boolean},name:{type:String,default:function(){return"mounted_"+String(C++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}},multiple:{type:Boolean,default:!1},targetSlim:{type:Boolean},targetSlotProps:{type:Object,default:function(){return{}}},targetTag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},created:function(){if("undefined"!==typeof document){var t=document.querySelector(this.mountTo);if(t){var e=this.$props;if(v.targets[e.name])e.bail?console.warn("[portal-vue]: Target ".concat(e.name," is already mounted.\n Aborting because 'bail: true' is set")):this.portalTarget=v.targets[e.name];else{var n=e.append;if(n){var s="string"===typeof n?n:"DIV",r=document.createElement(s);t.appendChild(r),t=r}var o=p(this.$props,x);o.slim=this.targetSlim,o.tag=this.targetTag,o.slotProps=this.targetSlotProps,o.name=this.to,this.portalTarget=new w({el:t,parent:this.$parent||this,propsData:o})}}else console.error("[portal-vue]: Mount Point '".concat(this.mountTo,"' not found in document"))}},beforeDestroy:function(){var t=this.portalTarget;if(this.append){var e=t.$el;e.parentNode.removeChild(e)}t.$destroy()},render:function(t){if(!this.portalTarget)return console.warn("[portal-vue] Target wasn't mounted"),t();if(!this.$scopedSlots.manual){var e=p(this.$props,$);return t(S,{props:e,attrs:this.$attrs,on:this.$listeners,scopedSlots:this.$scopedSlots},this.$slots.default)}var n=this.$scopedSlots.manual({to:this.to});return Array.isArray(n)&&(n=n[0]),n||t()}});function I(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.component(e.portalName||"Portal",S),t.component(e.portalTargetName||"PortalTarget",w),t.component(e.MountingPortalName||"MountingPortal",k)}var P={install:I};e.default=P,e.Portal=S,e.PortalTarget=w,e.MountingPortal=k,e.Wormhole=v},"5ebf":function(t,e,n){"use strict";n("bc3d")},"66c9":function(t,e,n){"use strict";e["a"]={state:{codeColors:null},reset(){this.state.codeColors=null},updateCodeColors(t){const e=t=>t?`rgba(${t.red}, ${t.green}, ${t.blue}, ${t.alpha})`:null;this.state.codeColors=Object.entries(t).reduce((t,[n,s])=>({...t,[n]:e(s)}),{})}}},7948:function(t,e,n){"use strict";var s=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("SVGIcon",{staticClass:"inline-chevron-down-icon",attrs:{viewBox:"0 0 14 14",themeId:"inline-chevron-down"}},[n("path",{attrs:{d:"M12.634 2.964l0.76 0.649-6.343 7.426-6.445-7.423 0.755-0.655 5.683 6.545 5.59-6.542z"}})])},r=[],o=n("be08"),a={name:"InlineChevronDownIcon",components:{SVGIcon:o["a"]}},i=a,l=n("2877"),c=Object(l["a"])(i,s,r,!1,null,null,null);e["a"]=c.exports},8590:function(t,e,n){"use strict";var s=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{style:t.codeStyle},[t._t("default")],2)},r=[],o=n("66c9");const a=0,i=255;function l(t){const e=t.match(/rgba\((\d+),\s*(\d+),\s*(\d+),\s*(\d+\.?\d*|\.\d+)\s*\)/);if(!e)throw new Error("invalid rgba() input");const n=10;return{r:parseInt(e[1],n),g:parseInt(e[2],n),b:parseInt(e[3],n),a:parseFloat(e[4])}}function c(t){const{r:e,g:n,b:s}=l(t);return.2126*e+.7152*n+.0722*s}function u(t,e){const n=Math.round(i*e),s=l(t),{a:r}=s,[o,c,u]=[s.r,s.g,s.b].map(t=>Math.max(a,Math.min(i,t+n)));return`rgba(${o}, ${c}, ${u}, ${r})`}function h(t,e){return u(t,e)}function d(t,e){return u(t,-1*e)}var f={name:"CodeTheme",data(){return{codeThemeState:o["a"].state}},computed:{codeStyle(){const{codeColors:t}=this.codeThemeState;return t?{"--text":t.text,"--background":t.background,"--line-highlight":t.lineHighlight,"--url":t.commentURL,"--syntax-comment":t.comment,"--syntax-quote":t.comment,"--syntax-keyword":t.keyword,"--syntax-literal":t.keyword,"--syntax-selector-tag":t.keyword,"--syntax-string":t.stringLiteral,"--syntax-bullet":t.stringLiteral,"--syntax-meta":t.keyword,"--syntax-number":t.stringLiteral,"--syntax-symbol":t.stringLiteral,"--syntax-tag":t.stringLiteral,"--syntax-attr":t.typeAnnotation,"--syntax-built_in":t.typeAnnotation,"--syntax-builtin-name":t.typeAnnotation,"--syntax-class":t.typeAnnotation,"--syntax-params":t.typeAnnotation,"--syntax-section":t.typeAnnotation,"--syntax-title":t.typeAnnotation,"--syntax-type":t.typeAnnotation,"--syntax-attribute":t.keyword,"--syntax-identifier":t.text,"--syntax-subst":t.text,"--color-syntax-param-internal-name":this.internalParamNameColor}:null},internalParamNameColor(){const{background:t,text:e}=this.codeThemeState.codeColors;try{const n=c(t),s=nObject.keys(y).includes(t),default:y.light},codeBackgroundColorOverride:{type:String,default:""},width:{type:String,default:null},showClose:{type:Boolean,default:!0}},data(){return{lastFocusItem:null,prefersDarkStyle:!1,focusTrapInstance:null}},computed:{isVisible:{get:({visible:t})=>t,set(t){this.$emit("update:visible",t)}},modalColors(){return{"--background":this.codeBackgroundColorOverride}},themeClass({theme:t,prefersDarkStyle:e,isThemeDynamic:n}){let s={};return n&&(s={"theme-light":!e,"theme-dark":e}),["theme-"+t,s]},stateClasses:({isFullscreen:t,isVisible:e,showClose:n})=>({"modal-fullscreen":t,"modal-standard":!t,"modal-open":e,"modal-with-close":n}),isThemeDynamic:({theme:t})=>t===y.dynamic||t===y.code},watch:{isVisible(t){t?this.onShow():this.onHide()}},mounted(){if(this.focusTrapInstance=new a["a"],document.addEventListener("keydown",this.onKeydown),this.isThemeDynamic){const t=window.matchMedia("(prefers-color-scheme: dark)");t.addListener(this.onColorSchemePreferenceChange),this.$once("hook:beforeDestroy",()=>{t.removeListener(this.onColorSchemePreferenceChange)}),this.onColorSchemePreferenceChange(t)}},beforeDestroy(){this.isVisible&&o["a"].unlockScroll(this.$refs.container),document.removeEventListener("keydown",this.onKeydown),this.focusTrapInstance.destroy()},methods:{async onShow(){await this.$nextTick(),o["a"].lockScroll(this.$refs.container),await this.focusCloseButton(),this.focusTrapInstance.updateFocusContainer(this.$refs.container),this.focusTrapInstance.start(),i["a"].hide(this.$refs.container)},onHide(){o["a"].unlockScroll(this.$refs.container),this.focusTrapInstance.stop(),this.lastFocusItem&&(this.lastFocusItem.focus({preventScroll:!0}),this.lastFocusItem=null),this.$emit("close"),i["a"].show(this.$refs.container)},closeModal(){this.isVisible=!1},selectContent(){window.getSelection().selectAllChildren(this.$refs.content)},onClickOutside(){this.closeModal()},onKeydown(t){const{metaKey:e=!1,ctrlKey:n=!1,key:s}=t;this.isVisible&&("a"===s&&(e||n)&&(t.preventDefault(),this.selectContent()),"Escape"===s&&(t.preventDefault(),this.closeModal()))},onColorSchemePreferenceChange({matches:t}){this.prefersDarkStyle=t},async focusCloseButton(){this.lastFocusItem=document.activeElement,await this.$nextTick(),this.$refs.close&&this.$refs.close.focus(),this.$emit("open")}}},v=b,T=(n("5ebf"),Object(p["a"])(v,s,r,!1,null,"f5b28690",null));e["a"]=T.exports},c8e2:function(t,e,n){"use strict";function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,"a",(function(){return o}));var r=n("0cb0");class o{constructor(t){s(this,"focusContainer",null),s(this,"tabTargets",[]),s(this,"firstTabTarget",null),s(this,"lastTabTarget",null),s(this,"lastFocusedElement",null),this.focusContainer=t,this.onFocus=this.onFocus.bind(this)}updateFocusContainer(t){this.focusContainer=t}start(){this.collectTabTargets(),this.firstTabTarget?this.focusContainer.contains(document.activeElement)&&r["a"].isTabbableElement(document.activeElement)||this.firstTabTarget.focus():console.warn("There are no focusable elements. FocusTrap needs at least one."),this.lastFocusedElement=document.activeElement,document.addEventListener("focus",this.onFocus,!0)}stop(){document.removeEventListener("focus",this.onFocus,!0)}collectTabTargets(){this.tabTargets=r["a"].getTabbableElements(this.focusContainer),this.firstTabTarget=this.tabTargets[0],this.lastTabTarget=this.tabTargets[this.tabTargets.length-1]}onFocus(t){if(this.focusContainer.contains(t.target))this.lastFocusedElement=t.target;else{if(t.preventDefault(),this.collectTabTargets(),this.lastFocusedElement===this.lastTabTarget||!this.lastFocusedElement||!document.contains(this.lastFocusedElement))return this.firstTabTarget.focus(),void(this.lastFocusedElement=this.firstTabTarget);this.lastFocusedElement===this.firstTabTarget&&(this.lastTabTarget.focus(),this.lastFocusedElement=this.lastTabTarget)}}destroy(){this.stop(),this.focusContainer=null,this.tabTargets=[],this.firstTabTarget=null,this.lastTabTarget=null,this.lastFocusedElement=null}}}}]); \ No newline at end of file diff --git a/docs/js/documentation-topic~topic~tutorials-overview.5b27b87b.js b/docs/js/documentation-topic~topic~tutorials-overview.5b27b87b.js deleted file mode 100644 index a28e364..0000000 --- a/docs/js/documentation-topic~topic~tutorials-overview.5b27b87b.js +++ /dev/null @@ -1,10 +0,0 @@ -/*! - * This source file is part of the Swift.org open source project - * - * Copyright (c) 2021 Apple Inc. and the Swift project authors - * Licensed under Apache License v2.0 with Runtime Library Exception - * - * See https://swift.org/LICENSE.txt for license information - * See https://swift.org/CONTRIBUTORS.txt for Swift project authors - */ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["documentation-topic~topic~tutorials-overview"],{"018a":function(e,t,n){"use strict";n("0e40")},"05a1":function(e,t,n){},"0c95":function(e,t,n){"use strict";n("d34b")},"0caf":function(e,t,n){"use strict";t["a"]={inject:{performanceMetricsEnabled:{default:!1},isTargetIDE:{default:!1}},methods:{newContentMounted(){let e;this.performanceMetricsEnabled&&(e=Math.round(window.performance.now()),window.renderedTimes||(window.renderedTimes=[]),window.renderedTimes.push(e)),this.$bridge.send({type:"rendered",data:{time:e}})},handleContentUpdateFromBridge(e){this.topicData=e}}}},"0cb0":function(e,t,n){"use strict";const i=["input","select","textarea","button","optgroup","option","menuitem","fieldset","object","a[href]","*[tabindex]","*[contenteditable]"],r=i.join(",");t["a"]={getTabbableElements(e){const t=e.querySelectorAll(r),n=t.length;let i;const a=[];for(i=0;i=0},isFocusableElement(e){const t=e.nodeName.toLowerCase(),n=i.includes(t);return!("a"!==t||!e.getAttribute("href"))||(n?!e.disabled:"true"===e.getAttribute("contenteditable")||!Number.isNaN(parseFloat(e.getAttribute("tabindex"))))}}},"0d7b":function(e,t,n){},"0da1":function(e,t,n){"use strict";n("5c97")},"0e19":function(e,t,n){},"0e40":function(e,t,n){},"0f00":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"row"},[e._t("default")],2)},r=[],a={name:"GridRow"},s=a,o=(n("2224"),n("2877")),l=Object(o["a"])(s,i,r,!1,null,"be73599c",null);t["a"]=l.exports},1020:function(e,t){var n={exports:{}};function i(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach((function(t){var n=e[t];"object"!=typeof n||Object.isFrozen(n)||i(n)})),e}n.exports=i,n.exports.default=i;var r=n.exports;class a{constructor(e){void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function s(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function o(e,...t){const n=Object.create(null);for(const i in e)n[i]=e[i];return t.forEach((function(e){for(const t in e)n[t]=e[t]})),n}const l="",c=e=>!!e.kind,u=(e,{prefix:t})=>{if(e.includes(".")){const n=e.split(".");return[`${t}${n.shift()}`,...n.map((e,t)=>`${e}${"_".repeat(t+1)}`)].join(" ")}return`${t}${e}`};class d{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=s(e)}openNode(e){if(!c(e))return;let t=e.kind;t=e.sublanguage?"language-"+t:u(t,{prefix:this.classPrefix}),this.span(t)}closeNode(e){c(e)&&(this.buffer+=l)}value(){return this.buffer}span(e){this.buffer+=``}}class p{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const t={kind:e,children:[]};this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){while(this.closeNode());}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return"string"===typeof t?e.addText(t):t.children&&(e.openNode(t),t.children.forEach(t=>this._walk(e,t)),e.closeNode(t)),e}static _collapse(e){"string"!==typeof e&&e.children&&(e.children.every(e=>"string"===typeof e)?e.children=[e.children.join("")]:e.children.forEach(e=>{p._collapse(e)}))}}class h extends p{constructor(e){super(),this.options=e}addKeyword(e,t){""!==e&&(this.openNode(t),this.addText(e),this.closeNode())}addText(e){""!==e&&this.add(e)}addSublanguage(e,t){const n=e.root;n.kind=t,n.sublanguage=!0,this.add(n)}toHTML(){const e=new d(this,this.options);return e.value()}finalize(){return!0}}function m(e){return e?"string"===typeof e?e:e.source:null}function f(e){return v("(?=",e,")")}function g(e){return v("(?:",e,")*")}function b(e){return v("(?:",e,")?")}function v(...e){const t=e.map(e=>m(e)).join("");return t}function y(e){const t=e[e.length-1];return"object"===typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function w(...e){const t=y(e),n="("+(t.capture?"":"?:")+e.map(e=>m(e)).join("|")+")";return n}function _(e){return new RegExp(e.toString()+"|").exec("").length-1}function x(e,t){const n=e&&e.exec(t);return n&&0===n.index}const k=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function C(e,{joinWith:t}){let n=0;return e.map(e=>{n+=1;const t=n;let i=m(e),r="";while(i.length>0){const e=k.exec(i);if(!e){r+=i;break}r+=i.substring(0,e.index),i=i.substring(e.index+e[0].length),"\\"===e[0][0]&&e[1]?r+="\\"+String(Number(e[1])+t):(r+=e[0],"("===e[0]&&n++)}return r}).map(e=>`(${e})`).join(t)}const S=/\b\B/,j="[a-zA-Z]\\w*",E="[a-zA-Z_]\\w*",O="\\b\\d+(\\.\\d+)?",I="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",T="\\b(0b[01]+)",A="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",B=(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=v(t,/.*\b/,e.binary,/\b.*/)),o({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{0!==e.index&&t.ignoreMatch()}},e)},L={begin:"\\\\[\\s\\S]",relevance:0},N={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[L]},M={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[L]},$={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},R=function(e,t,n={}){const i=o({scope:"comment",begin:e,end:t,contains:[]},n);i.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const r=w("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return i.contains.push({begin:v(/[ ]+/,"(",r,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),i},P=R("//","$"),V=R("/\\*","\\*/"),D=R("#","$"),G={scope:"number",begin:O,relevance:0},z={scope:"number",begin:I,relevance:0},q={scope:"number",begin:T,relevance:0},U={begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[L,{begin:/\[/,end:/\]/,relevance:0,contains:[L]}]}]},W={scope:"title",begin:j,relevance:0},H={scope:"title",begin:E,relevance:0},F={begin:"\\.\\s*"+E,relevance:0},K=function(e){return Object.assign(e,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})};var Z=Object.freeze({__proto__:null,MATCH_NOTHING_RE:S,IDENT_RE:j,UNDERSCORE_IDENT_RE:E,NUMBER_RE:O,C_NUMBER_RE:I,BINARY_NUMBER_RE:T,RE_STARTERS_RE:A,SHEBANG:B,BACKSLASH_ESCAPE:L,APOS_STRING_MODE:N,QUOTE_STRING_MODE:M,PHRASAL_WORDS_MODE:$,COMMENT:R,C_LINE_COMMENT_MODE:P,C_BLOCK_COMMENT_MODE:V,HASH_COMMENT_MODE:D,NUMBER_MODE:G,C_NUMBER_MODE:z,BINARY_NUMBER_MODE:q,REGEXP_MODE:U,TITLE_MODE:W,UNDERSCORE_TITLE_MODE:H,METHOD_GUARD:F,END_SAME_AS_BEGIN:K});function Y(e,t){const n=e.input[e.index-1];"."===n&&t.ignoreMatch()}function X(e,t){void 0!==e.className&&(e.scope=e.className,delete e.className)}function J(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=Y,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance&&(e.relevance=0))}function Q(e,t){Array.isArray(e.illegal)&&(e.illegal=w(...e.illegal))}function ee(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function te(e,t){void 0===e.relevance&&(e.relevance=1)}const ne=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const n=Object.assign({},e);Object.keys(e).forEach(t=>{delete e[t]}),e.keywords=n.keywords,e.begin=v(n.beforeMatch,f(n.begin)),e.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch},ie=["of","and","for","in","not","or","if","then","parent","list","value"],re="keyword";function ae(e,t,n=re){const i=Object.create(null);return"string"===typeof e?r(n,e.split(" ")):Array.isArray(e)?r(n,e):Object.keys(e).forEach((function(n){Object.assign(i,ae(e[n],t,n))})),i;function r(e,n){t&&(n=n.map(e=>e.toLowerCase())),n.forEach((function(t){const n=t.split("|");i[n[0]]=[e,se(n[0],n[1])]}))}}function se(e,t){return t?Number(t):oe(e)?0:1}function oe(e){return ie.includes(e.toLowerCase())}const le={},ce=e=>{console.error(e)},ue=(e,...t)=>{console.log("WARN: "+e,...t)},de=(e,t)=>{le[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),le[`${e}/${t}`]=!0)},pe=new Error;function he(e,t,{key:n}){let i=0;const r=e[n],a={},s={};for(let o=1;o<=t.length;o++)s[o+i]=r[o],a[o+i]=!0,i+=_(t[o-1]);e[n]=s,e[n]._emit=a,e[n]._multi=!0}function me(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw ce("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),pe;if("object"!==typeof e.beginScope||null===e.beginScope)throw ce("beginScope must be object"),pe;he(e,e.begin,{key:"beginScope"}),e.begin=C(e.begin,{joinWith:""})}}function fe(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw ce("skip, excludeEnd, returnEnd not compatible with endScope: {}"),pe;if("object"!==typeof e.endScope||null===e.endScope)throw ce("endScope must be object"),pe;he(e,e.end,{key:"endScope"}),e.end=C(e.end,{joinWith:""})}}function ge(e){e.scope&&"object"===typeof e.scope&&null!==e.scope&&(e.beginScope=e.scope,delete e.scope)}function be(e){ge(e),"string"===typeof e.beginScope&&(e.beginScope={_wrap:e.beginScope}),"string"===typeof e.endScope&&(e.endScope={_wrap:e.endScope}),me(e),fe(e)}function ve(e){function t(t,n){return new RegExp(m(t),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(n?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,t){t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),this.matchAt+=_(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const e=this.regexes.map(e=>e[1]);this.matcherRe=t(C(e,{joinWith:"|"}),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;const t=this.matcherRe.exec(e);if(!t)return null;const n=t.findIndex((e,t)=>t>0&&void 0!==e),i=this.matchIndexes[n];return t.splice(0,n),Object.assign(t,i)}}class i{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];const t=new n;return this.rules.slice(e).forEach(([e,n])=>t.addRule(e,n)),t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(e,t){this.rules.push([e,t]),"begin"===t.type&&this.count++}exec(e){const t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;let n=t.exec(e);if(this.resumingScanAtSamePosition())if(n&&n.index===this.lastIndex);else{const t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,n=t.exec(e)}return n&&(this.regexIndex+=n.position+1,this.regexIndex===this.count&&this.considerAll()),n}}function r(e){const t=new i;return e.contains.forEach(e=>t.addRule(e.begin,{rule:e,type:"begin"})),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:"end"}),e.illegal&&t.addRule(e.illegal,{type:"illegal"}),t}function a(n,i){const s=n;if(n.isCompiled)return s;[X,ee,be,ne].forEach(e=>e(n,i)),e.compilerExtensions.forEach(e=>e(n,i)),n.__beforeBegin=null,[J,Q,te].forEach(e=>e(n,i)),n.isCompiled=!0;let o=null;return"object"===typeof n.keywords&&n.keywords.$pattern&&(n.keywords=Object.assign({},n.keywords),o=n.keywords.$pattern,delete n.keywords.$pattern),o=o||/\w+/,n.keywords&&(n.keywords=ae(n.keywords,e.case_insensitive)),s.keywordPatternRe=t(o,!0),i&&(n.begin||(n.begin=/\B|\b/),s.beginRe=t(s.begin),n.end||n.endsWithParent||(n.end=/\B|\b/),n.end&&(s.endRe=t(s.end)),s.terminatorEnd=m(s.end)||"",n.endsWithParent&&i.terminatorEnd&&(s.terminatorEnd+=(n.end?"|":"")+i.terminatorEnd)),n.illegal&&(s.illegalRe=t(n.illegal)),n.contains||(n.contains=[]),n.contains=[].concat(...n.contains.map((function(e){return we("self"===e?n:e)}))),n.contains.forEach((function(e){a(e,s)})),n.starts&&a(n.starts,i),s.matcher=r(s),s}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=o(e.classNameAliases||{}),a(e)}function ye(e){return!!e&&(e.endsWithParent||ye(e.starts))}function we(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map((function(t){return o(e,{variants:null},t)}))),e.cachedVariants?e.cachedVariants:ye(e)?o(e,{starts:e.starts?o(e.starts):null}):Object.isFrozen(e)?o(e):e}var _e="11.3.1";class xe extends Error{constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t}}const ke=s,Ce=o,Se=Symbol("nomatch"),je=7,Ee=function(e){const t=Object.create(null),n=Object.create(null),i=[];let s=!0;const o="Could not find the language '{}', did you forget to load/include a language module?",l={disableAutodetect:!0,name:"Plain text",contains:[]};let c={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:h};function u(e){return c.noHighlightRe.test(e)}function d(e){let t=e.className+" ";t+=e.parentNode?e.parentNode.className:"";const n=c.languageDetectRe.exec(t);if(n){const t=N(n[1]);return t||(ue(o.replace("{}",n[1])),ue("Falling back to no-highlight mode for this block.",e)),t?n[1]:"no-highlight"}return t.split(/\s+/).find(e=>u(e)||N(e))}function p(e,t,n){let i="",r="";"object"===typeof t?(i=e,n=t.ignoreIllegals,r=t.language):(de("10.7.0","highlight(lang, code, ...args) has been deprecated."),de("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),r=e,i=t),void 0===n&&(n=!0);const a={code:i,language:r};V("before:highlight",a);const s=a.result?a.result:m(a.language,a.code,n);return s.code=a.code,V("after:highlight",s),s}function m(e,n,i,r){const l=Object.create(null);function u(e,t){return e.keywords[t]}function d(){if(!I.keywords)return void A.addText(B);let e=0;I.keywordPatternRe.lastIndex=0;let t=I.keywordPatternRe.exec(B),n="";while(t){n+=B.substring(e,t.index);const i=j.case_insensitive?t[0].toLowerCase():t[0],r=u(I,i);if(r){const[e,a]=r;if(A.addText(n),n="",l[i]=(l[i]||0)+1,l[i]<=je&&(L+=a),e.startsWith("_"))n+=t[0];else{const n=j.classNameAliases[e]||e;A.addKeyword(t[0],n)}}else n+=t[0];e=I.keywordPatternRe.lastIndex,t=I.keywordPatternRe.exec(B)}n+=B.substr(e),A.addText(n)}function p(){if(""===B)return;let e=null;if("string"===typeof I.subLanguage){if(!t[I.subLanguage])return void A.addText(B);e=m(I.subLanguage,B,!0,T[I.subLanguage]),T[I.subLanguage]=e._top}else e=_(B,I.subLanguage.length?I.subLanguage:null);I.relevance>0&&(L+=e.relevance),A.addSublanguage(e._emitter,e.language)}function h(){null!=I.subLanguage?p():d(),B=""}function f(e,t){let n=1;while(void 0!==t[n]){if(!e._emit[n]){n++;continue}const i=j.classNameAliases[e[n]]||e[n],r=t[n];i?A.addKeyword(r,i):(B=r,d(),B=""),n++}}function g(e,t){return e.scope&&"string"===typeof e.scope&&A.openNode(j.classNameAliases[e.scope]||e.scope),e.beginScope&&(e.beginScope._wrap?(A.addKeyword(B,j.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap),B=""):e.beginScope._multi&&(f(e.beginScope,t),B="")),I=Object.create(e,{parent:{value:I}}),I}function b(e,t,n){let i=x(e.endRe,n);if(i){if(e["on:end"]){const n=new a(e);e["on:end"](t,n),n.isMatchIgnored&&(i=!1)}if(i){while(e.endsParent&&e.parent)e=e.parent;return e}}if(e.endsWithParent)return b(e.parent,t,n)}function v(e){return 0===I.matcher.regexIndex?(B+=e[0],1):(R=!0,0)}function y(e){const t=e[0],n=e.rule,i=new a(n),r=[n.__beforeBegin,n["on:begin"]];for(const a of r)if(a&&(a(e,i),i.isMatchIgnored))return v(t);return n.skip?B+=t:(n.excludeBegin&&(B+=t),h(),n.returnBegin||n.excludeBegin||(B=t)),g(n,e),n.returnBegin?0:t.length}function w(e){const t=e[0],i=n.substr(e.index),r=b(I,e,i);if(!r)return Se;const a=I;I.endScope&&I.endScope._wrap?(h(),A.addKeyword(t,I.endScope._wrap)):I.endScope&&I.endScope._multi?(h(),f(I.endScope,e)):a.skip?B+=t:(a.returnEnd||a.excludeEnd||(B+=t),h(),a.excludeEnd&&(B=t));do{I.scope&&A.closeNode(),I.skip||I.subLanguage||(L+=I.relevance),I=I.parent}while(I!==r.parent);return r.starts&&g(r.starts,e),a.returnEnd?0:t.length}function k(){const e=[];for(let t=I;t!==j;t=t.parent)t.scope&&e.unshift(t.scope);e.forEach(e=>A.openNode(e))}let C={};function S(t,r){const a=r&&r[0];if(B+=t,null==a)return h(),0;if("begin"===C.type&&"end"===r.type&&C.index===r.index&&""===a){if(B+=n.slice(r.index,r.index+1),!s){const t=new Error(`0 width match regex (${e})`);throw t.languageName=e,t.badRule=C.rule,t}return 1}if(C=r,"begin"===r.type)return y(r);if("illegal"===r.type&&!i){const e=new Error('Illegal lexeme "'+a+'" for mode "'+(I.scope||"")+'"');throw e.mode=I,e}if("end"===r.type){const e=w(r);if(e!==Se)return e}if("illegal"===r.type&&""===a)return 1;if($>1e5&&$>3*r.index){const e=new Error("potential infinite loop, way more iterations than matches");throw e}return B+=a,a.length}const j=N(e);if(!j)throw ce(o.replace("{}",e)),new Error('Unknown language: "'+e+'"');const E=ve(j);let O="",I=r||E;const T={},A=new c.__emitter(c);k();let B="",L=0,M=0,$=0,R=!1;try{for(I.matcher.considerAll();;){$++,R?R=!1:I.matcher.considerAll(),I.matcher.lastIndex=M;const e=I.matcher.exec(n);if(!e)break;const t=n.substring(M,e.index),i=S(t,e);M=e.index+i}return S(n.substr(M)),A.closeAllNodes(),A.finalize(),O=A.toHTML(),{language:e,value:O,relevance:L,illegal:!1,_emitter:A,_top:I}}catch(P){if(P.message&&P.message.includes("Illegal"))return{language:e,value:ke(n),illegal:!0,relevance:0,_illegalBy:{message:P.message,index:M,context:n.slice(M-100,M+100),mode:P.mode,resultSoFar:O},_emitter:A};if(s)return{language:e,value:ke(n),illegal:!1,relevance:0,errorRaised:P,_emitter:A,_top:I};throw P}}function y(e){const t={value:ke(e),illegal:!1,relevance:0,_top:l,_emitter:new c.__emitter(c)};return t._emitter.addText(e),t}function _(e,n){n=n||c.languages||Object.keys(t);const i=y(e),r=n.filter(N).filter($).map(t=>m(t,e,!1));r.unshift(i);const a=r.sort((e,t)=>{if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if(N(e.language).supersetOf===t.language)return 1;if(N(t.language).supersetOf===e.language)return-1}return 0}),[s,o]=a,l=s;return l.secondBest=o,l}function k(e,t,i){const r=t&&n[t]||i;e.classList.add("hljs"),e.classList.add("language-"+r)}function C(e){let t=null;const n=d(e);if(u(n))return;if(V("before:highlightElement",{el:e,language:n}),e.children.length>0&&(c.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/issues/2886"),console.warn(e)),c.throwUnescapedHTML)){const t=new xe("One of your code blocks includes unescaped HTML.",e.innerHTML);throw t}t=e;const i=t.textContent,r=n?p(i,{language:n,ignoreIllegals:!0}):_(i);e.innerHTML=r.value,k(e,n,r.language),e.result={language:r.language,re:r.relevance,relevance:r.relevance},r.secondBest&&(e.secondBest={language:r.secondBest.language,relevance:r.secondBest.relevance}),V("after:highlightElement",{el:e,result:r,text:i})}function S(e){c=Ce(c,e)}const j=()=>{I(),de("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function E(){I(),de("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let O=!1;function I(){if("loading"===document.readyState)return void(O=!0);const e=document.querySelectorAll(c.cssSelector);e.forEach(C)}function T(){O&&I()}function A(n,i){let r=null;try{r=i(e)}catch(a){if(ce("Language definition for '{}' could not be registered.".replace("{}",n)),!s)throw a;ce(a),r=l}r.name||(r.name=n),t[n]=r,r.rawDefinition=i.bind(null,e),r.aliases&&M(r.aliases,{languageName:n})}function B(e){delete t[e];for(const t of Object.keys(n))n[t]===e&&delete n[t]}function L(){return Object.keys(t)}function N(e){return e=(e||"").toLowerCase(),t[e]||t[n[e]]}function M(e,{languageName:t}){"string"===typeof e&&(e=[e]),e.forEach(e=>{n[e.toLowerCase()]=t})}function $(e){const t=N(e);return t&&!t.disableAutodetect}function R(e){e["before:highlightBlock"]&&!e["before:highlightElement"]&&(e["before:highlightElement"]=t=>{e["before:highlightBlock"](Object.assign({block:t.el},t))}),e["after:highlightBlock"]&&!e["after:highlightElement"]&&(e["after:highlightElement"]=t=>{e["after:highlightBlock"](Object.assign({block:t.el},t))})}function P(e){R(e),i.push(e)}function V(e,t){const n=e;i.forEach((function(e){e[n]&&e[n](t)}))}function D(e){return de("10.7.0","highlightBlock will be removed entirely in v12.0"),de("10.7.0","Please use highlightElement now."),C(e)}"undefined"!==typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",T,!1),Object.assign(e,{highlight:p,highlightAuto:_,highlightAll:I,highlightElement:C,highlightBlock:D,configure:S,initHighlighting:j,initHighlightingOnLoad:E,registerLanguage:A,unregisterLanguage:B,listLanguages:L,getLanguage:N,registerAliases:M,autoDetection:$,inherit:Ce,addPlugin:P}),e.debugMode=function(){s=!1},e.safeMode=function(){s=!0},e.versionString=_e,e.regex={concat:v,lookahead:f,either:w,optional:b,anyNumberOfTimes:g};for(const a in Z)"object"===typeof Z[a]&&r(Z[a]);return Object.assign(e,Z),e};var Oe=Ee({});e.exports=Oe,Oe.HighlightJS=Oe,Oe.default=Oe},"12b1":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));const i={list:"list",compactGrid:"compactGrid",detailedGrid:"detailedGrid",hidden:"hidden"}},1417:function(e,t,n){var i={"./markdown":["84cb","highlight-js-custom-markdown"],"./markdown.js":["84cb","highlight-js-custom-markdown"],"./swift":["81c8","highlight-js-custom-swift"],"./swift.js":["81c8","highlight-js-custom-swift"]};function r(e){if(!n.o(i,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=i[e],r=t[0];return n.e(t[1]).then((function(){return n(r)}))}r.keys=function(){return Object.keys(i)},r.id="1417",e.exports=r},"146e":function(e,t,n){"use strict";var i=n("e425"),r=n("dd18"),a=n("8a61");function s(e){return new Promise((t,n)=>{e.complete?t():(e.addEventListener("load",t,{once:!0}),e.addEventListener("error",n,{once:!0}))})}function o(){return Promise.allSettled([...document.getElementsByTagName("img")].map(s))}t["a"]={mixins:[a["a"]],mounted(){this.scrollToElementIfAnchorPresent()},updated(){this.scrollToElementIfAnchorPresent()},methods:{async scrollToElementIfAnchorPresent(){const{hash:e}=this.$route;if(!e)return;const{imageLoadingStrategy:t}=i["a"].state;i["a"].setImageLoadingStrategy(r["a"].eager),await this.$nextTick(),await o(),this.scrollToElement(e),i["a"].setImageLoadingStrategy(t)}}}},"161e":function(e,t,n){},"1d9f":function(e,t,n){"use strict";n("30d0")},"20ea":function(e,t,n){},2224:function(e,t,n){"use strict";n("b392")},2368:function(e,t,n){"use strict";n("0e19")},"25a9":function(e,t,n){"use strict";n.d(t,"b",(function(){return p})),n.d(t,"d",(function(){return h})),n.d(t,"a",(function(){return m})),n.d(t,"c",(function(){return f}));var i=n("748c"),r=n("d26a"),a=n("3bdd"),s=n("6842");class o extends Error{constructor({location:e,response:t}){super("Request redirected"),this.location=e,this.response=t}}class l extends Error{constructor(e){super("Unable to fetch data"),this.route=e}}async function c(e,t={}){function n(e){return("ide"!==Object({NODE_ENV:"production",VUE_APP_TITLE:"Documentation",BASE_URL:"{{BASE_PATH}}/"}).VUE_APP_TARGET||0!==e.status)&&!e.ok}const i=new URL(e,window.location.href),s=Object(r["c"])(t);s&&(i.search=s);const l=await fetch(i.href);if(n(l))throw l;if(l.redirected)throw new o({location:l.url,response:l});const c=await l.json();return Object(a["c"])(c.schemaVersion),c}function u(e){const t=e.replace(/\/$/,"");return Object(i["d"])([s["a"],"data",t])+".json"}function d(e){const{pathname:t,search:n}=new URL(e),i=/\/data(\/.*).json$/,r=i.exec(t);return r?r[1]+n:t+n}async function p(e,t,n){const i=u(e.path);let r;try{r=await c(i,e.query)}catch(a){if("ide"===Object({NODE_ENV:"production",VUE_APP_TITLE:"Documentation",BASE_URL:"{{BASE_PATH}}/"}).VUE_APP_TARGET)throw console.error(a),!1;if(a instanceof o)throw d(a.location);a.status&&404===a.status?n({name:"not-found",params:[e.path]}):n(new l(e))}return r}function h(e,t){return!Object(r["a"])(e,t)}function m(e){return JSON.parse(JSON.stringify(e))}async function f(){const e=new URL(""+Object(i["d"])([s["a"],"index/index.json"]),window.location.href);return c(e)}},"287e":function(e,t,n){},"2ab3":function(e,t,n){var i={"./bash":["f0f8","highlight-js-bash"],"./bash.js":["f0f8","highlight-js-bash"],"./c":["1fe5","highlight-js-c"],"./c.js":["1fe5","highlight-js-c"],"./cpp":["0209","highlight-js-cpp"],"./cpp.js":["0209","highlight-js-cpp"],"./css":["ee8c","highlight-js-css"],"./css.js":["ee8c","highlight-js-css"],"./diff":["48b8","highlight-js-diff"],"./diff.js":["48b8","highlight-js-diff"],"./http":["c01d","highlight-js-http"],"./http.js":["c01d","highlight-js-http"],"./java":["332f","highlight-js-java"],"./java.js":["332f","highlight-js-java"],"./javascript":["4dd1","highlight-js-javascript"],"./javascript.js":["4dd1","highlight-js-javascript"],"./json":["5ad2","highlight-js-json"],"./json.js":["5ad2","highlight-js-json"],"./llvm":["7c30","highlight-js-llvm"],"./llvm.js":["7c30","highlight-js-llvm"],"./markdown":["04b0","highlight-js-markdown"],"./markdown.js":["04b0","highlight-js-markdown"],"./objectivec":["9bf2","highlight-js-objectivec"],"./objectivec.js":["9bf2","highlight-js-objectivec"],"./perl":["6a51","highlight-js-perl"],"./perl.js":["6a51","highlight-js-perl"],"./php":["2907","highlight-js-php"],"./php.js":["2907","highlight-js-php"],"./python":["9510","highlight-js-python"],"./python.js":["9510","highlight-js-python"],"./ruby":["82cb","highlight-js-ruby"],"./ruby.js":["82cb","highlight-js-ruby"],"./scss":["6113","highlight-js-scss"],"./scss.js":["6113","highlight-js-scss"],"./shell":["b65b","highlight-js-shell"],"./shell.js":["b65b","highlight-js-shell"],"./swift":["2a39","highlight-js-swift"],"./swift.js":["2a39","highlight-js-swift"],"./xml":["8dcb","highlight-js-xml"],"./xml.js":["8dcb","highlight-js-xml"]};function r(e){if(!n.o(i,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=i[e],r=t[0];return n.e(t[1]).then((function(){return n.t(r,7)}))}r.keys=function(){return Object.keys(i)},r.id="2ab3",e.exports=r},"2bdf":function(e,t,n){"use strict";n("3f7f")},"2cae":function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return s}));var i=n("31d4"),r=n("66cd");const a={blue:"blue",teal:"teal",orange:"orange",purple:"purple",green:"green",sky:"sky",pink:"pink"},s={[i["b"].article]:a.teal,[i["b"].init]:a.blue,[i["b"].case]:a.orange,[i["b"].class]:a.purple,[i["b"].collection]:a.pink,[r["a"].collectionGroup]:a.teal,[i["b"].dictionarySymbol]:a.purple,[i["b"].enum]:a.orange,[i["b"].extension]:a.orange,[i["b"].func]:a.green,[i["b"].op]:a.green,[i["b"].httpRequest]:a.green,[i["b"].module]:a.sky,[i["b"].method]:a.blue,[i["b"].macro]:a.pink,[i["b"].protocol]:a.purple,[i["b"].property]:a.teal,[i["b"].propertyListKey]:a.green,[i["b"].propertyListKeyReference]:a.green,[i["b"].sampleCode]:a.purple,[i["b"].struct]:a.purple,[i["b"].subscript]:a.blue,[i["b"].typealias]:a.orange,[i["b"].union]:a.purple,[i["b"].var]:a.purple}},3024:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"technology-icon",attrs:{viewBox:"0 0 14 14",themeId:"technology"}},[n("path",{attrs:{d:"M3.39,9l3.16,1.84.47.28.47-.28L10.61,9l.45.26,1.08.63L7,12.91l-5.16-3,1.08-.64L3.39,9M7,0,0,4.1,2.47,5.55,0,7,2.47,8.44,0,9.9,7,14l7-4.1L11.53,8.45,14,7,11.53,5.56,14,4.1ZM7,7.12,5.87,6.45l-1.54-.9L3.39,5,1.85,4.1,7,1.08l5.17,3L10.6,5l-.93.55-1.54.91ZM7,10,3.39,7.9,1.85,7,3.4,6.09,4.94,7,7,8.2,9.06,7,10.6,6.1,12.15,7l-1.55.9Z"}})])},r=[],a=n("be08"),s={name:"TechnologyIcon",components:{SVGIcon:a["a"]}},o=s,l=n("2877"),c=Object(l["a"])(o,i,r,!1,null,null,null);t["a"]=c.exports},"308e":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"column",style:e.style},[e._t("default")],2)},r=[],a={name:"Column",props:{span:{type:Number,default:null}},computed:{style:({span:e})=>({"--col-span":e})}},s=a,o=(n("fe08"),n("2877")),l=Object(o["a"])(s,i,r,!1,null,"0f654188",null);t["a"]=l.exports},"30b0":function(e,t,n){},"30d0":function(e,t,n){},"31d4":function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return r}));const i={article:"article",associatedtype:"associatedtype",buildSetting:"buildSetting",case:"case",collection:"collection",class:"class",container:"container",dictionarySymbol:"dictionarySymbol",enum:"enum",extension:"extension",func:"func",groupMarker:"groupMarker",httpRequest:"httpRequest",init:"init",languageGroup:"languageGroup",learn:"learn",macro:"macro",method:"method",module:"module",op:"op",overview:"overview",project:"project",property:"property",propertyListKey:"propertyListKey",propertyListKeyReference:"propertyListKeyReference",protocol:"protocol",resources:"resources",root:"root",sampleCode:"sampleCode",section:"section",struct:"struct",subscript:"subscript",symbol:"symbol",tutorial:"tutorial",typealias:"typealias",union:"union",var:"var"},r={[i.init]:i.method,[i.case]:i.enum,[i.propertyListKeyReference]:i.propertyListKey,[i.project]:i.tutorial}},"34b0":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"inline-chevron-right-icon",attrs:{viewBox:"0 0 14 14",themeId:"inline-chevron-right"}},[n("path",{attrs:{d:"M2.964 1.366l0.649-0.76 7.426 6.343-7.423 6.445-0.655-0.755 6.545-5.683-6.542-5.59z"}})])},r=[],a=n("be08"),s={name:"InlineChevronRightIcon",components:{SVGIcon:a["a"]}},o=s,l=n("2877"),c=Object(l["a"])(o,i,r,!1,null,null,null);t["a"]=c.exports},"3b96":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"curly-brackets-icon",attrs:{viewBox:"0 0 14 14",themeId:"curly-brackets"}},[n("path",{attrs:{d:"M9.987 14h-0.814v-0.916h0.36c0.137 0 0.253-0.038 0.349-0.116 0.099-0.080 0.179-0.188 0.239-0.318 0.064-0.134 0.11-0.298 0.139-0.483 0.031-0.186 0.045-0.38 0.045-0.58v-2.115c0-0.417 0.046-0.781 0.139-1.083 0.092-0.3 0.2-0.554 0.322-0.754 0.127-0.203 0.246-0.353 0.366-0.458 0.087-0.076 0.155-0.131 0.207-0.169-0.052-0.037-0.12-0.093-0.207-0.167-0.12-0.105-0.239-0.255-0.366-0.459-0.122-0.2-0.23-0.453-0.322-0.754-0.093-0.3-0.139-0.665-0.139-1.082v-2.13c0-0.199-0.014-0.392-0.045-0.572-0.029-0.182-0.076-0.345-0.139-0.483-0.060-0.137-0.141-0.246-0.239-0.328-0.095-0.076-0.212-0.115-0.349-0.115h-0.36v-0.916h0.814c0.442 0 0.788 0.18 1.030 0.538 0.238 0.352 0.358 0.826 0.358 1.407v2.236c0 0.3 0.015 0.597 0.044 0.886 0.030 0.287 0.086 0.544 0.164 0.765 0.077 0.216 0.184 0.392 0.318 0.522 0.129 0.124 0.298 0.188 0.503 0.188h0.058v0.916h-0.058c-0.206 0-0.374 0.064-0.503 0.188-0.134 0.129-0.242 0.305-0.318 0.521-0.078 0.223-0.134 0.48-0.164 0.766-0.029 0.288-0.044 0.587-0.044 0.884v2.236c0 0.582-0.12 1.055-0.358 1.409-0.242 0.358-0.588 0.538-1.030 0.538z"}}),n("path",{attrs:{d:"M4.827 14h-0.814c-0.442 0-0.788-0.18-1.030-0.538-0.238-0.352-0.358-0.825-0.358-1.409v-2.221c0-0.301-0.015-0.599-0.045-0.886-0.029-0.287-0.085-0.544-0.163-0.764-0.077-0.216-0.184-0.393-0.318-0.522-0.131-0.127-0.296-0.188-0.503-0.188h-0.058v-0.916h0.058c0.208 0 0.373-0.063 0.503-0.188 0.135-0.129 0.242-0.304 0.318-0.522 0.078-0.22 0.134-0.477 0.163-0.765 0.030-0.286 0.045-0.585 0.045-0.886v-2.251c0-0.582 0.12-1.055 0.358-1.407 0.242-0.358 0.588-0.538 1.030-0.538h0.814v0.916h-0.36c-0.138 0-0.252 0.038-0.349 0.116-0.099 0.079-0.179 0.189-0.239 0.327-0.064 0.139-0.11 0.302-0.141 0.483-0.029 0.18-0.044 0.373-0.044 0.572v2.13c0 0.417-0.046 0.782-0.138 1.082-0.092 0.302-0.201 0.556-0.324 0.754-0.123 0.201-0.246 0.356-0.366 0.459-0.086 0.074-0.153 0.13-0.206 0.167 0.052 0.038 0.12 0.093 0.206 0.169 0.12 0.103 0.243 0.258 0.366 0.458s0.232 0.453 0.324 0.754c0.092 0.302 0.138 0.666 0.138 1.083v2.115c0 0.2 0.015 0.394 0.044 0.58 0.030 0.186 0.077 0.349 0.139 0.482 0.062 0.132 0.142 0.239 0.241 0.32 0.096 0.079 0.21 0.116 0.349 0.116h0.36z"}})])},r=[],a=n("be08"),s={name:"CurlyBracketsIcon",components:{SVGIcon:a["a"]}},o=s,l=n("2877"),c=Object(l["a"])(o,i,r,!1,null,null,null);t["a"]=c.exports},"3bdd":function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return d}));const i={major:0,minor:3,patch:0};function r({major:e,minor:t,patch:n}){return[e,t,n].join(".")}function a(e){const[t=0,n=0,i=0]=e.split(".");return[Number(t),Number(n),Number(i)]}function s(e,t){const n=a(e),i=a(t);for(let r=0;ri[r])return 1;if(n[r]`[Swift-DocC-Render] The render node version for this page (${e}) has a different major version component than Swift-DocC-Render supports (${o}). Compatibility is not guaranteed.`;function u(e){const{major:t,minor:n}=e,{major:a,minor:s}=i;return t!==a?c(r(e)):n>s?l(r(e)):""}function d(e){if(!e)return;const t=u(e);t&&console.warn(t)}},"3f7f":function(e,t,n){},"43fe":function(e,t,n){"use strict";n("4573")},4573:function(e,t,n){},"47cc":function(e,t,n){},"49e3":function(e,t,n){},"4d50":function(e,t,n){"use strict";n("0d7b")},"50fa":function(e,t,n){},"517a":function(e,t,n){"use strict";n("8222")},"52e4":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("WordBreak",{attrs:{tag:"code"}},[e._t("default")],2)},r=[],a=n("7b1f"),s={name:"CodeVoice",components:{WordBreak:a["a"]}},o=s,l=(n("8c92"),n("2877")),c=Object(l["a"])(o,i,r,!1,null,"05f4a5b7",null);t["a"]=c.exports},5677:function(e,t,n){"use strict";n.r(t),n.d(t,"BlockType",(function(){return bt}));var i=n("e3ab"),r=n("7b69"),a=n("5dcc"),s=n("52e4"),o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"DictionaryExample"},[e._t("default"),n("CollapsibleCodeListing",{attrs:{content:e.example.content,showLineNumbers:""}})],2)},l=[],c=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"collapsible-code-listing",class:{"single-line":1===e.content[0].code.length}},[n("pre",[n("div",e._l(this.content,(function(t,i){return n("div",{key:i,class:["container-general",{collapsible:!0===t.collapsible},{collapsed:!0===t.collapsible&&e.collapsed}]},e._l(t.code,(function(t,i){return n("code",{key:i,staticClass:"code-line-container"},[e._v("\n "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.showLineNumbers,expression:"showLineNumbers"}],staticClass:"code-number"}),e._v("\n "),n("div",{staticClass:"code-line"},[e._v(e._s(t))]),e._v("\n ")])})),0)})),0)])])},u=[],d={name:"CollapsibleCodeListing",props:{collapsed:{type:Boolean,required:!1},content:{type:Array,required:!0},showLineNumbers:{type:Boolean,default:()=>!0}}},p=d,h=(n("9975"),n("2877")),m=Object(h["a"])(p,c,u,!1,null,"d68ae420",null),f=m.exports,g={name:"DictionaryExample",components:{CollapsibleCodeListing:f},props:{example:{type:Object,required:!0}}},b=g,v=Object(h["a"])(b,o,l,!1,null,null,null),y=v.exports,w=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Row",{staticClass:"endpoint-example"},[n("Column",{staticClass:"example-code"},[e._t("default"),n("Tabnav",{model:{value:e.currentTab,callback:function(t){e.currentTab=t},expression:"currentTab"}},[n("TabnavItem",{attrs:{value:e.Tab.request}},[e._v(e._s(e.Tab.request))]),n("TabnavItem",{attrs:{value:e.Tab.response}},[e._v(e._s(e.Tab.response))])],1),n("div",{staticClass:"output"},[e.isCurrent(e.Tab.request)?n("div",{staticClass:"code"},[n("CollapsibleCodeListing",e._b({attrs:{collapsed:e.isCollapsed,showLineNumbers:""}},"CollapsibleCodeListing",e.request,!1))],1):e._e(),e.isCurrent(e.Tab.response)?n("div",{staticClass:"code"},[n("CollapsibleCodeListing",e._b({attrs:{collapsed:e.isCollapsed,showLineNumbers:""}},"CollapsibleCodeListing",e.response,!1))],1):e._e()]),e.isCollapsible?n("div",{staticClass:"controls"},[e.isCollapsed?n("a",{staticClass:"toggle",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.showMore.apply(null,arguments)}}},[n("InlinePlusCircleSolidIcon",{staticClass:"control-icon icon-inline"}),e._v(" More ")],1):n("a",{staticClass:"toggle",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.showLess.apply(null,arguments)}}},[n("InlineMinusCircleSolidIcon",{staticClass:"control-icon icon-inline"}),e._v(" Less ")],1)]):e._e()],2)],1)},_=[],x=n("0f00"),k=n("620a"),C=function(){var e,t=this,n=t.$createElement,i=t._self._c||n;return i("nav",{staticClass:"tabnav",class:(e={},e["tabnav--"+t.position]=t.position,e["tabnav--vertical"]=t.vertical,e)},[i("ul",{staticClass:"tabnav-items"},[t._t("default")],2)])},S=[];const j="tabnavData";var E={name:"Tabnav",constants:{ProvideKey:j},provide(){const e={selectTab:this.selectTab};return Object.defineProperty(e,"activeTab",{enumerable:!0,get:()=>this.value}),{[j]:e}},props:{position:{type:String,required:!1,validator:e=>new Set(["start","center","end"]).has(e)},vertical:{type:Boolean,default:!1},value:{type:[String,Number],required:!0}},methods:{selectTab(e){this.$emit("input",e)}}},O=E,I=(n("fb8e"),Object(h["a"])(O,C,S,!1,null,"5283512a",null)),T=I.exports,A=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{staticClass:"tabnav-item"},[n("a",{staticClass:"tabnav-link",class:{active:e.isActive},attrs:{href:"#","aria-current":e.isActive?"true":"false"},on:{click:function(t){return t.preventDefault(),e.tabnavData.selectTab(e.value)}}},[e._t("default")],2)])},B=[],L={name:"TabnavItem",inject:{tabnavData:{default:{activeTab:null,selectTab:()=>{}}}},props:{value:{type:[String,Number],default:null}},computed:{isActive({tabnavData:e,value:t}){return e.activeTab===t}}},N=L,M=(n("6869"),Object(h["a"])(N,A,B,!1,null,"6aa9882a",null)),$=M.exports,R=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"inline-plus-circle-solid-icon",attrs:{viewBox:"0 0 14 14",themeId:"inline-plus-circle-solid"}},[n("path",{attrs:{d:"M7.005 0.5h-0.008c-1.791 0.004-3.412 0.729-4.589 1.9l0-0c-1.179 1.177-1.908 2.803-1.908 4.6 0 3.59 2.91 6.5 6.5 6.5s6.5-2.91 6.5-6.5c0-3.587-2.906-6.496-6.492-6.5h-0zM4.005 7.52v-1h2.5v-2.51h1v2.51h2.5v1h-2.501v2.49h-1v-2.49z"}})])},P=[],V=n("be08"),D={name:"InlinePlusCircleSolidIcon",components:{SVGIcon:V["a"]}},G=D,z=Object(h["a"])(G,R,P,!1,null,null,null),q=z.exports,U=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"inline-minus-circle-solid-icon",attrs:{viewBox:"0 0 14 14",themeId:"inline-minus-circle-solid"}},[n("path",{attrs:{d:"m6.98999129.48999129c3.58985091 0 6.50000001 2.91014913 6.50000001 6.5 0 3.58985091-2.9101491 6.50000001-6.50000001 6.50000001-3.58985087 0-6.5-2.9101491-6.5-6.50000001 0-3.58985087 2.91014913-6.5 6.5-6.5zm3 6.02001742h-6v1h6z","fill-rule":"evenodd"}})])},W=[],H={name:"InlineMinusCircleSolidIcon",components:{SVGIcon:V["a"]}},F=H,K=Object(h["a"])(F,U,W,!1,null,null,null),Z=K.exports;const Y={request:"Request",response:"Response"};var X={name:"EndpointExample",components:{InlineMinusCircleSolidIcon:Z,InlinePlusCircleSolidIcon:q,TabnavItem:$,Tabnav:T,CollapsibleCodeListing:f,Row:x["a"],Column:k["a"]},constants:{Tab:Y},props:{request:{type:Object,required:!0},response:{type:Object,required:!0}},data(){return{isCollapsed:!0,currentTab:Y.request}},computed:{Tab:()=>Y,isCollapsible:({response:e,request:t,currentTab:n})=>{const i={[Y.request]:t.content,[Y.response]:e.content}[n]||[];return i.some(({collapsible:e})=>e)}},methods:{isCurrent(e){return this.currentTab===e},showMore(){this.isCollapsed=!1},showLess(){this.isCollapsed=!0}}},J=X,Q=(n("9a2b"),Object(h["a"])(J,w,_,!1,null,"6197ce3f",null)),ee=Q.exports,te=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("figure",{attrs:{id:e.anchor}},[e._t("default")],2)},ne=[],ie={name:"Figure",props:{anchor:{type:String,required:!1}}},re=ie,ae=(n("f9e6"),Object(h["a"])(re,te,ne,!1,null,"4baaf006",null)),se=ae.exports,oe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("figcaption",{staticClass:"caption",class:{centered:e.centered}},[e.title?n("strong",[e._v(e._s(e.title))]):e._e(),e._v(" "),e._t("default")],2)},le=[],ce={name:"FigureCaption",props:{title:{type:String,required:!1},centered:{type:Boolean,default:!1}}},ue=ce,de=(n("f785"),Object(h["a"])(ue,oe,le,!1,null,"969dceb4",null)),pe=de.exports,he=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ImageAsset",{attrs:{alt:e.alt,variants:e.variants}})},me=[],fe=n("8bd9"),ge={name:"InlineImage",components:{ImageAsset:fe["a"]},props:{alt:{type:String,default:""},variants:{type:Array,required:!0}}},be=ge,ve=(n("cb92"),Object(h["a"])(be,he,me,!1,null,"3a939631",null)),ye=ve.exports,we=n("86d8"),_e=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"table-wrapper"},[n("table",{class:{spanned:e.spanned}},[e._t("default")],2)])},xe=[],ke={name:"Table",props:{spanned:{type:Boolean,default:!1}}},Ce=ke,Se=(n("59ce"),Object(h["a"])(Ce,_e,xe,!1,null,"9a297d5c",null)),je=Se.exports,Ee=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("s",[e._t("default")],2)},Oe=[],Ie={name:"StrikeThrough"},Te=Ie,Ae=(n("830f"),Object(h["a"])(Te,Ee,Oe,!1,null,"eb91ce54",null)),Be=Ae.exports,Le=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("small",[e._t("default")],2)},Ne=[],Me={name:"Small"},$e=Me,Re=(n("b0f5"),Object(h["a"])($e,Le,Ne,!1,null,"77035f61",null)),Pe=Re.exports,Ve=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Asset",{attrs:{identifier:e.identifier,"video-autoplays":!1,"video-muted":!1,showsReplayButton:!e.isClientMobile,showsVideoControls:e.isClientMobile}})},De=[],Ge=n("80e4"),ze=n("7689"),qe={name:"BlockVideo",mixins:[ze["a"]],components:{Asset:Ge["a"]},props:{identifier:{type:String,required:!0}}},Ue=qe,We=(n("1d9f"),Object(h["a"])(Ue,Ve,De,!1,null,"40d6d180",null)),He=We.exports,Fe=n("308e"),Ke=n("ee9e"),Ze=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"TabNavigator",class:[{"tabs--vertical":e.vertical}]},[n("Tabnav",e._b({model:{value:e.currentTitle,callback:function(t){e.currentTitle=t},expression:"currentTitle"}},"Tabnav",{position:e.position,vertical:e.vertical},!1),e._l(e.titles,(function(t){return n("TabnavItem",{key:t,attrs:{value:t}},[e._v(" "+e._s(t)+" ")])})),1),n("div",{staticClass:"tabs-content"},[n("div",{staticClass:"tabs-content-container"},[n("transition",{attrs:{name:"fade"}},[n("div",{key:e.currentTitle},[e._t(e.currentTitle)],2)])],1)])],1)},Ye=[],Xe={name:"TabNavigator",components:{TabnavItem:$,Tabnav:T},props:{vertical:{type:Boolean,default:!1},position:{type:String,default:"start",validator:e=>new Set(["start","center","end"]).has(e)},titles:{type:Array,required:!0,default:()=>[]}},data(){return{currentTitle:this.titles[0]}}},Je=Xe,Qe=(n("7c9f"),Object(h["a"])(Je,Ze,Ye,!1,null,"9b66ac4e",null)),et=Qe.exports,tt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ul",{staticClass:"tasklist"},e._l(e.tasks,(function(t,i){return n("li",{key:i},[e.showCheckbox(t)?n("input",{attrs:{type:"checkbox",disabled:""},domProps:{checked:t.checked}}):e._e(),e._t("task",null,{task:t})],2)})),0)},nt=[];const it="checked",rt=e=>Object.hasOwnProperty.call(e,it);var at={name:"TaskList",props:{tasks:{required:!0,type:Array,validator:e=>e.some(rt)}},methods:{showCheckbox:rt}},st=at,ot=(n("c3da"),Object(h["a"])(st,tt,nt,!1,null,"6a56a858",null)),lt=ot.exports,ct=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.isListStyle?n("div",{staticClass:"links-block"},e._l(e.items,(function(e){return n("TopicsLinkBlock",{key:e.identifier,staticClass:"topic-link-block",attrs:{topic:e}})})),1):n("TopicsLinkCardGrid",{staticClass:"links-block",attrs:{items:e.items,"topic-style":e.blockStyle}})},ut=[],dt=n("70fb"),pt=n("12b1"),ht={name:"LinksBlock",inject:["references"],components:{TopicsLinkBlock:()=>n.e("chunk-384ef189").then(n.bind(null,"2a18")),TopicsLinkCardGrid:dt["a"]},props:{identifiers:{type:Array,required:!0},blockStyle:{type:String,default:pt["a"].compactGrid}},computed:{isListStyle:({blockStyle:e})=>e===pt["a"].list,items:({identifiers:e,references:t})=>e.reduce((e,n)=>t[n]?e.concat(t[n]):e,[])}},mt=ht,ft=(n("0c95"),Object(h["a"])(mt,ct,ut,!1,null,"81ecd99a",null)),gt=ft.exports;const bt={aside:"aside",codeListing:"codeListing",endpointExample:"endpointExample",heading:"heading",orderedList:"orderedList",paragraph:"paragraph",table:"table",termList:"termList",unorderedList:"unorderedList",dictionaryExample:"dictionaryExample",small:"small",video:"video",row:"row",tabNavigator:"tabNavigator",links:"links"},vt={codeVoice:"codeVoice",emphasis:"emphasis",image:"image",inlineHead:"inlineHead",link:"link",newTerm:"newTerm",reference:"reference",strong:"strong",text:"text",superscript:"superscript",subscript:"subscript",strikethrough:"strikethrough"},yt={both:"both",column:"column",none:"none",row:"row"},wt={left:"left",right:"right",center:"center",unset:"unset"},_t=5;function xt(e,t){const n=n=>n.map(xt(e,t)),o=t=>t.map(t=>e("li",{},n(t.content))),l=(t,i,r,a,s,o,l)=>{const{colspan:c,rowspan:u}=o[`${s}_${a}`]||{};if(0===c||0===u)return null;const d=l[a]||wt.unset;let p=null;return d!==wt.unset&&(p=d+"-cell"),e(t,{attrs:{...i,colspan:c,rowspan:u},class:p},n(r))},c=(t,n=yt.none,i={},r=[])=>{switch(n){case yt.both:{const[n,...a]=t;return[e("thead",{},[e("tr",{},n.map((e,t)=>l("th",{scope:"col"},e,t,0,i,r)))]),e("tbody",{},a.map(([t,...n],a)=>e("tr",{},[l("th",{scope:"row"},t,0,a+1,i,r),...n.map((e,t)=>l("td",{},e,t+1,a+1,i,r))])))]}case yt.column:return[e("tbody",{},t.map(([t,...n],a)=>e("tr",{},[l("th",{scope:"row"},t,0,a,i,r),...n.map((e,t)=>l("td",{},e,t+1,a,i,r))])))];case yt.row:{const[n,...a]=t;return[e("thead",{},[e("tr",{},n.map((e,t)=>l("th",{scope:"col"},e,t,0,i,r)))]),e("tbody",{},a.map((t,n)=>e("tr",{},t.map((e,t)=>l("td",{},e,t,n+1,i,r)))))]}default:return[e("tbody",{},t.map((t,n)=>e("tr",{},t.map((e,t)=>l("td",{},e,t,n,i,r)))))]}},u=({metadata:{abstract:t=[],anchor:i,title:r},...a})=>{const s=[n([a])];return(r&&t.length||t.length)&&s.splice(r?0:1,0,e(pe,{props:{title:r,centered:!r}},n(t))),e(se,{props:{anchor:i}},s)};return function(l){switch(l.type){case bt.aside:{const t={kind:l.style,name:l.name};return e(i["a"],{props:t},n(l.content))}case bt.codeListing:{if(l.metadata&&l.metadata.anchor)return u(l);const t={syntax:l.syntax,fileType:l.fileType,content:l.code,showLineNumbers:l.showLineNumbers};return e(r["a"],{props:t})}case bt.endpointExample:{const t={request:l.request,response:l.response};return e(ee,{props:t},n(l.summary||[]))}case bt.heading:{const t={anchor:l.anchor,level:l.level};return e(a["a"],{props:t},l.text)}case bt.orderedList:return e("ol",{attrs:{start:l.start}},o(l.items));case bt.paragraph:{const t=1===l.inlineContent.length&&l.inlineContent[0].type===vt.image,i=t?{class:["inline-image-container"]}:{};return e("p",i,n(l.inlineContent))}case bt.table:return l.metadata&&l.metadata.anchor?u(l):e(je,{props:{spanned:!!l.extendedData}},c(l.rows,l.header,l.extendedData,l.alignments));case bt.termList:return e("dl",{},l.items.map(({term:t,definition:i})=>[e("dt",{},n(t.inlineContent)),e("dd",{},n(i.content))]));case bt.unorderedList:{const t=e=>lt.props.tasks.validator(e.items);return t(l)?e(lt,{props:{tasks:l.items},scopedSlots:{task:e=>n(e.task.content)}}):e("ul",{},o(l.items))}case bt.dictionaryExample:{const t={example:l.example};return e(y,{props:t},n(l.summary||[]))}case bt.small:return e("p",{},[e(Pe,{},n(l.inlineContent))]);case bt.video:return l.metadata&&l.metadata.abstract?u(l):t[l.identifier]?e(He,{props:{identifier:l.identifier}}):null;case bt.row:{const t=l.numberOfColumns?{large:l.numberOfColumns}:void 0;return e(Ke["a"],{props:{columns:t}},l.columns.map(t=>e(Fe["a"],{props:{span:t.size}},n(t.content))))}case bt.tabNavigator:{const t=l.tabs.length>_t,i=l.tabs.map(e=>e.title),r=l.tabs.reduce((e,t)=>({...e,[t.title]:()=>n(t.content)}),{});return e(et,{props:{titles:i,vertical:t},scopedSlots:r})}case bt.links:return e(gt,{props:{blockStyle:l.style,identifiers:l.items}});case vt.codeVoice:return e(s["a"],{},l.code);case vt.emphasis:case vt.newTerm:return e("em",n(l.inlineContent));case vt.image:{if(l.metadata&&(l.metadata.anchor||l.metadata.abstract))return u(l);const n=t[l.identifier];return n?e(ye,{props:{alt:n.alt,variants:n.variants}}):null}case vt.link:return e("a",{attrs:{href:l.destination}},l.title);case vt.reference:{const i=t[l.identifier];if(!i)return null;const r=l.overridingTitleInlineContent||i.titleInlineContent,a=l.overridingTitle||i.title;return e(we["a"],{props:{url:i.url,kind:i.kind,role:i.role,isActive:l.isActive,ideTitle:i.ideTitle,titleStyle:i.titleStyle}},r?n(r):a)}case vt.strong:case vt.inlineHead:return e("strong",n(l.inlineContent));case vt.text:return l.text;case vt.superscript:return e("sup",n(l.inlineContent));case vt.subscript:return e("sub",n(l.inlineContent));case vt.strikethrough:return e(Be,n(l.inlineContent));default:return null}}}var kt,Ct,St={name:"ContentNode",constants:{TableHeaderStyle:yt,TableColumnAlignments:wt},render:function(e){return e(this.tag,{class:"content"},this.content.map(xt(e,this.references),this))},inject:{references:{default(){return{}}}},props:{content:{type:Array,required:!0},tag:{type:String,default:()=>"div"}},methods:{map(e){function t(n=[]){return n.map(n=>{switch(n.type){case bt.aside:return e({...n,content:t(n.content)});case bt.dictionaryExample:return e({...n,summary:t(n.summary)});case bt.paragraph:case vt.emphasis:case vt.strong:case vt.inlineHead:case vt.superscript:case vt.subscript:case vt.strikethrough:case vt.newTerm:return e({...n,inlineContent:t(n.inlineContent)});case bt.orderedList:case bt.unorderedList:return e({...n,items:n.items.map(e=>({...e,content:t(e.content)}))});case bt.table:return e({...n,rows:n.rows.map(e=>e.map(t))});case bt.termList:return e({...n,items:n.items.map(e=>({...e,term:{inlineContent:t(e.term.inlineContent)},definition:{content:t(e.definition.content)}}))});default:return e(n)}})}return t(this.content)},forEach(e){function t(n=[]){n.forEach(n=>{switch(e(n),n.type){case bt.aside:t(n.content);break;case bt.paragraph:case vt.emphasis:case vt.strong:case vt.inlineHead:case vt.newTerm:case vt.superscript:case vt.subscript:case vt.strikethrough:t(n.inlineContent);break;case bt.orderedList:case bt.unorderedList:n.items.forEach(e=>t(e.content));break;case bt.dictionaryExample:t(n.summary);break;case bt.table:n.rows.forEach(e=>{e.forEach(t)});break;case bt.termList:n.items.forEach(e=>{t(e.term.inlineContent),t(e.definition.content)});break}})}return t(this.content)},reduce(e,t){let n=t;return this.forEach(t=>{n=e(n,t)}),n}},computed:{plaintext(){return this.reduce((e,t)=>t.type===bt.paragraph?e+"\n":t.type===vt.text?`${e}${t.text}`:e,"").trim()}},BlockType:bt,InlineType:vt},jt=St,Et=Object(h["a"])(jt,kt,Ct,!1,null,null,null);t["default"]=Et.exports},"598a":function(e,t,n){},"59ce":function(e,t,n){"use strict";n("c212")},"5b99":function(e,t,n){"use strict";n("605b")},"5c97":function(e,t,n){},"5da3":function(e,t,n){e.exports=n.p+"img/no-image@2x.df2a0a50.png"},"5dcc":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("h"+e.level,{tag:"component",attrs:{id:e.anchor}},[e.anchor&&!e.isTargetIDE?n("router-link",{staticClass:"header-anchor",attrs:{to:{hash:"#"+e.anchor},"aria-label":"Scroll to section"},on:{click:function(t){return e.handleFocusAndScroll(e.anchor)}}},[e._t("default"),n("LinkIcon",{staticClass:"icon",attrs:{"aria-hidden":"true"}})],2):[e._t("default")]],2)},r=[],a=n("8a61"),s=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"link-icon",attrs:{viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M19.34,4.88L15.12,.66c-.87-.87-2.3-.87-3.17,0l-3.55,3.56-1.38,1.38-1.4,1.4c-.47,.47-.68,1.09-.64,1.7,.02,.29,.09,.58,.21,.84,.11,.23,.24,.44,.43,.63l4.22,4.22h0l.53-.53,.53-.53h0l-4.22-4.22c-.29-.29-.29-.77,0-1.06l1.4-1.4,.91-.91,.58-.58,.55-.55,2.9-2.9c.29-.29,.77-.29,1.06,0l4.22,4.22c.29,.29,.29,.77,0,1.06l-2.9,2.9c.14,.24,.24,.49,.31,.75,.08,.32,.11,.64,.09,.96l3.55-3.55c.87-.87,.87-2.3,0-3.17Z"}}),n("path",{attrs:{d:"M14.41,9.82s0,0,0,0l-4.22-4.22h0l-.53,.53-.53,.53h0l4.22,4.22c.29,.29,.29,.77,0,1.06l-1.4,1.4-.91,.91-.58,.58-.55,.55h0l-2.9,2.9c-.29,.29-.77,.29-1.06,0L1.73,14.04c-.29-.29-.29-.77,0-1.06l2.9-2.9c-.14-.24-.24-.49-.31-.75-.08-.32-.11-.64-.09-.97L.68,11.93c-.87,.87-.87,2.3,0,3.17l4.22,4.22c.87,.87,2.3,.87,3.17,0l3.55-3.55,1.38-1.38,1.4-1.4c.47-.47,.68-1.09,.64-1.7-.02-.29-.09-.58-.21-.84-.11-.22-.24-.44-.43-.62Z"}})])},o=[],l=n("be08"),c={name:"LinkIcon",components:{SVGIcon:l["a"]}},u=c,d=n("2877"),p=Object(d["a"])(u,s,o,!1,null,null,null),h=p.exports,m={name:"LinkableHeading",mixins:[a["a"]],components:{LinkIcon:h},props:{anchor:{type:String,required:!1},level:{type:Number,default:()=>2,validator:e=>e>=1&&e<=6}},inject:{isTargetIDE:{default:()=>!1}}},f=m,g=(n("2368"),Object(d["a"])(f,i,r,!1,null,"635e28c1",null));t["a"]=g.exports},6058:function(e,t,n){},"605b":function(e,t,n){},"620a":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"col",class:e.classes},[e._t("default")],2)},r=[];const a=0,s=12,o=new Set(["large","medium","small"]),l=e=>({type:Object,default:()=>({}),validator:t=>Object.keys(t).every(n=>o.has(n)&&e(t[n]))}),c=l(e=>"boolean"===typeof e),u=l(e=>"number"===typeof e&&e>=a&&e<=s);var d={name:"GridColumn",props:{isCentered:c,isUnCentered:c,span:{...u,default:()=>({large:s})}},computed:{classes:function(){return{["large-"+this.span.large]:void 0!==this.span.large,["medium-"+this.span.medium]:void 0!==this.span.medium,["small-"+this.span.small]:void 0!==this.span.small,"large-centered":!!this.isCentered.large,"medium-centered":!!this.isCentered.medium,"small-centered":!!this.isCentered.small,"large-uncentered":!!this.isUnCentered.large,"medium-uncentered":!!this.isUnCentered.medium,"small-uncentered":!!this.isUnCentered.small}}}},p=d,h=(n("6e4a"),n("2877")),m=Object(h["a"])(p,i,r,!1,null,"2ee3ad8b",null);t["a"]=m.exports},"661b":function(e,t,n){},6667:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"diagonal-arrow",attrs:{viewBox:"0 0 14 14",themeId:"diagonal-arrow"}},[n("path",{attrs:{d:"M0.010 12.881l10.429-10.477-3.764 0.824-0.339-1.549 7.653-1.679-1.717 7.622-1.546-0.349 0.847-3.759-10.442 10.487z"}})])},r=[],a=n("be08"),s={name:"DiagonalArrowIcon",components:{SVGIcon:a["a"]}},o=s,l=n("2877"),c=Object(l["a"])(o,i,r,!1,null,null,null);t["a"]=c.exports},"66cd":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));const i={article:"article",codeListing:"codeListing",collection:"collection",collectionGroup:"collectionGroup",containerSymbol:"containerSymbol",devLink:"devLink",dictionarySymbol:"dictionarySymbol",generic:"generic",link:"link",media:"media",pseudoCollection:"pseudoCollection",pseudoSymbol:"pseudoSymbol",restRequestSymbol:"restRequestSymbol",sampleCode:"sampleCode",symbol:"symbol",table:"table",learn:"learn",overview:"overview",project:"project",tutorial:"tutorial",resources:"resources"}},6869:function(e,t,n){"use strict";n("9649")},"690a":function(e,t,n){},"6e4a":function(e,t,n){"use strict";n("05a1")},"70fb":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"TopicsLinkCardGrid"},[n("Row",{attrs:{columns:{large:e.compactCards?3:2,medium:2}}},e._l(e.items,(function(t){return n("Column",{key:t.title},[n("TopicsLinkCardGridItem",{attrs:{item:t,compact:e.compactCards}})],1)})),1)],1)},r=[],a=n("ee9e"),s=n("308e"),o=n("12b1"),l=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Card",{staticClass:"reference-card-grid-item",attrs:{url:e.item.url,image:e.imageReferences.card,title:e.item.title,"floating-style":"",size:e.cardSize,"link-text":e.linkText},scopedSlots:e._u([e.imageReferences.card?null:{key:"cover",fn:function(t){var i=t.classes;return[n("div",{staticClass:"reference-card-grid-item__image",class:i},[n("TopicTypeIcon",{staticClass:"reference-card-grid-item__icon",attrs:{type:e.item.role,"image-override":e.references[e.imageReferences.icon]}})],1)]}}],null,!0)},[e.compact?e._e():n("ContentNode",{attrs:{content:e.item.abstract}})],1)},c=[],u=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Reference",e._b({staticClass:"card",class:e.classes,attrs:{url:e.url}},"Reference",e.linkAriaTags,!1),[n("CardCover",{attrs:{variants:e.imageVariants,rounded:e.floatingStyle,"aria-hidden":"true"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._t("cover",null,null,t)]}}],null,!0)}),n("div",{staticClass:"details",attrs:{"aria-hidden":"true"}},[e.eyebrow?n("div",{staticClass:"eyebrow",attrs:{id:e.eyebrowId,"aria-label":e.formatAriaLabel("- "+e.eyebrow)}},[e._v(" "+e._s(e.eyebrow)+" ")]):e._e(),n("div",{staticClass:"title",attrs:{id:e.titleId}},[e._v(" "+e._s(e.title)+" ")]),e.$slots.default?n("div",{staticClass:"card-content",attrs:{id:e.contentId}},[e._t("default")],2):e._e(),e.linkText?n(e.hasButton?"ButtonLink":"div",{tag:"component",staticClass:"link"},[e._v(" "+e._s(e.linkText)+" "),e.showExternalLinks?n("DiagonalArrowIcon",{staticClass:"icon-inline link-icon"}):e.hasButton?e._e():n("InlineChevronRightIcon",{staticClass:"icon-inline link-icon"})],1):e._e()],1)],1)},d=[],p=n("76ab"),h=n("34b0"),m=n("6667"),f=n("86d8"),g={small:"small",large:"large"},b=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"card-cover-wrap",class:{rounded:e.rounded}},[e._t("default",(function(){return[n("ImageAsset",{staticClass:"card-cover",attrs:{variants:e.variants}})]}),{classes:"card-cover"})],2)},v=[],y=n("8bd9"),w={name:"CardCover",components:{ImageAsset:y["a"]},props:{variants:{type:Array,required:!0},rounded:{type:Boolean,default:!1}}},_=w,x=(n("4d50"),n("2877")),k=Object(x["a"])(_,b,v,!1,null,"74d84342",null),C=k.exports,S={name:"Card",components:{Reference:f["a"],DiagonalArrowIcon:m["a"],InlineChevronRightIcon:h["a"],CardCover:C,ButtonLink:p["a"]},constants:{CardSize:g},inject:{references:{default:()=>({})}},computed:{titleId:({_uid:e})=>"card_title_"+e,contentId:({_uid:e})=>"card_content_"+e,eyebrowId:({_uid:e})=>"card_eyebrow_"+e,linkAriaTags:({titleId:e,eyebrowId:t,contentId:n,eyebrow:i,$slots:r})=>({"aria-labelledby":e.concat(i?" "+t:""),"aria-describedby":r.default?""+n:null}),classes:({size:e,floatingStyle:t})=>[e,{"floating-style":t}],imageReference:({image:e,references:t})=>t[e]||{},imageVariants:({imageReference:e})=>e.variants||[]},props:{linkText:{type:String,required:!1},url:{type:String,required:!1,default:""},eyebrow:{type:String,required:!1},image:{type:String,required:!1},size:{type:String,validator:e=>Object.prototype.hasOwnProperty.call(g,e)},title:{type:String,required:!0},hasButton:{type:Boolean,default:()=>!1},floatingStyle:{type:Boolean,default:!1},showExternalLinks:{type:Boolean,default:!1},formatAriaLabel:{type:Function,default:e=>e}}},j=S,E=(n("5b99"),Object(x["a"])(j,u,d,!1,null,"3c69339c",null)),O=E.exports,I=n("f12c"),T=n("66cd");const A={[T["a"].article]:"Read article",[T["a"].overview]:"Start tutorial",[T["a"].collection]:"View API collection",[T["a"].symbol]:"View symbol",[T["a"].sampleCode]:"View sample code"};var B={name:"TopicsLinkCardGridItem",components:{TopicTypeIcon:I["a"],Card:O,ContentNode:()=>Promise.resolve().then(n.bind(null,"5677"))},inject:["references"],props:{item:{type:Object,required:!0},compact:{type:Boolean,default:!0}},computed:{imageReferences:({item:e})=>(e.images||[]).reduce((e,t)=>(e[t.type]=t.identifier,e),{icon:null,card:null}),linkText:({compact:e,item:t})=>e?"":A[t.role]||"Learn more",cardSize:({compact:e})=>e?void 0:g.large}},L=B,N=(n("c942"),Object(x["a"])(L,l,c,!1,null,"15b5139b",null)),M=N.exports,$={name:"TopicsLinkCardGrid",components:{TopicsLinkCardGridItem:M,Column:s["a"],Row:a["a"]},props:{items:{type:Array,required:!0},topicStyle:{type:String,default:o["a"].compactGrid,validator:e=>e===o["a"].compactGrid||e===o["a"].detailedGrid}},computed:{compactCards:({topicStyle:e})=>e===o["a"].compactGrid}},R=$,P=Object(x["a"])(R,i,r,!1,null,null,null);t["a"]=P.exports},"72e7":function(e,t,n){"use strict";const i={up:"up",down:"down"};t["a"]={constants:{IntersectionDirections:i},data(){return{intersectionObserver:null,intersectionPreviousScrollY:0,intersectionScrollDirection:i.down}},computed:{intersectionThreshold(){const e=[];for(let t=0;t<=1;t+=.01)e.push(t);return e},intersectionRoot(){return null},intersectionRootMargin(){return"0px 0px 0px 0px"},intersectionObserverOptions(){return{root:this.intersectionRoot,rootMargin:this.intersectionRootMargin,threshold:this.intersectionThreshold}}},async mounted(){await n.e("chunk-2d0d3105").then(n.t.bind(null,"5abe",7)),this.intersectionObserver=new IntersectionObserver(e=>{this.detectIntersectionScrollDirection();const t=this.onIntersect;t?e.forEach(t):console.warn("onIntersect not implemented")},this.intersectionObserverOptions),this.getIntersectionTargets().forEach(e=>{this.intersectionObserver.observe(e)})},beforeDestroy(){this.intersectionObserver&&this.intersectionObserver.disconnect()},methods:{getIntersectionTargets(){return[this.$el]},detectIntersectionScrollDirection(){window.scrollYthis.intersectionPreviousScrollY&&(this.intersectionScrollDirection=i.up),this.intersectionPreviousScrollY=window.scrollY}}}},7689:function(e,t,n){"use strict";t["a"]={computed:{isClientMobile(){let e=!1;return e="maxTouchPoints"in navigator||"msMaxTouchPoints"in navigator?Boolean(navigator.maxTouchPoints||navigator.msMaxTouchPoints):window.matchMedia?window.matchMedia("(pointer:coarse)").matches:"orientation"in window,e}}}},"76ab":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n(e.resolvedComponent,e._b({tag:"component",staticClass:"button-cta",class:{"is-dark":e.isDark}},"component",e.componentProps,!1),[e._t("default")],2)},r=[],a=n("86d8"),s={name:"ButtonLink",components:{Reference:a["a"]},props:{url:{type:String,required:!1},isDark:{type:Boolean,default:!1}},computed:{resolvedComponent:({url:e})=>e?a["a"]:"button",componentProps:({url:e})=>e?{url:e}:{}}},o=s,l=(n("0da1"),n("2877")),c=Object(l["a"])(o,i,r,!1,null,"c9c81868",null);t["a"]=c.exports},"7b1f":function(e,t,n){"use strict";var i,r,a={functional:!0,name:"WordBreak",render(e,{props:t,slots:n,data:i}){const r=n().default||[],a=r.filter(e=>e.text&&!e.tag);if(0===a.length||a.length!==r.length)return e(t.tag,i,r);const s=a.map(({text:e})=>e).join(),o=[];let l=null,c=0;while(null!==(l=t.safeBoundaryPattern.exec(s))){const t=l.index+1;o.push(s.slice(c,t)),o.push(e("wbr",{key:l.index})),c=t}return o.push(s.slice(c,s.length)),e(t.tag,i,o)},props:{safeBoundaryPattern:{type:RegExp,default:()=>/([a-z](?=[A-Z])|(:)\w|\w(?=[._]\w))/g},tag:{type:String,default:()=>"span"}}},s=a,o=n("2877"),l=Object(o["a"])(s,i,r,!1,null,null,null);t["a"]=l.exports},"7b69":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"code-listing",class:{"single-line":1===e.syntaxHighlightedLines.length},attrs:{"data-syntax":e.syntaxNameNormalized}},[e.fileName?n("Filename",{attrs:{isActionable:e.isFileNameActionable,fileType:e.fileType},on:{click:function(t){return e.$emit("file-name-click")}}},[e._v(e._s(e.fileName)+" ")]):e._e(),n("div",{staticClass:"container-general"},[n("pre",[n("code",e._l(e.syntaxHighlightedLines,(function(t,i){return n("span",{key:i,class:["code-line-container",{highlighted:e.isHighlighted(i)}]},[n("span",{directives:[{name:"show",rawName:"v-show",value:e.showLineNumbers,expression:"showLineNumbers"}],staticClass:"code-number",attrs:{"data-line-number":e.lineNumberFor(i)}}),e._v("\n"),n("span",{staticClass:"code-line",domProps:{innerHTML:e._s(t)}})])})),0)])])],1)},r=[],a=n("002d"),s=n("8649"),o=n("1020"),l=n.n(o);const c={objectivec:["objective-c"]},u={bash:["sh","zsh"],c:["h"],cpp:["cc","c++","h++","hpp","hh","hxx","cxx"],css:[],diff:["patch"],http:["https"],java:["jsp"],javascript:["js","jsx","mjs","cjs"],json:[],llvm:[],markdown:["md","mkdown","mkd"],objectivec:["mm","objc","obj-c"].concat(c.objectivec),perl:["pl","pm"],php:[],python:["py","gyp","ipython"],ruby:["rb","gemspec","podspec","thor","irb"],scss:[],shell:["console","shellsession"],swift:[],xml:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"]},d=new Set(["markdown","swift"]),p=Object.entries(u),h=new Set(Object.keys(u)),m=new Map;async function f(e){const t=[e];try{return await t.reduce(async(e,t)=>{let i;await e,i=d.has(t)?await n("1417")("./"+t):await n("2ab3")("./"+t),l.a.registerLanguage(t,i.default)},Promise.resolve()),!0}catch(i){return console.error(`Could not load ${e} file`),!1}}function g(e){if(h.has(e))return e;const t=p.find(([,t])=>t.includes(e));return t?t[0]:null}function b(e){if(m.has(e))return m.get(e);const t=g(e);return m.set(e,t),t}l.a.configure({classPrefix:"syntax-",languages:[...h]});const v=async e=>{const t=b(e);return!(!t||l.a.listLanguages().includes(t))&&f(t)},y=/\r\n|\r|\n/g,w=/syntax-/;function _(e){return 0===e.length?[]:e.split(y)}function x(e){return(e.trim().match(y)||[]).length}function k(e){const t=document.createElement("template");return t.innerHTML=e,t.content.childNodes}function C(e){const{className:t}=e;if(!w.test(t))return null;const n=_(e.innerHTML).reduce((e,n)=>`${e}${n||"\n\n"}\n`,"");return k(n.trim())}function S(e){return Array.from(e.childNodes).forEach(e=>{if(x(e.textContent))try{const t=e.childNodes.length?S(e):C(e);t&&e.replaceWith(...t)}catch(t){console.error(t)}}),C(e)}function j(e,t){const n=g(t);if(!l.a.getLanguage(n))throw new Error("Unsupported language for syntax highlighting: "+t);return l.a.highlight(e,{language:n,ignoreIllegals:!0}).value}function E(e,t){const n=e.join("\n"),i=j(n,t),r=document.createElement("code");return r.innerHTML=i,S(r),_(r.innerHTML)}var O=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{staticClass:"filename"},[e.isActionable?n("a",{attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.$emit("click")}}},[n("FileIcon",{attrs:{fileType:e.fileType}}),e._t("default")],2):n("span",[n("FileIcon",{attrs:{fileType:e.fileType}}),e._t("default")],2)])},I=[],T=function(){var e=this,t=e.$createElement,n=e._self._c||t;return"swift"===e.fileType?n("SwiftFileIcon",{staticClass:"file-icon"}):n("GenericFileIcon",{staticClass:"file-icon"})},A=[],B=n("a88f"),L=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"generic-file-icon",attrs:{viewBox:"0 0 14 14",themeId:"generic-file"}},[n("path",{attrs:{d:"M8.033 1l3.967 4.015v7.985h-10v-12zM7.615 2h-4.615v10h8v-6.574z"}}),n("path",{attrs:{d:"M7 1h1v4h-1z"}}),n("path",{attrs:{d:"M7 5h5v1h-5z"}})])},N=[],M=n("be08"),$={name:"GenericFileIcon",components:{SVGIcon:M["a"]}},R=$,P=n("2877"),V=Object(P["a"])(R,L,N,!1,null,null,null),D=V.exports,G={name:"CodeListingFileIcon",components:{SwiftFileIcon:B["a"],GenericFileIcon:D},props:{fileType:String}},z=G,q=(n("e6db"),Object(P["a"])(z,T,A,!1,null,"7c381064",null)),U=q.exports,W={name:"CodeListingFilename",components:{FileIcon:U},props:{isActionable:{type:Boolean,default:()=>!1},fileType:String}},H=W,F=(n("8608"),Object(P["a"])(H,O,I,!1,null,"c8c40662",null)),K=F.exports,Z={name:"CodeListing",components:{Filename:K},data(){return{syntaxHighlightedLines:[]}},props:{fileName:String,isFileNameActionable:{type:Boolean,default:()=>!1},syntax:String,fileType:String,content:{type:Array,required:!0},startLineNumber:{type:Number,default:()=>1},highlights:{type:Array,default:()=>[]},showLineNumbers:{type:Boolean,default:()=>!1}},computed:{escapedContent:({content:e})=>e.map(a["c"]),highlightedLineNumbers(){return new Set(this.highlights.map(({line:e})=>e))},syntaxNameNormalized(){const e={occ:s["a"].objectiveC.key.url};return e[this.syntax]||this.syntax}},watch:{content:{handler:"syntaxHighlightLines",immediate:!0}},methods:{isHighlighted(e){return this.highlightedLineNumbers.has(this.lineNumberFor(e))},lineNumberFor(e){return this.startLineNumber+e},async syntaxHighlightLines(){let e;try{await v(this.syntaxNameNormalized),e=E(this.content,this.syntaxNameNormalized)}catch(t){e=this.escapedContent}this.syntaxHighlightedLines=e.map(e=>""===e?"\n":e)}}},Y=Z,X=(n("c15f"),Object(P["a"])(Y,i,r,!1,null,"12727242",null));t["a"]=X.exports},"7c9f":function(e,t,n){"use strict";n("20ea")},"80c2":function(e,t,n){},"80c8":function(e,t,n){},"80e4":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"asset"},[n(e.assetComponent,e._g(e._b({tag:"component"},"component",e.assetProps,!1),e.assetListeners))],1)},r=[],a=n("8bd9"),s=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("video",{attrs:{controls:e.showsControls,autoplay:e.autoplays,poster:e.normalisedPosterPath,width:e.optimalWidth,playsinline:""},domProps:{muted:e.muted},on:{playing:function(t){return e.$emit("playing")},pause:function(t){return e.$emit("pause")},ended:function(t){return e.$emit("ended")}}},[n("source",{attrs:{src:e.normalizeAssetUrl(e.videoAttributes.url)}})])},o=[],l=n("748c"),c=n("e425"),u=n("821b"),d={name:"VideoAsset",props:{variants:{type:Array,required:!0},showsControls:{type:Boolean,default:()=>!0},autoplays:{type:Boolean,default:()=>!0},posterVariants:{type:Array,required:!1,default:()=>[]},muted:{type:Boolean,default:!0}},data:()=>({appState:c["a"].state,optimalWidth:null}),computed:{preferredColorScheme:({appState:e})=>e.preferredColorScheme,systemColorScheme:({appState:e})=>e.systemColorScheme,userPrefersDark:({preferredColorScheme:e,systemColorScheme:t})=>e===u["a"].dark.value||e===u["a"].auto.value&&t===u["a"].dark.value,shouldShowDarkVariant:({darkVideoVariantAttributes:e,userPrefersDark:t})=>e&&t,defaultVideoAttributes(){return this.videoVariantsGroupedByAppearance.light[0]||this.darkVideoVariantAttributes||{}},darkVideoVariantAttributes(){return this.videoVariantsGroupedByAppearance.dark[0]},videoVariantsGroupedByAppearance(){return Object(l["e"])(this.variants)},posterVariantsGroupedByAppearance(){const{light:e,dark:t}=Object(l["e"])(this.posterVariants);return{light:Object(l["a"])(e),dark:Object(l["a"])(t)}},defaultPosterAttributes:({posterVariantsGroupedByAppearance:e,userPrefersDark:t})=>t&&e.dark.length?e.dark[0]:e.light[0]||{},normalisedPosterPath:({defaultPosterAttributes:e})=>Object(l["c"])(e.src),videoAttributes:({darkVideoVariantAttributes:e,defaultVideoAttributes:t,shouldShowDarkVariant:n})=>n?e:t},watch:{normalisedPosterPath:{immediate:!0,handler:"getPosterDimensions"}},methods:{normalizeAssetUrl:l["c"],async getPosterDimensions(e){if(!e)return void(this.optimalWidth=null);const{density:t}=this.defaultPosterAttributes,n=parseInt(t.match(/\d+/)[0],10),{width:i}=await Object(l["b"])(e);this.optimalWidth=i/n}}},p=d,h=n("2877"),m=Object(h["a"])(p,s,o,!1,null,null,null),f=m.exports,g=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"video-replay-container"},[n("VideoAsset",{ref:"asset",attrs:{variants:e.variants,autoplays:e.autoplays,showsControls:e.showsControls,muted:e.muted,posterVariants:e.posterVariants},on:{pause:e.onPause,playing:e.onVideoPlaying,ended:e.onVideoEnd}}),n("a",{staticClass:"replay-button",class:{visible:this.showsReplayButton},attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.replay.apply(null,arguments)}}},[e._v(" "+e._s(e.text)+" "),e.played?n("InlineReplayIcon",{staticClass:"replay-icon icon-inline"}):n("PlayIcon",{staticClass:"replay-icon icon-inline"})],1)],1)},b=[],v=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"inline-replay-icon",attrs:{viewBox:"0 0 14 14",themeId:"inline-replay"}},[n("path",{attrs:{d:"M2.254 10.201c-1.633-2.613-0.838-6.056 1.775-7.689 2.551-1.594 5.892-0.875 7.569 1.592l0.12 0.184-0.848 0.53c-1.34-2.145-4.166-2.797-6.311-1.457s-2.797 4.166-1.457 6.311 4.166 2.797 6.311 1.457c1.006-0.629 1.71-1.603 2.003-2.723l0.056-0.242 0.98 0.201c-0.305 1.487-1.197 2.792-2.51 3.612-2.613 1.633-6.056 0.838-7.689-1.775z"}}),n("path",{attrs:{d:"M10.76 1.355l0.984-0.18 0.851 4.651-4.56-1.196 0.254-0.967 3.040 0.796z"}})])},y=[],w=n("be08"),_={name:"InlineReplayIcon",components:{SVGIcon:w["a"]}},x=_,k=Object(h["a"])(x,v,y,!1,null,null,null),C=k.exports,S=n("c4dd"),j={name:"ReplayableVideoAsset",components:{PlayIcon:S["a"],InlineReplayIcon:C,VideoAsset:f},props:{variants:{type:Array,required:!0},showsControls:{type:Boolean,default:()=>!0},autoplays:{type:Boolean,default:()=>!0},muted:{type:Boolean,default:!0},posterVariants:{type:Array,default:()=>[]}},computed:{text:({played:e})=>e?"Replay":"Play"},data(){return{showsReplayButton:!(this.autoplays&&this.muted),played:!1}},methods:{async replay(){const e=this.$refs.asset.$el;e&&(await e.play(),this.showsReplayButton=!1)},onVideoEnd(){this.showsReplayButton=!0,this.played=!0},onVideoPlaying(){this.showsReplayButton=!1},onPause(){this.showsControls||this.showsReplayButton||(this.showsReplayButton=!0)}}},E=j,O=(n("018a"),Object(h["a"])(E,g,b,!1,null,"5ff7ec6e",null)),I=O.exports;const T={video:"video",image:"image"};var A={name:"Asset",components:{ImageAsset:a["a"],VideoAsset:f},constants:{AssetTypes:T},inject:["references"],props:{identifier:{type:String,required:!0},showsReplayButton:{type:Boolean,default:()=>!1},showsVideoControls:{type:Boolean,default:()=>!0},videoAutoplays:{type:Boolean,default:()=>!0},videoMuted:{type:Boolean,default:!0}},computed:{rawAsset(){return this.references[this.identifier]||{}},isRawAssetVideo:({rawAsset:e})=>e.type===T.video,videoPoster(){return this.isRawAssetVideo&&this.references[this.rawAsset.poster]},asset(){return this.isRawAssetVideo&&this.prefersReducedMotion&&this.videoPoster||this.rawAsset},assetComponent(){switch(this.asset.type){case T.image:return a["a"];case T.video:return this.showsReplayButton?I:f;default:return}},prefersReducedMotion(){return window.matchMedia("(prefers-reduced-motion)").matches},assetProps(){return{[T.image]:this.imageProps,[T.video]:this.videoProps}[this.asset.type]},imageProps(){return{alt:this.asset.alt,variants:this.asset.variants}},videoProps(){return{variants:this.asset.variants,showsControls:this.showsVideoControls,muted:this.videoMuted,autoplays:!this.prefersReducedMotion&&this.videoAutoplays,posterVariants:this.videoPoster?this.videoPoster.variants:[]}},assetListeners(){return{[T.image]:null,[T.video]:{ended:()=>this.$emit("videoEnded")}}[this.asset.type]}}},B=A,L=(n("d9a3"),Object(h["a"])(B,i,r,!1,null,"72c01652",null));t["a"]=L.exports},8222:function(e,t,n){},"830f":function(e,t,n){"use strict";n("30b0")},"83b9":function(e,t,n){"use strict";n("50fa")},8608:function(e,t,n){"use strict";n("a7f3")},"863d":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{staticClass:"nav-menu-item",class:{"nav-menu-item--animated":e.animate}},[e._t("default")],2)},r=[],a={name:"NavMenuItemBase",props:{animate:{type:Boolean,default:!0}}},s=a,o=(n("43fe"),n("2877")),l=Object(o["a"])(s,i,r,!1,null,"66cbfe4c",null);t["a"]=l.exports},8649:function(e,t,n){"use strict";t["a"]={objectiveC:{name:"Objective-C",key:{api:"occ",url:"objc"}},swift:{name:"Swift",key:{api:"swift",url:"swift"}}}},"86d8":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n(e.refComponent,{tag:"component",attrs:{url:e.urlWithParams,"is-active":e.isActiveComputed}},[e._t("default")],2)},r=[],a=n("d26a"),s=n("66cd"),o=n("9895"),l=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.isActive?n("a",{attrs:{href:e.url}},[e._t("default")],2):n("span",[e._t("default")],2)},c=[],u={name:"ReferenceExternal",props:{url:{type:String,required:!0},isActive:{type:Boolean,default:!0}}},d=u,p=n("2877"),h=Object(p["a"])(d,l,c,!1,null,null,null),m=h.exports,f=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ReferenceInternal",e._b({},"ReferenceInternal",e.$props,!1),[n("CodeVoice",[e._t("default")],2)],1)},g=[],b=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.isActive?n("router-link",{attrs:{to:e.url}},[e._t("default")],2):n("span",[e._t("default")],2)},v=[],y={name:"ReferenceInternal",props:{url:{type:String,required:!0},isActive:{type:Boolean,default:!0}}},w=y,_=Object(p["a"])(w,b,v,!1,null,null,null),x=_.exports,k=n("52e4"),C={name:"ReferenceInternalSymbol",props:x.props,components:{ReferenceInternal:x,CodeVoice:k["a"]}},S=C,j=Object(p["a"])(S,f,g,!1,null,null,null),E=j.exports,O={name:"Reference",computed:{isInternal({url:e}){if(!e.startsWith("/")&&!e.startsWith("#"))return!1;const{resolved:{name:t}={}}=this.$router.resolve(e)||{};return t!==o["b"]},isSymbolReference(){return"symbol"===this.kind&&(this.role===s["a"].symbol||this.role===s["a"].dictionarySymbol)},isDisplaySymbol({isSymbolReference:e,titleStyle:t,ideTitle:n}){return n?e&&"symbol"===t:e},refComponent(){return this.isInternal?this.isDisplaySymbol?E:x:m},urlWithParams({isInternal:e}){return e?Object(a["b"])(this.url,this.$route.query):this.url},isActiveComputed({url:e,isActive:t}){return!(!e||!t)}},props:{url:{type:String,required:!0},kind:{type:String,required:!1},role:{type:String,required:!1},isActive:{type:Boolean,required:!1,default:!0},ideTitle:{type:String,required:!1},titleStyle:{type:String,required:!1}}},I=O,T=Object(p["a"])(I,i,r,!1,null,null,null);t["a"]=T.exports},"8a61":function(e,t,n){"use strict";var i=n("3908");t["a"]={methods:{async scrollToElement(e){await Object(i["b"])(8);const t=this.$router.resolve({hash:e}),{selector:n,offset:r}=await this.$router.options.scrollBehavior(t.route),a=document.querySelector(n);return a?(a.scrollIntoView(),window.scrollY+window.innerHeight`${Object(a["c"])(e.src)} ${e.density}`).join(", "),n=e[0],i={srcSet:t,src:Object(a["c"])(n.src)},{width:r}=n.size||{width:null};return r&&(i.width=r,i.height="auto"),i}var h={name:"ImageAsset",mixins:[s],data:()=>({appState:o["a"].state,fallbackImageSrcSet:null,optimalWidth:null}),computed:{allVariants:({lightVariants:e=[],darkVariants:t=[]})=>e.concat(t),defaultAttributes:({lightVariantAttributes:e,darkVariantAttributes:t})=>e||t,darkVariantAttributes:({darkVariants:e})=>p(e),lightVariantAttributes:({lightVariants:e})=>p(e),loading:({appState:e})=>e.imageLoadingStrategy,preferredColorScheme:({appState:e})=>e.preferredColorScheme,prefersAuto:({preferredColorScheme:e})=>e===l["a"].auto.value,prefersDark:({preferredColorScheme:e})=>e===l["a"].dark.value},props:{alt:{type:String,default:""},variants:{type:Array,required:!0},shouldCalculateOptimalWidth:{type:Boolean,default:!0}},methods:{handleImageLoadError(){this.fallbackImageSrcSet=u.a+" 2x"},async calculateOptimalWidth(){const{$refs:{img:{currentSrc:e}},allVariants:t}=this,{density:n}=t.find(({src:t})=>e.endsWith(t)),i=parseInt(n.match(/\d+/)[0],d),r=await Object(a["b"])(e),s=r.width/i;return s},async optimizeImageSize(){if(!this.defaultAttributes.width&&this.$refs.img)try{this.optimalWidth=await this.calculateOptimalWidth()}catch{console.error("Unable to calculate optimal image width")}}},mounted(){this.shouldCalculateOptimalWidth&&this.$refs.img.addEventListener("load",this.optimizeImageSize)}},m=h,f=n("2877"),g=Object(f["a"])(m,i,r,!1,null,null,null);t["a"]=g.exports},"8c92":function(e,t,n){"use strict";n("80c8")},"8d2d":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"tutorial-icon",attrs:{viewBox:"0 0 14 14",themeId:"tutorial"}},[n("path",{attrs:{d:"M0.933 6.067h3.733v1.867h-3.733v-1.867z"}}),n("path",{attrs:{d:"M0.933 1.867h3.733v1.867h-3.733v-1.867z"}}),n("path",{attrs:{d:"M13.067 1.867v10.267h-7.467v-10.267zM12.133 2.8h-5.6v8.4h5.6z"}}),n("path",{attrs:{d:"M0.933 10.267h3.733v1.867h-3.733v-1.867z"}})])},r=[],a=n("be08"),s={name:"TutorialIcon",components:{SVGIcon:a["a"]}},o=s,l=n("2877"),c=Object(l["a"])(o,i,r,!1,null,null,null);t["a"]=c.exports},"92fe":function(e,t,n){},"95da":function(e,t,n){"use strict";var i=n("0cb0");const r="data-original-",a="aria-hidden",s="tabindex";function o(e,t){const n=r+t;if(e.getAttribute(n))return;const i=e.getAttribute(t)||"";e.setAttribute(n,i)}function l(e,t){const n=r+t;if(!e.hasAttribute(n))return;const i=e.getAttribute(n);e.removeAttribute(n),i.length?e.setAttribute(t,i):e.removeAttribute(t)}function c(e,t){const n=document.body;let i=e,r=e;while(i=i.previousElementSibling)t(i);while(r=r.nextElementSibling)t(r);e.parentElement&&e.parentElement!==n&&c(e.parentElement,t)}const u=e=>{o(e,a),o(e,s),e.setAttribute(a,"true"),e.setAttribute(s,"-1");const t=i["a"].getTabbableElements(e);let n=t.length-1;while(n>=0)o(t[n],s),t[n].setAttribute(s,"-1"),n-=1},d=e=>{l(e,a),l(e,s);const t=e.querySelectorAll(`[${r+s}]`);let n=t.length-1;while(n>=0)l(t[n],s),n-=1};t["a"]={hide(e){c(e,u)},show(e){c(e,d)}}},9649:function(e,t,n){},"97a4":function(e,t,n){},9975:function(e,t,n){"use strict";n("287e")},"9a2b":function(e,t,n){"use strict";n("dce7")},"9b30":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ul",{staticClass:"nav-menu-items",attrs:{"data-previous-menu-children-count":e.previousSiblingChildren}},[e._t("default")],2)},r=[],a={name:"NavMenuItems",props:{previousSiblingChildren:{type:Number,default:0}}},s=a,o=(n("517a"),n("2877")),l=Object(o["a"])(s,i,r,!1,null,"67c1c0a5",null);t["a"]=l.exports},a295:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{attrs:{viewBox:"0 0 14 14",themeId:"path"}},[n("path",{attrs:{d:"M0 0.948h2.8v2.8h-2.8z"}}),n("path",{attrs:{d:"M11.2 10.252h2.8v2.8h-2.8z"}}),n("path",{attrs:{d:"M6.533 1.852h0.933v10.267h-0.933z"}}),n("path",{attrs:{d:"M2.8 1.852h4.667v0.933h-4.667z"}}),n("path",{attrs:{d:"M6.533 11.186h4.667v0.933h-4.667z"}})])},r=[],a=n("be08"),s={name:"PathIcon",components:{SVGIcon:a["a"]}},o=s,l=n("2877"),c=Object(l["a"])(o,i,r,!1,null,null,null);t["a"]=c.exports},a7d8:function(e,t,n){},a7f3:function(e,t,n){},a88f:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"swift-file-icon",attrs:{viewBox:"0 0 15 14",themeId:"swift-file"}},[n("path",{attrs:{d:"M14.93,13.56A2.15,2.15,0,0,0,15,13a5.37,5.37,0,0,0-1.27-3.24A6.08,6.08,0,0,0,14,7.91,9.32,9.32,0,0,0,9.21.31a8.51,8.51,0,0,1,1.78,5,6.4,6.4,0,0,1-.41,2.18A45.06,45.06,0,0,1,3.25,1.54,44.57,44.57,0,0,0,7.54,6.9,45.32,45.32,0,0,1,1.47,2.32,35.69,35.69,0,0,0,8.56,9.94a6.06,6.06,0,0,1-3.26.85A9.48,9.48,0,0,1,0,8.91a10,10,0,0,0,8.1,4.72c2.55,0,3.25-1.2,4.72-1.2a2.09,2.09,0,0,1,1.91,1.15C14.79,13.69,14.88,13.75,14.93,13.56Z"}})])},r=[],a=n("be08"),s={name:"SwiftFileIcon",components:{SVGIcon:a["a"]}},o=s,l=(n("c3e5"),n("2877")),c=Object(l["a"])(o,i,r,!1,null,"c01a6890",null);t["a"]=c.exports},a97e:function(e,t,n){"use strict";var i=n("63b8");const r=e=>e?`(max-width: ${e}px)`:"",a=e=>e?`(min-width: ${e}px)`:"";function s({minWidth:e,maxWidth:t}){return["only screen",a(e),r(t)].filter(Boolean).join(" and ")}function o({maxWidth:e,minWidth:t}){return window.matchMedia(s({minWidth:t,maxWidth:e}))}var l,c,u={name:"BreakpointEmitter",constants:{BreakpointAttributes:i["a"],BreakpointName:i["b"],BreakpointScopes:i["c"]},props:{scope:{type:String,default:()=>i["c"].default,validator:e=>e in i["c"]}},render(){return this.$scopedSlots.default?this.$scopedSlots.default({matchingBreakpoint:this.matchingBreakpoint}):null},data:()=>({matchingBreakpoint:null}),methods:{initMediaQuery(e,t){const n=o(t),i=t=>this.handleMediaQueryChange(t,e);n.addListener(i),this.$once("hook:beforeDestroy",()=>{n.removeListener(i)}),i(n)},handleMediaQueryChange(e,t){e.matches&&(this.matchingBreakpoint=t,this.$emit("change",t))}},mounted(){const e=i["a"][this.scope]||{};Object.entries(e).forEach(([e,t])=>{this.initMediaQuery(e,t)})}},d=u,p=n("2877"),h=Object(p["a"])(d,l,c,!1,null,null,null);t["a"]=h.exports},a9f1:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"article-icon",attrs:{viewBox:"0 0 14 14",themeId:"article"}},[n("path",{attrs:{d:"M8.033 1l3.967 4.015v7.985h-10v-12zM7.615 2h-4.615v10h8v-6.574z"}}),n("path",{attrs:{d:"M7 1h1v4h-1z"}}),n("path",{attrs:{d:"M7 5h5v1h-5z"}})])},r=[],a=n("be08"),s={name:"ArticleIcon",components:{SVGIcon:a["a"]}},o=s,l=n("2877"),c=Object(l["a"])(o,i,r,!1,null,null,null);t["a"]=c.exports},aea0:function(e,t,n){},b0f5:function(e,t,n){"use strict";n("49e3")},b37f:function(e,t,n){"use strict";n("97a4")},b392:function(e,t,n){},be08:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{staticClass:"svg-icon",attrs:{"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[e.themeOverrideURL?n("use",{attrs:{href:e.themeOverrideURL+"#"+e.themeId,width:"100%",height:"100%"}}):e._t("default")],2)},r=[],a=n("6842"),s={name:"SVGIcon",props:{themeId:{type:String,required:!1},iconUrl:{type:String,default:null}},computed:{themeOverrideURL:({iconUrl:e,themeId:t})=>e||Object(a["c"])(["theme","icons",t],void 0)}},o=s,l=(n("c2c4"),n("2877")),c=Object(l["a"])(o,i,r,!1,null,"33d3200a",null);t["a"]=c.exports},bf08:function(e,t,n){"use strict";var i=n("6842"),r=n("d26a");const a=Object(i["c"])(["meta","title"],"Documentation"),s=({title:e,description:t,url:n})=>[{name:"description",content:t},{property:"og:locale",content:"en_US"},{property:"og:site_name",content:a},{property:"og:type",content:"website"},{property:"og:title",content:e},{property:"og:description",content:t},{property:"og:url",content:n},{property:"og:image",content:Object(r["d"])("/developer-og.jpg")},{name:"twitter:image",content:Object(r["d"])("/developer-og-twitter.jpg")},{name:"twitter:card",content:"summary_large_image"},{name:"twitter:description",content:t},{name:"twitter:title",content:e},{name:"twitter:url",content:n}],o=e=>[e,a].filter(Boolean).join(" | "),l=e=>{const{content:t}=e,n=e.property?"property":"name",i=e[n],r=document.querySelector(`meta[${n}="${i}"]`);if(r&&t)r.setAttribute("content",t);else if(r&&!t)r.remove();else if(t){const t=document.createElement("meta");t.setAttribute(n,e[n]),t.setAttribute("content",e.content),document.getElementsByTagName("head")[0].appendChild(t)}},c=e=>{document.title=e};function u({title:e,description:t,url:n}){const i=o(e);c(i),s({title:i,description:t,url:n}).forEach(e=>l(e))}var d=n("002d"),p=n("5677");t["a"]={methods:{extractFirstParagraphText(e=[]){const t=p["default"].computed.plaintext.bind({...p["default"].methods,content:e})();return Object(d["e"])(t)}},computed:{pagePath:({$route:{path:e="/"}={}})=>e,pageURL:({pagePath:e="/"})=>Object(r["d"])(e)},mounted(){u({title:this.pageTitle,description:this.pageDescription,url:this.pageURL})}}},c081:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.action?n("DestinationDataProvider",{attrs:{destination:e.action},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.url,r=t.title;return n("ButtonLink",{attrs:{url:i,isDark:e.isDark}},[e._v(" "+e._s(r)+" ")])}}],null,!1,1264376715)}):e._e()},r=[],a=n("76ab"),s=n("c7ea"),o={name:"CallToActionButton",components:{DestinationDataProvider:s["a"],ButtonLink:a["a"]},props:{action:{type:Object,required:!0},isDark:{type:Boolean,default:!1}}},l=o,c=n("2877"),u=Object(c["a"])(l,i,r,!1,null,null,null);t["a"]=u.exports},c15f:function(e,t,n){"use strict";n("e67f")},c212:function(e,t,n){},c2c4:function(e,t,n){"use strict";n("161e")},c3da:function(e,t,n){"use strict";n("fda2")},c3e5:function(e,t,n){"use strict";n("aea0")},c4dd:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"play-icon",attrs:{viewBox:"0 0 14 14",themeId:"play"}},[n("path",{attrs:{d:"M7 0.5c3.59 0 6.5 2.91 6.5 6.5s-2.91 6.5-6.5 6.5c-3.59 0-6.5-2.91-6.5-6.5v0c0-3.59 2.91-6.5 6.5-6.5v0zM7 1.5c-3.038 0-5.5 2.462-5.5 5.5s2.462 5.5 5.5 5.5c3.038 0 5.5-2.462 5.5-5.5v0c0-3.038-2.462-5.5-5.5-5.5v0z"}}),n("path",{attrs:{d:"M10.195 7.010l-5 3v-6l5 3z"}})])},r=[],a=n("be08"),s={name:"PlayIcon",components:{SVGIcon:a["a"]}},o=s,l=n("2877"),c=Object(l["a"])(o,i,r,!1,null,null,null);t["a"]=c.exports},c7ea:function(e,t,n){"use strict";const i={link:"link",reference:"reference",text:"text"};var r,a,s={name:"DestinationDataProvider",props:{destination:{type:Object,required:!0,default:()=>({})}},inject:{references:{default:()=>({})},isTargetIDE:{default:()=>!1}},constants:{DestinationType:i},computed:{isExternal:({reference:e,destination:t})=>e.type===i.link||t.type===i.link,shouldAppendOpensInBrowser:({isExternal:e,isTargetIDE:t})=>e&&t,reference:({references:e,destination:t})=>e[t.identifier]||{},linkUrl:({destination:e,reference:t})=>({[i.link]:e.destination,[i.reference]:t.url,[i.text]:e.text}[e.type]),linkTitle:({reference:e,destination:t})=>({[i.link]:t.title,[i.reference]:t.overridingTitle||e.title,[i.text]:""}[t.type])},methods:{formatAriaLabel(e){return this.shouldAppendOpensInBrowser?e+" (opens in browser)":e}},render(){return this.$scopedSlots.default({url:this.linkUrl||"",title:this.linkTitle||"",formatAriaLabel:this.formatAriaLabel,isExternal:this.isExternal})}},o=s,l=n("2877"),c=Object(l["a"])(o,r,a,!1,null,null,null);t["a"]=c.exports},c942:function(e,t,n){"use strict";n("80c2")},cb92:function(e,t,n){"use strict";n("598a")},cbcf:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("nav",{ref:"nav",staticClass:"nav",class:e.rootClasses,attrs:{role:"navigation"}},[n("div",{ref:"wrapper",staticClass:"nav__wrapper"},[n("div",{staticClass:"nav__background"}),e.hasOverlay?n("div",{staticClass:"nav-overlay",on:{click:e.closeNav}}):e._e(),n("div",{staticClass:"nav-content"},[e._t("pre-title",null,{className:"pre-title"},{closeNav:e.closeNav,inBreakpoint:e.inBreakpoint,currentBreakpoint:e.currentBreakpoint,isOpen:e.isOpen}),e.$slots.default?n("div",{staticClass:"nav-title"},[e._t("default")],2):e._e(),e._t("after-title"),n("div",{staticClass:"nav-menu"},[n("a",{ref:"axToggle",staticClass:"nav-ax-toggle",attrs:{href:"#",role:"button"},on:{click:function(t){return t.preventDefault(),e.toggleNav.apply(null,arguments)}}},[n("span",{staticClass:"visuallyhidden"},[e.isOpen?[e._v("Close Menu")]:[e._v("Open Menu")]],2)]),n("div",{ref:"tray",staticClass:"nav-menu-tray",on:{transitionend:function(t){return t.target!==t.currentTarget?null:e.onTransitionEnd.apply(null,arguments)},click:e.handleTrayClick}},[e._t("tray",(function(){return[n("NavMenuItems",[e._t("menu-items")],2)]}),{closeNav:e.closeNav})],2)]),n("div",{staticClass:"nav-actions"},[n("a",{ref:"toggle",staticClass:"nav-menucta",attrs:{href:"#",tabindex:"-1","aria-hidden":"true"},on:{click:function(t){return t.preventDefault(),e.toggleNav.apply(null,arguments)}}},[n("span",{staticClass:"nav-menucta-chevron"})])])],2),e._t("after-content")],2),n("BreakpointEmitter",{attrs:{scope:e.BreakpointScopes.nav},on:{change:e.onBreakpointChange}})],1)},r=[],a=n("72e7"),s=n("9b30"),o=n("a97e"),l=n("f2af"),c=n("942d"),u=n("63b8"),d=n("95da"),p=n("3908");const{noClose:h}=c["a"],{BreakpointName:m,BreakpointScopes:f}=o["a"].constants,g=8,b={isDark:"theme-dark",isOpen:"nav--is-open",inBreakpoint:"nav--in-breakpoint-range",isTransitioning:"nav--is-transitioning",isSticking:"nav--is-sticking",hasSolidBackground:"nav--solid-background",hasNoBorder:"nav--noborder",hasFullWidthBorder:"nav--fullwidth-border",isWideFormat:"nav--is-wide-format",noBackgroundTransition:"nav--no-bg-transition"};var v={name:"NavBase",components:{NavMenuItems:s["a"],BreakpointEmitter:o["a"]},constants:{NavStateClasses:b,NoBGTransitionFrames:g},props:{breakpoint:{type:String,default:m.small},hasOverlay:{type:Boolean,default:!0},hasSolidBackground:{type:Boolean,default:!1},hasNoBorder:{type:Boolean,default:!1},hasFullWidthBorder:{type:Boolean,default:!1},isDark:{type:Boolean,default:!1},isWideFormat:{type:Boolean,default:!1}},mixins:[a["a"]],data(){return{isOpen:!1,isTransitioning:!1,isSticking:!1,noBackgroundTransition:!0,currentBreakpoint:m.large}},computed:{BreakpointScopes:()=>f,inBreakpoint:({currentBreakpoint:e,breakpoint:t})=>!Object(u["d"])(e,t),rootClasses:({isOpen:e,inBreakpoint:t,isTransitioning:n,isSticking:i,hasSolidBackground:r,hasNoBorder:a,hasFullWidthBorder:s,isDark:o,isWideFormat:l,noBackgroundTransition:c})=>({[b.isDark]:o,[b.isOpen]:e,[b.inBreakpoint]:t,[b.isTransitioning]:n,[b.isSticking]:i,[b.hasSolidBackground]:r,[b.hasNoBorder]:a,[b.hasFullWidthBorder]:s,[b.isWideFormat]:l,[b.noBackgroundTransition]:c})},watch:{isOpen(e){this.$emit("change",e),e?this.onExpand():this.onClose()}},async mounted(){window.addEventListener("keydown",this.onEscape),window.addEventListener("popstate",this.closeNav),window.addEventListener("orientationchange",this.closeNav),document.addEventListener("click",this.handleClickOutside),this.handleFlashOnMount(),await this.$nextTick()},beforeDestroy(){window.removeEventListener("keydown",this.onEscape),window.removeEventListener("popstate",this.closeNav),window.removeEventListener("orientationchange",this.closeNav),document.removeEventListener("click",this.handleClickOutside),this.isOpen&&this.toggleScrollLock(!1)},methods:{getIntersectionTargets(){return[document.getElementById(c["e"])||this.$el]},toggleNav(){this.isOpen=!this.isOpen,this.isTransitioning=!0},closeNav(){const e=this.isOpen;return this.isOpen=!1,this.resolveOnceTransitionsEnd(e)},resolveOnceTransitionsEnd(e){return e&&this.inBreakpoint?(this.isTransitioning=!0,new Promise(e=>{const t=this.$watch("isTransitioning",()=>{e(),t()})})):Promise.resolve()},async onTransitionEnd({propertyName:e}){"max-height"===e&&(this.$emit("changed",this.isOpen),this.isTransitioning=!1,this.isOpen?(this.$emit("opened"),this.toggleScrollLock(!0)):this.$emit("closed"))},onBreakpointChange(e){this.currentBreakpoint=e,this.inBreakpoint||this.closeNav()},onIntersect({intersectionRatio:e}){window.scrollY<0||(this.isSticking=1!==e)},onEscape({key:e}){"Escape"===e&&this.isOpen&&(this.closeNav(),this.$refs.axToggle.focus())},handleTrayClick({target:e}){e.href&&!e.classList.contains(h)&&this.closeNav()},handleClickOutside({target:e}){this.$refs.nav.contains(e)||this.closeNav()},toggleScrollLock(e){e?l["a"].lockScroll(this.$refs.tray):l["a"].unlockScroll(this.$refs.tray)},onExpand(){this.$emit("open"),d["a"].hide(this.$refs.wrapper),document.activeElement===this.$refs.toggle&&document.activeElement.blur()},onClose(){this.$emit("close"),this.toggleScrollLock(!1),d["a"].show(this.$refs.wrapper)},async handleFlashOnMount(){await Object(p["b"])(g),this.noBackgroundTransition=!1}}},y=v,w=(n("83b9"),n("2877")),_=Object(w["a"])(y,i,r,!1,null,"0c761cd5",null);t["a"]=_.exports},d34b:function(e,t,n){},d915:function(e,t,n){"use strict";n("e944")},d9a3:function(e,t,n){"use strict";n("92fe")},dce7:function(e,t,n){},e3ab:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("aside",{class:e.kind,attrs:{"aria-label":e.kind}},[n("p",{staticClass:"label"},[e._v(e._s(e.label))]),e._t("default")],2)},r=[];const a={deprecated:"deprecated",experiment:"experiment",important:"important",note:"note",tip:"tip",warning:"warning"};var s={name:"Aside",props:{kind:{type:String,required:!0,validator:e=>Object.prototype.hasOwnProperty.call(a,e)},name:{type:String,required:!1}},computed:{label:({kind:e,name:t})=>t||{[a.deprecated]:"Deprecated",[a.experiment]:"Experiment",[a.important]:"Important",[a.note]:"Note",[a.tip]:"Tip",[a.warning]:"Warning"}[e]}},o=s,l=(n("d915"),n("2877")),c=Object(l["a"])(o,i,r,!1,null,"7696d857",null);t["a"]=c.exports},e67f:function(e,t,n){},e6db:function(e,t,n){"use strict";n("47cc")},e944:function(e,t,n){},ee9e:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"row",class:{"with-columns":e.columns},style:e.style},[e._t("default")],2)},r=[],a=n("63b8"),s={name:"Row",props:{columns:{type:Object,required:!1,validator:e=>Object.entries(e).every(([e,t])=>a["b"][e]&&"number"===typeof t)},gap:{type:Number,required:!1}},computed:{style:({columns:e={},gap:t})=>({"--col-count-large":e.large,"--col-count-medium":e.medium,"--col-count-small":e.small||1,"--col-gap":t&&t+"px"})}},o=s,l=(n("2bdf"),n("2877")),c=Object(l["a"])(o,i,r,!1,null,"7d2946e9",null);t["a"]=c.exports},f12c:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"TopicTypeIcon"},[e.imageOverride?n("OverridableAsset",{staticClass:"icon-inline",style:e.styles,attrs:{imageOverride:e.imageOverride,shouldCalculateOptimalWidth:e.shouldCalculateOptimalWidth}}):n(e.icon,e._b({tag:"component",staticClass:"icon-inline",style:e.styles},"component",e.iconProps,!1))],1)},r=[],a=n("a295"),s=n("3024"),o=n("a9f1"),l=n("8d2d"),c=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{attrs:{viewBox:"0 0 14 14",height:"14",themeId:"topic-func"}},[n("path",{attrs:{d:"M13 1v12h-12v-12zM12.077 1.923h-10.154v10.154h10.154z"}}),n("path",{attrs:{d:"M5.191 9.529c0.044 0.002 0.089 0.004 0.133 0.004 0.108 0 0.196-0.025 0.262-0.074s0.122-0.113 0.166-0.188c0.044-0.077 0.078-0.159 0.103-0.247s0.049-0.173 0.074-0.251l0.598-2.186h-0.709l0.207-0.702h0.702l0.288-1.086c0.083-0.384 0.256-0.667 0.517-0.849s0.591-0.273 0.99-0.273c0.108 0 0.212 0.007 0.314 0.022s0.203 0.027 0.306 0.037l-0.207 0.761c-0.054-0.006-0.106-0.011-0.155-0.018s-0.102-0.011-0.155-0.011c-0.108 0-0.196 0.016-0.262 0.048s-0.122 0.075-0.166 0.129-0.080 0.115-0.107 0.185c-0.028 0.068-0.055 0.14-0.085 0.214l-0.222 0.842h0.768l-0.192 0.702h-0.783l-0.628 2.319c-0.059 0.222-0.129 0.419-0.21 0.594s-0.182 0.322-0.303 0.443-0.269 0.214-0.443 0.281-0.385 0.1-0.631 0.1c-0.084 0-0.168-0.004-0.251-0.011s-0.168-0.014-0.251-0.018l0.207-0.768c0.040 0 0.081 0.001 0.126 0.004z"}})])},u=[],d=n("be08"),p={name:"TopicFuncIcon",components:{SVGIcon:d["a"]}},h=p,m=n("2877"),f=Object(m["a"])(h,c,u,!1,null,null,null),g=f.exports,b=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"collection-icon",attrs:{viewBox:"0 0 14 14",themeId:"collection"}},[n("path",{attrs:{d:"m1 1v12h12v-12zm11 11h-10v-10h10z"}}),n("path",{attrs:{d:"m3 4h8v1h-8zm0 2.5h8v1h-8zm0 2.5h8v1h-8z"}}),n("path",{attrs:{d:"m3 4h8v1h-8z"}}),n("path",{attrs:{d:"m3 6.5h8v1h-8z"}}),n("path",{attrs:{d:"m3 9h8v1h-8z"}})])},v=[],y={name:"CollectionIcon",components:{SVGIcon:d["a"]}},w=y,_=Object(m["a"])(w,b,v,!1,null,null,null),x=_.exports,k=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{attrs:{viewBox:"0 0 14 14",height:"14",themeId:"topic-func-op"}},[n("path",{attrs:{d:"M13 13h-12v-12h12zM1.923 12.077h10.154v-10.154h-10.154z"}}),n("path",{attrs:{d:"M5.098 4.968v-1.477h-0.738v1.477h-1.477v0.738h1.477v1.477h0.738v-1.477h1.477v-0.738z"}}),n("path",{attrs:{d:"M8.030 4.807l-2.031 5.538h0.831l2.031-5.538z"}}),n("path",{attrs:{d:"M8.894 8.805v0.923h2.215v-0.923z"}})])},C=[],S={name:"TopicFuncOpIcon",components:{SVGIcon:d["a"]}},j=S,E=Object(m["a"])(j,k,C,!1,null,null,null),O=E.exports,I=n("3b96"),T=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{attrs:{viewBox:"0 0 14 14",height:"14",themeId:"topic-subscript"}},[n("path",{attrs:{d:"M13 13h-12v-12h12zM1.923 12.077h10.154v-10.154h-10.154z"}}),n("path",{attrs:{d:"M4.133 3.633v6.738h1.938v-0.831h-0.923v-5.077h0.923v-0.831z"}}),n("path",{attrs:{d:"M9.856 10.371v-6.738h-1.938v0.831h0.923v5.077h-0.923v0.831z"}})])},A=[],B={name:"TopicSubscriptIcon",components:{SVGIcon:d["a"]}},L=B,N=Object(m["a"])(L,T,A,!1,null,null,null),M=N.exports,$=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"two-letter-icon",attrs:{width:"16px",height:"16px",viewBox:"0 0 16 16",themeId:"two-letter"}},[n("g",{attrs:{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"}},[n("g",{attrs:{transform:"translate(1.000000, 1.000000)"}},[n("rect",{attrs:{stroke:"currentColor",x:"0.5",y:"0.5",width:"13",height:"13"}}),n("text",{attrs:{"font-size":"8","font-weight":"bold",fill:"currentColor"}},[n("tspan",{attrs:{x:"8.2",y:"11"}},[e._v(e._s(e.second))])]),n("text",{attrs:{"font-size":"11","font-weight":"bold",fill:"currentColor"}},[n("tspan",{attrs:{x:"1.7",y:"11"}},[e._v(e._s(e.first))])])])])])},R=[],P={name:"TwoLetterSymbolIcon",components:{SVGIcon:d["a"]},props:{first:{type:String,required:!0},second:{type:String,required:!0}}},V=P,D=Object(m["a"])(V,$,R,!1,null,null,null),G=D.exports,z=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"single-letter-icon",attrs:{width:"16px",height:"16px",viewBox:"0 0 16 16",themeId:"single-letter"}},[n("g",{attrs:{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"}},[n("rect",{attrs:{stroke:"currentColor",x:"1",y:"1",width:"14",height:"14"}}),n("text",{attrs:{"font-size":"11","font-weight":"bold",fill:"currentColor",x:"49%",y:"12","text-anchor":"middle"}},[n("tspan",[e._v(e._s(e.symbol))])])])])},q=[],U={name:"SingleLetterSymbolIcon",components:{SVGIcon:d["a"]},props:{symbol:{type:String,required:!0}}},W=U,H=Object(m["a"])(W,z,q,!1,null,null,null),F=H.exports,K=n("31d4"),Z=n("2cae"),Y=n("fdd9");const X={[K["b"].article]:o["a"],[K["b"].associatedtype]:x,[K["b"].buildSetting]:x,[K["b"].class]:F,[K["b"].collection]:x,[K["b"].dictionarySymbol]:F,[K["b"].container]:x,[K["b"].enum]:F,[K["b"].extension]:G,[K["b"].func]:g,[K["b"].op]:O,[K["b"].httpRequest]:F,[K["b"].languageGroup]:x,[K["b"].learn]:a["a"],[K["b"].method]:F,[K["b"].macro]:F,[K["b"].module]:s["a"],[K["b"].overview]:a["a"],[K["b"].protocol]:G,[K["b"].property]:F,[K["b"].propertyListKey]:F,[K["b"].resources]:a["a"],[K["b"].sampleCode]:I["a"],[K["b"].struct]:F,[K["b"].subscript]:M,[K["b"].symbol]:x,[K["b"].tutorial]:l["a"],[K["b"].typealias]:F,[K["b"].union]:F,[K["b"].var]:F},J={[K["b"].class]:{symbol:"C"},[K["b"].dictionarySymbol]:{symbol:"O"},[K["b"].enum]:{symbol:"E"},[K["b"].extension]:{first:"E",second:"x"},[K["b"].httpRequest]:{symbol:"E"},[K["b"].method]:{symbol:"M"},[K["b"].macro]:{symbol:"#"},[K["b"].protocol]:{first:"P",second:"r"},[K["b"].property]:{symbol:"P"},[K["b"].propertyListKey]:{symbol:"K"},[K["b"].struct]:{symbol:"S"},[K["b"].typealias]:{symbol:"T"},[K["b"].union]:{symbol:"U"},[K["b"].var]:{symbol:"V"}};var Q={name:"TopicTypeIcon",components:{OverridableAsset:Y["a"],SVGIcon:d["a"],SingleLetterSymbolIcon:F},constants:{TopicTypeIcons:X,TopicTypeProps:J},props:{type:{type:String,required:!0},withColors:{type:Boolean,default:!1},imageOverride:{type:Object,default:null},shouldCalculateOptimalWidth:{type:Boolean,default:!0}},computed:{normalisedType:({type:e})=>K["a"][e]||e,icon:({normalisedType:e})=>X[e]||x,iconProps:({normalisedType:e})=>J[e]||{},color:({normalisedType:e})=>Z["b"][e],styles:({color:e,withColors:t})=>t&&e?{color:`var(--color-type-icon-${e})`}:{}}},ee=Q,te=(n("b37f"),Object(m["a"])(ee,i,r,!1,null,"c8b8711e",null));t["a"]=te.exports},f2af:function(e,t,n){"use strict";let i=!1,r=-1,a=0;const s=()=>window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1);function o(e){e.touches.length>1||e.preventDefault()}const l=e=>!!e&&e.scrollHeight-e.scrollTop<=e.clientHeight;function c(){a=document.body.getBoundingClientRect().top,document.body.style.overflow="hidden scroll",document.body.style.top=a+"px",document.body.style.position="fixed",document.body.style.width="100%"}function u(e){e&&(e.ontouchstart=null,e.ontouchmove=null),document.removeEventListener("touchmove",o)}function d(e,t){const n=e.targetTouches[0].clientY-r;return 0===t.scrollTop&&n>0||l(t)&&n<0?o(e):(e.stopPropagation(),!0)}function p(e){document.addEventListener("touchmove",o,{passive:!1}),e&&(e.ontouchstart=e=>{1===e.targetTouches.length&&(r=e.targetTouches[0].clientY)},e.ontouchmove=t=>{1===t.targetTouches.length&&d(t,e)})}t["a"]={lockScroll(e){i||(s()?p(e):c(),i=!0)},unlockScroll(e){i&&(s()?u(e):(document.body.style.removeProperty("overflow"),document.body.style.removeProperty("top"),document.body.style.removeProperty("position"),document.body.style.removeProperty("width"),window.scrollTo(0,Math.abs(a))),i=!1)}}},f785:function(e,t,n){"use strict";n("690a")},f9e6:function(e,t,n){"use strict";n("661b")},fb8e:function(e,t,n){"use strict";n("6058")},fda2:function(e,t,n){},fdd9:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.shouldUseAsset?n("ImageAsset",e._b({},"ImageAsset",{variants:e.variants,loading:null,shouldCalculateOptimalWidth:e.shouldCalculateOptimalWidth},!1)):n("SVGIcon",{attrs:{"icon-url":e.iconUrl,themeId:e.themeId}})},r=[],a=n("8bd9"),s=n("be08"),o={name:"OverridableAsset",components:{SVGIcon:s["a"],ImageAsset:a["a"]},props:{imageOverride:{type:Object,default:null},shouldCalculateOptimalWidth:{type:Boolean,default:!0}},computed:{variants:({imageOverride:e})=>e?e.variants:[],firstVariant:({variants:e})=>e[0],iconUrl:({firstVariant:e})=>e&&e.url,themeId:({firstVariant:e})=>e&&e.svgID,isSameOrigin:({iconUrl:e,sameOrigin:t})=>t(e),shouldUseAsset:({isSameOrigin:e,themeId:t})=>!e||!t},methods:{sameOrigin(e){if(!e)return!1;const t=new URL(e,window.location),n=new URL(window.location);return t.origin===n.origin}}},l=o,c=n("2877"),u=Object(c["a"])(l,i,r,!1,null,null,null);t["a"]=u.exports},fe08:function(e,t,n){"use strict";n("a7d8")}}]); \ No newline at end of file diff --git a/docs/js/documentation-topic~topic~tutorials-overview.90c61522.js b/docs/js/documentation-topic~topic~tutorials-overview.90c61522.js new file mode 100644 index 0000000..ab75cfe --- /dev/null +++ b/docs/js/documentation-topic~topic~tutorials-overview.90c61522.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["documentation-topic~topic~tutorials-overview"],{"007b":function(e,t,n){},"0444":function(e,t,n){},"05a1":function(e,t,n){},"0939":function(e,t,n){"use strict";n("9034")},"0caf":function(e,t,n){"use strict";t["a"]={inject:{performanceMetricsEnabled:{default:!1},isTargetIDE:{default:!1}},methods:{newContentMounted(){let e;this.performanceMetricsEnabled&&(e=Math.round(window.performance.now()),window.renderedTimes||(window.renderedTimes=[]),window.renderedTimes.push(e)),this.$bridge.send({type:"rendered",data:{time:e}})},handleContentUpdateFromBridge(e){this.topicData=e}}}},"0cb0":function(e,t,n){"use strict";const i=["input","select","textarea","button","optgroup","option","menuitem","fieldset","object","a[href]","*[tabindex]","*[contenteditable]"],a=i.join(",");t["a"]={getTabbableElements(e){const t=e.querySelectorAll(a),n=t.length;let i;const r=[];for(i=0;i=0},isFocusableElement(e){const t=e.nodeName.toLowerCase(),n=i.includes(t);return!("a"!==t||!e.getAttribute("href"))||(n?!e.disabled:"true"===e.getAttribute("contenteditable")||!Number.isNaN(parseFloat(e.getAttribute("tabindex"))))}}},"0cf0":function(e,t,n){},"0da1":function(e,t,n){"use strict";n("5c97")},"0eaa":function(e,t,n){},"0f00":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"row"},[e._t("default")],2)},a=[],r={name:"GridRow"},s=r,o=(n("2224"),n("2877")),c=Object(o["a"])(s,i,a,!1,null,"be73599c",null);t["a"]=c.exports},1020:function(e,t){var n={exports:{}};function i(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach((function(t){var n=e[t];"object"!=typeof n||Object.isFrozen(n)||i(n)})),e}n.exports=i,n.exports.default=i;var a=n.exports;class r{constructor(e){void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function s(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function o(e,...t){const n=Object.create(null);for(const i in e)n[i]=e[i];return t.forEach((function(e){for(const t in e)n[t]=e[t]})),n}const c="",l=e=>!!e.kind,u=(e,{prefix:t})=>{if(e.includes(".")){const n=e.split(".");return[`${t}${n.shift()}`,...n.map((e,t)=>`${e}${"_".repeat(t+1)}`)].join(" ")}return`${t}${e}`};class d{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=s(e)}openNode(e){if(!l(e))return;let t=e.kind;t=e.sublanguage?"language-"+t:u(t,{prefix:this.classPrefix}),this.span(t)}closeNode(e){l(e)&&(this.buffer+=c)}value(){return this.buffer}span(e){this.buffer+=``}}class p{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const t={kind:e,children:[]};this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){while(this.closeNode());}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return"string"===typeof t?e.addText(t):t.children&&(e.openNode(t),t.children.forEach(t=>this._walk(e,t)),e.closeNode(t)),e}static _collapse(e){"string"!==typeof e&&e.children&&(e.children.every(e=>"string"===typeof e)?e.children=[e.children.join("")]:e.children.forEach(e=>{p._collapse(e)}))}}class h extends p{constructor(e){super(),this.options=e}addKeyword(e,t){""!==e&&(this.openNode(t),this.addText(e),this.closeNode())}addText(e){""!==e&&this.add(e)}addSublanguage(e,t){const n=e.root;n.kind=t,n.sublanguage=!0,this.add(n)}toHTML(){const e=new d(this,this.options);return e.value()}finalize(){return!0}}function m(e){return e?"string"===typeof e?e:e.source:null}function f(e){return v("(?=",e,")")}function g(e){return v("(?:",e,")*")}function b(e){return v("(?:",e,")?")}function v(...e){const t=e.map(e=>m(e)).join("");return t}function y(e){const t=e[e.length-1];return"object"===typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function w(...e){const t=y(e),n="("+(t.capture?"":"?:")+e.map(e=>m(e)).join("|")+")";return n}function _(e){return new RegExp(e.toString()+"|").exec("").length-1}function x(e,t){const n=e&&e.exec(t);return n&&0===n.index}const k=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function C(e,{joinWith:t}){let n=0;return e.map(e=>{n+=1;const t=n;let i=m(e),a="";while(i.length>0){const e=k.exec(i);if(!e){a+=i;break}a+=i.substring(0,e.index),i=i.substring(e.index+e[0].length),"\\"===e[0][0]&&e[1]?a+="\\"+String(Number(e[1])+t):(a+=e[0],"("===e[0]&&n++)}return a}).map(e=>`(${e})`).join(t)}const S=/\b\B/,E="[a-zA-Z]\\w*",O="[a-zA-Z_]\\w*",I="\\b\\d+(\\.\\d+)?",j="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",T="\\b(0b[01]+)",A="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",L=(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=v(t,/.*\b/,e.binary,/\b.*/)),o({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{0!==e.index&&t.ignoreMatch()}},e)},B={begin:"\\\\[\\s\\S]",relevance:0},$={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[B]},N={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[B]},M={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},P=function(e,t,n={}){const i=o({scope:"comment",begin:e,end:t,contains:[]},n);i.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const a=w("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return i.contains.push({begin:v(/[ ]+/,"(",a,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),i},R=P("//","$"),V=P("/\\*","\\*/"),D=P("#","$"),G={scope:"number",begin:I,relevance:0},z={scope:"number",begin:j,relevance:0},q={scope:"number",begin:T,relevance:0},F={begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[B,{begin:/\[/,end:/\]/,relevance:0,contains:[B]}]}]},U={scope:"title",begin:E,relevance:0},W={scope:"title",begin:O,relevance:0},H={begin:"\\.\\s*"+O,relevance:0},K=function(e){return Object.assign(e,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})};var Z=Object.freeze({__proto__:null,MATCH_NOTHING_RE:S,IDENT_RE:E,UNDERSCORE_IDENT_RE:O,NUMBER_RE:I,C_NUMBER_RE:j,BINARY_NUMBER_RE:T,RE_STARTERS_RE:A,SHEBANG:L,BACKSLASH_ESCAPE:B,APOS_STRING_MODE:$,QUOTE_STRING_MODE:N,PHRASAL_WORDS_MODE:M,COMMENT:P,C_LINE_COMMENT_MODE:R,C_BLOCK_COMMENT_MODE:V,HASH_COMMENT_MODE:D,NUMBER_MODE:G,C_NUMBER_MODE:z,BINARY_NUMBER_MODE:q,REGEXP_MODE:F,TITLE_MODE:U,UNDERSCORE_TITLE_MODE:W,METHOD_GUARD:H,END_SAME_AS_BEGIN:K});function Y(e,t){const n=e.input[e.index-1];"."===n&&t.ignoreMatch()}function X(e,t){void 0!==e.className&&(e.scope=e.className,delete e.className)}function J(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=Y,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance&&(e.relevance=0))}function Q(e,t){Array.isArray(e.illegal)&&(e.illegal=w(...e.illegal))}function ee(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function te(e,t){void 0===e.relevance&&(e.relevance=1)}const ne=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const n=Object.assign({},e);Object.keys(e).forEach(t=>{delete e[t]}),e.keywords=n.keywords,e.begin=v(n.beforeMatch,f(n.begin)),e.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch},ie=["of","and","for","in","not","or","if","then","parent","list","value"],ae="keyword";function re(e,t,n=ae){const i=Object.create(null);return"string"===typeof e?a(n,e.split(" ")):Array.isArray(e)?a(n,e):Object.keys(e).forEach((function(n){Object.assign(i,re(e[n],t,n))})),i;function a(e,n){t&&(n=n.map(e=>e.toLowerCase())),n.forEach((function(t){const n=t.split("|");i[n[0]]=[e,se(n[0],n[1])]}))}}function se(e,t){return t?Number(t):oe(e)?0:1}function oe(e){return ie.includes(e.toLowerCase())}const ce={},le=e=>{console.error(e)},ue=(e,...t)=>{console.log("WARN: "+e,...t)},de=(e,t)=>{ce[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),ce[`${e}/${t}`]=!0)},pe=new Error;function he(e,t,{key:n}){let i=0;const a=e[n],r={},s={};for(let o=1;o<=t.length;o++)s[o+i]=a[o],r[o+i]=!0,i+=_(t[o-1]);e[n]=s,e[n]._emit=r,e[n]._multi=!0}function me(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw le("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),pe;if("object"!==typeof e.beginScope||null===e.beginScope)throw le("beginScope must be object"),pe;he(e,e.begin,{key:"beginScope"}),e.begin=C(e.begin,{joinWith:""})}}function fe(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw le("skip, excludeEnd, returnEnd not compatible with endScope: {}"),pe;if("object"!==typeof e.endScope||null===e.endScope)throw le("endScope must be object"),pe;he(e,e.end,{key:"endScope"}),e.end=C(e.end,{joinWith:""})}}function ge(e){e.scope&&"object"===typeof e.scope&&null!==e.scope&&(e.beginScope=e.scope,delete e.scope)}function be(e){ge(e),"string"===typeof e.beginScope&&(e.beginScope={_wrap:e.beginScope}),"string"===typeof e.endScope&&(e.endScope={_wrap:e.endScope}),me(e),fe(e)}function ve(e){function t(t,n){return new RegExp(m(t),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(n?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,t){t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),this.matchAt+=_(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const e=this.regexes.map(e=>e[1]);this.matcherRe=t(C(e,{joinWith:"|"}),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;const t=this.matcherRe.exec(e);if(!t)return null;const n=t.findIndex((e,t)=>t>0&&void 0!==e),i=this.matchIndexes[n];return t.splice(0,n),Object.assign(t,i)}}class i{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];const t=new n;return this.rules.slice(e).forEach(([e,n])=>t.addRule(e,n)),t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(e,t){this.rules.push([e,t]),"begin"===t.type&&this.count++}exec(e){const t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;let n=t.exec(e);if(this.resumingScanAtSamePosition())if(n&&n.index===this.lastIndex);else{const t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,n=t.exec(e)}return n&&(this.regexIndex+=n.position+1,this.regexIndex===this.count&&this.considerAll()),n}}function a(e){const t=new i;return e.contains.forEach(e=>t.addRule(e.begin,{rule:e,type:"begin"})),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:"end"}),e.illegal&&t.addRule(e.illegal,{type:"illegal"}),t}function r(n,i){const s=n;if(n.isCompiled)return s;[X,ee,be,ne].forEach(e=>e(n,i)),e.compilerExtensions.forEach(e=>e(n,i)),n.__beforeBegin=null,[J,Q,te].forEach(e=>e(n,i)),n.isCompiled=!0;let o=null;return"object"===typeof n.keywords&&n.keywords.$pattern&&(n.keywords=Object.assign({},n.keywords),o=n.keywords.$pattern,delete n.keywords.$pattern),o=o||/\w+/,n.keywords&&(n.keywords=re(n.keywords,e.case_insensitive)),s.keywordPatternRe=t(o,!0),i&&(n.begin||(n.begin=/\B|\b/),s.beginRe=t(s.begin),n.end||n.endsWithParent||(n.end=/\B|\b/),n.end&&(s.endRe=t(s.end)),s.terminatorEnd=m(s.end)||"",n.endsWithParent&&i.terminatorEnd&&(s.terminatorEnd+=(n.end?"|":"")+i.terminatorEnd)),n.illegal&&(s.illegalRe=t(n.illegal)),n.contains||(n.contains=[]),n.contains=[].concat(...n.contains.map((function(e){return we("self"===e?n:e)}))),n.contains.forEach((function(e){r(e,s)})),n.starts&&r(n.starts,i),s.matcher=a(s),s}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=o(e.classNameAliases||{}),r(e)}function ye(e){return!!e&&(e.endsWithParent||ye(e.starts))}function we(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map((function(t){return o(e,{variants:null},t)}))),e.cachedVariants?e.cachedVariants:ye(e)?o(e,{starts:e.starts?o(e.starts):null}):Object.isFrozen(e)?o(e):e}var _e="11.3.1";class xe extends Error{constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t}}const ke=s,Ce=o,Se=Symbol("nomatch"),Ee=7,Oe=function(e){const t=Object.create(null),n=Object.create(null),i=[];let s=!0;const o="Could not find the language '{}', did you forget to load/include a language module?",c={disableAutodetect:!0,name:"Plain text",contains:[]};let l={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:h};function u(e){return l.noHighlightRe.test(e)}function d(e){let t=e.className+" ";t+=e.parentNode?e.parentNode.className:"";const n=l.languageDetectRe.exec(t);if(n){const t=$(n[1]);return t||(ue(o.replace("{}",n[1])),ue("Falling back to no-highlight mode for this block.",e)),t?n[1]:"no-highlight"}return t.split(/\s+/).find(e=>u(e)||$(e))}function p(e,t,n){let i="",a="";"object"===typeof t?(i=e,n=t.ignoreIllegals,a=t.language):(de("10.7.0","highlight(lang, code, ...args) has been deprecated."),de("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),a=e,i=t),void 0===n&&(n=!0);const r={code:i,language:a};V("before:highlight",r);const s=r.result?r.result:m(r.language,r.code,n);return s.code=r.code,V("after:highlight",s),s}function m(e,n,i,a){const c=Object.create(null);function u(e,t){return e.keywords[t]}function d(){if(!j.keywords)return void A.addText(L);let e=0;j.keywordPatternRe.lastIndex=0;let t=j.keywordPatternRe.exec(L),n="";while(t){n+=L.substring(e,t.index);const i=E.case_insensitive?t[0].toLowerCase():t[0],a=u(j,i);if(a){const[e,r]=a;if(A.addText(n),n="",c[i]=(c[i]||0)+1,c[i]<=Ee&&(B+=r),e.startsWith("_"))n+=t[0];else{const n=E.classNameAliases[e]||e;A.addKeyword(t[0],n)}}else n+=t[0];e=j.keywordPatternRe.lastIndex,t=j.keywordPatternRe.exec(L)}n+=L.substr(e),A.addText(n)}function p(){if(""===L)return;let e=null;if("string"===typeof j.subLanguage){if(!t[j.subLanguage])return void A.addText(L);e=m(j.subLanguage,L,!0,T[j.subLanguage]),T[j.subLanguage]=e._top}else e=_(L,j.subLanguage.length?j.subLanguage:null);j.relevance>0&&(B+=e.relevance),A.addSublanguage(e._emitter,e.language)}function h(){null!=j.subLanguage?p():d(),L=""}function f(e,t){let n=1;while(void 0!==t[n]){if(!e._emit[n]){n++;continue}const i=E.classNameAliases[e[n]]||e[n],a=t[n];i?A.addKeyword(a,i):(L=a,d(),L=""),n++}}function g(e,t){return e.scope&&"string"===typeof e.scope&&A.openNode(E.classNameAliases[e.scope]||e.scope),e.beginScope&&(e.beginScope._wrap?(A.addKeyword(L,E.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap),L=""):e.beginScope._multi&&(f(e.beginScope,t),L="")),j=Object.create(e,{parent:{value:j}}),j}function b(e,t,n){let i=x(e.endRe,n);if(i){if(e["on:end"]){const n=new r(e);e["on:end"](t,n),n.isMatchIgnored&&(i=!1)}if(i){while(e.endsParent&&e.parent)e=e.parent;return e}}if(e.endsWithParent)return b(e.parent,t,n)}function v(e){return 0===j.matcher.regexIndex?(L+=e[0],1):(P=!0,0)}function y(e){const t=e[0],n=e.rule,i=new r(n),a=[n.__beforeBegin,n["on:begin"]];for(const r of a)if(r&&(r(e,i),i.isMatchIgnored))return v(t);return n.skip?L+=t:(n.excludeBegin&&(L+=t),h(),n.returnBegin||n.excludeBegin||(L=t)),g(n,e),n.returnBegin?0:t.length}function w(e){const t=e[0],i=n.substr(e.index),a=b(j,e,i);if(!a)return Se;const r=j;j.endScope&&j.endScope._wrap?(h(),A.addKeyword(t,j.endScope._wrap)):j.endScope&&j.endScope._multi?(h(),f(j.endScope,e)):r.skip?L+=t:(r.returnEnd||r.excludeEnd||(L+=t),h(),r.excludeEnd&&(L=t));do{j.scope&&A.closeNode(),j.skip||j.subLanguage||(B+=j.relevance),j=j.parent}while(j!==a.parent);return a.starts&&g(a.starts,e),r.returnEnd?0:t.length}function k(){const e=[];for(let t=j;t!==E;t=t.parent)t.scope&&e.unshift(t.scope);e.forEach(e=>A.openNode(e))}let C={};function S(t,a){const r=a&&a[0];if(L+=t,null==r)return h(),0;if("begin"===C.type&&"end"===a.type&&C.index===a.index&&""===r){if(L+=n.slice(a.index,a.index+1),!s){const t=new Error(`0 width match regex (${e})`);throw t.languageName=e,t.badRule=C.rule,t}return 1}if(C=a,"begin"===a.type)return y(a);if("illegal"===a.type&&!i){const e=new Error('Illegal lexeme "'+r+'" for mode "'+(j.scope||"")+'"');throw e.mode=j,e}if("end"===a.type){const e=w(a);if(e!==Se)return e}if("illegal"===a.type&&""===r)return 1;if(M>1e5&&M>3*a.index){const e=new Error("potential infinite loop, way more iterations than matches");throw e}return L+=r,r.length}const E=$(e);if(!E)throw le(o.replace("{}",e)),new Error('Unknown language: "'+e+'"');const O=ve(E);let I="",j=a||O;const T={},A=new l.__emitter(l);k();let L="",B=0,N=0,M=0,P=!1;try{for(j.matcher.considerAll();;){M++,P?P=!1:j.matcher.considerAll(),j.matcher.lastIndex=N;const e=j.matcher.exec(n);if(!e)break;const t=n.substring(N,e.index),i=S(t,e);N=e.index+i}return S(n.substr(N)),A.closeAllNodes(),A.finalize(),I=A.toHTML(),{language:e,value:I,relevance:B,illegal:!1,_emitter:A,_top:j}}catch(R){if(R.message&&R.message.includes("Illegal"))return{language:e,value:ke(n),illegal:!0,relevance:0,_illegalBy:{message:R.message,index:N,context:n.slice(N-100,N+100),mode:R.mode,resultSoFar:I},_emitter:A};if(s)return{language:e,value:ke(n),illegal:!1,relevance:0,errorRaised:R,_emitter:A,_top:j};throw R}}function y(e){const t={value:ke(e),illegal:!1,relevance:0,_top:c,_emitter:new l.__emitter(l)};return t._emitter.addText(e),t}function _(e,n){n=n||l.languages||Object.keys(t);const i=y(e),a=n.filter($).filter(M).map(t=>m(t,e,!1));a.unshift(i);const r=a.sort((e,t)=>{if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if($(e.language).supersetOf===t.language)return 1;if($(t.language).supersetOf===e.language)return-1}return 0}),[s,o]=r,c=s;return c.secondBest=o,c}function k(e,t,i){const a=t&&n[t]||i;e.classList.add("hljs"),e.classList.add("language-"+a)}function C(e){let t=null;const n=d(e);if(u(n))return;if(V("before:highlightElement",{el:e,language:n}),e.children.length>0&&(l.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/issues/2886"),console.warn(e)),l.throwUnescapedHTML)){const t=new xe("One of your code blocks includes unescaped HTML.",e.innerHTML);throw t}t=e;const i=t.textContent,a=n?p(i,{language:n,ignoreIllegals:!0}):_(i);e.innerHTML=a.value,k(e,n,a.language),e.result={language:a.language,re:a.relevance,relevance:a.relevance},a.secondBest&&(e.secondBest={language:a.secondBest.language,relevance:a.secondBest.relevance}),V("after:highlightElement",{el:e,result:a,text:i})}function S(e){l=Ce(l,e)}const E=()=>{j(),de("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function O(){j(),de("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let I=!1;function j(){if("loading"===document.readyState)return void(I=!0);const e=document.querySelectorAll(l.cssSelector);e.forEach(C)}function T(){I&&j()}function A(n,i){let a=null;try{a=i(e)}catch(r){if(le("Language definition for '{}' could not be registered.".replace("{}",n)),!s)throw r;le(r),a=c}a.name||(a.name=n),t[n]=a,a.rawDefinition=i.bind(null,e),a.aliases&&N(a.aliases,{languageName:n})}function L(e){delete t[e];for(const t of Object.keys(n))n[t]===e&&delete n[t]}function B(){return Object.keys(t)}function $(e){return e=(e||"").toLowerCase(),t[e]||t[n[e]]}function N(e,{languageName:t}){"string"===typeof e&&(e=[e]),e.forEach(e=>{n[e.toLowerCase()]=t})}function M(e){const t=$(e);return t&&!t.disableAutodetect}function P(e){e["before:highlightBlock"]&&!e["before:highlightElement"]&&(e["before:highlightElement"]=t=>{e["before:highlightBlock"](Object.assign({block:t.el},t))}),e["after:highlightBlock"]&&!e["after:highlightElement"]&&(e["after:highlightElement"]=t=>{e["after:highlightBlock"](Object.assign({block:t.el},t))})}function R(e){P(e),i.push(e)}function V(e,t){const n=e;i.forEach((function(e){e[n]&&e[n](t)}))}function D(e){return de("10.7.0","highlightBlock will be removed entirely in v12.0"),de("10.7.0","Please use highlightElement now."),C(e)}"undefined"!==typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",T,!1),Object.assign(e,{highlight:p,highlightAuto:_,highlightAll:j,highlightElement:C,highlightBlock:D,configure:S,initHighlighting:E,initHighlightingOnLoad:O,registerLanguage:A,unregisterLanguage:L,listLanguages:B,getLanguage:$,registerAliases:N,autoDetection:M,inherit:Ce,addPlugin:R}),e.debugMode=function(){s=!1},e.safeMode=function(){s=!0},e.versionString=_e,e.regex={concat:v,lookahead:f,either:w,optional:b,anyNumberOfTimes:g};for(const r in Z)"object"===typeof Z[r]&&a(Z[r]);return Object.assign(e,Z),e};var Ie=Oe({});e.exports=Ie,Ie.HighlightJS=Ie,Ie.default=Ie},"12b1":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));const i={list:"list",compactGrid:"compactGrid",detailedGrid:"detailedGrid",hidden:"hidden"}},1417:function(e,t,n){var i={"./markdown":["84cb","highlight-js-custom-markdown"],"./markdown.js":["84cb","highlight-js-custom-markdown"],"./swift":["81c8","highlight-js-custom-swift"],"./swift.js":["81c8","highlight-js-custom-swift"]};function a(e){if(!n.o(i,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=i[e],a=t[0];return n.e(t[1]).then((function(){return n(a)}))}a.keys=function(){return Object.keys(i)},a.id="1417",e.exports=a},"146e":function(e,t,n){"use strict";var i=n("e425"),a=n("dd18"),r=n("8a61");function s(e){return new Promise((t,n)=>{e.complete?t():(e.addEventListener("load",t,{once:!0}),e.addEventListener("error",n,{once:!0}))})}function o(){return Promise.allSettled([...document.getElementsByTagName("img")].map(s))}t["a"]={mixins:[r["a"]],mounted(){this.scrollToElementIfAnchorPresent()},updated(){this.scrollToElementIfAnchorPresent()},methods:{async scrollToElementIfAnchorPresent(){const{hash:e}=this.$route;if(!e)return;const{imageLoadingStrategy:t}=i["a"].state;i["a"].setImageLoadingStrategy(a["a"].eager),await this.$nextTick(),await o(),this.scrollToElement(e),i["a"].setImageLoadingStrategy(t)}}}},"159b":function(e,t,n){"use strict";n("2d6f")},"17a4":function(e,t,n){"use strict";n("bbe1")},"19cc":function(e,t,n){},"1f39":function(e,t,n){"use strict";n("007b")},2224:function(e,t,n){"use strict";n("b392")},"25a9":function(e,t,n){"use strict";n.d(t,"c",(function(){return d})),n.d(t,"e",(function(){return p})),n.d(t,"b",(function(){return h})),n.d(t,"a",(function(){return m})),n.d(t,"d",(function(){return f}));var i=n("748c"),a=n("d26a"),r=n("3bdd");class s extends Error{constructor({location:e,response:t}){super("Request redirected"),this.location=e,this.response=t}}class o extends Error{constructor(e){super("Unable to fetch data"),this.route=e}}async function c(e,t={},n={}){function i(e){return("ide"!==Object({NODE_ENV:"production",VUE_APP_TITLE:"Documentation",BASE_URL:"{{BASE_PATH}}/"}).VUE_APP_TARGET||0!==e.status)&&!e.ok}const o=Object(a["c"])(e),c=Object(a["d"])(t);c&&(o.search=c);const l=await fetch(o.href,n);if(i(l))throw l;if(l.redirected)throw new s({location:l.url,response:l});const u=await l.json();return Object(r["c"])(u.schemaVersion),u}function l(e){const t=e.replace(/\/$/,"");return Object(i["c"])(["/data",t])+".json"}function u(e){const{pathname:t,search:n}=new URL(e),i=/\/data(\/.*).json$/,a=i.exec(t);return a?a[1]+n:t+n}async function d(e,t,n){const i=l(e.path);let a;try{a=await c(i,e.query)}catch(r){if("ide"===Object({NODE_ENV:"production",VUE_APP_TITLE:"Documentation",BASE_URL:"{{BASE_PATH}}/"}).VUE_APP_TARGET)throw console.error(r),!1;if(r instanceof s)throw u(r.location);r.status&&404===r.status?n({name:"not-found",params:[e.path]}):n(new o(e))}return a}function p(e,t){return!Object(a["a"])(e,t)}async function h(e,t={}){const n=l(e);return c(n,{},t)}function m(e){return JSON.parse(JSON.stringify(e))}async function f({slug:e}){const t=Object(a["c"])(["/index/",e,"index.json"]);return c(t)}},"2cae":function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return s}));var i=n("31d4"),a=n("66cd");const r={blue:"blue",teal:"teal",orange:"orange",purple:"purple",green:"green",sky:"sky",pink:"pink"},s={[i["b"].article]:r.teal,[i["b"].init]:r.blue,[i["b"].case]:r.orange,[i["b"].class]:r.purple,[i["b"].collection]:r.pink,[a["a"].collectionGroup]:r.teal,[i["b"].dictionarySymbol]:r.purple,[i["b"].enum]:r.orange,[i["b"].extension]:r.orange,[i["b"].func]:r.green,[i["b"].op]:r.green,[i["b"].httpRequest]:r.green,[i["b"].module]:r.sky,[i["b"].method]:r.blue,[i["b"].macro]:r.pink,[i["b"].protocol]:r.purple,[i["b"].property]:r.teal,[i["b"].propertyListKey]:r.green,[i["b"].propertyListKeyReference]:r.green,[i["b"].sampleCode]:r.purple,[i["b"].struct]:r.purple,[i["b"].subscript]:r.blue,[i["b"].typealias]:r.orange,[i["b"].union]:r.purple,[i["b"].var]:r.purple}},"2d6f":function(e,t,n){},"2f34":function(e,t,n){"use strict";t["a"]={inject:{store:{default:()=>({state:{references:{}},setReferences(){},reset(){}})}},computed:{references:({store:e})=>e.state.references}}},3024:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"technology-icon",attrs:{viewBox:"0 0 14 14",themeId:"technology"}},[n("path",{attrs:{d:"M3.39,9l3.16,1.84.47.28.47-.28L10.61,9l.45.26,1.08.63L7,12.91l-5.16-3,1.08-.64L3.39,9M7,0,0,4.1,2.47,5.55,0,7,2.47,8.44,0,9.9,7,14l7-4.1L11.53,8.45,14,7,11.53,5.56,14,4.1ZM7,7.12,5.87,6.45l-1.54-.9L3.39,5,1.85,4.1,7,1.08l5.17,3L10.6,5l-.93.55-1.54.91ZM7,10,3.39,7.9,1.85,7,3.4,6.09,4.94,7,7,8.2,9.06,7,10.6,6.1,12.15,7l-1.55.9Z"}})])},a=[],r=n("be08"),s={name:"TechnologyIcon",components:{SVGIcon:r["a"]}},o=s,c=n("2877"),l=Object(c["a"])(o,i,a,!1,null,null,null);t["a"]=l.exports},"308e":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"column",style:e.style},[e._t("default")],2)},a=[],r={name:"Column",props:{span:{type:Number,default:null}},computed:{style:({span:e})=>({"--col-span":e})}},s=r,o=(n("fe08"),n("2877")),c=Object(o["a"])(s,i,a,!1,null,"0f654188",null);t["a"]=c.exports},"31d4":function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return a}));const i={article:"article",associatedtype:"associatedtype",buildSetting:"buildSetting",case:"case",collection:"collection",class:"class",container:"container",dictionarySymbol:"dictionarySymbol",enum:"enum",extension:"extension",func:"func",groupMarker:"groupMarker",httpRequest:"httpRequest",init:"init",languageGroup:"languageGroup",learn:"learn",macro:"macro",method:"method",module:"module",op:"op",overview:"overview",project:"project",property:"property",propertyListKey:"propertyListKey",propertyListKeyReference:"propertyListKeyReference",protocol:"protocol",resources:"resources",root:"root",sampleCode:"sampleCode",section:"section",struct:"struct",subscript:"subscript",symbol:"symbol",tutorial:"tutorial",typealias:"typealias",union:"union",var:"var"},a={[i.init]:i.method,[i.case]:i.enum,[i.propertyListKeyReference]:i.propertyListKey,[i.project]:i.tutorial}},"3b75":function(e,t,n){},"3b96":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"curly-brackets-icon",attrs:{viewBox:"0 0 14 14",themeId:"curly-brackets"}},[n("path",{attrs:{d:"M9.987 14h-0.814v-0.916h0.36c0.137 0 0.253-0.038 0.349-0.116 0.099-0.080 0.179-0.188 0.239-0.318 0.064-0.134 0.11-0.298 0.139-0.483 0.031-0.186 0.045-0.38 0.045-0.58v-2.115c0-0.417 0.046-0.781 0.139-1.083 0.092-0.3 0.2-0.554 0.322-0.754 0.127-0.203 0.246-0.353 0.366-0.458 0.087-0.076 0.155-0.131 0.207-0.169-0.052-0.037-0.12-0.093-0.207-0.167-0.12-0.105-0.239-0.255-0.366-0.459-0.122-0.2-0.23-0.453-0.322-0.754-0.093-0.3-0.139-0.665-0.139-1.082v-2.13c0-0.199-0.014-0.392-0.045-0.572-0.029-0.182-0.076-0.345-0.139-0.483-0.060-0.137-0.141-0.246-0.239-0.328-0.095-0.076-0.212-0.115-0.349-0.115h-0.36v-0.916h0.814c0.442 0 0.788 0.18 1.030 0.538 0.238 0.352 0.358 0.826 0.358 1.407v2.236c0 0.3 0.015 0.597 0.044 0.886 0.030 0.287 0.086 0.544 0.164 0.765 0.077 0.216 0.184 0.392 0.318 0.522 0.129 0.124 0.298 0.188 0.503 0.188h0.058v0.916h-0.058c-0.206 0-0.374 0.064-0.503 0.188-0.134 0.129-0.242 0.305-0.318 0.521-0.078 0.223-0.134 0.48-0.164 0.766-0.029 0.288-0.044 0.587-0.044 0.884v2.236c0 0.582-0.12 1.055-0.358 1.409-0.242 0.358-0.588 0.538-1.030 0.538z"}}),n("path",{attrs:{d:"M4.827 14h-0.814c-0.442 0-0.788-0.18-1.030-0.538-0.238-0.352-0.358-0.825-0.358-1.409v-2.221c0-0.301-0.015-0.599-0.045-0.886-0.029-0.287-0.085-0.544-0.163-0.764-0.077-0.216-0.184-0.393-0.318-0.522-0.131-0.127-0.296-0.188-0.503-0.188h-0.058v-0.916h0.058c0.208 0 0.373-0.063 0.503-0.188 0.135-0.129 0.242-0.304 0.318-0.522 0.078-0.22 0.134-0.477 0.163-0.765 0.030-0.286 0.045-0.585 0.045-0.886v-2.251c0-0.582 0.12-1.055 0.358-1.407 0.242-0.358 0.588-0.538 1.030-0.538h0.814v0.916h-0.36c-0.138 0-0.252 0.038-0.349 0.116-0.099 0.079-0.179 0.189-0.239 0.327-0.064 0.139-0.11 0.302-0.141 0.483-0.029 0.18-0.044 0.373-0.044 0.572v2.13c0 0.417-0.046 0.782-0.138 1.082-0.092 0.302-0.201 0.556-0.324 0.754-0.123 0.201-0.246 0.356-0.366 0.459-0.086 0.074-0.153 0.13-0.206 0.167 0.052 0.038 0.12 0.093 0.206 0.169 0.12 0.103 0.243 0.258 0.366 0.458s0.232 0.453 0.324 0.754c0.092 0.302 0.138 0.666 0.138 1.083v2.115c0 0.2 0.015 0.394 0.044 0.58 0.030 0.186 0.077 0.349 0.139 0.482 0.062 0.132 0.142 0.239 0.241 0.32 0.096 0.079 0.21 0.116 0.349 0.116h0.36z"}})])},a=[],r=n("be08"),s={name:"CurlyBracketsIcon",components:{SVGIcon:r["a"]}},o=s,c=n("2877"),l=Object(c["a"])(o,i,a,!1,null,null,null);t["a"]=l.exports},"3ba9":function(e,t,n){},"3bdd":function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return d}));const i={major:0,minor:3,patch:0};function a({major:e,minor:t,patch:n}){return[e,t,n].join(".")}function r(e){const[t=0,n=0,i=0]=e.split(".");return[Number(t),Number(n),Number(i)]}function s(e,t){const n=r(e),i=r(t);for(let a=0;ai[a])return 1;if(n[a]`[Swift-DocC-Render] The render node version for this page (${e}) has a different major version component than Swift-DocC-Render supports (${o}). Compatibility is not guaranteed.`;function u(e){const{major:t,minor:n}=e,{major:r,minor:s}=i;return t!==r?l(a(e)):n>s?c(a(e)):""}function d(e){if(!e)return;const t=u(e);t&&console.warn(t)}},"43fe":function(e,t,n){"use strict";n("4573")},4573:function(e,t,n){},"47cc":function(e,t,n){},"49e3":function(e,t,n){},"517a":function(e,t,n){"use strict";n("8222")},5201:function(e,t,n){"use strict";n("0cf0")},"52e4":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("WordBreak",{attrs:{tag:"code"}},[e._t("default")],2)},a=[],r=n("7b1f"),s={name:"CodeVoice",components:{WordBreak:r["a"]}},o=s,c=(n("8c92"),n("2877")),l=Object(c["a"])(o,i,a,!1,null,"05f4a5b7",null);t["a"]=l.exports},5416:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"device-frame",class:e.classes,style:e.styles,attrs:{"data-device":e.device}},[n("div",{staticClass:"device-screen",class:{"with-device":e.currentDeviceAttrs}},[e._t("default")],2),n("div",{staticClass:"device"})])},a=[],r={},s=n("6842");const o=e=>e&&e!==1/0,c=(e,t=4)=>o(e)?+`${Math.round(`${e}e+${t}`)}e-${t}`:null;var l={name:"DeviceFrame",props:{device:{type:String,required:!0}},provide:{insideDeviceFrame:!0},computed:{currentDeviceAttrs:({device:e})=>Object(s["c"])(["theme","device-frames",e],r[e]),styles:({toPixel:e,toUrl:t,toPct:n,currentDeviceAttrs:i={}})=>{const{screenTop:a,screenLeft:r,screenWidth:s,frameWidth:o,lightUrl:l,darkUrl:u,screenHeight:d,frameHeight:p}=i;return{"--screen-top":n(a/p),"--screen-left":n(r/o),"--screen-width":n(s/o),"--screen-height":n(d/p),"--screen-aspect":c(s/d)||null,"--frame-width":e(o),"--frame-aspect":c(o/p)||null,"--device-light-url":t(l),"--device-dark-url":t(u)}},classes:({currentDeviceAttrs:e})=>({"no-device":!e})},methods:{toPixel:e=>o(e)?e+"px":null,toUrl:e=>o(e)?`url(${e})`:null,toPct:e=>o(e)?c(100*e)+"%":null}},u=l,d=(n("b2da"),n("2877")),p=Object(d["a"])(u,i,a,!1,null,"28ae8fd3",null);t["a"]=p.exports},5677:function(e,t,n){"use strict";n.r(t),n.d(t,"BlockType",(function(){return Ct}));var i=n("2f34"),a=n("e3ab"),r=n("7b69"),s=n("5dcc"),o=n("52e4"),c=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"DictionaryExample"},[e._t("default"),n("CollapsibleCodeListing",{attrs:{content:e.example.content,showLineNumbers:""}})],2)},l=[],u=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"collapsible-code-listing",class:{"single-line":1===e.content[0].code.length}},[n("pre",[n("CodeBlock",e._l(this.content,(function(t,i){return n("div",{key:i,class:["container-general",{collapsible:!0===t.collapsible},{collapsed:!0===t.collapsible&&e.collapsed}]},e._l(t.code,(function(t,i){return n("div",{key:i,staticClass:"code-line-container"},[e._v("\n "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.showLineNumbers,expression:"showLineNumbers"}],staticClass:"code-number"}),e._v("\n "),n("div",{staticClass:"code-line"},[e._v(e._s(t))]),e._v("\n ")])})),0)})),0)],1)])},d=[],p=n("800b"),h={name:"CollapsibleCodeListing",components:{CodeBlock:p["a"]},props:{collapsed:{type:Boolean,required:!1},content:{type:Array,required:!0},showLineNumbers:{type:Boolean,default:()=>!0}}},m=h,f=(n("efc1"),n("2877")),g=Object(f["a"])(m,u,d,!1,null,"25a17a0e",null),b=g.exports,v={name:"DictionaryExample",components:{CollapsibleCodeListing:b},props:{example:{type:Object,required:!0}}},y=v,w=Object(f["a"])(y,c,l,!1,null,null,null),_=w.exports,x=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Row",{staticClass:"endpoint-example"},[n("Column",{staticClass:"example-code"},[e._t("default"),n("Tabnav",{model:{value:e.currentTab,callback:function(t){e.currentTab=t},expression:"currentTab"}},[n("TabnavItem",{attrs:{value:e.Tab.request}},[e._v(e._s(e.$t("tab.request")))]),n("TabnavItem",{attrs:{value:e.Tab.response}},[e._v(e._s(e.$t("tab.response")))])],1),n("div",{staticClass:"output"},[e.isCurrent(e.Tab.request)?n("div",{staticClass:"code"},[n("CollapsibleCodeListing",e._b({attrs:{collapsed:e.isCollapsed,showLineNumbers:""}},"CollapsibleCodeListing",e.request,!1))],1):e._e(),e.isCurrent(e.Tab.response)?n("div",{staticClass:"code"},[n("CollapsibleCodeListing",e._b({attrs:{collapsed:e.isCollapsed,showLineNumbers:""}},"CollapsibleCodeListing",e.response,!1))],1):e._e()]),e.isCollapsible?n("div",{staticClass:"controls"},[e.isCollapsed?n("a",{staticClass:"toggle",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.showMore.apply(null,arguments)}}},[n("InlinePlusCircleSolidIcon",{staticClass:"control-icon icon-inline"}),e._v(" "+e._s(e.$t("more"))+" ")],1):n("a",{staticClass:"toggle",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.showLess.apply(null,arguments)}}},[n("InlineMinusCircleSolidIcon",{staticClass:"control-icon icon-inline"}),e._v(" "+e._s(e.$t("less"))+" ")],1)]):e._e()],2)],1)},k=[],C=n("0f00"),S=n("620a"),E=function(){var e,t=this,n=t.$createElement,i=t._self._c||n;return i("nav",{staticClass:"tabnav",class:(e={},e["tabnav--"+t.position]=t.position,e["tabnav--vertical"]=t.vertical,e)},[i("ul",{staticClass:"tabnav-items"},[t._t("default")],2)])},O=[];const I="tabnavData";var j={name:"Tabnav",constants:{ProvideKey:I},provide(){const e={selectTab:this.selectTab};return Object.defineProperty(e,"activeTab",{enumerable:!0,get:()=>this.value}),{[I]:e}},props:{position:{type:String,required:!1,validator:e=>new Set(["start","center","end"]).has(e)},vertical:{type:Boolean,default:!1},value:{type:[String,Number],required:!0}},methods:{selectTab(e){this.$emit("input",e)}}},T=j,A=(n("fb8e"),Object(f["a"])(T,E,O,!1,null,"5283512a",null)),L=A.exports,B=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{staticClass:"tabnav-item"},[n("a",{staticClass:"tabnav-link",class:{active:e.isActive},attrs:{href:"#","aria-current":e.isActive?"true":"false"},on:{click:function(t){return t.preventDefault(),e.tabnavData.selectTab(e.value)}}},[e._t("default")],2)])},$=[],N={name:"TabnavItem",inject:{tabnavData:{default:{activeTab:null,selectTab:()=>{}}}},props:{value:{type:[String,Number],default:null}},computed:{isActive({tabnavData:e,value:t}){return e.activeTab===t}}},M=N,P=(n("6869"),Object(f["a"])(M,B,$,!1,null,"6aa9882a",null)),R=P.exports,V=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"inline-plus-circle-solid-icon",attrs:{viewBox:"0 0 14 14",themeId:"inline-plus-circle-solid"}},[n("path",{attrs:{d:"M7.005 0.5h-0.008c-1.791 0.004-3.412 0.729-4.589 1.9l0-0c-1.179 1.177-1.908 2.803-1.908 4.6 0 3.59 2.91 6.5 6.5 6.5s6.5-2.91 6.5-6.5c0-3.587-2.906-6.496-6.492-6.5h-0zM4.005 7.52v-1h2.5v-2.51h1v2.51h2.5v1h-2.501v2.49h-1v-2.49z"}})])},D=[],G=n("be08"),z={name:"InlinePlusCircleSolidIcon",components:{SVGIcon:G["a"]}},q=z,F=Object(f["a"])(q,V,D,!1,null,null,null),U=F.exports,W=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"inline-minus-circle-solid-icon",attrs:{viewBox:"0 0 14 14",themeId:"inline-minus-circle-solid"}},[n("path",{attrs:{d:"m6.98999129.48999129c3.58985091 0 6.50000001 2.91014913 6.50000001 6.5 0 3.58985091-2.9101491 6.50000001-6.50000001 6.50000001-3.58985087 0-6.5-2.9101491-6.5-6.50000001 0-3.58985087 2.91014913-6.5 6.5-6.5zm3 6.02001742h-6v1h6z","fill-rule":"evenodd"}})])},H=[],K={name:"InlineMinusCircleSolidIcon",components:{SVGIcon:G["a"]}},Z=K,Y=Object(f["a"])(Z,W,H,!1,null,null,null),X=Y.exports;const J={request:"Request",response:"Response"};var Q={name:"EndpointExample",components:{InlineMinusCircleSolidIcon:X,InlinePlusCircleSolidIcon:U,TabnavItem:R,Tabnav:L,CollapsibleCodeListing:b,Row:C["a"],Column:S["a"]},constants:{Tab:J},props:{request:{type:Object,required:!0},response:{type:Object,required:!0}},data(){return{isCollapsed:!0,currentTab:J.request}},computed:{Tab:()=>J,isCollapsible:({response:e,request:t,currentTab:n})=>{const i={[J.request]:t.content,[J.response]:e.content}[n]||[];return i.some(({collapsible:e})=>e)}},methods:{isCurrent(e){return this.currentTab===e},showMore(){this.isCollapsed=!1},showLess(){this.isCollapsed=!0}}},ee=Q,te=(n("b0e7"),Object(f["a"])(ee,x,k,!1,null,"c84e62a6",null)),ne=te.exports,ie=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("figure",{attrs:{id:e.anchor}},[e._t("default")],2)},ae=[],re={name:"Figure",props:{anchor:{type:String,required:!1}}},se=re,oe=Object(f["a"])(se,ie,ae,!1,null,null,null),ce=oe.exports,le=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n(e.tag,{tag:"component",staticClass:"caption",class:{trailing:e.trailing}},[e.title?[n("strong",[e._v(e._s(e.title))]),e._v(" "),e._t("default")]:[e._t("default")]],2)},ue=[];const de={caption:"caption",figcaption:"figcaption"},pe={leading:"leading",trailing:"trailing"};var he={name:"Caption",constants:{CaptionPosition:pe,CaptionTag:de},props:{title:{type:String,required:!1},tag:{type:String,required:!0,validator:e=>Object.hasOwnProperty.call(de,e)},position:{type:String,default:()=>pe.leading,validator:e=>Object.hasOwnProperty.call(pe,e)}},computed:{trailing:({position:e})=>e===pe.trailing}},me=he,fe=(n("6209"),Object(f["a"])(me,le,ue,!1,null,"1b76f4e0",null)),ge=fe.exports,be=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ImageAsset",{attrs:{alt:e.alt,variants:e.variants}})},ve=[],ye=n("8bd9"),we={name:"InlineImage",components:{ImageAsset:ye["a"]},props:{alt:{type:String,default:""},variants:{type:Array,required:!0}}},_e=we,xe=(n("cb92"),Object(f["a"])(_e,be,ve,!1,null,"3a939631",null)),ke=xe.exports,Ce=n("86d8"),Se=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"table-wrapper"},[n("table",{class:{spanned:e.spanned}},[e._t("default")],2)])},Ee=[],Oe={name:"Table",props:{spanned:{type:Boolean,default:!1}}},Ie=Oe,je=(n("ec71"),Object(f["a"])(Ie,Se,Ee,!1,null,"5ed73c89",null)),Te=je.exports,Ae=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("s",{attrs:{"data-before-text":e.$t("accessibility.strike.start"),"data-after-text":e.$t("accessibility.strike.end")}},[e._t("default")],2)},Le=[],Be={name:"StrikeThrough"},$e=Be,Ne=(n("d0da"),Object(f["a"])($e,Ae,Le,!1,null,"7fc51673",null)),Me=Ne.exports,Pe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("small",[e._t("default")],2)},Re=[],Ve={name:"Small"},De=Ve,Ge=(n("b0f5"),Object(f["a"])(De,Pe,Re,!1,null,"77035f61",null)),ze=Ge.exports,qe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Asset",{attrs:{identifier:e.identifier,"video-autoplays":!1,"video-muted":!1,showsReplayButton:!e.isClientMobile,showsVideoControls:e.isClientMobile,deviceFrame:e.deviceFrame}})},Fe=[],Ue=n("80e4"),We=n("7689"),He={name:"BlockVideo",mixins:[We["a"]],components:{Asset:Ue["a"]},props:{identifier:{type:String,required:!0},deviceFrame:{type:String,required:!1}}},Ke=He,Ze=(n("fe1c"),Object(f["a"])(Ke,qe,Fe,!1,null,"035a093f",null)),Ye=Ze.exports,Xe=n("308e"),Je=n("ee9e"),Qe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"TabNavigator",class:[{"tabs--vertical":e.vertical}]},[n("Tabnav",e._b({model:{value:e.currentTitle,callback:function(t){e.currentTitle=t},expression:"currentTitle"}},"Tabnav",{position:e.position,vertical:e.vertical},!1),e._l(e.titles,(function(t){return n("TabnavItem",{key:t,attrs:{value:t}},[e._v(" "+e._s(t)+" ")])})),1),n("div",{staticClass:"tabs-content"},[n("div",{staticClass:"tabs-content-container"},[n("transition-group",{attrs:{name:"fade"}},[e._l(e.titles,(function(t){return[n("div",{directives:[{name:"show",rawName:"v-show",value:t===e.currentTitle,expression:"title === currentTitle"}],key:t,staticClass:"tab-container",class:{active:t===e.currentTitle}},[e._t(t)],2)]}))],2)],1)])],1)},et=[],tt={name:"TabNavigator",components:{TabnavItem:R,Tabnav:L},props:{vertical:{type:Boolean,default:!1},position:{type:String,default:"start",validator:e=>new Set(["start","center","end"]).has(e)},titles:{type:Array,required:!0,default:()=>[]}},data(){return{currentTitle:this.titles[0]}},watch:{titles(e,t){if(e.length!t.includes(e));this.currentTitle=n||this.currentTitle}}}},nt=tt,it=(n("9ed5"),Object(f["a"])(nt,Qe,et,!1,null,"e671a734",null)),at=it.exports,rt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ul",{staticClass:"tasklist"},e._l(e.tasks,(function(t,i){return n("li",{key:i},[e.showCheckbox(t)?n("input",{attrs:{type:"checkbox",disabled:""},domProps:{checked:t.checked}}):e._e(),e._t("task",null,{task:t})],2)})),0)},st=[];const ot="checked",ct=e=>Object.hasOwnProperty.call(e,ot);var lt={name:"TaskList",props:{tasks:{required:!0,type:Array,validator:e=>e.some(ct)}},methods:{showCheckbox:ct}},ut=lt,dt=(n("c3da"),Object(f["a"])(ut,rt,st,!1,null,"6a56a858",null)),pt=dt.exports,ht=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.isListStyle?n("div",{staticClass:"links-block"},e._l(e.items,(function(e){return n("TopicsLinkBlock",{key:e.identifier,staticClass:"topic-link-block",attrs:{topic:e}})})),1):n("TopicsLinkCardGrid",{staticClass:"links-block",attrs:{items:e.items,"topic-style":e.blockStyle}})},mt=[],ft=n("70fb"),gt=n("12b1"),bt={name:"LinksBlock",mixins:[i["a"]],components:{TopicsLinkBlock:()=>n.e("chunk-c0335d80").then(n.bind(null,"2a18")),TopicsLinkCardGrid:ft["a"]},props:{identifiers:{type:Array,required:!0},blockStyle:{type:String,default:gt["a"].compactGrid}},computed:{isListStyle:({blockStyle:e})=>e===gt["a"].list,items:({identifiers:e,references:t})=>e.reduce((e,n)=>t[n]?e.concat(t[n]):e,[])}},vt=bt,yt=(n("6e71"),Object(f["a"])(vt,ht,mt,!1,null,"ce6f87f6",null)),wt=yt.exports,_t=n("5416");const{CaptionPosition:xt,CaptionTag:kt}=ge.constants,Ct={aside:"aside",codeListing:"codeListing",endpointExample:"endpointExample",heading:"heading",orderedList:"orderedList",paragraph:"paragraph",table:"table",termList:"termList",unorderedList:"unorderedList",dictionaryExample:"dictionaryExample",small:"small",video:"video",row:"row",tabNavigator:"tabNavigator",links:"links"},St={codeVoice:"codeVoice",emphasis:"emphasis",image:"image",inlineHead:"inlineHead",link:"link",newTerm:"newTerm",reference:"reference",strong:"strong",text:"text",superscript:"superscript",subscript:"subscript",strikethrough:"strikethrough"},Et={both:"both",column:"column",none:"none",row:"row"},Ot={left:"left",right:"right",center:"center",unset:"unset"},It=7;function jt(e,t){const n=n=>n.map(jt(e,t)),i=t=>t.map(t=>e("li",{},n(t.content))),c=(t,i,a,r,s,o,c)=>{const{colspan:l,rowspan:u}=o[`${s}_${r}`]||{};if(0===l||0===u)return null;const d=c[r]||Ot.unset;let p=null;return d!==Ot.unset&&(p=d+"-cell"),e(t,{attrs:{...i,colspan:l,rowspan:u},class:p},n(a))},l=(t,n=Et.none,i={},a=[])=>{switch(n){case Et.both:{const[n,...r]=t;return[e("thead",{},[e("tr",{},n.map((e,t)=>c("th",{scope:"col"},e,t,0,i,a)))]),e("tbody",{},r.map(([t,...n],r)=>e("tr",{},[c("th",{scope:"row"},t,0,r+1,i,a),...n.map((e,t)=>c("td",{},e,t+1,r+1,i,a))])))]}case Et.column:return[e("tbody",{},t.map(([t,...n],r)=>e("tr",{},[c("th",{scope:"row"},t,0,r,i,a),...n.map((e,t)=>c("td",{},e,t+1,r,i,a))])))];case Et.row:{const[n,...r]=t;return[e("thead",{},[e("tr",{},n.map((e,t)=>c("th",{scope:"col"},e,t,0,i,a)))]),e("tbody",{},r.map((t,n)=>e("tr",{},t.map((e,t)=>c("td",{},e,t,n+1,i,a)))))]}default:return[e("tbody",{},t.map((t,n)=>e("tr",{},t.map((e,t)=>c("td",{},e,t,n,i,a)))))]}},u=({metadata:{abstract:t=[],anchor:i,title:a,...r},...s})=>{const o={...s,metadata:r},c=[n([o])];if(a&&t.length||t.length){const i=a?xt.leading:xt.trailing,r=i===xt.trailing?1:0,s=kt.figcaption;c.splice(r,0,e(ge,{props:{title:a,position:i,tag:s}},n(t)))}return e(ce,{props:{anchor:i}},c)},d=({metadata:{deviceFrame:t},...i})=>e(_t["a"],{props:{device:t}},n([i]));return function(c){switch(c.type){case Ct.aside:{const t={kind:c.style,name:c.name};return e(a["a"],{props:t},n(c.content))}case Ct.codeListing:{if(c.metadata&&c.metadata.anchor)return u(c);const t={syntax:c.syntax,fileType:c.fileType,content:c.code,showLineNumbers:c.showLineNumbers};return e(r["a"],{props:t})}case Ct.endpointExample:{const t={request:c.request,response:c.response};return e(ne,{props:t},n(c.summary||[]))}case Ct.heading:{const t={anchor:c.anchor,level:c.level};return e(s["a"],{props:t},c.text)}case Ct.orderedList:return e("ol",{attrs:{start:c.start}},i(c.items));case Ct.paragraph:{const t=1===c.inlineContent.length&&c.inlineContent[0].type===St.image,i=t?{class:["inline-image-container"]}:{};return e("p",i,n(c.inlineContent))}case Ct.table:{const t=l(c.rows,c.header,c.extendedData,c.alignments);if(c.metadata&&c.metadata.abstract){const{title:i}=c.metadata,a=i?xt.leading:xt.trailing,r=kt.caption;t.unshift(e(ge,{props:{title:i,position:a,tag:r}},n(c.metadata.abstract)))}return e(Te,{attrs:{id:c.metadata&&c.metadata.anchor},props:{spanned:!!c.extendedData}},t)}case Ct.termList:return e("dl",{},c.items.map(({term:t,definition:i})=>[e("dt",{},n(t.inlineContent)),e("dd",{},n(i.content))]));case Ct.unorderedList:{const t=e=>pt.props.tasks.validator(e.items);return t(c)?e(pt,{props:{tasks:c.items},scopedSlots:{task:e=>n(e.task.content)}}):e("ul",{},i(c.items))}case Ct.dictionaryExample:{const t={example:c.example};return e(_,{props:t},n(c.summary||[]))}case Ct.small:return e("p",{},[e(ze,{},n(c.inlineContent))]);case Ct.video:{if(c.metadata&&c.metadata.abstract)return u(c);if(!t[c.identifier])return null;const{deviceFrame:n}=c.metadata||{};return e(Ye,{props:{identifier:c.identifier,deviceFrame:n}})}case Ct.row:{const t=c.numberOfColumns?{large:c.numberOfColumns}:void 0;return e(Je["a"],{props:{columns:t}},c.columns.map(t=>e(Xe["a"],{props:{span:t.size}},n(t.content))))}case Ct.tabNavigator:{const t=c.tabs.length>It,i=c.tabs.map(e=>e.title),a=c.tabs.reduce((e,t)=>({...e,[t.title]:()=>n(t.content)}),{});return e(at,{props:{titles:i,vertical:t},scopedSlots:a})}case Ct.links:return e(wt,{props:{blockStyle:c.style,identifiers:c.items}});case St.codeVoice:return e(o["a"],{},c.code);case St.emphasis:case St.newTerm:return e("em",n(c.inlineContent));case St.image:{if(c.metadata&&(c.metadata.anchor||c.metadata.abstract))return u(c);const n=t[c.identifier];return n?c.metadata&&c.metadata.deviceFrame?d(c):e(ke,{props:{alt:n.alt,variants:n.variants}}):null}case St.link:return e("a",{attrs:{href:c.destination}},c.title);case St.reference:{const i=t[c.identifier];if(!i)return null;const a=c.overridingTitleInlineContent||i.titleInlineContent,r=c.overridingTitle||i.title;return e(Ce["a"],{props:{url:i.url,kind:i.kind,role:i.role,isActive:c.isActive,ideTitle:i.ideTitle,titleStyle:i.titleStyle,hasInlineFormatting:!!a}},a?n(a):r)}case St.strong:case St.inlineHead:return e("strong",n(c.inlineContent));case St.text:return"\n"===c.text?e("br"):c.text;case St.superscript:return e("sup",n(c.inlineContent));case St.subscript:return e("sub",n(c.inlineContent));case St.strikethrough:return e(Me,n(c.inlineContent));default:return null}}}var Tt,At,Lt={name:"ContentNode",constants:{TableHeaderStyle:Et,TableColumnAlignments:Ot},mixins:[i["a"]],render:function(e){return e(this.tag,{class:"content"},this.content.map(jt(e,this.references),this))},props:{content:{type:Array,required:!0},tag:{type:String,default:()=>"div"}},methods:{map(e){function t(n=[]){return n.map(n=>{switch(n.type){case Ct.aside:return e({...n,content:t(n.content)});case Ct.dictionaryExample:return e({...n,summary:t(n.summary)});case Ct.paragraph:case St.emphasis:case St.strong:case St.inlineHead:case St.superscript:case St.subscript:case St.strikethrough:case St.newTerm:return e({...n,inlineContent:t(n.inlineContent)});case Ct.orderedList:case Ct.unorderedList:return e({...n,items:n.items.map(e=>({...e,content:t(e.content)}))});case Ct.table:return e({...n,rows:n.rows.map(e=>e.map(t))});case Ct.termList:return e({...n,items:n.items.map(e=>({...e,term:{inlineContent:t(e.term.inlineContent)},definition:{content:t(e.definition.content)}}))});default:return e(n)}})}return t(this.content)},forEach(e){function t(n=[]){n.forEach(n=>{switch(e(n),n.type){case Ct.aside:t(n.content);break;case Ct.paragraph:case St.emphasis:case St.strong:case St.inlineHead:case St.newTerm:case St.superscript:case St.subscript:case St.strikethrough:t(n.inlineContent);break;case Ct.orderedList:case Ct.unorderedList:n.items.forEach(e=>t(e.content));break;case Ct.dictionaryExample:t(n.summary);break;case Ct.table:n.rows.forEach(e=>{e.forEach(t)});break;case Ct.termList:n.items.forEach(e=>{t(e.term.inlineContent),t(e.definition.content)});break}})}return t(this.content)},reduce(e,t){let n=t;return this.forEach(t=>{n=e(n,t)}),n}},computed:{plaintext(){return this.reduce((e,t)=>t.type===Ct.paragraph?e+"\n":t.type===St.text?`${e}${t.text}`:e,"").trim()}},BlockType:Ct,InlineType:St},Bt=Lt,$t=Object(f["a"])(Bt,Tt,At,!1,null,null,null);t["default"]=$t.exports},"598a":function(e,t,n){},"5c97":function(e,t,n){},"5da3":function(e,t,n){e.exports=n.p+"img/no-image@2x.df2a0a50.png"},"5dcc":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("h"+e.level,{tag:"component",attrs:{id:e.anchor}},[e.shouldLink?n("router-link",{staticClass:"header-anchor",attrs:{to:{hash:"#"+e.anchor}},on:{click:function(t){return e.handleFocusAndScroll(e.anchor)}}},[e._t("default"),n("span",{staticClass:"visuallyhidden"},[e._v(e._s(e.$t("accessibility.in-page-link")))]),n("LinkIcon",{staticClass:"icon",attrs:{"aria-hidden":"true"}})],2):[e._t("default")]],2)},a=[],r=n("8a61"),s=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"link-icon",attrs:{viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M19.34,4.88L15.12,.66c-.87-.87-2.3-.87-3.17,0l-3.55,3.56-1.38,1.38-1.4,1.4c-.47,.47-.68,1.09-.64,1.7,.02,.29,.09,.58,.21,.84,.11,.23,.24,.44,.43,.63l4.22,4.22h0l.53-.53,.53-.53h0l-4.22-4.22c-.29-.29-.29-.77,0-1.06l1.4-1.4,.91-.91,.58-.58,.55-.55,2.9-2.9c.29-.29,.77-.29,1.06,0l4.22,4.22c.29,.29,.29,.77,0,1.06l-2.9,2.9c.14,.24,.24,.49,.31,.75,.08,.32,.11,.64,.09,.96l3.55-3.55c.87-.87,.87-2.3,0-3.17Z"}}),n("path",{attrs:{d:"M14.41,9.82s0,0,0,0l-4.22-4.22h0l-.53,.53-.53,.53h0l4.22,4.22c.29,.29,.29,.77,0,1.06l-1.4,1.4-.91,.91-.58,.58-.55,.55h0l-2.9,2.9c-.29,.29-.77,.29-1.06,0L1.73,14.04c-.29-.29-.29-.77,0-1.06l2.9-2.9c-.14-.24-.24-.49-.31-.75-.08-.32-.11-.64-.09-.97L.68,11.93c-.87,.87-.87,2.3,0,3.17l4.22,4.22c.87,.87,2.3,.87,3.17,0l3.55-3.55,1.38-1.38,1.4-1.4c.47-.47,.68-1.09,.64-1.7-.02-.29-.09-.58-.21-.84-.11-.22-.24-.44-.43-.62Z"}})])},o=[],c=n("be08"),l={name:"LinkIcon",components:{SVGIcon:c["a"]}},u=l,d=n("2877"),p=Object(d["a"])(u,s,o,!1,null,null,null),h=p.exports,m={name:"LinkableHeading",mixins:[r["a"]],components:{LinkIcon:h},props:{anchor:{type:String,required:!1},level:{type:Number,default:()=>2,validator:e=>e>=1&&e<=6}},inject:{enableMinimized:{default:()=>!1},isTargetIDE:{default:()=>!1}},computed:{shouldLink:({anchor:e,enableMinimized:t,isTargetIDE:n})=>!!e&&!t&&!n}},f=m,g=(n("bbf6"),Object(d["a"])(f,i,a,!1,null,"6007a8a4",null));t["a"]=g.exports},6058:function(e,t,n){},6209:function(e,t,n){"use strict";n("0eaa")},"620a":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"col",class:e.classes},[e._t("default")],2)},a=[];const r=0,s=12,o=new Set(["large","medium","small"]),c=e=>({type:Object,default:()=>({}),validator:t=>Object.keys(t).every(n=>o.has(n)&&e(t[n]))}),l=c(e=>"boolean"===typeof e),u=c(e=>"number"===typeof e&&e>=r&&e<=s);var d={name:"GridColumn",props:{isCentered:l,isUnCentered:l,span:{...u,default:()=>({large:s})}},computed:{classes:function(){return{["large-"+this.span.large]:void 0!==this.span.large,["medium-"+this.span.medium]:void 0!==this.span.medium,["small-"+this.span.small]:void 0!==this.span.small,"large-centered":!!this.isCentered.large,"medium-centered":!!this.isCentered.medium,"small-centered":!!this.isCentered.small,"large-uncentered":!!this.isUnCentered.large,"medium-uncentered":!!this.isUnCentered.medium,"small-uncentered":!!this.isUnCentered.small}}}},p=d,h=(n("6e4a"),n("2877")),m=Object(h["a"])(p,i,a,!1,null,"2ee3ad8b",null);t["a"]=m.exports},"636c":function(e,t,n){},"63e6":function(e,t,n){},"64b5":function(e,t,n){},6667:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"diagonal-arrow",attrs:{viewBox:"0 0 14 14",themeId:"diagonal-arrow"}},[n("path",{attrs:{d:"M0.010 12.881l10.429-10.477-3.764 0.824-0.339-1.549 7.653-1.679-1.717 7.622-1.546-0.349 0.847-3.759-10.442 10.487z"}})])},a=[],r=n("be08"),s={name:"DiagonalArrowIcon",components:{SVGIcon:r["a"]}},o=s,c=n("2877"),l=Object(c["a"])(o,i,a,!1,null,null,null);t["a"]=l.exports},"66cd":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));const i={article:"article",codeListing:"codeListing",collection:"collection",collectionGroup:"collectionGroup",containerSymbol:"containerSymbol",devLink:"devLink",dictionarySymbol:"dictionarySymbol",generic:"generic",link:"link",media:"media",pseudoCollection:"pseudoCollection",pseudoSymbol:"pseudoSymbol",restRequestSymbol:"restRequestSymbol",sampleCode:"sampleCode",symbol:"symbol",table:"table",learn:"learn",overview:"overview",project:"project",tutorial:"tutorial",resources:"resources"}},6869:function(e,t,n){"use strict";n("9649")},"6e4a":function(e,t,n){"use strict";n("05a1")},"6e71":function(e,t,n){"use strict";n("3ba9")},"70fb":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"TopicsLinkCardGrid"},[n("Row",{attrs:{columns:{large:e.compactCards?3:2,medium:2}}},e._l(e.items,(function(t){return n("Column",{key:t.title},[n("TopicsLinkCardGridItem",{attrs:{item:t,compact:e.compactCards}})],1)})),1)],1)},a=[],r=n("ee9e"),s=n("308e"),o=n("12b1"),c=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Card",{staticClass:"reference-card-grid-item",attrs:{url:e.item.url,image:e.imageReferences.card,title:e.item.title,"floating-style":"",size:e.cardSize,"link-text":e.compact?"":e.$t(e.linkText)},scopedSlots:e._u([e.imageReferences.card?null:{key:"cover",fn:function(t){var i=t.classes;return[n("div",{staticClass:"reference-card-grid-item__image",class:i},[n("TopicTypeIcon",{staticClass:"reference-card-grid-item__icon",attrs:{type:e.item.role,"image-override":e.references[e.imageReferences.icon]}})],1)]}}],null,!0)},[e.compact?e._e():n("ContentNode",{attrs:{content:e.item.abstract}})],1)},l=[],u=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Reference",e._b({staticClass:"card",class:e.classes,attrs:{url:e.url}},"Reference",e.linkAriaTags,!1),[n("CardCover",{attrs:{variants:e.imageVariants,rounded:e.floatingStyle,alt:e.imageReference.alt,"aria-hidden":"true"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._t("cover",null,null,t)]}}],null,!0)}),n("div",{staticClass:"details",attrs:{"aria-hidden":"true"}},[e.eyebrow?n("div",{staticClass:"eyebrow",attrs:{id:e.eyebrowId,"aria-label":e.formatAriaLabel("- "+e.eyebrow)}},[e._v(" "+e._s(e.eyebrow)+" ")]):e._e(),n("div",{staticClass:"title",attrs:{id:e.titleId}},[e._v(" "+e._s(e.title)+" ")]),e.$slots.default?n("div",{staticClass:"card-content",attrs:{id:e.contentId}},[e._t("default")],2):e._e(),e.linkText?n(e.hasButton?"ButtonLink":"div",{tag:"component",staticClass:"link"},[e._v(" "+e._s(e.linkText)+" "),e.showExternalLinks?n("DiagonalArrowIcon",{staticClass:"icon-inline link-icon"}):e.hasButton?e._e():n("InlineChevronRightIcon",{staticClass:"icon-inline link-icon"})],1):e._e()],1)],1)},d=[],p=n("76ab"),h=n("34b0"),m=n("6667"),f=n("86d8"),g={small:"small",large:"large"},b=n("2f34"),v=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"card-cover-wrap",class:{rounded:e.rounded}},[e._t("default",(function(){return[n("ImageAsset",{staticClass:"card-cover",attrs:{variants:e.variants,alt:e.alt}})]}),{classes:"card-cover"})],2)},y=[],w=n("8bd9"),_={name:"CardCover",components:{ImageAsset:w["a"]},props:{variants:{type:Array,required:!0},rounded:{type:Boolean,default:!1},alt:{type:String,default:null}}},x=_,k=(n("850e"),n("2877")),C=Object(k["a"])(x,v,y,!1,null,"0c1c40a1",null),S=C.exports,E={name:"Card",components:{Reference:f["a"],DiagonalArrowIcon:m["a"],InlineChevronRightIcon:h["a"],CardCover:S,ButtonLink:p["a"]},constants:{CardSize:g},mixins:[b["a"]],computed:{titleId:({_uid:e})=>"card_title_"+e,contentId:({_uid:e})=>"card_content_"+e,eyebrowId:({_uid:e})=>"card_eyebrow_"+e,linkAriaTags:({titleId:e,eyebrowId:t,contentId:n,eyebrow:i,$slots:a})=>({"aria-labelledby":e.concat(i?" "+t:""),"aria-describedby":a.default?""+n:null}),classes:({size:e,floatingStyle:t})=>[e,{"floating-style":t}],imageReference:({image:e,references:t})=>t[e]||{},imageVariants:({imageReference:e})=>e.variants||[]},props:{linkText:{type:String,required:!1},url:{type:String,required:!1,default:""},eyebrow:{type:String,required:!1},image:{type:String,required:!1},size:{type:String,validator:e=>Object.prototype.hasOwnProperty.call(g,e)},title:{type:String,required:!0},hasButton:{type:Boolean,default:()=>!1},floatingStyle:{type:Boolean,default:!1},showExternalLinks:{type:Boolean,default:!1},formatAriaLabel:{type:Function,default:e=>e}}},O=E,I=(n("0939"),Object(k["a"])(O,u,d,!1,null,"328d568a",null)),j=I.exports,T=n("f12c"),A=n("66cd");const L={[A["a"].article]:"documentation.card.read-article",[A["a"].overview]:"documentation.card.start-tutorial",[A["a"].collection]:"documentation.card.view-api",[A["a"].symbol]:"documentation.card.view-symbol",[A["a"].sampleCode]:"documentation.card.view-sample-code"};var B={name:"TopicsLinkCardGridItem",components:{TopicTypeIcon:T["a"],Card:j,ContentNode:()=>Promise.resolve().then(n.bind(null,"5677"))},mixins:[b["a"]],props:{item:{type:Object,required:!0},compact:{type:Boolean,default:!0}},computed:{imageReferences:({item:e})=>(e.images||[]).reduce((e,t)=>(e[t.type]=t.identifier,e),{icon:null,card:null}),linkText:({item:e})=>L[e.role]||"documentation.card.learn-more",cardSize:({compact:e})=>e?void 0:g.large}},$=B,N=(n("8f26"),Object(k["a"])($,c,l,!1,null,"08a5e3f8",null)),M=N.exports,P={name:"TopicsLinkCardGrid",components:{TopicsLinkCardGridItem:M,Column:s["a"],Row:r["a"]},props:{items:{type:Array,required:!0},topicStyle:{type:String,default:o["a"].compactGrid,validator:e=>e===o["a"].compactGrid||e===o["a"].detailedGrid}},computed:{compactCards:({topicStyle:e})=>e===o["a"].compactGrid}},R=P,V=Object(k["a"])(R,i,a,!1,null,null,null);t["a"]=V.exports},"72e7":function(e,t,n){"use strict";const i={up:"up",down:"down"};t["a"]={constants:{IntersectionDirections:i},data(){return{intersectionObserver:null,intersectionPreviousScrollY:0,intersectionScrollDirection:i.down}},computed:{intersectionThreshold(){const e=[];for(let t=0;t<=1;t+=.01)e.push(t);return e},intersectionRoot(){return null},intersectionRootMargin(){return"0px 0px 0px 0px"},intersectionObserverOptions(){return{root:this.intersectionRoot,rootMargin:this.intersectionRootMargin,threshold:this.intersectionThreshold}}},async mounted(){await n.e("chunk-2d0d3105").then(n.t.bind(null,"5abe",7)),this.intersectionObserver=new IntersectionObserver(e=>{this.detectIntersectionScrollDirection();const t=this.onIntersect;t?e.forEach(t):console.warn("onIntersect not implemented")},this.intersectionObserverOptions),this.getIntersectionTargets().forEach(e=>{this.intersectionObserver.observe(e)})},beforeDestroy(){this.intersectionObserver&&this.intersectionObserver.disconnect()},methods:{getIntersectionTargets(){return[this.$el]},detectIntersectionScrollDirection(){window.scrollYthis.intersectionPreviousScrollY&&(this.intersectionScrollDirection=i.up),this.intersectionPreviousScrollY=window.scrollY}}}},"74ea":function(e,t,n){"use strict";n("636c")},7689:function(e,t,n){"use strict";t["a"]={computed:{isClientMobile(){let e=!1;return e="maxTouchPoints"in navigator||"msMaxTouchPoints"in navigator?Boolean(navigator.maxTouchPoints||navigator.msMaxTouchPoints):window.matchMedia?window.matchMedia("(pointer:coarse)").matches:"orientation"in window,e}}}},"76ab":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n(e.resolvedComponent,e._b({tag:"component",staticClass:"button-cta",class:{"is-dark":e.isDark}},"component",e.componentProps,!1),[e._t("default")],2)},a=[],r=n("86d8"),s={name:"ButtonLink",components:{Reference:r["a"]},props:{url:{type:String,required:!1},isDark:{type:Boolean,default:!1}},computed:{resolvedComponent:({url:e})=>e?r["a"]:"button",componentProps:({url:e})=>e?{url:e}:{}}},o=s,c=(n("0da1"),n("2877")),l=Object(c["a"])(o,i,a,!1,null,"c9c81868",null);t["a"]=l.exports},"7b1f":function(e,t,n){"use strict";var i,a,r={functional:!0,name:"WordBreak",render(e,{props:t,slots:n,data:i}){const a=n().default||[],r=a.filter(e=>e.text&&!e.tag);if(0===r.length||r.length!==a.length)return e(t.tag,i,a);const s=r.map(({text:e})=>e).join(),o=[];let c=null,l=0;while(null!==(c=t.safeBoundaryPattern.exec(s))){const t=c.index+1;o.push(s.slice(l,t)),o.push(e("wbr",{key:c.index})),l=t}return o.push(s.slice(l,s.length)),e(t.tag,i,o)},props:{safeBoundaryPattern:{type:RegExp,default:()=>/([a-z](?=[A-Z])|(:)\w|\w(?=[._]\w))/g},tag:{type:String,default:()=>"span"}}},s=r,o=n("2877"),c=Object(o["a"])(s,i,a,!1,null,null,null);t["a"]=c.exports},"7b69":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"code-listing",class:{"single-line":1===e.syntaxHighlightedLines.length},attrs:{"data-syntax":e.syntaxNameNormalized}},[e.fileName?n("Filename",{attrs:{isActionable:e.isFileNameActionable,fileType:e.fileType},on:{click:function(t){return e.$emit("file-name-click")}}},[e._v(e._s(e.fileName)+" ")]):e._e(),n("div",{staticClass:"container-general"},[n("pre",[n("CodeBlock",[e._l(e.syntaxHighlightedLines,(function(t,i){return[n("span",{key:i,class:["code-line-container",{highlighted:e.isHighlighted(i)}]},[e.showLineNumbers?n("span",{staticClass:"code-number",attrs:{"data-line-number":e.lineNumberFor(i)}}):e._e(),n("span",{staticClass:"code-line",domProps:{innerHTML:e._s(t)}})]),e._v("\n")]}))],2)],1)])],1)},a=[],r=n("002d"),s=n("8649"),o=n("800b"),c=n("1020"),l=n.n(c);const u={objectivec:["objective-c"]},d={bash:["sh","zsh"],c:["h"],cpp:["cc","c++","h++","hpp","hh","hxx","cxx"],css:[],diff:["patch"],http:["https"],java:["jsp"],javascript:["js","jsx","mjs","cjs"],json:[],llvm:[],markdown:["md","mkdown","mkd"],objectivec:["mm","objc","obj-c"].concat(u.objectivec),perl:["pl","pm"],php:[],python:["py","gyp","ipython"],ruby:["rb","gemspec","podspec","thor","irb"],scss:[],shell:["console","shellsession"],swift:[],xml:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],...Object({NODE_ENV:"production",VUE_APP_TITLE:"Documentation",BASE_URL:"{{BASE_PATH}}/"}).VUE_APP_HLJS_LANGUAGES?Object.fromEntries(Object({NODE_ENV:"production",VUE_APP_TITLE:"Documentation",BASE_URL:"{{BASE_PATH}}/"}).VUE_APP_HLJS_LANGUAGES.split(",").map(e=>[e,[]])):void 0},p=new Set(["markdown","swift"]),h=Object.entries(d),m=new Set(Object.keys(d)),f=new Map;async function g(e){const t=[e];try{return await t.reduce(async(e,t)=>{let i;await e,i=p.has(t)?await n("1417")("./"+t):await n("b7b0")("./"+t),l.a.registerLanguage(t,i.default)},Promise.resolve()),!0}catch(i){return console.error(`Could not load ${e} file`),!1}}function b(e){if(m.has(e))return e;const t=h.find(([,t])=>t.includes(e));return t?t[0]:null}function v(e){if(f.has(e))return f.get(e);const t=b(e);return f.set(e,t),t}l.a.configure({classPrefix:"syntax-",languages:[...m]});const y=async e=>{const t=v(e);return!(!t||l.a.listLanguages().includes(t))&&g(t)},w=/\r\n|\r|\n/g,_=/syntax-/;function x(e){return 0===e.length?[]:e.split(w)}function k(e){return(e.trim().match(w)||[]).length}function C(e){const t=document.createElement("template");return t.innerHTML=e,t.content.childNodes}function S(e){const{className:t}=e;if(!_.test(t))return null;const n=x(e.innerHTML).reduce((e,n)=>`${e}${n}\n`,"");return C(n.trim())}function E(e){return Array.from(e.childNodes).forEach(e=>{if(k(e.textContent))try{const t=e.childNodes.length?E(e):S(e);t&&e.replaceWith(...t)}catch(t){console.error(t)}}),S(e)}function O(e,t){const n=b(t);if(!l.a.getLanguage(n))throw new Error("Unsupported language for syntax highlighting: "+t);return l.a.highlight(e,{language:n,ignoreIllegals:!0}).value}function I(e,t){const n=e.join("\n"),i=O(n,t),a=document.createElement("code");return a.innerHTML=i,E(a),x(a.innerHTML)}var j=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{staticClass:"filename"},[e.isActionable?n("a",{attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.$emit("click")}}},[n("FileIcon",{attrs:{fileType:e.fileType}}),e._t("default")],2):n("span",[n("FileIcon",{attrs:{fileType:e.fileType}}),e._t("default")],2)])},T=[],A=function(){var e=this,t=e.$createElement,n=e._self._c||t;return"swift"===e.fileType?n("SwiftFileIcon",{staticClass:"file-icon"}):n("GenericFileIcon",{staticClass:"file-icon"})},L=[],B=n("a88f"),$=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"generic-file-icon",attrs:{viewBox:"0 0 14 14",themeId:"generic-file"}},[n("path",{attrs:{d:"M8.033 1l3.967 4.015v7.985h-10v-12zM7.615 2h-4.615v10h8v-6.574z"}}),n("path",{attrs:{d:"M7 1h1v4h-1z"}}),n("path",{attrs:{d:"M7 5h5v1h-5z"}})])},N=[],M=n("be08"),P={name:"GenericFileIcon",components:{SVGIcon:M["a"]}},R=P,V=n("2877"),D=Object(V["a"])(R,$,N,!1,null,null,null),G=D.exports,z={name:"CodeListingFileIcon",components:{SwiftFileIcon:B["a"],GenericFileIcon:G},props:{fileType:String}},q=z,F=(n("e6db"),Object(V["a"])(q,A,L,!1,null,"7c381064",null)),U=F.exports,W={name:"CodeListingFilename",components:{FileIcon:U},props:{isActionable:{type:Boolean,default:()=>!1},fileType:String}},H=W,K=(n("8608"),Object(V["a"])(H,j,T,!1,null,"c8c40662",null)),Z=K.exports,Y={name:"CodeListing",components:{Filename:Z,CodeBlock:o["a"]},data(){return{syntaxHighlightedLines:[]}},props:{fileName:String,isFileNameActionable:{type:Boolean,default:()=>!1},syntax:String,fileType:String,content:{type:Array,required:!0},startLineNumber:{type:Number,default:()=>1},highlights:{type:Array,default:()=>[]},showLineNumbers:{type:Boolean,default:()=>!1}},computed:{escapedContent:({content:e})=>e.map(r["c"]),highlightedLineNumbers(){return new Set(this.highlights.map(({line:e})=>e))},syntaxNameNormalized(){const e={occ:s["a"].objectiveC.key.url};return e[this.syntax]||this.syntax}},watch:{content:{handler:"syntaxHighlightLines",immediate:!0}},methods:{isHighlighted(e){return this.highlightedLineNumbers.has(this.lineNumberFor(e))},lineNumberFor(e){return this.startLineNumber+e},async syntaxHighlightLines(){let e;try{await y(this.syntaxNameNormalized),e=I(this.content,this.syntaxNameNormalized)}catch(t){e=this.escapedContent}this.syntaxHighlightedLines=e.map(e=>""===e?"\n":e)}}},X=Y,J=(n("7e3a"),Object(V["a"])(X,i,a,!1,null,"59f42f5b",null));t["a"]=J.exports},"7e3a":function(e,t,n){"use strict";n("f030")},"800b":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("code",{attrs:{tabindex:"0","data-before-code":e.$t("accessibility.code.start"),"data-after-code":e.$t("accessibility.code.end")}},[e._t("default")],2)},a=[],r={name:"CodeBlock"},s=r,o=(n("159b"),n("2877")),c=Object(o["a"])(s,i,a,!1,null,"08295b2f",null);t["a"]=c.exports},"80c8":function(e,t,n){},"80e4":function(e,t,n){"use strict";var i,a,r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"asset"},[n(e.assetComponent,e._g(e._b({tag:"component"},"component",e.assetProps,!1),e.assetListeners))],1)},s=[],o=n("8bd9"),c=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ConditionalWrapper",{ref:"wrapper",attrs:{tag:e.DeviceFrameComponent,"should-wrap":!!e.deviceFrame,device:e.deviceFrame}},[n("video",{ref:"video",attrs:{controls:e.showsControls,autoplay:e.autoplays,poster:e.normalisedPosterPath,width:e.optimalWidth,playsinline:""},domProps:{muted:e.muted},on:{playing:function(t){return e.$emit("playing")},pause:function(t){return e.$emit("pause")},ended:function(t){return e.$emit("ended")}}},[n("source",{attrs:{src:e.normalizePath(e.videoAttributes.url)}})])])},l=[],u=n("748c"),d=n("e425"),p=n("821b"),h={functional:!0,name:"ConditionalWrapper",props:{tag:[Object,String],shouldWrap:Boolean},render(e,t){return t.props.shouldWrap?e(t.props.tag,t.data,t.children):t.children}},m=h,f=n("2877"),g=Object(f["a"])(m,i,a,!1,null,null,null),b=g.exports,v=n("5416"),y={name:"VideoAsset",components:{ConditionalWrapper:b},props:{variants:{type:Array,required:!0},showsControls:{type:Boolean,default:()=>!0},autoplays:{type:Boolean,default:()=>!0},posterVariants:{type:Array,required:!1,default:()=>[]},muted:{type:Boolean,default:!0},deviceFrame:{type:String,required:!1}},data:()=>({appState:d["a"].state,optimalWidth:null}),computed:{DeviceFrameComponent:()=>v["a"],preferredColorScheme:({appState:e})=>e.preferredColorScheme,systemColorScheme:({appState:e})=>e.systemColorScheme,userPrefersDark:({preferredColorScheme:e,systemColorScheme:t})=>e===p["a"].dark||e===p["a"].auto&&t===p["a"].dark,shouldShowDarkVariant:({darkVideoVariantAttributes:e,userPrefersDark:t})=>e&&t,defaultVideoAttributes(){return this.videoVariantsGroupedByAppearance.light[0]||this.darkVideoVariantAttributes||{}},darkVideoVariantAttributes(){return this.videoVariantsGroupedByAppearance.dark[0]},videoVariantsGroupedByAppearance(){return Object(u["e"])(this.variants)},posterVariantsGroupedByAppearance(){const{light:e,dark:t}=Object(u["e"])(this.posterVariants);return{light:Object(u["a"])(e),dark:Object(u["a"])(t)}},defaultPosterAttributes:({posterVariantsGroupedByAppearance:e,userPrefersDark:t})=>t&&e.dark.length?e.dark[0]:e.light[0]||{},normalisedPosterPath:({defaultPosterAttributes:e})=>Object(u["c"])(e.src),videoAttributes:({darkVideoVariantAttributes:e,defaultVideoAttributes:t,shouldShowDarkVariant:n})=>n?e:t},watch:{normalisedPosterPath:{immediate:!0,handler:"getPosterDimensions"}},methods:{normalizePath:u["c"],async getPosterDimensions(e){if(!e)return void(this.optimalWidth=null);const{density:t}=this.defaultPosterAttributes,n=parseInt(t.match(/\d+/)[0],10),{width:i}=await Object(u["b"])(e);this.optimalWidth=i/n}}},w=y,_=Object(f["a"])(w,c,l,!1,null,null,null),x=_.exports,k=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"video-replay-container"},[n("VideoAsset",{ref:"asset",attrs:{variants:e.variants,autoplays:e.autoplays,showsControls:e.showsControls,muted:e.muted,posterVariants:e.posterVariants,deviceFrame:e.deviceFrame},on:{pause:e.onPause,playing:e.onVideoPlaying,ended:e.onVideoEnd}}),e.showsControls?e._e():n("a",{staticClass:"control-button",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.togglePlayStatus.apply(null,arguments)}}},[e._v(" "+e._s(e.text)+" "),e.videoEnded?n("InlineReplayIcon",{staticClass:"control-icon icon-inline"}):e.isPlaying?n("PauseIcon",{staticClass:"control-icon icon-inline"}):n("PlayIcon",{staticClass:"control-icon icon-inline"})],1)],1)},C=[],S=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"inline-replay-icon",attrs:{viewBox:"0 0 14 14",themeId:"inline-replay"}},[n("path",{attrs:{d:"M2.254 10.201c-1.633-2.613-0.838-6.056 1.775-7.689 2.551-1.594 5.892-0.875 7.569 1.592l0.12 0.184-0.848 0.53c-1.34-2.145-4.166-2.797-6.311-1.457s-2.797 4.166-1.457 6.311 4.166 2.797 6.311 1.457c1.006-0.629 1.71-1.603 2.003-2.723l0.056-0.242 0.98 0.201c-0.305 1.487-1.197 2.792-2.51 3.612-2.613 1.633-6.056 0.838-7.689-1.775z"}}),n("path",{attrs:{d:"M10.76 1.355l0.984-0.18 0.851 4.651-4.56-1.196 0.254-0.967 3.040 0.796z"}})])},E=[],O=n("be08"),I={name:"InlineReplayIcon",components:{SVGIcon:O["a"]}},j=I,T=Object(f["a"])(j,S,E,!1,null,null,null),A=T.exports,L=n("c4dd"),B=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"pause-icon",attrs:{viewBox:"0 0 14 14",themeId:"pause"}},[n("path",{attrs:{d:"M5 4h1v6h-1z"}}),n("path",{attrs:{d:"M8 4h1v6h-1z"}}),n("path",{attrs:{d:"M7 0.5c-3.6 0-6.5 2.9-6.5 6.5s2.9 6.5 6.5 6.5 6.5-2.9 6.5-6.5-2.9-6.5-6.5-6.5zM7 12.5c-3 0-5.5-2.5-5.5-5.5s2.5-5.5 5.5-5.5 5.5 2.5 5.5 5.5-2.5 5.5-5.5 5.5z"}})])},$=[],N={name:"PauseIcon",components:{SVGIcon:O["a"]}},M=N,P=Object(f["a"])(M,B,$,!1,null,null,null),R=P.exports,V={name:"ReplayableVideoAsset",components:{PauseIcon:R,PlayIcon:L["a"],InlineReplayIcon:A,VideoAsset:x},props:{variants:{type:Array,required:!0},showsControls:{type:Boolean,default:()=>!0},autoplays:{type:Boolean,default:()=>!0},muted:{type:Boolean,default:!0},posterVariants:{type:Array,default:()=>[]},deviceFrame:{type:String,required:!1}},computed:{text(){return this.videoEnded?this.$t("video.replay"):this.isPlaying?this.$t("video.pause"):this.$t("video.play")}},data(){return{isPlaying:!1,videoEnded:!1}},methods:{async togglePlayStatus(){const e=this.$refs.asset.$refs.video;e&&(this.isPlaying&&!this.videoEnded?await e.pause():await e.play())},onVideoEnd(){this.isPlaying=!1,this.videoEnded=!0},onVideoPlaying(){const{video:e}=this.$refs.asset.$refs;this.isPlaying=!e.paused,this.videoEnded=e.ended},onPause(){const{video:e}=this.$refs.asset.$refs;!this.showsControls&&this.isPlaying&&(this.isPlaying=!1),this.videoEnded=e.ended}}},D=V,G=(n("74ea"),Object(f["a"])(D,k,C,!1,null,"7653dfd0",null)),z=G.exports,q=n("2f34");const F={video:"video",image:"image"};var U={name:"Asset",components:{ImageAsset:o["a"],VideoAsset:x},constants:{AssetTypes:F},mixins:[q["a"]],props:{identifier:{type:String,required:!0},showsReplayButton:{type:Boolean,default:()=>!1},showsVideoControls:{type:Boolean,default:()=>!0},videoAutoplays:{type:Boolean,default:()=>!0},videoMuted:{type:Boolean,default:!0},deviceFrame:{type:String,required:!1}},computed:{rawAsset(){return this.references[this.identifier]||{}},isRawAssetVideo:({rawAsset:e})=>e.type===F.video,videoPoster(){return this.isRawAssetVideo&&this.references[this.rawAsset.poster]},asset(){return this.isRawAssetVideo&&this.prefersReducedMotion&&this.videoPoster||this.rawAsset},assetComponent(){switch(this.asset.type){case F.image:return o["a"];case F.video:return this.showsReplayButton?z:x;default:return}},prefersReducedMotion(){return window.matchMedia("(prefers-reduced-motion)").matches},assetProps(){return{[F.image]:this.imageProps,[F.video]:this.videoProps}[this.asset.type]},imageProps(){return{alt:this.asset.alt,variants:this.asset.variants}},videoProps(){return{variants:this.asset.variants,showsControls:this.showsVideoControls,muted:this.videoMuted,autoplays:!this.prefersReducedMotion&&this.videoAutoplays,posterVariants:this.videoPoster?this.videoPoster.variants:[],deviceFrame:this.deviceFrame}},assetListeners(){return{[F.image]:null,[F.video]:{ended:()=>this.$emit("videoEnded")}}[this.asset.type]}}},W=U,H=(n("5201"),Object(f["a"])(W,r,s,!1,null,"dcbc7b38",null));t["a"]=H.exports},"81c0":function(e,t,n){},8222:function(e,t,n){},"850e":function(e,t,n){"use strict";n("88d2")},8608:function(e,t,n){"use strict";n("a7f3")},"863d":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{staticClass:"nav-menu-item",class:{"nav-menu-item--animated":e.animate}},[e._t("default")],2)},a=[],r={name:"NavMenuItemBase",props:{animate:{type:Boolean,default:!0}}},s=r,o=(n("43fe"),n("2877")),c=Object(o["a"])(s,i,a,!1,null,"66cbfe4c",null);t["a"]=c.exports},8649:function(e,t,n){"use strict";t["a"]={objectiveC:{name:"Objective-C",key:{api:"occ",url:"objc"}},swift:{name:"Swift",key:{api:"swift",url:"swift"}}}},"86d8":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n(e.refComponent,{tag:"component",attrs:{url:e.urlWithParams,"is-active":e.isActiveComputed}},[e._t("default")],2)},a=[],r=n("d26a"),s=n("66cd"),o=n("9895"),c=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.isActive?n("a",{attrs:{href:e.url}},[e._t("default")],2):n("span",[e._t("default")],2)},l=[],u={name:"ReferenceExternal",props:{url:{type:String,required:!0},isActive:{type:Boolean,default:!0}}},d=u,p=n("2877"),h=Object(p["a"])(d,c,l,!1,null,null,null),m=h.exports,f=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ReferenceInternal",e._b({},"ReferenceInternal",e.$props,!1),[n("CodeVoice",[e._t("default")],2)],1)},g=[],b=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.isActive?n("router-link",{attrs:{to:e.url}},[e._t("default")],2):n("span",[e._t("default")],2)},v=[],y={name:"ReferenceInternal",props:{url:{type:String,required:!0},isActive:{type:Boolean,default:!0}}},w=y,_=Object(p["a"])(w,b,v,!1,null,null,null),x=_.exports,k=n("52e4"),C={name:"ReferenceInternalSymbol",props:x.props,components:{ReferenceInternal:x,CodeVoice:k["a"]}},S=C,E=Object(p["a"])(S,f,g,!1,null,null,null),O=E.exports,I={name:"Reference",computed:{isInternal({url:e}){if(!e.startsWith("/")&&!e.startsWith("#"))return!1;const{resolved:{name:t}={}}=this.$router.resolve(e)||{};return t!==o["b"]},isSymbolReference(){return"symbol"===this.kind&&!this.hasInlineFormatting&&(this.role===s["a"].symbol||this.role===s["a"].dictionarySymbol)},isDisplaySymbol({isSymbolReference:e,titleStyle:t,ideTitle:n}){return n?e&&"symbol"===t:e},refComponent(){return this.isInternal?this.isDisplaySymbol?O:x:m},urlWithParams({isInternal:e}){return e?Object(r["b"])(this.url,this.$route.query):this.url},isActiveComputed({url:e,isActive:t}){return!(!e||!t)}},props:{url:{type:String,required:!0},kind:{type:String,required:!1},role:{type:String,required:!1},isActive:{type:Boolean,required:!1,default:!0},ideTitle:{type:String,required:!1},titleStyle:{type:String,required:!1},hasInlineFormatting:{type:Boolean,default:!1}}},j=I,T=Object(p["a"])(j,i,a,!1,null,null,null);t["a"]=T.exports},"88d2":function(e,t,n){},"8a61":function(e,t,n){"use strict";var i=n("3908");t["a"]={methods:{async scrollToElement(e){await Object(i["b"])(8);const t=this.$router.resolve({hash:e}),{selector:n,offset:a}=await this.$router.options.scrollBehavior(t.route),r=document.querySelector(n);return r?(r.scrollIntoView(),window.scrollY+window.innerHeight`${Object(r["c"])(e.src)} ${e.density}`).join(", "),n=e[0],i={srcSet:t,src:Object(r["c"])(n.src)},{width:a}=n.size||{width:null};return a&&(i.width=a,i.height="auto"),i}var h={name:"ImageAsset",mixins:[s],inject:{imageLoadingStrategy:{default:null}},data:()=>({appState:o["a"].state,fallbackImageSrcSet:null,optimalWidth:null}),computed:{allVariants:({lightVariants:e=[],darkVariants:t=[]})=>e.concat(t),defaultAttributes:({lightVariantAttributes:e,darkVariantAttributes:t})=>e||t,darkVariantAttributes:({darkVariants:e})=>p(e),lightVariantAttributes:({lightVariants:e})=>p(e),loading:({appState:e,imageLoadingStrategy:t})=>t||e.imageLoadingStrategy,preferredColorScheme:({appState:e})=>e.preferredColorScheme,prefersAuto:({preferredColorScheme:e})=>e===c["a"].auto,prefersDark:({preferredColorScheme:e})=>e===c["a"].dark},props:{alt:{type:String,default:""},variants:{type:Array,required:!0},shouldCalculateOptimalWidth:{type:Boolean,default:!0}},methods:{handleImageLoadError(){this.fallbackImageSrcSet=u.a+" 2x"},async calculateOptimalWidth(){const{$refs:{img:{currentSrc:e}},allVariants:t}=this,{density:n}=t.find(({src:t})=>e.endsWith(t)),i=parseInt(n.match(/\d+/)[0],d),a=await Object(r["b"])(e),s=a.width/i;return s},async optimizeImageSize(){if(!this.defaultAttributes.width&&this.$refs.img)try{this.optimalWidth=await this.calculateOptimalWidth()}catch{console.error("Unable to calculate optimal image width")}}},mounted(){this.shouldCalculateOptimalWidth&&this.$refs.img.addEventListener("load",this.optimizeImageSize)}},m=h,f=n("2877"),g=Object(f["a"])(m,i,a,!1,null,null,null);t["a"]=g.exports},"8c92":function(e,t,n){"use strict";n("80c8")},"8d2d":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"tutorial-icon",attrs:{viewBox:"0 0 14 14",themeId:"tutorial"}},[n("path",{attrs:{d:"M0.933 6.067h3.733v1.867h-3.733v-1.867z"}}),n("path",{attrs:{d:"M0.933 1.867h3.733v1.867h-3.733v-1.867z"}}),n("path",{attrs:{d:"M13.067 1.867v10.267h-7.467v-10.267zM12.133 2.8h-5.6v8.4h5.6z"}}),n("path",{attrs:{d:"M0.933 10.267h3.733v1.867h-3.733v-1.867z"}})])},a=[],r=n("be08"),s={name:"TutorialIcon",components:{SVGIcon:r["a"]}},o=s,c=n("2877"),l=Object(c["a"])(o,i,a,!1,null,null,null);t["a"]=l.exports},"8d90":function(e,t,n){},"8f26":function(e,t,n){"use strict";n("0444")},9034:function(e,t,n){},"95da":function(e,t,n){"use strict";var i=n("0cb0");const a="data-original-",r="aria-hidden",s="tabindex";function o(e,t){const n=a+t;if(e.getAttribute(n))return;const i=e.getAttribute(t)||"";e.setAttribute(n,i)}function c(e,t){const n=a+t;if(!e.hasAttribute(n))return;const i=e.getAttribute(n);e.removeAttribute(n),i.length?e.setAttribute(t,i):e.removeAttribute(t)}function l(e,t){const n=document.body;let i=e,a=e;while(i=i.previousElementSibling)t(i);while(a=a.nextElementSibling)t(a);e.parentElement&&e.parentElement!==n&&l(e.parentElement,t)}const u=e=>{o(e,r),o(e,s),e.setAttribute(r,"true"),e.setAttribute(s,"-1");const t=i["a"].getTabbableElements(e);let n=t.length-1;while(n>=0)o(t[n],s),t[n].setAttribute(s,"-1"),n-=1},d=e=>{c(e,r),c(e,s);const t=e.querySelectorAll(`[${a+s}]`);let n=t.length-1;while(n>=0)c(t[n],s),n-=1};t["a"]={hide(e){l(e,u)},show(e){l(e,d)}}},9649:function(e,t,n){},"9a61":function(e,t,n){"use strict";n("19cc")},"9b30":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ul",{staticClass:"nav-menu-items",attrs:{"data-previous-menu-children-count":e.previousSiblingChildren}},[e._t("default")],2)},a=[],r={name:"NavMenuItems",props:{previousSiblingChildren:{type:Number,default:0}}},s=r,o=(n("517a"),n("2877")),c=Object(o["a"])(s,i,a,!1,null,"67c1c0a5",null);t["a"]=c.exports},"9ed5":function(e,t,n){"use strict";n("a5f5")},a295:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{attrs:{viewBox:"0 0 14 14",themeId:"path"}},[n("path",{attrs:{d:"M0 0.948h2.8v2.8h-2.8z"}}),n("path",{attrs:{d:"M11.2 10.252h2.8v2.8h-2.8z"}}),n("path",{attrs:{d:"M6.533 1.852h0.933v10.267h-0.933z"}}),n("path",{attrs:{d:"M2.8 1.852h4.667v0.933h-4.667z"}}),n("path",{attrs:{d:"M6.533 11.186h4.667v0.933h-4.667z"}})])},a=[],r=n("be08"),s={name:"PathIcon",components:{SVGIcon:r["a"]}},o=s,c=n("2877"),l=Object(c["a"])(o,i,a,!1,null,null,null);t["a"]=l.exports},a4f0:function(e,t,n){},a5f5:function(e,t,n){},a7a5:function(e,t,n){},a7d8:function(e,t,n){},a7f3:function(e,t,n){},a88f:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"swift-file-icon",attrs:{viewBox:"0 0 15 14",themeId:"swift-file"}},[n("path",{attrs:{d:"M14.93,13.56A2.15,2.15,0,0,0,15,13a5.37,5.37,0,0,0-1.27-3.24A6.08,6.08,0,0,0,14,7.91,9.32,9.32,0,0,0,9.21.31a8.51,8.51,0,0,1,1.78,5,6.4,6.4,0,0,1-.41,2.18A45.06,45.06,0,0,1,3.25,1.54,44.57,44.57,0,0,0,7.54,6.9,45.32,45.32,0,0,1,1.47,2.32,35.69,35.69,0,0,0,8.56,9.94a6.06,6.06,0,0,1-3.26.85A9.48,9.48,0,0,1,0,8.91a10,10,0,0,0,8.1,4.72c2.55,0,3.25-1.2,4.72-1.2a2.09,2.09,0,0,1,1.91,1.15C14.79,13.69,14.88,13.75,14.93,13.56Z"}})])},a=[],r=n("be08"),s={name:"SwiftFileIcon",components:{SVGIcon:r["a"]}},o=s,c=(n("c3e5"),n("2877")),l=Object(c["a"])(o,i,a,!1,null,"c01a6890",null);t["a"]=l.exports},a97e:function(e,t,n){"use strict";var i=n("63b8");const a=e=>e?`(max-width: ${e}px)`:"",r=e=>e?`(min-width: ${e}px)`:"";function s({minWidth:e,maxWidth:t}){return["only screen",r(e),a(t)].filter(Boolean).join(" and ")}function o({maxWidth:e,minWidth:t}){return window.matchMedia(s({minWidth:t,maxWidth:e}))}var c,l,u={name:"BreakpointEmitter",constants:{BreakpointAttributes:i["a"],BreakpointName:i["b"],BreakpointScopes:i["c"]},props:{scope:{type:String,default:()=>i["c"].default,validator:e=>e in i["c"]}},render(){return this.$scopedSlots.default?this.$scopedSlots.default({matchingBreakpoint:this.matchingBreakpoint}):null},data:()=>({matchingBreakpoint:null}),methods:{initMediaQuery(e,t){const n=o(t),i=t=>this.handleMediaQueryChange(t,e);n.addListener(i),this.$once("hook:beforeDestroy",()=>{n.removeListener(i)}),i(n)},handleMediaQueryChange(e,t){e.matches&&(this.matchingBreakpoint=t,this.$emit("change",t))}},mounted(){const e=i["a"][this.scope]||{};Object.entries(e).forEach(([e,t])=>{this.initMediaQuery(e,t)})}},d=u,p=n("2877"),h=Object(p["a"])(d,c,l,!1,null,null,null);t["a"]=h.exports},a9f1:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"article-icon",attrs:{viewBox:"0 0 14 14",themeId:"article"}},[n("path",{attrs:{d:"M8.033 1l3.967 4.015v7.985h-10v-12zM7.615 2h-4.615v10h8v-6.574z"}}),n("path",{attrs:{d:"M7 1h1v4h-1z"}}),n("path",{attrs:{d:"M7 5h5v1h-5z"}})])},a=[],r=n("be08"),s={name:"ArticleIcon",components:{SVGIcon:r["a"]}},o=s,c=n("2877"),l=Object(c["a"])(o,i,a,!1,null,null,null);t["a"]=l.exports},aea0:function(e,t,n){},b0e7:function(e,t,n){"use strict";n("8d90")},b0f5:function(e,t,n){"use strict";n("49e3")},b2da:function(e,t,n){"use strict";n("e529")},b392:function(e,t,n){},b7b0:function(e,t,n){var i={"./bash":["f0f8","highlight-js-bash"],"./c":["1fe5","highlight-js-c"],"./cpp":["0209","highlight-js-cpp"],"./css":["ee8c","highlight-js-css"],"./diff":["48b8","highlight-js-diff"],"./http":["c01d","highlight-js-http"],"./java":["332f","highlight-js-java"],"./javascript":["4dd1","highlight-js-javascript"],"./json":["5ad2","highlight-js-json"],"./llvm":["7c30","highlight-js-llvm"],"./markdown":["04b0","highlight-js-markdown"],"./objectivec":["9bf2","highlight-js-objectivec"],"./perl":["6a51","highlight-js-perl"],"./php":["2907","highlight-js-php"],"./python":["9510","highlight-js-python"],"./ruby":["82cb","highlight-js-ruby"],"./scss":["6113","highlight-js-scss"],"./shell":["b65b","highlight-js-shell"],"./swift":["2a39","highlight-js-swift"],"./xml":["8dcb","highlight-js-xml"]};function a(e){if(!n.o(i,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=i[e],a=t[0];return n.e(t[1]).then((function(){return n.t(a,7)}))}a.keys=function(){return Object.keys(i)},a.id="b7b0",e.exports=a},b8f2:function(e,t,n){"use strict";n("a7a5")},bbe1:function(e,t,n){},bbf6:function(e,t,n){"use strict";n("63e6")},bf08:function(e,t,n){"use strict";var i=n("2788"),a=n("002d"),r=n("d26a"),s=n("5677");t["a"]={methods:{extractFirstParagraphText(e=[]){const t=s["default"].computed.plaintext.bind({...s["default"].methods,content:e})();return Object(a["e"])(t)}},computed:{pagePath:({$route:{path:e="/"}={}})=>e,pageURL:({pagePath:e="/"})=>Object(r["e"])(e),disableMetadata:()=>!1},mounted(){this.disableMetadata||Object(i["a"])({title:this.pageTitle,description:this.pageDescription,url:this.pageURL,currentLocale:this.$i18n.locale})}}},c081:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.action?n("DestinationDataProvider",{attrs:{destination:e.action},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.url,a=t.title;return n("ButtonLink",{attrs:{url:i,isDark:e.isDark}},[e._v(" "+e._s(a)+" ")])}}],null,!1,1264376715)}):e._e()},a=[],r=n("76ab"),s=n("c7ea"),o={name:"CallToActionButton",components:{DestinationDataProvider:s["a"],ButtonLink:r["a"]},props:{action:{type:Object,required:!0},isDark:{type:Boolean,default:!1}}},c=o,l=n("2877"),u=Object(l["a"])(c,i,a,!1,null,null,null);t["a"]=u.exports},c3da:function(e,t,n){"use strict";n("fda2")},c3e5:function(e,t,n){"use strict";n("aea0")},c4dd:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"play-icon",attrs:{viewBox:"0 0 14 14",themeId:"play"}},[n("path",{attrs:{d:"M7 0.5c3.59 0 6.5 2.91 6.5 6.5s-2.91 6.5-6.5 6.5c-3.59 0-6.5-2.91-6.5-6.5v0c0-3.59 2.91-6.5 6.5-6.5v0zM7 1.5c-3.038 0-5.5 2.462-5.5 5.5s2.462 5.5 5.5 5.5c3.038 0 5.5-2.462 5.5-5.5v0c0-3.038-2.462-5.5-5.5-5.5v0z"}}),n("path",{attrs:{d:"M10.195 7.010l-5 3v-6l5 3z"}})])},a=[],r=n("be08"),s={name:"PlayIcon",components:{SVGIcon:r["a"]}},o=s,c=n("2877"),l=Object(c["a"])(o,i,a,!1,null,null,null);t["a"]=l.exports},c7ea:function(e,t,n){"use strict";var i=n("2f34");const a={link:"link",reference:"reference",text:"text"};var r,s,o={name:"DestinationDataProvider",mixins:[i["a"]],props:{destination:{type:Object,required:!0,default:()=>({})}},inject:{isTargetIDE:{default:()=>!1}},constants:{DestinationType:a},computed:{isExternal:({reference:e,destination:t})=>e.type===a.link||t.type===a.link,shouldAppendOpensInBrowser:({isExternal:e,isTargetIDE:t})=>e&&t,reference:({references:e,destination:t})=>e[t.identifier]||{},linkUrl:({destination:e,reference:t})=>({[a.link]:e.destination,[a.reference]:t.url,[a.text]:e.text}[e.type]),linkTitle:({reference:e,destination:t})=>({[a.link]:t.title,[a.reference]:t.overridingTitle||e.title,[a.text]:""}[t.type])},methods:{formatAriaLabel(e){return this.shouldAppendOpensInBrowser?e+" (opens in browser)":e}},render(){return this.$scopedSlots.default({url:this.linkUrl||"",title:this.linkTitle||"",formatAriaLabel:this.formatAriaLabel,isExternal:this.isExternal})}},c=o,l=n("2877"),u=Object(l["a"])(c,r,s,!1,null,null,null);t["a"]=u.exports},cb92:function(e,t,n){"use strict";n("598a")},cbcf:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("nav",{ref:"nav",staticClass:"nav",class:e.rootClasses,attrs:{role:"navigation"}},[n("div",{ref:"wrapper",staticClass:"nav__wrapper"},[n("div",{staticClass:"nav__background"}),e.hasOverlay?n("div",{staticClass:"nav-overlay",on:{click:e.closeNav}}):e._e(),n("div",{staticClass:"nav-content"},[e._t("pre-title",null,{className:"pre-title"},{closeNav:e.closeNav,inBreakpoint:e.inBreakpoint,currentBreakpoint:e.currentBreakpoint,isOpen:e.isOpen}),e.$slots.default?n("div",{staticClass:"nav-title"},[e._t("default")],2):e._e(),e._t("after-title"),n("div",{staticClass:"nav-menu"},[n("a",{ref:"axToggle",staticClass:"nav-ax-toggle",attrs:{href:"#",role:"button"},on:{click:function(t){return t.preventDefault(),e.toggleNav.apply(null,arguments)}}},[n("span",{staticClass:"visuallyhidden"},[e.isOpen?[e._v(" "+e._s(e.$t("documentation.nav.close-menu"))+" ")]:[e._v(" "+e._s(e.$t("documentation.nav.open-menu"))+" ")]],2)]),n("div",{ref:"tray",staticClass:"nav-menu-tray",on:{transitionend:function(t){return t.target!==t.currentTarget?null:e.onTransitionEnd.apply(null,arguments)},click:e.handleTrayClick}},[e._t("tray",(function(){return[n("NavMenuItems",[e._t("menu-items")],2)]}),{closeNav:e.closeNav})],2)]),n("div",{staticClass:"nav-actions"},[n("a",{ref:"toggle",staticClass:"nav-menucta",attrs:{href:"#",tabindex:"-1","aria-hidden":"true"},on:{click:function(t){return t.preventDefault(),e.toggleNav.apply(null,arguments)}}},[n("span",{staticClass:"nav-menucta-chevron"})])])],2),e._t("after-content")],2),n("BreakpointEmitter",{attrs:{scope:e.BreakpointScopes.nav},on:{change:e.onBreakpointChange}})],1)},a=[],r=n("72e7"),s=n("9b30"),o=n("a97e"),c=n("f2af"),l=n("942d"),u=n("63b8"),d=n("95da"),p=n("3908");const{noClose:h}=l["a"],{BreakpointName:m,BreakpointScopes:f}=o["a"].constants,g=8,b={isDark:"theme-dark",isOpen:"nav--is-open",inBreakpoint:"nav--in-breakpoint-range",isTransitioning:"nav--is-transitioning",isSticking:"nav--is-sticking",hasSolidBackground:"nav--solid-background",hasNoBorder:"nav--noborder",hasFullWidthBorder:"nav--fullwidth-border",isWideFormat:"nav--is-wide-format",noBackgroundTransition:"nav--no-bg-transition"};var v={name:"NavBase",components:{NavMenuItems:s["a"],BreakpointEmitter:o["a"]},constants:{NavStateClasses:b,NoBGTransitionFrames:g},props:{breakpoint:{type:String,default:m.small},hasOverlay:{type:Boolean,default:!0},hasSolidBackground:{type:Boolean,default:!1},hasNoBorder:{type:Boolean,default:!1},hasFullWidthBorder:{type:Boolean,default:!1},isDark:{type:Boolean,default:!1},isWideFormat:{type:Boolean,default:!1}},mixins:[r["a"]],data(){return{isOpen:!1,isTransitioning:!1,isSticking:!1,noBackgroundTransition:!0,currentBreakpoint:m.large}},computed:{BreakpointScopes:()=>f,inBreakpoint:({currentBreakpoint:e,breakpoint:t})=>!Object(u["d"])(e,t),rootClasses:({isOpen:e,inBreakpoint:t,isTransitioning:n,isSticking:i,hasSolidBackground:a,hasNoBorder:r,hasFullWidthBorder:s,isDark:o,isWideFormat:c,noBackgroundTransition:l})=>({[b.isDark]:o,[b.isOpen]:e,[b.inBreakpoint]:t,[b.isTransitioning]:n,[b.isSticking]:i,[b.hasSolidBackground]:a,[b.hasNoBorder]:r,[b.hasFullWidthBorder]:s,[b.isWideFormat]:c,[b.noBackgroundTransition]:l})},watch:{isOpen(e){this.$emit("change",e),e?this.onExpand():this.onClose()}},async mounted(){window.addEventListener("keydown",this.onEscape),window.addEventListener("popstate",this.closeNav),window.addEventListener("orientationchange",this.closeNav),document.addEventListener("click",this.handleClickOutside),this.handleFlashOnMount(),await this.$nextTick()},beforeDestroy(){window.removeEventListener("keydown",this.onEscape),window.removeEventListener("popstate",this.closeNav),window.removeEventListener("orientationchange",this.closeNav),document.removeEventListener("click",this.handleClickOutside),this.isOpen&&this.toggleScrollLock(!1)},methods:{getIntersectionTargets(){return[document.getElementById(l["e"])||this.$el]},toggleNav(){this.isOpen=!this.isOpen,this.isTransitioning=!0},closeNav(){const e=this.isOpen;return this.isOpen=!1,this.resolveOnceTransitionsEnd(e)},resolveOnceTransitionsEnd(e){return e&&this.inBreakpoint?(this.isTransitioning=!0,new Promise(e=>{const t=this.$watch("isTransitioning",()=>{e(),t()})})):Promise.resolve()},async onTransitionEnd({propertyName:e}){"max-height"===e&&(this.$emit("changed",this.isOpen),this.isTransitioning=!1,this.isOpen?(this.$emit("opened"),this.toggleScrollLock(!0)):this.$emit("closed"))},onBreakpointChange(e){this.currentBreakpoint=e,this.inBreakpoint||this.closeNav()},onIntersect({intersectionRatio:e}){window.scrollY<0||(this.isSticking=1!==e)},onEscape({key:e}){"Escape"===e&&this.isOpen&&(this.closeNav(),this.$refs.axToggle.focus())},handleTrayClick({target:e}){e.href&&!e.classList.contains(h)&&this.closeNav()},handleClickOutside({target:e}){this.$refs.nav.contains(e)||this.closeNav()},toggleScrollLock(e){e?c["b"].lockScroll(this.$refs.tray):c["b"].unlockScroll(this.$refs.tray)},onExpand(){this.$emit("open"),d["a"].hide(this.$refs.wrapper),document.activeElement===this.$refs.toggle&&document.activeElement.blur()},onClose(){this.$emit("close"),this.toggleScrollLock(!1),d["a"].show(this.$refs.wrapper)},async handleFlashOnMount(){await Object(p["b"])(g),this.noBackgroundTransition=!1}}},y=v,w=(n("1f39"),n("2877")),_=Object(w["a"])(y,i,a,!1,null,"5c0521d3",null);t["a"]=_.exports},d0da:function(e,t,n){"use strict";n("64b5")},e3ab:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("aside",{class:e.kind,attrs:{"aria-label":e.kind}},[n("p",{staticClass:"label"},[e._v(e._s(e.name||e.$t(e.label)))]),e._t("default")],2)},a=[];const r={deprecated:"deprecated",experiment:"experiment",important:"important",note:"note",tip:"tip",warning:"warning"};var s={name:"Aside",props:{kind:{type:String,required:!0,validator:e=>Object.prototype.hasOwnProperty.call(r,e)},name:{type:String,required:!1}},computed:{label:({kind:e})=>"aside-kind."+e}},o=s,c=(n("b8f2"),n("2877")),l=Object(c["a"])(o,i,a,!1,null,"3ccce809",null);t["a"]=l.exports},e529:function(e,t,n){},e6db:function(e,t,n){"use strict";n("47cc")},ec71:function(e,t,n){"use strict";n("a4f0")},ee9e:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"row",class:{"with-columns":e.columns},style:e.style},[e._t("default")],2)},a=[],r=n("63b8"),s={name:"Row",props:{columns:{type:Object,required:!1,validator:e=>Object.entries(e).every(([e,t])=>r["b"][e]&&"number"===typeof t)},gap:{type:Number,required:!1}},computed:{style:({columns:e={},gap:t})=>({"--col-count-large":e.large,"--col-count-medium":e.medium,"--col-count-small":e.small||1,"--col-gap":t&&t+"px"})}},o=s,c=(n("17a4"),n("2877")),l=Object(c["a"])(o,i,a,!1,null,"1bcb2d0f",null);t["a"]=l.exports},efc1:function(e,t,n){"use strict";n("3b75")},f030:function(e,t,n){},f12c:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"TopicTypeIcon",style:e.styles},[e.imageOverride?n("OverridableAsset",{staticClass:"icon-inline",attrs:{imageOverride:e.imageOverride,shouldCalculateOptimalWidth:e.shouldCalculateOptimalWidth}}):n(e.icon,e._b({tag:"component",staticClass:"icon-inline"},"component",e.iconProps,!1))],1)},a=[],r=n("a295"),s=n("3024"),o=n("a9f1"),c=n("8d2d"),l=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{attrs:{viewBox:"0 0 14 14",height:"14",themeId:"topic-func"}},[n("path",{attrs:{d:"M13 1v12h-12v-12zM12.077 1.923h-10.154v10.154h10.154z"}}),n("path",{attrs:{d:"M5.191 9.529c0.044 0.002 0.089 0.004 0.133 0.004 0.108 0 0.196-0.025 0.262-0.074s0.122-0.113 0.166-0.188c0.044-0.077 0.078-0.159 0.103-0.247s0.049-0.173 0.074-0.251l0.598-2.186h-0.709l0.207-0.702h0.702l0.288-1.086c0.083-0.384 0.256-0.667 0.517-0.849s0.591-0.273 0.99-0.273c0.108 0 0.212 0.007 0.314 0.022s0.203 0.027 0.306 0.037l-0.207 0.761c-0.054-0.006-0.106-0.011-0.155-0.018s-0.102-0.011-0.155-0.011c-0.108 0-0.196 0.016-0.262 0.048s-0.122 0.075-0.166 0.129-0.080 0.115-0.107 0.185c-0.028 0.068-0.055 0.14-0.085 0.214l-0.222 0.842h0.768l-0.192 0.702h-0.783l-0.628 2.319c-0.059 0.222-0.129 0.419-0.21 0.594s-0.182 0.322-0.303 0.443-0.269 0.214-0.443 0.281-0.385 0.1-0.631 0.1c-0.084 0-0.168-0.004-0.251-0.011s-0.168-0.014-0.251-0.018l0.207-0.768c0.040 0 0.081 0.001 0.126 0.004z"}})])},u=[],d=n("be08"),p={name:"TopicFuncIcon",components:{SVGIcon:d["a"]}},h=p,m=n("2877"),f=Object(m["a"])(h,l,u,!1,null,null,null),g=f.exports,b=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"collection-icon",attrs:{viewBox:"0 0 14 14",themeId:"collection"}},[n("path",{attrs:{d:"m1 1v12h12v-12zm11 11h-10v-10h10z"}}),n("path",{attrs:{d:"m3 4h8v1h-8zm0 2.5h8v1h-8zm0 2.5h8v1h-8z"}}),n("path",{attrs:{d:"m3 4h8v1h-8z"}}),n("path",{attrs:{d:"m3 6.5h8v1h-8z"}}),n("path",{attrs:{d:"m3 9h8v1h-8z"}})])},v=[],y={name:"CollectionIcon",components:{SVGIcon:d["a"]}},w=y,_=Object(m["a"])(w,b,v,!1,null,null,null),x=_.exports,k=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{attrs:{viewBox:"0 0 14 14",height:"14",themeId:"topic-func-op"}},[n("path",{attrs:{d:"M13 13h-12v-12h12zM1.923 12.077h10.154v-10.154h-10.154z"}}),n("path",{attrs:{d:"M5.098 4.968v-1.477h-0.738v1.477h-1.477v0.738h1.477v1.477h0.738v-1.477h1.477v-0.738z"}}),n("path",{attrs:{d:"M8.030 4.807l-2.031 5.538h0.831l2.031-5.538z"}}),n("path",{attrs:{d:"M8.894 8.805v0.923h2.215v-0.923z"}})])},C=[],S={name:"TopicFuncOpIcon",components:{SVGIcon:d["a"]}},E=S,O=Object(m["a"])(E,k,C,!1,null,null,null),I=O.exports,j=n("3b96"),T=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{attrs:{viewBox:"0 0 14 14",height:"14",themeId:"topic-subscript"}},[n("path",{attrs:{d:"M13 13h-12v-12h12zM1.923 12.077h10.154v-10.154h-10.154z"}}),n("path",{attrs:{d:"M4.133 3.633v6.738h1.938v-0.831h-0.923v-5.077h0.923v-0.831z"}}),n("path",{attrs:{d:"M9.856 10.371v-6.738h-1.938v0.831h0.923v5.077h-0.923v0.831z"}})])},A=[],L={name:"TopicSubscriptIcon",components:{SVGIcon:d["a"]}},B=L,$=Object(m["a"])(B,T,A,!1,null,null,null),N=$.exports,M=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"two-letter-icon",attrs:{width:"16px",height:"16px",viewBox:"0 0 16 16",themeId:"two-letter"}},[n("g",{attrs:{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"}},[n("g",{attrs:{transform:"translate(1.000000, 1.000000)"}},[n("rect",{attrs:{stroke:"currentColor",x:"0.5",y:"0.5",width:"13",height:"13"}}),n("text",{attrs:{"font-size":"8","font-weight":"bold",fill:"currentColor"}},[n("tspan",{attrs:{x:"8.2",y:"11"}},[e._v(e._s(e.second))])]),n("text",{attrs:{"font-size":"11","font-weight":"bold",fill:"currentColor"}},[n("tspan",{attrs:{x:"1.7",y:"11"}},[e._v(e._s(e.first))])])])])])},P=[],R={name:"TwoLetterSymbolIcon",components:{SVGIcon:d["a"]},props:{first:{type:String,required:!0},second:{type:String,required:!0}}},V=R,D=Object(m["a"])(V,M,P,!1,null,null,null),G=D.exports,z=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"single-letter-icon",attrs:{width:"16px",height:"16px",viewBox:"0 0 16 16",themeId:"single-letter"}},[n("g",{attrs:{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"}},[n("rect",{attrs:{stroke:"currentColor",x:"1",y:"1",width:"14",height:"14"}}),n("text",{attrs:{"font-size":"11","font-weight":"bold",fill:"currentColor",x:"49%",y:"12","text-anchor":"middle"}},[n("tspan",[e._v(e._s(e.symbol))])])])])},q=[],F={name:"SingleLetterSymbolIcon",components:{SVGIcon:d["a"]},props:{symbol:{type:String,required:!0}}},U=F,W=Object(m["a"])(U,z,q,!1,null,null,null),H=W.exports,K=n("31d4"),Z=n("2cae"),Y=n("fdd9");const X={[K["b"].article]:o["a"],[K["b"].associatedtype]:x,[K["b"].buildSetting]:x,[K["b"].class]:H,[K["b"].collection]:x,[K["b"].dictionarySymbol]:H,[K["b"].container]:x,[K["b"].enum]:H,[K["b"].extension]:G,[K["b"].func]:g,[K["b"].op]:I,[K["b"].httpRequest]:H,[K["b"].languageGroup]:x,[K["b"].learn]:r["a"],[K["b"].method]:H,[K["b"].macro]:H,[K["b"].module]:s["a"],[K["b"].overview]:r["a"],[K["b"].protocol]:G,[K["b"].property]:H,[K["b"].propertyListKey]:H,[K["b"].resources]:r["a"],[K["b"].sampleCode]:j["a"],[K["b"].struct]:H,[K["b"].subscript]:N,[K["b"].symbol]:x,[K["b"].tutorial]:c["a"],[K["b"].typealias]:H,[K["b"].union]:H,[K["b"].var]:H},J={[K["b"].class]:{symbol:"C"},[K["b"].dictionarySymbol]:{symbol:"O"},[K["b"].enum]:{symbol:"E"},[K["b"].extension]:{first:"E",second:"x"},[K["b"].httpRequest]:{symbol:"E"},[K["b"].method]:{symbol:"M"},[K["b"].macro]:{symbol:"#"},[K["b"].protocol]:{first:"P",second:"r"},[K["b"].property]:{symbol:"P"},[K["b"].propertyListKey]:{symbol:"K"},[K["b"].struct]:{symbol:"S"},[K["b"].typealias]:{symbol:"T"},[K["b"].union]:{symbol:"U"},[K["b"].var]:{symbol:"V"}};var Q={name:"TopicTypeIcon",components:{OverridableAsset:Y["a"],SVGIcon:d["a"],SingleLetterSymbolIcon:H},constants:{TopicTypeIcons:X,TopicTypeProps:J},props:{type:{type:String,required:!0},withColors:{type:Boolean,default:!1},imageOverride:{type:Object,default:null},shouldCalculateOptimalWidth:{type:Boolean,default:!0}},computed:{normalisedType:({type:e})=>K["a"][e]||e,icon:({normalisedType:e})=>X[e]||x,iconProps:({normalisedType:e})=>J[e]||{},color:({normalisedType:e})=>Z["b"][e],styles:({color:e,withColors:t})=>t&&e?{"--icon-color":`var(--color-type-icon-${e})`}:{}}},ee=Q,te=(n("9a61"),Object(m["a"])(ee,i,a,!1,null,"18b61706",null));t["a"]=te.exports},f2af:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));let i=!1,a=-1,r=0;const s="data-scroll-lock-disable",o=()=>window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1);function c(e){e.touches.length>1||e.preventDefault()}const l=e=>!!e&&e.scrollHeight-e.scrollTop<=e.clientHeight;function u(){r=document.body.getBoundingClientRect().top,document.body.style.overflow="hidden scroll",document.body.style.top=r+"px",document.body.style.position="fixed",document.body.style.width="100%"}function d(e){e&&(e.ontouchstart=null,e.ontouchmove=null),document.removeEventListener("touchmove",c)}function p(e,t){const n=e.targetTouches[0].clientY-a,i=e.target.closest(`[${s}]`)||t;return 0===i.scrollTop&&n>0||l(i)&&n<0?c(e):(e.stopPropagation(),!0)}function h(e){document.addEventListener("touchmove",c,{passive:!1}),e&&(e.ontouchstart=e=>{1===e.targetTouches.length&&(a=e.targetTouches[0].clientY)},e.ontouchmove=t=>{1===t.targetTouches.length&&p(t,e)})}t["b"]={lockScroll(e){i||(o()?h(e):u(),i=!0)},unlockScroll(e){i&&(o()?d(e):(document.body.style.removeProperty("overflow"),document.body.style.removeProperty("top"),document.body.style.removeProperty("position"),document.body.style.removeProperty("width"),window.scrollTo(0,Math.abs(r))),i=!1)}}},fb8e:function(e,t,n){"use strict";n("6058")},fda2:function(e,t,n){},fdd9:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.shouldUseAsset?n("ImageAsset",e._b({},"ImageAsset",{variants:e.variants,loading:null,shouldCalculateOptimalWidth:e.shouldCalculateOptimalWidth,alt:e.alt},!1)):n("SVGIcon",{attrs:{"icon-url":e.iconUrl,themeId:e.themeId}})},a=[],r=n("8bd9"),s=n("be08"),o={name:"OverridableAsset",components:{SVGIcon:s["a"],ImageAsset:r["a"]},props:{imageOverride:{type:Object,default:null},shouldCalculateOptimalWidth:{type:Boolean,default:!0}},computed:{variants:({imageOverride:e})=>e?e.variants:[],alt:({imageOverride:e})=>e.alt,firstVariant:({variants:e})=>e[0],iconUrl:({firstVariant:e})=>e&&e.url,themeId:({firstVariant:e})=>e&&e.svgID,isSameOrigin:({iconUrl:e,sameOrigin:t})=>t(e),shouldUseAsset:({isSameOrigin:e,themeId:t})=>!e||!t},methods:{sameOrigin(e){if(!e)return!1;const t=new URL(e,window.location),n=new URL(window.location);return t.origin===n.origin}}},c=o,l=n("2877"),u=Object(l["a"])(c,i,a,!1,null,null,null);t["a"]=u.exports},fe08:function(e,t,n){"use strict";n("a7d8")},fe1c:function(e,t,n){"use strict";n("81c0")}}]); \ No newline at end of file diff --git a/docs/js/index.aa320932.js b/docs/js/index.aa320932.js deleted file mode 100644 index ae697ac..0000000 --- a/docs/js/index.aa320932.js +++ /dev/null @@ -1,9 +0,0 @@ -/*! - * This source file is part of the Swift.org open source project - * - * Copyright (c) 2021 Apple Inc. and the Swift project authors - * Licensed under Apache License v2.0 with Runtime Library Exception - * - * See https://swift.org/LICENSE.txt for license information - * See https://swift.org/CONTRIBUTORS.txt for Swift project authors - */(function(e){function t(t){for(var n,i,c=t[0],a=t[1],h=t[2],l=0,u=[];l])/g,i=/^-+/,r=/["'&<>]/g;function s(e){return e.trim().replace(n,"-").replace(i,"").toLowerCase()}function c(e){const t=e=>({'"':""","'":"'","&":"&","<":"<",">":">"}[e]||e);return e.replace(r,t)}const a={zero:"zero",one:"one",two:"two",few:"few",many:"many",other:"other"},h={cardinal:"cardinal",ordinal:"ordinal"};function l(e,t){const{cardinal:o}=h,{one:n,other:i}=a,r="en",s=1===t?n:i;if(!e[r]||!e[r][s])throw new Error("No default choices provided to pluralize using default locale "+r);let c=r,l=s;if("Intl"in window&&"PluralRules"in window.Intl){const n=navigator.languages?navigator.languages:[navigator.language],i=new Intl.PluralRules(n,{type:o}),r=i.select(t),s=i.resolvedOptions().locale;e[s]&&e[s][r]&&(c=s,l=r)}return e[c][l]}function u(e){return e.replace(/#(.*)/,(e,t)=>"#"+CSS.escape(t))}function d(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function g(e){let t,o;const n="\\s*",i=" ",r=e.trim(),s=r.length;if(!s)return i;const c=[];for(t=0;t{t=e});return requestAnimationFrame((function e(){o-=1,o<=0?t():requestAnimationFrame(e)})),n}function i(e){return new Promise(t=>{setTimeout(t,e)})}o.d(t,"b",(function(){return n})),o.d(t,"a",(function(){return i}))},4009:function(e,t,o){"use strict";o.d(t,"a",(function(){return n}));const n="app-top"},"48b1":function(e,t,o){"use strict";o("e487")},"5c0b":function(e,t,o){"use strict";o("9c0c")},"5d2d":function(e,t,o){"use strict";o.d(t,"a",(function(){return s})),o.d(t,"c",(function(){return a})),o.d(t,"b",(function(){return h}));const n="developer.setting.";function i(e=localStorage){return{getItem:t=>{try{return e.getItem(t)}catch(o){return null}},setItem:(t,o)=>{try{e.setItem(t,o)}catch(n){}},removeItem:t=>{try{e.removeItem(t)}catch(o){}}}}function r(e){return{get:(t,o)=>{const i=JSON.parse(e.getItem(n+t));return null!==i?i:o},set:(t,o)=>e.setItem(n+t,JSON.stringify(o)),remove:t=>e.removeItem(n+t)}}const s=i(window.localStorage),c=i(window.sessionStorage),a=r(s),h=r(c)},6131:function(e,t,o){"use strict";o("f8ba")},"613f":function(e,t,o){},"63b8":function(e,t,o){"use strict";o.d(t,"b",(function(){return n})),o.d(t,"c",(function(){return i})),o.d(t,"a",(function(){return r})),o.d(t,"d",(function(){return c}));const n={large:"large",medium:"medium",small:"small"},i={default:"default",nav:"nav"},r={[i.default]:{[n.large]:{minWidth:1069,contentWidth:980},[n.medium]:{minWidth:736,maxWidth:1068,contentWidth:692},[n.small]:{minWidth:320,maxWidth:735,contentWidth:280}},[i.nav]:{[n.large]:{minWidth:1024},[n.medium]:{minWidth:768,maxWidth:1023},[n.small]:{minWidth:320,maxWidth:767}}},s={[n.small]:0,[n.medium]:1,[n.large]:2};function c(e,t){return s[e]>s[t]}},6842:function(e,t,o){"use strict";function n(e,t,o){let n,i=e,r=t;for("string"===typeof r&&(r=[r]),n=0;ne.json()).catch(()=>({}))}const c=(e,t)=>n(i,e,t)},7138:function(e,t,o){"use strict";o("813c")},"748c":function(e,t,o){"use strict";o.d(t,"e",(function(){return i})),o.d(t,"a",(function(){return r})),o.d(t,"d",(function(){return s})),o.d(t,"c",(function(){return c})),o.d(t,"f",(function(){return a})),o.d(t,"b",(function(){return h}));var n=o("6842");function i(e){return e.reduce((e,t)=>(t.traits.includes("dark")?e.dark.push(t):e.light.push(t),e),{light:[],dark:[]})}function r(e){const t=["1x","2x","3x"];return t.reduce((t,o)=>{const n=e.find(e=>e.traits.includes(o));return n?t.concat({density:o,src:n.url,size:n.size}):t},[])}function s(e){const t="/",o=new RegExp(t+"+","g");return e.join(t).replace(o,t)}function c(e){return e&&"string"===typeof e&&!e.startsWith(n["a"])&&e.startsWith("/")?s([n["a"],e]):e}function a(e){return e?`url('${c(e)}')`:void 0}function h(e){return new Promise((t,o)=>{const n=new Image;n.src=e,n.onerror=o,n.onload=()=>t({width:n.width,height:n.height})})}},"813c":function(e,t,o){},"821b":function(e,t,o){"use strict";t["a"]={auto:{label:"Auto",value:"auto"},dark:{label:"Dark",value:"dark"},light:{label:"Light",value:"light"}}},"942d":function(e,t,o){"use strict";o.d(t,"b",(function(){return n})),o.d(t,"c",(function(){return i})),o.d(t,"e",(function(){return r})),o.d(t,"d",(function(){return s})),o.d(t,"a",(function(){return c}));const n=52,i=48,r="nav-sticky-anchor",s="nav-open-navigator",c={noClose:"noclose"}},9895:function(e,t,o){"use strict";o.d(t,"b",(function(){return n})),o.d(t,"a",(function(){return i}));const n="not-found",i="documentation-topic"},"9c0c":function(e,t,o){},a5c6:function(e,t,o){"use strict";o("613f")},d26a:function(e,t,o){"use strict";o.d(t,"c",(function(){return r})),o.d(t,"b",(function(){return s})),o.d(t,"a",(function(){return c})),o.d(t,"d",(function(){return a}));var n=o("748c"),i={input:"input",tags:"tags"};function r(e={}){return Object.entries(e).reduce((e,[t,o])=>o?e.concat(`${encodeURIComponent(t)}=${encodeURIComponent(o)}`):e,[]).join("&")}function s(e,{changes:t,language:o,context:n}={}){const[i,s]=e.split("#"),c=i.match(/\?.*/),a=r({changes:t,language:o,context:n}),h=c?"&":"?",l=s?i:e,u=a?`${h}${a}`:"",d=s?"#"+s:"";return`${l}${u}${d}`}function c(e,t){const{query:{changes:o,[i.input]:n,[i.tags]:r,...s}={}}=e,{query:{changes:c,[i.input]:a,[i.tags]:h,...l}={}}=t;return e.name===t.name&&JSON.stringify({path:e.path,query:s})===JSON.stringify({path:t.path,query:l})}function a(e,t=window.location.origin){return new URL(Object(n["c"])(e),t).href}},d369:function(e,t,o){"use strict";var n=o("5d2d");const i={preferredColorScheme:"developer.setting.preferredColorScheme",preferredLanguage:"docs.setting.preferredLanguage"},r={preferredColorScheme:"docs.setting.preferredColorScheme"};t["a"]=Object.defineProperties({},Object.keys(i).reduce((e,t)=>({...e,[t]:{get:()=>{const e=r[t],o=n["a"].getItem(i[t]);return e?o||n["a"].getItem(e):o},set:e=>n["a"].setItem(i[t],e)}}),{}))},dd18:function(e,t,o){"use strict";t["a"]={eager:"eager",lazy:"lazy"}},e425:function(e,t,o){"use strict";var n=o("821b"),i=o("dd18"),r=o("d369");const s="undefined"!==typeof window.matchMedia&&[n["a"].light.value,n["a"].dark.value,"no-preference"].some(e=>window.matchMedia(`(prefers-color-scheme: ${e})`).matches),c=s?n["a"].auto:n["a"].light;t["a"]={state:{imageLoadingStrategy:i["a"].lazy,preferredColorScheme:r["a"].preferredColorScheme||c.value,supportsAutoColorScheme:s,systemColorScheme:n["a"].light.value},setImageLoadingStrategy(e){this.state.imageLoadingStrategy=e},setPreferredColorScheme(e){this.state.preferredColorScheme=e,r["a"].preferredColorScheme=e},setSystemColorScheme(e){this.state.systemColorScheme=e},syncPreferredColorScheme(){r["a"].preferredColorScheme&&r["a"].preferredColorScheme!==this.state.preferredColorScheme&&(this.state.preferredColorScheme=r["a"].preferredColorScheme)}}},e487:function(e,t,o){},ed96:function(e,t,o){o.p=window.baseUrl},f161:function(e,t,o){"use strict";o.r(t);o("ed96");var n=o("2b0e"),i=o("8c4f"),r=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{class:{fromkeyboard:e.fromKeyboard,hascustomheader:e.hasCustomHeader},attrs:{id:"app"}},[o("div",{attrs:{id:e.AppTopID}}),o("a",{attrs:{href:"#main",id:"skip-nav"}},[e._v("Skip Navigation")]),o("InitialLoadingPlaceholder"),e._t("header",(function(){return[e.hasCustomHeader?o("custom-header",{attrs:{"data-color-scheme":e.preferredColorScheme}}):e._e()]}),{isTargetIDE:e.isTargetIDE}),o("div",{attrs:{id:e.baseNavStickyAnchorId}}),e._t("default",(function(){return[o("router-view",{staticClass:"router-content"}),e.hasCustomFooter?o("custom-footer",{attrs:{"data-color-scheme":e.preferredColorScheme}}):e.isTargetIDE?e._e():o("Footer")]}),{isTargetIDE:e.isTargetIDE}),e._t("footer",null,{isTargetIDE:e.isTargetIDE})],2)},s=[],c=o("e425"),a=o("821b"),h=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("footer",{staticClass:"footer"},[o("div",{staticClass:"row"},[o("ColorSchemeToggle")],1)])},l=[],u=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"color-scheme-toggle",attrs:{"aria-label":"Select a color scheme preference",role:"radiogroup"}},e._l(e.options,(function(t){return o("label",{key:t.value},[o("input",{attrs:{type:"radio"},domProps:{checked:t.value==e.preferredColorScheme,value:t.value},on:{input:e.setPreferredColorScheme}}),o("div",{staticClass:"text"},[e._v(e._s(t.label))])])})),0)},d=[],g={name:"ColorSchemeToggle",data:()=>({appState:c["a"].state}),computed:{options:({supportsAutoColorScheme:e})=>[a["a"].light,a["a"].dark,...e?[a["a"].auto]:[]],preferredColorScheme:({appState:e})=>e.preferredColorScheme,supportsAutoColorScheme:({appState:e})=>e.supportsAutoColorScheme},methods:{setPreferredColorScheme:e=>{c["a"].setPreferredColorScheme(e.target.value)}},watch:{preferredColorScheme:{immediate:!0,handler(e){document.body.dataset.colorScheme=e}}}},f=g,m=(o("6131"),o("2877")),p=Object(m["a"])(f,u,d,!1,null,"8890c4d6",null),j=p.exports,v={name:"Footer",components:{ColorSchemeToggle:j}},w=v,b=(o("2de0"),Object(m["a"])(w,h,l,!1,null,"72f2e2dc",null)),y=b.exports,S=function(){var e=this,t=e.$createElement,o=e._self._c||t;return e.loaded?e._e():o("div",{staticClass:"InitialLoadingPlaceholder",attrs:{id:"loading-placeholder"}})},E=[],C={name:"InitialLoadingPlaceholder",data(){return{loaded:!1}},created(){const e=()=>{this.loaded=!0};this.$router.onReady(e,e)}},_=C,P=(o("48b1"),Object(m["a"])(_,S,E,!1,null,"35c356b6",null)),T=P.exports,k=o("942d"),O=o("6842");function A(e,t){return e&&"object"===typeof e&&Object.prototype.hasOwnProperty.call(e,t)&&"string"===typeof e[t]}function I(e,t,o,n){if(!t||"object"!==typeof t||n&&(A(t,"light")||A(t,"dark"))){let i=t;if(A(t,n)&&(i=t[n]),"object"===typeof i)return;o[e]=i}else Object.entries(t).forEach(([t,i])=>{const r=[e,t].join("-");I(r,i,o,n)})}function L(e,t="light"){const o={},n=e||{};return I("-",n,o,t),o}var x=o("4009"),D={name:"CoreApp",components:{Footer:y,InitialLoadingPlaceholder:T},provide(){return{isTargetIDE:this.isTargetIDE,performanceMetricsEnabled:"true"===Object({NODE_ENV:"production",VUE_APP_TITLE:"Documentation",BASE_URL:"{{BASE_PATH}}/"}).VUE_APP_PERFORMANCE_ENABLED}},data(){return{AppTopID:x["a"],appState:c["a"].state,fromKeyboard:!1,isTargetIDE:"ide"===Object({NODE_ENV:"production",VUE_APP_TITLE:"Documentation",BASE_URL:"{{BASE_PATH}}/"}).VUE_APP_TARGET,themeSettings:O["d"],baseNavStickyAnchorId:k["e"]}},computed:{currentColorScheme:({appState:e})=>e.systemColorScheme,preferredColorScheme:({appState:e})=>e.preferredColorScheme,CSSCustomProperties:({currentColorScheme:e,preferredColorScheme:t,themeSettings:o})=>L(o.theme,t===a["a"].auto.value?e:t),hasCustomHeader:()=>!!window.customElements.get("custom-header"),hasCustomFooter:()=>!!window.customElements.get("custom-footer")},props:{enableThemeSettings:{type:Boolean,default:!0}},watch:{CSSCustomProperties:{immediate:!0,handler(e){this.detachStylesFromRoot(e),this.attachStylesToRoot(e)}}},async created(){window.addEventListener("keydown",this.onKeyDown),this.$bridge.on("navigation",this.handleNavigationRequest),this.enableThemeSettings&&Object.assign(this.themeSettings,await Object(O["b"])()),window.addEventListener("pageshow",this.syncPreferredColorScheme),this.$once("hook:beforeDestroy",()=>{window.removeEventListener("pageshow",this.syncPreferredColorScheme)})},mounted(){(document.querySelector(".footer-current-year")||{}).innerText=(new Date).getFullYear(),this.attachColorSchemeListeners()},beforeDestroy(){this.fromKeyboard?window.removeEventListener("mousedown",this.onMouseDown):window.removeEventListener("keydown",this.onKeyDown),this.$bridge.off("navigation",this.handleNavigationRequest),this.detachStylesFromRoot(this.CSSCustomProperties)},methods:{onKeyDown(){this.fromKeyboard=!0,window.addEventListener("mousedown",this.onMouseDown),window.removeEventListener("keydown",this.onKeyDown)},onMouseDown(){this.fromKeyboard=!1,window.addEventListener("keydown",this.onKeyDown),window.removeEventListener("mousedown",this.onMouseDown)},handleNavigationRequest(e){this.$router.push(e)},attachColorSchemeListeners(){if(!window.matchMedia)return;const e=window.matchMedia("(prefers-color-scheme: dark)");e.addListener(this.onColorSchemePreferenceChange),this.$once("hook:beforeDestroy",()=>{e.removeListener(this.onColorSchemePreferenceChange)}),this.onColorSchemePreferenceChange(e)},onColorSchemePreferenceChange({matches:e}){const t=e?a["a"].dark:a["a"].light;c["a"].setSystemColorScheme(t.value)},attachStylesToRoot(e){const t=document.body;Object.entries(e).filter(([,e])=>Boolean(e)).forEach(([e,o])=>{t.style.setProperty(e,o)})},detachStylesFromRoot(e){const t=document.body;Object.entries(e).forEach(([e])=>{t.style.removeProperty(e)})},syncPreferredColorScheme(){c["a"].syncPreferredColorScheme()}}},$=D,N=(o("5c0b"),o("a5c6"),Object(m["a"])($,r,s,!1,null,"0a4c340a",null)),R=N.exports;class U{constructor(){this.$send=()=>{}}send(e){this.$send(e)}}class M{constructor(){const{webkit:{messageHandlers:{bridge:e={}}={}}={}}=window;this.bridge=e;const{postMessage:t=(()=>{})}=e;this.$send=t.bind(e)}send(e){this.$send(e)}}class B{constructor(e=new U){this.backend=e,this.listeners={}}send(e){this.backend.send(e)}receive(e){this.emit(e.type,e.data)}emit(e,t){this.listeners[e]&&this.listeners[e].forEach(e=>e(t))}on(e,t){this.listeners[e]||(this.listeners[e]=new Set),this.listeners[e].add(t)}off(e,t){this.listeners[e]&&this.listeners[e].delete(t)}}var W={install(e,t){let o;o=t.performanceMetricsEnabled||"ide"===t.appTarget?new M:new U,e.prototype.$bridge=new B(o)}};function V(e){return"custom-"+e}function q(e){return class extends HTMLElement{constructor(){super();const t=this.attachShadow({mode:"open"}),o=e.content.cloneNode(!0);t.appendChild(o)}}}function F(e){const t=V(e),o=document.getElementById(t);o&&window.customElements.define(t,q(o))}function H(e,t={names:["header","footer"]}){const{names:o}=t;e.config.ignoredElements=/^custom-/,o.forEach(F)}function K(e,t){const{value:o=!1}=t;e.style.display=o?"none":""}var G={hide:K};function z(e,{performanceMetrics:t=!1}={}){e.config.productionTip=!1,e.use(H),e.directive("hide",G.hide),e.use(W,{appTarget:Object({NODE_ENV:"production",VUE_APP_TITLE:"Documentation",BASE_URL:"{{BASE_PATH}}/"}).VUE_APP_TARGET,performanceMetricsEnabled:t}),window.bridge=e.prototype.$bridge,e.config.performance=t}var J=o("9895"),Y=o("63b8"),X=o("3908"),Q=o("002d"),Z=o("d26a");const ee=10;function te(e){const{name:t}=e,o=t.includes(J["a"]);return o?ee:0}function oe(){const{location:e}=window;return e.pathname+e.search+e.hash}function ne(){const e=Math.max(document.documentElement.clientWidth||0,window.innerWidth||0);return ePromise.all([o.e("documentation-topic~topic~tutorials-overview"),o.e("tutorials-overview")]).then(o.bind(null,"f025"))},{path:"/tutorials/:id/*",name:"topic",component:()=>Promise.all([o.e("documentation-topic~topic~tutorials-overview"),o.e("documentation-topic~topic"),o.e("topic")]).then(o.bind(null,"3213"))},{path:"/documentation/*",name:J["a"],component:()=>Promise.all([o.e("documentation-topic~topic~tutorials-overview"),o.e("chunk-384ef189"),o.e("documentation-topic~topic"),o.e("documentation-topic")]).then(o.bind(null,"f8ac"))},{path:"*",name:J["b"],component:Ce},{path:"*",name:"server-error",component:ve}];function Pe(e={}){const t=new i["a"]({mode:"history",base:O["a"],scrollBehavior:ie,...e,routes:e.routes||_e});return t.onReady(()=>{"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual"),re()}),"ide"!==Object({NODE_ENV:"production",VUE_APP_TITLE:"Documentation",BASE_URL:"{{BASE_PATH}}/"}).VUE_APP_TARGET&&t.onError(e=>{const{route:o={path:"/"}}=e;t.replace({name:"server-error",params:[o.path]})}),window.addEventListener("unload",se),t}n["default"].use(z),n["default"].use(i["a"]),new n["default"]({router:Pe(),render:e=>e(R)}).$mount("#app")},f8ba:function(e,t,o){},fb1e:function(e,t,o){}}); \ No newline at end of file diff --git a/docs/js/index.e8a5d294.js b/docs/js/index.e8a5d294.js new file mode 100644 index 0000000..f24cc9e --- /dev/null +++ b/docs/js/index.e8a5d294.js @@ -0,0 +1,9 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */(function(e){function t(t){for(var i,o,s=t[0],c=t[1],l=t[2],u=0,h=[];u])/g,o=/^-+/,r=/["'&<>]/g;function a(e){return e.trim().replace(i,"-").replace(o,"").toLowerCase()}function s(e){const t=e=>({'"':""","'":"'","&":"&","<":"<",">":">"}[e]||e);return e.replace(r,t)}function c(e){return e.replace(/#(.*)/,(e,t)=>"#"+CSS.escape(t))}function l(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function u(e){let t,n;const i="\\s*",o=" ",r=e.trim(),a=r.length;if(!a)return o;const s=[];for(t=0;t[{name:"description",content:t},{property:"og:locale",content:i},{property:"og:site_name",content:r},{property:"og:type",content:"website"},{property:"og:title",content:e},{property:"og:description",content:t},{property:"og:url",content:n},{property:"og:image",content:Object(o["e"])("/developer-og.jpg")},{name:"twitter:image",content:Object(o["e"])("/developer-og-twitter.jpg")},{name:"twitter:card",content:"summary_large_image"},{name:"twitter:description",content:t},{name:"twitter:title",content:e},{name:"twitter:url",content:n}],s=e=>[e,r].filter(Boolean).join(" | "),c=e=>{const{content:t}=e,n=e.property?"property":"name",i=e[n],o=document.querySelector(`meta[${n}="${i}"]`);if(o&&t)o.setAttribute("content",t);else if(o&&!t)o.remove();else if(t){const t=document.createElement("meta");t.setAttribute(n,e[n]),t.setAttribute("content",e.content),document.getElementsByTagName("head")[0].appendChild(t)}},l=e=>{document.title=e};function u({title:e,description:t,url:n,currentLocale:i}){const o=s(e);l(o),a({title:o,description:t,url:n,currentLocale:i}).forEach(e=>c(e))}function h(e){document.querySelector("html").setAttribute("lang",e)}},"34b0":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"inline-chevron-right-icon",attrs:{viewBox:"0 0 14 14",themeId:"inline-chevron-right"}},[n("path",{attrs:{d:"M2.964 1.366l0.649-0.76 7.426 6.343-7.423 6.445-0.655-0.755 6.545-5.683-6.542-5.59z"}})])},o=[],r=n("be08"),a={name:"InlineChevronRightIcon",components:{SVGIcon:r["a"]}},s=a,c=n("2877"),l=Object(c["a"])(s,i,o,!1,null,null,null);t["a"]=l.exports},3502:function(e,t,n){},3908:function(e,t,n){"use strict";function i(e){let t=null,n=e-1;const i=new Promise(e=>{t=e});return requestAnimationFrame((function e(){n-=1,n<=0?t():requestAnimationFrame(e)})),i}function o(e){return new Promise(t=>{setTimeout(t,e)})}n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}))},"3be4":function(e,t,n){},"3ca7":function(e){e.exports=JSON.parse('[{"code":"en-US","name":"English","slug":"en-US"},{"code":"zh-CN","name":"简体中文","slug":"zh-CN"},{"code":"ja-JP","name":"日本語","slug":"ja-JP"}]')},4009:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));const i="app-top"},"48b1":function(e,t,n){"use strict";n("e487")},5522:function(e,t,n){"use strict";n("a3e8")},"5c0b":function(e,t,n){"use strict";n("9c0c")},"5d2d":function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return c})),n.d(t,"b",(function(){return l}));const i="developer.setting.";function o(e=localStorage){return{getItem:t=>{try{return e.getItem(t)}catch(n){return null}},setItem:(t,n)=>{try{e.setItem(t,n)}catch(i){}},removeItem:t=>{try{e.removeItem(t)}catch(n){}}}}function r(e){return{get:(t,n)=>{const o=JSON.parse(e.getItem(i+t));return null!==o?o:n},set:(t,n)=>e.setItem(i+t,JSON.stringify(n)),remove:t=>e.removeItem(i+t)}}const a=o(window.localStorage),s=o(window.sessionStorage),c=r(a),l=r(s)},"63b8":function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return r})),n.d(t,"d",(function(){return s}));const i={large:"large",medium:"medium",small:"small"},o={default:"default",nav:"nav"},r={[o.default]:{[i.large]:{minWidth:1069,contentWidth:980},[i.medium]:{minWidth:736,maxWidth:1068,contentWidth:692},[i.small]:{minWidth:320,maxWidth:735,contentWidth:280}},[o.nav]:{[i.large]:{minWidth:1024},[i.medium]:{minWidth:768,maxWidth:1023},[i.small]:{minWidth:320,maxWidth:767}}},a={[i.small]:0,[i.medium]:1,[i.large]:2};function s(e,t){return a[e]>a[t]}},6842:function(e,t,n){"use strict";function i(e,t,n){let i,o=e,r=t;for("string"===typeof r&&(r=[r]),i=0;ie.json()).catch(()=>({}))}const c=(e,t)=>i(r,e,t)},"748c":function(e,t,n){"use strict";function i(e){return e.reduce((e,t)=>(t.traits.includes("dark")?e.dark.push(t):e.light.push(t),e),{light:[],dark:[]})}function o(e){const t=["1x","2x","3x"];return t.reduce((t,n)=>{const i=e.find(e=>e.traits.includes(n));return i?t.concat({density:n,src:i.url,size:i.size}):t},[])}function r(e){const t="/",n=new RegExp(t+"+","g");return e.join(t).replace(n,t)}function a(e){const{baseUrl:t}=window,n=Array.isArray(e)?r(e):e;return n&&"string"===typeof n&&!n.startsWith(t)&&n.startsWith("/")?r([t,n]):n}function s(e){return e?e.startsWith("/")?e:"/"+e:e}function c(e){return e?`url('${a(e)}')`:void 0}function l(e){return new Promise((t,n)=>{const i=new Image;i.src=e,i.onerror=n,i.onload=()=>t({width:i.width,height:i.height})})}n.d(t,"e",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return s})),n.d(t,"f",(function(){return c})),n.d(t,"b",(function(){return l}))},"7ac6":function(e,t,n){},"7d8d":function(e){e.exports=JSON.parse('{"view-in":"日本語で表示","continue-viewing":"日本語で表示を続ける","language":"言語","video":{"replay":"リプレイ","play":"再生","pause":"一時停止","watch":"概要のビデオを観る"},"tutorials":{"title":"チュートリアル | チュートリアル","step":"手順{number}","submit":"送信","next":"次へ","preview":{"title":"プレビューなし | プレビュー | プレビュー","no-preview-available-step":"この手順では利用可能なプレビューがありません。"},"nav":{"chapters":"章","current":"現在の{thing}"},"assessment":{"check-your-understanding":"理解度を確認する","success-message":"よくできました。このチュートリアルの問題にすべて回答しました。","answer-number-is":"問題番号{index}は","correct":"正解です","incorrect":"不正解です","next-question":"次の問題"},"project-files":"プロジェクトファイル","estimated-time":"予測時間","sections":{"chapter":"{number}章"},"question-of":"{total}問中の{index}問","section-of":"{total}件中の{number}件","overriding-title":"{title}の{newTitle}","time":{"format":"{number} {minutes}","minutes":{"full":"分 | 分 | {count}分","short":"分 | 分"},"hours":{"full":"時間 | 時間"}}},"documentation":{"title":"ドキュメント","nav":{"breadcrumbs":"パンくずリスト","menu":"メニュー","open-menu":"メニューを開く","close-menu":"メニューを閉じる"},"current-page":"現在のページは{title}です","card":{"learn-more":"詳しい情報","read-article":"記事を読む","start-tutorial":"チュートリアルを開始","view-api":"APIのコレクションを表示","view-symbol":"記号を表示","view-sample-code":"サンプルコードを表示"}},"aside-kind":{"beta":"ベータ版","experiment":"試験運用版","important":"重要","note":"注意","tip":"ヒント","warning":"警告","deprecated":"非推奨"},"change-type":{"added":"追加","modified":"変更","deprecated":"非推奨"},"verbs":{"hide":"非表示","show":"表示","close":"閉じる"},"sections":{"title":"セクション{number}","on-this-page":"このページの内容","topics":"トピック","default-implementations":"デフォルト実装","relationships":"関連項目","see-also":"参照","declaration":"宣言","details":"詳細","parameters":"パラメータ","possible-values":"使用できる値","parts":"パーツ","availability":"利用可能","resources":"リソース"},"metadata":{"details":{"name":"名前","key":"キー","type":"タイプ"},"beta":{"legal":"このドキュメントはベータ版のソフトウェアのもので、変更される可能性があります。","software":"ベータ版ソフトウェア"},"default-implementation":"デフォルト実装あり。| デフォルト実装あり。"},"availability":{"introduced-and-deprecated":"{name} {introducedAt}で導入され、{name} {deprecatedAt}で非推奨になりました","available-on":"{name} {introducedAt}以降で使用できます"},"more":"さらに表示","less":"表示を減らす","api-reference":"APIリファレンス","filter":{"title":"フィルタ","search-symbols":"{technology}でシンボルを検索","suggested-tags":"提案されたタグ | 提案されたタグ","selected-tags":"選択したタグ | 選択したタグ","add-tag":"タグを追加","tag-select-remove":"タグ。選択してリストから削除します。","navigate":"シンボルを移動するには、上下左右の矢印キーを押します。","siblings-label":"{total-siblings}個中{number-siblings}個のシンボルが{parent-siblings}の中にあります","parent-label":"{total-siblings}個中{number-siblings}個のシンボルが1個のシンボルを含む{parent-siblings}の中にあります | {total-siblings}個中{number-siblings}個のシンボルが{number-parent}個のシンボルを含む{parent-siblings}の中にあります","reset-filter":"フィルタをリセット"},"navigator":{"title":"ドキュメントナビゲータ","open-navigator":"ドキュメントナビゲータを開く","close-navigator":"ドキュメントナビゲータを閉じる","no-results":"結果が見つかりません。","no-children":"使用できるデータがありません。","error-fetching":"データを取得する際にエラーが起きました。","items-found":"項目が見つかりません | 1個の項目が見つかりました | {number}個の項目が見つかりましたTabキーを押すと項目をナビゲートできます。","navigator-is":"ナビゲータは{state}です","state":{"loading":"読み込み中","ready":"準備完了"},"tags":{"hide-deprecated":"非推奨の項目を非表示"}},"tab":{"request":"リクエスト","response":"レスポンス"},"required":"必須","parameters":{"default":"デフォルト","minimum":"最小","maximum":"最大","possible-types":"タイプ | 使用できるタイプ","possible-values":"値 | 使用できる値"},"content-type":"Content-Type: {value}","read-only":"読み出し専用","error":{"unknown":"原因不明のエラーが起きました。","image":"イメージを読み込めませんでした"},"color-scheme":{"select":"カラースキーム環境設定を選択","auto":"自動","dark":"ダーク","light":"ライト"},"accessibility":{"strike":{"start":"取り消し線テキストの開始","end":"取り消し線テキストの終了"},"code":{"start":"コードブロックの開始","end":"コードブロックの終了"},"skip-navigation":"ナビゲーションをスキップ"},"select-language":"このページの言語を選択","icons":{"clear":"消去","web-service-endpoint":"Webサービスのエンドポイント","search":"検索"},"formats":{"parenthesis":"({content})","colon":"{content}: "},"quicknav":{"button":{"label":"クイックナビゲーションを開く","title":"クリックするか「/」を入力すると素早く移動します"}}}')},"821b":function(e,t,n){"use strict";t["a"]={auto:"auto",dark:"dark",light:"light"}},"942d":function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"e",(function(){return r})),n.d(t,"d",(function(){return a})),n.d(t,"a",(function(){return s}));const i=52,o=48,r="nav-sticky-anchor",a="nav-open-navigator",s={noClose:"noclose"}},"94a8":function(e){e.exports=JSON.parse('{"view-in":"View in English","continue-viewing":"Continue viewing in English","language":"Language","video":{"replay":"Replay","play":"Play","pause":"Pause","watch":"Watch intro video"},"tutorials":{"title":"Tutorial | Tutorials","step":"Step {number}","submit":"Submit","next":"Next","preview":{"title":"No Preview | Preview | Previews","no-preview-available-step":"No preview available for this step."},"nav":{"chapters":"Chapters","current":"Current {thing}"},"assessment":{"check-your-understanding":"Check Your Understanding","success-message":"Great job, you\'ve answered all the questions for this tutorial.","answer-number-is":"Answer number {index} is","correct":"correct","incorrect":"incorrect","next-question":"Next question"},"project-files":"Project files","estimated-time":"Estimated Time","sections":{"chapter":"Chapter {number}"},"question-of":"Question {index} of {total}","section-of":"{number} of {total}","overriding-title":"{newTitle} with {title}","time":{"format":"{number} {minutes}","minutes":{"full":"minute | minutes | {count} minutes","short":"min | mins"},"hours":{"full":"hour | hours"}}},"documentation":{"title":"Documentation","nav":{"breadcrumbs":"Breadcrumbs","menu":"Menu","open-menu":"Open Menu","close-menu":"Close Menu"},"current-page":"Current page is {title}","card":{"learn-more":"Learn More","read-article":"Read article","start-tutorial":"Start tutorial","view-api":"View API collection","view-symbol":"View symbol","view-sample-code":"View sample code"}},"aside-kind":{"beta":"Beta","experiment":"Experiment","important":"Important","note":"Note","tip":"Tip","warning":"Warning","deprecated":"Deprecated"},"change-type":{"added":"Added","modified":"Modified","deprecated":"Deprecated"},"verbs":{"hide":"Hide","show":"Show","close":"Close"},"sections":{"title":"Section {number}","on-this-page":"On this page","topics":"Topics","default-implementations":"Default Implementations","relationships":"Relationships","see-also":"See Also","declaration":"Declaration","details":"Details","parameters":"Parameters","possible-values":"Possible Values","parts":"Parts","availability":"Availability","resources":"Resources"},"metadata":{"details":{"name":"Name","key":"Key","type":"Type"},"beta":{"legal":"This documentation refers to beta software and may be changed.","software":"Beta Software"},"default-implementation":"Default implementation provided. | Default implementations provided."},"availability":{"introduced-and-deprecated":"Introduced in {name} {introducedAt} and deprecated in {name} {deprecatedAt}","available-on":"Available on {name} {introducedAt} and later"},"more":"More","less":"Less","api-reference":"API Reference","filter":{"title":"Filter","search-symbols":"Search symbols in {technology}","suggested-tags":"Suggested tag | Suggested tags","selected-tags":"Selected tag | Selected tags","add-tag":"Add tag","tag-select-remove":"Tag. Select to remove from list.","navigate":"To navigate the symbols, press Up Arrow, Down Arrow, Left Arrow or Right Arrow","siblings-label":"{number-siblings} of {total-siblings} symbols inside {parent-siblings}","parent-label":"{number-siblings} of {total-siblings} symbols inside {parent-siblings} containing one symbol | {number-siblings} of {total-siblings} symbols inside {parent-siblings} containing {number-parent} symbols","reset-filter":"Reset Filter"},"navigator":{"title":"Documentation Navigator","open-navigator":"Open Documentation Navigator","close-navigator":"Close Documentation Navigator","no-results":"No results found.","no-children":"No data available.","error-fetching":"There was an error fetching the data.","items-found":"No items were found | 1 item was found | {number} items were found. Tab back to navigate through them.","navigator-is":"Navigator is {state}","state":{"loading":"loading","ready":"ready"},"tags":{"hide-deprecated":"Hide Deprecated"}},"tab":{"request":"Request","response":"Response"},"required":"Required","parameters":{"default":"Default","minimum":"Minimum","maximum":"Maximum","possible-types":"Type | Possible types","possible-values":"Value | Possible Values"},"content-type":"Content-Type: {value}","read-only":"Read-only","error":{"unknown":"An unknown error occurred.","image":"Image failed to load","not-found":"The page you\'re looking for can\'t be found."},"color-scheme":{"select":"Select a color scheme preference","auto":"Auto","dark":"Dark","light":"Light"},"accessibility":{"strike":{"start":"start of stricken text","end":"end of stricken text"},"code":{"start":"start of code block","end":"end of code block"},"skip-navigation":"Skip Navigation","in-page-link":"in page link"},"select-language":"Select the language for this page","icons":{"clear":"Clear","web-service-endpoint":"Web Service Endpoint","search":"Search"},"formats":{"parenthesis":"({content})","colon":"{content}: "},"quicknav":{"button":{"label":"Open Quick Navigation","title":"Click or type / for quick navigation"}}}')},9895:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}));const i="not-found",o="documentation-topic"},9923:function(e,t,n){"use strict";n.r(t),n.d(t,"defaultLocale",(function(){return a})),n.d(t,"messages",(function(){return s}));var i=n("94a8"),o=n("d9c4"),r=n("7d8d");const a="en-US",s={"en-US":i,"zh-CN":o,"ja-JP":r}},"9b56":function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return u}));var i=n("3ca7"),o=n("9923"),r=n("2788");const a=i.reduce((e,t)=>({...e,[t.slug]:t.code}),{});function s(e){return a[e]}function c(e){return!!a[e]}function l(e){return{params:{locale:e===o["defaultLocale"]?void 0:e}}}function u(e=o["defaultLocale"],t){if(!c(e))return;t.$i18n.locale=e;const n=s(e);Object(r["b"])(n)}},"9c0c":function(e,t,n){},"9dba":function(e,t,n){"use strict";n("3502")},a2be:function(e,t,n){"use strict";n("01da")},a3e8:function(e,t,n){},a919:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"close-icon",attrs:{viewBox:"0 0 14 14",themeId:"close"}},[n("path",{attrs:{d:"M12.73,0l1.27,1.27-5.74,5.73,5.72,5.72-1.27,1.27-5.72-5.72L1.28,13.99,.01,12.72,5.72,7.01,0,1.28,1.27,.01,6.99,5.73,12.73,0Z"}})])},o=[],r=n("be08"),a={name:"CloseIcon",components:{SVGIcon:r["a"]}},s=a,c=n("2877"),l=Object(c["a"])(s,i,o,!1,null,null,null);t["a"]=l.exports},be08:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{staticClass:"svg-icon",attrs:{"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[e.themeOverrideURL?n("use",{attrs:{href:e.themeOverrideURL+"#"+e.themeId,width:"100%",height:"100%"}}):e._t("default")],2)},o=[],r=n("6842"),a={name:"SVGIcon",props:{themeId:{type:String,required:!1},iconUrl:{type:String,default:null}},computed:{themeOverrideURL:({iconUrl:e,themeId:t})=>e||Object(r["c"])(["theme","icons",t],void 0)}},s=a,c=(n("c2c4"),n("2877")),l=Object(c["a"])(s,i,o,!1,null,"33d3200a",null);t["a"]=l.exports},c2c4:function(e,t,n){"use strict";n("161e")},c83d:function(e,t,n){},d26a:function(e,t,n){"use strict";n.d(t,"d",(function(){return r})),n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return s})),n.d(t,"c",(function(){return c})),n.d(t,"e",(function(){return l}));var i=n("748c"),o={input:"input",tags:"tags"};function r(e={}){return Object.entries(e).reduce((e,[t,n])=>n?e.concat(`${encodeURIComponent(t)}=${encodeURIComponent(n)}`):e,[]).join("&")}function a(e,{changes:t,language:n,context:i}={}){const[o,a]=e.split("#"),s=o.match(/\?.*/),c=r({changes:t,language:n,context:i}),l=s?"&":"?",u=a?o:e,h=c?`${l}${c}`:"",d=a?"#"+a:"";return`${u}${h}${d}`}function s(e,t){const{query:{changes:n,[o.input]:i,[o.tags]:r,...a}={}}=e,{query:{changes:s,[o.input]:c,[o.tags]:l,...u}={}}=t;return e.name===t.name&&JSON.stringify({path:e.path,query:a})===JSON.stringify({path:t.path,query:u})}function c(e,t=window.location.href){return new URL(Object(i["c"])(e),t)}function l(e,t){return c(e,t).href}},d369:function(e,t,n){"use strict";var i=n("5d2d");const o={preferredColorScheme:"developer.setting.preferredColorScheme",preferredLocale:"developer.setting.preferredLocale",preferredLanguage:"docs.setting.preferredLanguage"},r={preferredColorScheme:"docs.setting.preferredColorScheme"};t["a"]=Object.defineProperties({},Object.keys(o).reduce((e,t)=>({...e,[t]:{get:()=>{const e=r[t],n=i["a"].getItem(o[t]);return e?n||i["a"].getItem(e):n},set:e=>i["a"].setItem(o[t],e)}}),{}))},d9c4:function(e){e.exports=JSON.parse('{"view-in":"以中文查看","continue-viewing":"继续以中文查看","language":"语言","video":{"replay":"重新播放","play":"播放","pause":"暂停","watch":"观看介绍视频"},"tutorials":{"title":"教程","step":"第 {number} 步","submit":"提交","next":"下一步","preview":{"title":"无预览 | 预览","no-preview-available-step":"这一步没有预览。"},"nav":{"chapters":"章节","current":"当前{thing}"},"assessment":{"check-your-understanding":"检查你的理解程度","success-message":"很棒,你回答了此教程的所有问题。","answer-number-is":"第 {index} 个答案","correct":"正确","incorrect":"错误","next-question":"下一个问题"},"project-files":"项目文件","estimated-time":"预计时间","sections":{"chapter":"第 {number} 章"},"question-of":"第 {index} 个问题(共 {total} 个)","section-of":"{number}/{total}","overriding-title":"{newTitle}{title}","time":{"format":"{number} {minutes}","minutes":{"full":"分钟 | {count} 分钟","short":"分钟"},"hours":{"full":"小时"}}},"documentation":{"title":"文档","nav":{"breadcrumbs":"面包屑导航","menu":"菜单","open-menu":"打开菜单","close-menu":"关闭菜单"},"current-page":"当前页面为:{title}","card":{"learn-more":"进一步了解","read-article":"阅读文章","start-tutorial":"开始教程","view-api":"查看 API 集合","view-symbol":"查看符号","view-sample-code":"查看示例代码"}},"aside-kind":{"beta":"Beta 版","experiment":"试验","important":"重要事项","note":"注","tip":"提示","warning":"警告","deprecated":"已弃用"},"change-type":{"added":"已添加","modified":"已修改","deprecated":"已弃用"},"verbs":{"hide":"隐藏","show":"显示","close":"关闭"},"sections":{"title":"第 {number} 部分","on-this-page":"在此页面上","topics":"主题","default-implementations":"默认实现","relationships":"关系","see-also":"另请参阅","declaration":"声明","details":"详细信息","parameters":"参数","possible-values":"可能值","parts":"部件","availability":"可用性","resources":"资源"},"metadata":{"details":{"name":"名称","key":"密钥","type":"类型"},"beta":{"legal":"此文档涉及 Beta 版软件且可能会改动。","software":"Beta 版软件"},"default-implementation":"提供默认实现。| 提供默认实现方法。"},"availability":{"introduced-and-deprecated":"{name} {introducedAt} 中引入,{name} {deprecatedAt} 中弃用","available-on":"{name} {introducedAt} 及更高版本中可用"},"more":"更多","less":"更少","api-reference":"API 参考","filter":{"title":"过滤","search-symbols":"在 {technology} 搜索符号","suggested-tags":"建议标签","selected-tags":"所选标签","add-tag":"添加标签","tag-select-remove":"标签。选择以从列表中移除。","navigate":"若要导航符号,请按下上箭头、下箭头、左箭头或右箭头。","siblings-label":"{parent-siblings} 内含 {number-siblings} 个符号(共 {total-siblings} 个)","parent-label":"{parent-siblings} 内含 {number-siblings} 个符号(共 {total-siblings} 个)包含一个符号 | {parent-siblings} 内含 {number-siblings} 个符号(共 {total-siblings} 个)包含 {number-parent} 个符号","reset-filter":"还原过滤条件"},"navigator":{"title":"文档导航器","open-navigator":"打开文档导航器","close-navigator":"关闭文档导航器","no-results":"未找到结果。","no-children":"无可用数据。","error-fetching":"获取数据时出错。","items-found":"未找到任何项目 | 找到 1 个项目 | 找到 {number} 个项目。按下 Tab 键导航。","navigator-is":"导航器{state}","state":{"loading":"正在载入","ready":"准备就绪"},"tags":{"hide-deprecated":"隐藏已弃用"}},"tab":{"request":"请求","response":"回复"},"required":"必需","parameters":{"default":"默认","minimum":"最小值","maximum":"最大值","possible-types":"类型 | 可能类型","possible-values":"值 | 可能值"},"content-type":"内容类型:{value}","read-only":"只读","error":{"unknown":"出现未知错误。","image":"图像无法载入"},"color-scheme":{"select":"选择首选颜色方案","auto":"自动","dark":"深色","light":"浅色"},"accessibility":{"strike":{"start":"删除线文本开始","end":"删除线文本结束"},"code":{"start":"代码块开头","end":"代码块结尾"},"skip-navigation":"跳过导航"},"select-language":"选择此页面的语言","icons":{"clear":"清除","web-service-endpoint":"网络服务端点","search":"搜索"},"formats":{"parenthesis":"({content})","colon":"{content}: "},"quicknav":{"button":{"label":"打开快速导航","title":"点按或键入 / 进行快速导航"}}}')},dd18:function(e,t,n){"use strict";t["a"]={eager:"eager",lazy:"lazy"}},e425:function(e,t,n){"use strict";var i=n("821b"),o=n("dd18"),r=n("d369"),a=n("3ca7");const s="undefined"!==typeof window.matchMedia&&[i["a"].light,i["a"].dark,"no-preference"].some(e=>window.matchMedia(`(prefers-color-scheme: ${e})`).matches),c=s?i["a"].auto:i["a"].light;t["a"]={state:{imageLoadingStrategy:"ide"===Object({NODE_ENV:"production",VUE_APP_TITLE:"Documentation",BASE_URL:"{{BASE_PATH}}/"}).VUE_APP_TARGET?o["a"].eager:o["a"].lazy,preferredColorScheme:r["a"].preferredColorScheme||c,preferredLocale:r["a"].preferredLocale,supportsAutoColorScheme:s,systemColorScheme:i["a"].light,availableLocales:[]},reset(){this.state.imageLoadingStrategy="ide"===Object({NODE_ENV:"production",VUE_APP_TITLE:"Documentation",BASE_URL:"{{BASE_PATH}}/"}).VUE_APP_TARGET?o["a"].eager:o["a"].lazy,this.state.preferredColorScheme=r["a"].preferredColorScheme||c,this.state.supportsAutoColorScheme=s,this.state.systemColorScheme=i["a"].light},setImageLoadingStrategy(e){this.state.imageLoadingStrategy=e},setPreferredColorScheme(e){this.state.preferredColorScheme=e,r["a"].preferredColorScheme=e},setAllLocalesAreAvailable(){const e=a.map(e=>e.code);this.state.availableLocales=e},setAvailableLocales(e=[]){this.state.availableLocales=e},setPreferredLocale(e){this.state.preferredLocale=e,r["a"].preferredLocale=this.state.preferredLocale},setSystemColorScheme(e){this.state.systemColorScheme=e},syncPreferredColorScheme(){r["a"].preferredColorScheme&&r["a"].preferredColorScheme!==this.state.preferredColorScheme&&(this.state.preferredColorScheme=r["a"].preferredColorScheme)}}},e487:function(e,t,n){},e759:function(e,t,n){"use strict";n("3be4")},e9e6:function(e,t,n){"use strict";n("7ac6")},ed78:function(e,t,n){"use strict";n("c83d")},ed96:function(e,t,n){n.p=window.baseUrl},f161:function(e,t,n){"use strict";n.r(t);n("ed96");var i=n("2b0e"),o=n("a925"),r=n("8c4f"),a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:{fromkeyboard:e.fromKeyboard,hascustomheader:e.hasCustomHeader},attrs:{id:"app"}},[n("div",{attrs:{id:e.AppTopID}}),e.isTargetIDE?e._e():n("a",{attrs:{href:"#main",id:"skip-nav"}},[e._v(e._s(e.$t("accessibility.skip-navigation")))]),n("InitialLoadingPlaceholder"),e._t("header",(function(){return[e.enablei18n?n("SuggestLang"):e._e(),e.hasCustomHeader?n("custom-header",{attrs:{"data-color-scheme":e.preferredColorScheme}}):e._e()]}),{isTargetIDE:e.isTargetIDE}),n("div",{attrs:{id:e.baseNavStickyAnchorId}}),e._t("default",(function(){return[n("router-view",{staticClass:"router-content"}),e.hasCustomFooter?n("custom-footer",{attrs:{"data-color-scheme":e.preferredColorScheme}}):e.isTargetIDE?e._e():n("Footer",{scopedSlots:e._u([{key:"default",fn:function(t){var i=t.className;return[e.enablei18n?n("div",{class:i},[n("LocaleSelector")],1):e._e()]}}])})]}),{isTargetIDE:e.isTargetIDE}),e._t("footer",null,{isTargetIDE:e.isTargetIDE})],2)},s=[],c=n("e425"),l=n("821b"),u=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("footer",{staticClass:"footer"},[n("div",{staticClass:"row"},[n("ColorSchemeToggle")],1),e._t("default",null,{className:"row"})],2)},h=[],d=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"color-scheme-toggle",attrs:{"aria-label":e.$t("color-scheme.select"),role:"radiogroup"}},e._l(e.options,(function(t){return n("label",{key:t},[n("input",{attrs:{type:"radio"},domProps:{checked:t==e.preferredColorScheme,value:t},on:{input:e.setPreferredColorScheme}}),n("div",{staticClass:"text"},[e._v(e._s(e.$t("color-scheme."+t)))])])})),0)},g=[],m={name:"ColorSchemeToggle",data:()=>({appState:c["a"].state}),computed:{options:({supportsAutoColorScheme:e})=>[l["a"].light,l["a"].dark,...e?[l["a"].auto]:[]],preferredColorScheme:({appState:e})=>e.preferredColorScheme,supportsAutoColorScheme:({appState:e})=>e.supportsAutoColorScheme},methods:{setPreferredColorScheme:e=>{c["a"].setPreferredColorScheme(e.target.value)}},watch:{preferredColorScheme:{immediate:!0,handler(e){document.body.dataset.colorScheme=e}}}},p=m,f=(n("9dba"),n("2877")),b=Object(f["a"])(p,d,g,!1,null,"02a6f6ec",null),v=b.exports,w={name:"Footer",components:{ColorSchemeToggle:v}},y=w,j=(n("e9e6"),Object(f["a"])(y,u,h,!1,null,"4e049dbd",null)),S=j.exports,E=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.loaded?e._e():n("div",{staticClass:"InitialLoadingPlaceholder",attrs:{id:"loading-placeholder"}})},C=[],_={name:"InitialLoadingPlaceholder",data(){return{loaded:!1}},created(){const e=()=>{this.loaded=!0};this.$router.onReady(e,e)}},P=_,k=(n("48b1"),Object(f["a"])(P,E,C,!1,null,"35c356b6",null)),L=k.exports,A=n("942d"),T=n("6842");function x(e,t){return e&&"object"===typeof e&&Object.prototype.hasOwnProperty.call(e,t)&&"string"===typeof e[t]}function O(e,t,n,i){if(!t||"object"!==typeof t||i&&(x(t,"light")||x(t,"dark"))){let o=t;if(x(t,i)&&(o=t[i]),"object"===typeof o)return;n[e]=o}else Object.entries(t).forEach(([t,o])=>{const r=[e,t].join("-");O(r,o,n,i)})}function I(e,t="light"){const n={},i=e||{};return O("-",i,n,t),n}var $=n("4009"),D=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.displaySuggestLang?n("div",{staticClass:"suggest-lang"},[n("div",{staticClass:"suggest-lang__wrapper"},[n("router-link",{staticClass:"suggest-lang__link",attrs:{to:e.getLocaleParam(e.preferredLocale),lang:e.getCodeForSlug(e.preferredLocale)},nativeOn:{click:function(t){return e.setPreferredLocale(e.preferredLocale)}}},[e._v(e._s(e.$i18n.messages[e.preferredLocale]["view-in"])),n("InlineChevronRightIcon",{staticClass:"icon-inline"})],1),n("div",{staticClass:"suggest-lang__close-icon-wrapper"},[n("button",{staticClass:"suggest-lang__close-icon-button",attrs:{"aria-label":e.$t("continue-viewing")},on:{click:function(t){return e.setPreferredLocale(e.$i18n.locale)}}},[n("CloseIcon",{staticClass:"icon-inline"})],1)])],1)]):e._e()},N=[],R=n("34b0"),U=n("a919"),q=n("3ca7"),V=n("9b56"),B={name:"SuggestLang",components:{InlineChevronRightIcon:R["a"],CloseIcon:U["a"]},computed:{preferredLocale:()=>{const e=c["a"].state.preferredLocale;if(e)return e;const t=q.find(e=>{const t=e.code.split("-")[0],n=window.navigator.language.split("-")[0];return n===t});return t?t.slug:null},displaySuggestLang:({preferredLocale:e,$i18n:t})=>e&&t.locale!==e},methods:{setPreferredLocale:e=>{c["a"].setPreferredLocale(e)},getCodeForSlug:V["a"],getLocaleParam:V["b"]}},M=B,W=(n("ed78"),Object(f["a"])(M,D,N,!1,null,"ad72c62e",null)),F=W.exports,G=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"locale-selector"},[n("select",{attrs:{"aria-label":e.$t("select-language")},domProps:{value:e.$i18n.locale},on:{change:e.updateRouter}},e._l(e.locales,(function(t){var i=t.slug,o=t.name,r=t.code;return n("option",{key:i,attrs:{lang:r},domProps:{value:i}},[e._v(" "+e._s(o)+" ")])})),0),n("ChevronThickIcon",{staticClass:"icon-inline"})],1)},H=[],J=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"chevron-thick-icon",attrs:{viewBox:"0 0 14 10.5",themeId:"chevron-thick"}},[n("path",{attrs:{d:"M12.43,0l1.57,1.22L7,10.5,0,1.23,1.58,0,7,7,12.43,0Z"}})])},K=[],z=n("be08"),Y={name:"ChevronThickIcon",components:{SVGIcon:z["a"]}},Q=Y,Z=Object(f["a"])(Q,J,K,!1,null,null,null),X=Z.exports,ee={name:"LocaleSelector",components:{ChevronThickIcon:X},methods:{updateRouter({target:{value:e}}){this.$router.push(Object(V["b"])(e)),c["a"].setPreferredLocale(e),Object(V["c"])(e,this)}},computed:{availableLocales:()=>c["a"].state.availableLocales,locales:({availableLocales:e})=>q.filter(({code:t})=>e.includes(t))}},te=ee,ne=(n("e759"),Object(f["a"])(te,G,H,!1,null,"7e4d9b69",null)),ie=ne.exports,oe={name:"CoreApp",components:{Footer:S,InitialLoadingPlaceholder:L,SuggestLang:F,LocaleSelector:ie},provide(){return{isTargetIDE:this.isTargetIDE,performanceMetricsEnabled:"true"===Object({NODE_ENV:"production",VUE_APP_TITLE:"Documentation",BASE_URL:"{{BASE_PATH}}/"}).VUE_APP_PERFORMANCE_ENABLED}},data(){return{AppTopID:$["a"],appState:c["a"].state,fromKeyboard:!1,isTargetIDE:"ide"===Object({NODE_ENV:"production",VUE_APP_TITLE:"Documentation",BASE_URL:"{{BASE_PATH}}/"}).VUE_APP_TARGET,themeSettings:T["d"],baseNavStickyAnchorId:A["e"]}},computed:{currentColorScheme:({appState:e})=>e.systemColorScheme,preferredColorScheme:({appState:e})=>e.preferredColorScheme,availableLocales:({appState:e})=>e.availableLocales,CSSCustomProperties:({currentColorScheme:e,preferredColorScheme:t,themeSettings:n})=>I(n.theme,t===l["a"].auto?e:t),hasCustomHeader:()=>!!window.customElements.get("custom-header"),hasCustomFooter:()=>!!window.customElements.get("custom-footer"),enablei18n:({availableLocales:e})=>Object(T["c"])(["features","docs","i18n","enable"],!1)&&e.length>1},props:{enableThemeSettings:{type:Boolean,default:!0}},watch:{CSSCustomProperties:{immediate:!0,handler(e){this.detachStylesFromRoot(e),this.attachStylesToRoot(e)}}},async created(){window.addEventListener("keydown",this.onKeyDown),this.$bridge.on("navigation",this.handleNavigationRequest),this.enableThemeSettings&&Object.assign(this.themeSettings,await Object(T["b"])()),window.addEventListener("pageshow",this.syncPreferredColorScheme),this.$once("hook:beforeDestroy",()=>{window.removeEventListener("pageshow",this.syncPreferredColorScheme)})},mounted(){(document.querySelector(".footer-current-year")||{}).innerText=(new Date).getFullYear(),this.attachColorSchemeListeners()},beforeDestroy(){this.fromKeyboard?window.removeEventListener("mousedown",this.onMouseDown):window.removeEventListener("keydown",this.onKeyDown),this.$bridge.off("navigation",this.handleNavigationRequest),this.detachStylesFromRoot(this.CSSCustomProperties)},methods:{onKeyDown(){this.fromKeyboard=!0,window.addEventListener("mousedown",this.onMouseDown),window.removeEventListener("keydown",this.onKeyDown)},onMouseDown(){this.fromKeyboard=!1,window.addEventListener("keydown",this.onKeyDown),window.removeEventListener("mousedown",this.onMouseDown)},handleNavigationRequest(e){this.$router.push(e)},attachColorSchemeListeners(){if(!window.matchMedia)return;const e=window.matchMedia("(prefers-color-scheme: dark)");e.addListener(this.onColorSchemePreferenceChange),this.$once("hook:beforeDestroy",()=>{e.removeListener(this.onColorSchemePreferenceChange)}),this.onColorSchemePreferenceChange(e)},onColorSchemePreferenceChange({matches:e}){const t=e?l["a"].dark:l["a"].light;c["a"].setSystemColorScheme(t)},attachStylesToRoot(e){const t=document.body;Object.entries(e).filter(([,e])=>Boolean(e)).forEach(([e,n])=>{t.style.setProperty(e,n)})},detachStylesFromRoot(e){const t=document.body;Object.entries(e).forEach(([e])=>{t.style.removeProperty(e)})},syncPreferredColorScheme(){c["a"].syncPreferredColorScheme()}}},re=oe,ae=(n("5c0b"),n("a2be"),Object(f["a"])(re,a,s,!1,null,"7d594ed9",null)),se=ae.exports;class ce{constructor(){this.$send=()=>{}}send(e){this.$send(e)}}class le{constructor(){const{webkit:{messageHandlers:{bridge:e={}}={}}={}}=window;this.bridge=e;const{postMessage:t=(()=>{})}=e;this.$send=t.bind(e)}send(e){this.$send(e)}}class ue{constructor(e=new ce){this.backend=e,this.listeners={}}send(e){this.backend.send(e)}receive(e){this.emit(e.type,e.data)}emit(e,t){this.listeners[e]&&this.listeners[e].forEach(e=>e(t))}on(e,t){this.listeners[e]||(this.listeners[e]=new Set),this.listeners[e].add(t)}off(e,t){this.listeners[e]&&this.listeners[e].delete(t)}}var he={install(e,t){let n;n=t.performanceMetricsEnabled||"ide"===t.appTarget?new le:new ce,e.prototype.$bridge=new ue(n)}};function de(e){return"custom-"+e}function ge(e){return class extends HTMLElement{constructor(){super();const t=this.attachShadow({mode:"open"}),n=e.content.cloneNode(!0);t.appendChild(n)}}}function me(e){const t=de(e),n=document.getElementById(t);n&&window.customElements.define(t,ge(n))}function pe(e,t={names:["header","footer"]}){const{names:n}=t;e.config.ignoredElements=/^custom-/,n.forEach(me)}function fe(e,t){const{value:n=!1}=t;e.style.display=n?"none":""}var be={hide:fe};function ve(e,{performanceMetrics:t=!1}={}){e.config.productionTip=!1,e.use(pe),e.directive("hide",be.hide),e.use(he,{appTarget:Object({NODE_ENV:"production",VUE_APP_TITLE:"Documentation",BASE_URL:"{{BASE_PATH}}/"}).VUE_APP_TARGET,performanceMetricsEnabled:t}),window.bridge=e.prototype.$bridge,e.config.performance=t}var we=n("9895"),ye=n("63b8"),je=n("3908"),Se=n("002d"),Ee=n("d26a");const Ce=10;function _e(e){const{name:t}=e,n=t.includes(we["a"]);return n?Ce:0}function Pe(){const{location:e}=window;return e.pathname+e.search+e.hash}function ke(){const e=Math.max(document.documentElement.clientWidth||0,window.innerWidth||0);return ePromise.all([n.e("documentation-topic~topic~tutorials-overview"),n.e("tutorials-overview")]).then(n.bind(null,"f025"))},{path:"/tutorials/:id/*",name:"topic",component:()=>Promise.all([n.e("documentation-topic~topic~tutorials-overview"),n.e("documentation-topic~topic"),n.e("topic")]).then(n.bind(null,"3213"))},{path:"/documentation/*",name:we["a"],component:()=>Promise.all([n.e("documentation-topic~topic~tutorials-overview"),n.e("chunk-c0335d80"),n.e("documentation-topic~topic"),n.e("documentation-topic")]).then(n.bind(null,"f8ac"))},{path:"*",name:we["b"],component:Ke},{path:"*",name:"server-error",component:Me}];const Ye=[{pathPrefix:"/:locale?",nameSuffix:"-locale"}];function Qe(e,t=[],n=Ye){return n.reduce((n,i)=>n.concat(e.filter(e=>!t.includes(e.name)).map(e=>({...e,path:i.pathPrefix+e.path,name:e.name+i.nameSuffix}))),[])}const Ze=[...Qe(ze,[we["b"]]),...ze];function Xe(e={}){const t=new r["a"]({mode:"history",base:T["a"],scrollBehavior:Le,...e,routes:e.routes||Ze});return t.onReady(()=>{"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual"),Ae()}),"ide"!==Object({NODE_ENV:"production",VUE_APP_TITLE:"Documentation",BASE_URL:"{{BASE_PATH}}/"}).VUE_APP_TARGET&&t.onError(e=>{const{route:n={path:"/"}}=e;t.replace({name:"server-error",params:[n.path]})}),window.addEventListener("unload",Te),t}var et=n("9923");function tt(e=et){const{defaultLocale:t,messages:n,dateTimeFormats:i={}}=e,r=new o["a"]({dateTimeFormats:i,locale:t,fallbackLocale:t,messages:n});return r}i["default"].use(ve),i["default"].use(r["a"]),i["default"].use(o["a"]),new i["default"]({router:Xe(),render:e=>e(se),i18n:tt()}).$mount("#app")}}); \ No newline at end of file diff --git a/docs/js/topic.8cd0c0c4.js b/docs/js/topic.8cd0c0c4.js new file mode 100644 index 0000000..af0651e --- /dev/null +++ b/docs/js/topic.8cd0c0c4.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["topic"],{"0466":function(e,t,n){},"0503":function(e,t,n){"use strict";n("e38e")},"0c11":function(e,t,n){},"0c14":function(e,t,n){},1006:function(e,t,n){"use strict";n("a95e")},"1dd5":function(e,t,n){"use strict";n("7b17")},"257c":function(e,t,n){"use strict";n("7748")},"2a05":function(e,t,n){},"2f9d":function(e,t,n){"use strict";n("525c")},3213:function(e,t,n){"use strict";n.r(t);var s=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.topicData?n(e.componentFor(e.topicData),e._b({key:e.topicKey,tag:"component",attrs:{hierarchy:e.hierarchy}},"component",e.propsFor(e.topicData),!1)):e._e()],1)},i=[],r=n("25a9"),o=n("a97e");const{BreakpointName:a}=o["a"].constants;var c,l,u={state:{linkableSections:[],breakpoint:a.large,references:{}},addLinkableSection(e){const t={...e,visibility:0};t.sectionNumber=this.state.linkableSections.length,this.state.linkableSections.push(t)},reset(){this.state.linkableSections=[],this.state.breakpoint=a.large,this.state.references={}},updateLinkableSection(e){this.state.linkableSections=this.state.linkableSections.map(t=>e.anchor===t.anchor?{...t,visibility:e.visibility}:t)},updateBreakpoint(e){this.state.breakpoint=e},setReferences(e){this.state.references=e}},d=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"article"},[e.isTargetIDE?e._e():n("NavigationBar",{attrs:{chapters:e.hierarchy.modules,technology:e.metadata.category,topic:e.heroTitle||"",rootReference:e.hierarchy.reference,identifierUrl:e.identifierUrl}}),n("main",{attrs:{id:"main",role:"main",tabindex:"0"}},[e._t("above-hero"),e._l(e.sections,(function(t,s){return n(e.componentFor(t),e._b({key:s,tag:"component"},"component",e.propsFor(t),!1))}))],2),n("PortalTarget",{attrs:{name:"modal-destination",multiple:""}})],1)},p=[],h=n("2b88"),m=n("e425"),f=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("NavBase",{attrs:{id:"nav","aria-label":e.technology,hasSolidBackground:""}},[n("template",{slot:"default"},[n("ReferenceUrlProvider",{attrs:{reference:e.rootReference},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.urlWithParams;return n("NavTitleContainer",{attrs:{to:s}},[n("template",{slot:"default"},[e._v(e._s(e.technology))]),n("template",{slot:"subhead"},[e._v(e._s(e.$tc("tutorials.title",2)))])],2)}}])})],1),n("template",{slot:"after-title"},[n("div",{staticClass:"separator"})]),n("template",{slot:"tray"},[n("div",{staticClass:"mobile-dropdown-container"},[n("MobileDropdown",{attrs:{options:e.chapters,sections:e.optionsForSections,currentOption:e.currentSection?e.currentSection.title:""},on:{"select-section":e.onSelectSection}})],1),n("div",{staticClass:"dropdown-container"},[n("PrimaryDropdown",{staticClass:"primary-dropdown",attrs:{options:e.chapters,currentOption:e.topic}}),n("ChevronIcon",{staticClass:"icon-inline"}),e.currentSection?n("SecondaryDropdown",{staticClass:"secondary-dropdown",attrs:{options:e.optionsForSections,currentOption:e.currentSection.title,sectionTracker:e.sectionIndicatorText},on:{"select-section":e.onSelectSection}}):e._e()],1),e._t("tray",null,{siblings:e.chapters.length+e.optionsForSections.length})],2)],2)},v=[],b=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"chevron-icon",attrs:{viewBox:"0 0 14 14",themeId:"chevron"}},[n("path",{attrs:{d:"M3.22 1.184l0.325-0.38 7.235 6.201-7.235 6.19-0.325-0.38 6.792-5.811-6.792-5.82z"}})])},g=[],y=n("be08"),C={name:"ChevronIcon",components:{SVGIcon:y["a"]}},w=C,_=n("2877"),k=Object(_["a"])(w,b,g,!1,null,null,null),S=k.exports,x=n("d26a"),T=n("2f34"),I={name:"ReferenceUrlProvider",mixins:[T["a"]],props:{reference:{type:String,required:!0}},computed:{resolvedReference:({references:e,reference:t})=>e[t]||{},url:({resolvedReference:e})=>e.url,title:({resolvedReference:e})=>e.title},render(){return this.$scopedSlots.default({url:this.url,urlWithParams:Object(x["b"])(this.url,this.$route.query),title:this.title,reference:this.resolvedReference})}},A=I,$=Object(_["a"])(A,c,l,!1,null,null,null),O=$.exports,N=n("8a61"),P=n("cbcf"),q=n("653a"),D=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("NavMenuItems",{staticClass:"mobile-dropdown"},e._l(e.options,(function(t){return n("ReferenceUrlProvider",{key:t.reference,attrs:{reference:t.reference},scopedSlots:e._u([{key:"default",fn:function(s){var i=s.title;return n("NavMenuItemBase",{staticClass:"chapter-list",attrs:{role:"group"}},[n("p",{staticClass:"chapter-name"},[e._v(e._s(i))]),n("ul",{staticClass:"tutorial-list"},e._l(t.projects,(function(t){return n("ReferenceUrlProvider",{key:t.reference,attrs:{reference:t.reference},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.url,i=t.urlWithParams,r=t.title;return n("li",{staticClass:"tutorial-list-item"},[n("router-link",{staticClass:"option tutorial",attrs:{to:i,value:r}},[e._v(" "+e._s(r)+" ")]),s===e.$route.path?n("ul",{staticClass:"section-list",attrs:{role:"listbox"}},e._l(e.sections,(function(t){return n("li",{key:t.title},[n("router-link",{class:e.classesFor(t),attrs:{to:{path:t.path,query:e.$route.query},value:t.title},nativeOn:{click:function(n){return e.onClick(t)}}},[e._v(" "+e._s(t.title)+" ")])],1)})),0):e._e()],1)}}],null,!0)})})),1)])}}],null,!0)})})),1)},j=[],R=n("863d"),M=n("9b30"),B={name:"MobileDropdown",components:{NavMenuItems:M["a"],NavMenuItemBase:R["a"],ReferenceUrlProvider:O},props:{options:{type:Array,required:!0},currentOption:{type:String,required:!0},sections:{type:Array,required:!1,default:()=>[]}},methods:{classesFor(e){return["option","section",{active:this.currentOption===e.title},this.depthClass(e)]},depthClass(e){const{depth:t=0}=e;return"depth"+t},onClick(e){this.$emit("select-section",e.path)}}},L=B,E=(n("e688"),Object(_["a"])(L,D,j,!1,null,"154acfbd",null)),F=E.exports,V=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("DropdownCustom",{staticClass:"tutorial-dropdown",attrs:{value:e.currentOption,"aria-label":e.$t("tutorials.nav.current",{thing:e.$t("sections.title")}),isSmall:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.closeAndFocusToggler,i=t.contentClasses,r=t.navigateOverOptions,o=t.OptionClass,a=t.ActiveOptionClass;return[n("ul",{staticClass:"options",class:i,attrs:{role:"listbox",tabindex:"0"}},e._l(e.options,(function(t){return n("router-link",{key:t.title,attrs:{to:{path:t.path,query:e.$route.query},custom:""},scopedSlots:e._u([{key:"default",fn:function(i){var c,l=i.navigate;return[n("li",{class:[o,(c={},c[a]=e.currentOption===t.title,c)],attrs:{role:"option",value:t.title,"aria-selected":e.currentOption===t.title,"aria-current":e.ariaCurrent(t.title),tabindex:-1},on:{click:function(n){return e.setActive(t,l,s,n)},keydown:[function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"enter",13,n.key,"Enter")?null:e.setActive(t,l,s,n)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:s.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"tab",9,t.key,"Tab")?null:s.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:(t.preventDefault(),r(t,1))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:(t.preventDefault(),r(t,-1))}]}},[e._v(" "+e._s(t.title)+" ")])]}}],null,!0)})})),1)]}}])},[n("template",{slot:"toggle-post-content"},[n("span",{staticClass:"section-tracker"},[e._v(e._s(e.sectionTracker))])])],2)},U=[],H=function(){var e,t=this,n=t.$createElement,s=t._self._c||n;return s("BaseDropdown",{staticClass:"dropdown-custom",class:(e={},e[t.OpenedClass]=t.isOpen,e["dropdown-small"]=t.isSmall,e),attrs:{value:t.value},scopedSlots:t._u([{key:"dropdown",fn:function(e){var n=e.dropdownClasses;return[s("span",{staticClass:"visuallyhidden",attrs:{id:"DropdownLabel_"+t._uid}},[t._v(t._s(t.ariaLabel))]),s("button",{ref:"dropdownToggle",staticClass:"form-dropdown-toggle",class:n,attrs:{role:"button",id:"DropdownToggle_"+t._uid,"aria-labelledby":"DropdownLabel_"+t._uid+" DropdownToggle_"+t._uid,"aria-expanded":t.isOpen?"true":"false","aria-haspopup":"true"},on:{click:t.toggleDropdown,keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.preventDefault(),t.openDropdown.apply(null,arguments))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"])?null:t.closeAndFocusToggler.apply(null,arguments)},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"])?null:(e.preventDefault(),t.openDropdown.apply(null,arguments))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"])?null:(e.preventDefault(),t.openDropdown.apply(null,arguments))}]}},[s("span",{staticClass:"form-dropdown-title"},[t._v(t._s(t.value))]),t._t("toggle-post-content")],2)]}}],null,!0)},[s("template",{slot:"eyebrow"},[t._t("eyebrow")],2),s("template",{slot:"after"},[t._t("default",null,null,{value:t.value,isOpen:t.isOpen,contentClasses:["form-dropdown-content",{"is-open":t.isOpen}],closeDropdown:t.closeDropdown,onChangeAction:t.onChangeAction,closeAndFocusToggler:t.closeAndFocusToggler,navigateOverOptions:t.navigateOverOptions,OptionClass:t.OptionClass,ActiveOptionClass:t.ActiveOptionClass})],2)],2)},z=[],G=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-element"},[e._t("dropdown",(function(){return[n("select",e._b({directives:[{name:"model",rawName:"v-model",value:e.modelValue,expression:"modelValue"}],class:e.dropdownClasses,on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.modelValue=t.target.multiple?n:n[0]}}},"select",e.$attrs,!1),[e._t("default")],2)]}),{dropdownClasses:e.dropdownClasses,value:e.value}),n("InlineChevronDownIcon",{staticClass:"form-icon",attrs:{"aria-hidden":"true"}}),e.$slots.eyebrow?n("span",{staticClass:"form-label",attrs:{"aria-hidden":"true"}},[e._t("eyebrow")],2):e._e(),e._t("after")],2)},W=[],Q=n("7948"),K={name:"BaseDropdown",inheritAttrs:!1,props:{value:{type:String,default:""}},components:{InlineChevronDownIcon:Q["a"]},computed:{modelValue:{get:({value:e})=>e,set(e){this.$emit("input",e)}},dropdownClasses({value:e}){return["form-dropdown",{"form-dropdown-selectnone":""===e,"no-eyebrow":!this.$slots.eyebrow}]}}},X=K,J=(n("ed71"),Object(_["a"])(X,G,W,!1,null,"998803d8",null)),Y=J.exports;const Z="is-open",ee="option",te="option-active";var ne={name:"DropdownCustom",components:{BaseDropdown:Y},constants:{OpenedClass:Z,OptionClass:ee,ActiveOptionClass:te},props:{value:{type:String,default:""},ariaLabel:{type:String,default:""},isSmall:{type:Boolean,default:!1}},data(){return{isOpen:!1,OpenedClass:Z,OptionClass:ee,ActiveOptionClass:te}},mounted(){document.addEventListener("click",this.closeOnLoseFocus)},beforeDestroy(){document.removeEventListener("click",this.closeOnLoseFocus)},methods:{onChangeAction(e){this.$emit("input",e)},toggleDropdown(){this.isOpen?this.closeDropdown():this.openDropdown()},async closeAndFocusToggler(){this.closeDropdown(),await this.$nextTick(),this.$refs.dropdownToggle.focus({preventScroll:!0})},closeDropdown(){this.isOpen=!1,this.$emit("close")},openDropdown(){this.isOpen=!0,this.$emit("open"),this.focusActiveLink()},closeOnLoseFocus(e){!this.$el.contains(e.target)&&this.isOpen&&this.closeDropdown()},navigateOverOptions({target:e},t){const n=this.$el.querySelectorAll("."+ee),s=Array.from(n),i=s.indexOf(e),r=s[i+t];r&&r.focus({preventScroll:!0})},async focusActiveLink(){const e=this.$el.querySelector("."+te);e&&(await this.$nextTick(),e.focus({preventScroll:!0}))}}},se=ne,ie=(n("e84c"),Object(_["a"])(se,H,z,!1,null,"12dd746a",null)),re=ie.exports,oe={name:"SecondaryDropdown",components:{DropdownCustom:re},props:{options:{type:Array,required:!0},currentOption:{type:String,required:!0},sectionTracker:{type:String,required:!1}},methods:{ariaCurrent(e){return this.currentOption===e&&"section"},setActive(e,t,n,s){t(s),this.$emit("select-section",e.path),n()}}},ae=oe,ce=(n("7f7b"),Object(_["a"])(ae,V,U,!1,null,"554d62b6",null)),le=ce.exports,ue=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("DropdownCustom",{staticClass:"tutorial-dropdown",attrs:{value:e.currentOption,"aria-label":e.$t("tutorials.nav.current",{thing:e.$tc("tutorials.title",1)}),isSmall:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.closeAndFocusToggler,i=t.contentClasses,r=t.closeDropdown,o=t.navigateOverOptions,a=t.OptionClass,c=t.ActiveOptionClass;return[n("ul",{staticClass:"options",class:i,attrs:{tabindex:"0"}},e._l(e.options,(function(t){return n("ReferenceUrlProvider",{key:t.reference,attrs:{reference:t.reference},scopedSlots:e._u([{key:"default",fn:function(i){var l=i.title;return n("li",{staticClass:"chapter-list",attrs:{role:"group"}},[n("p",{staticClass:"chapter-name"},[e._v(e._s(l))]),n("ul",{attrs:{role:"listbox"}},e._l(t.projects,(function(t){return n("ReferenceUrlProvider",{key:t.reference,attrs:{reference:t.reference},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.urlWithParams,l=t.title;return[n("router-link",{attrs:{to:i,custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var i,u=t.navigate,d=t.isActive;return[n("li",{class:(i={},i[a]=!0,i[c]=d,i),attrs:{role:"option",value:l,"aria-selected":d,"aria-current":!!d&&"tutorial",tabindex:-1},on:{click:function(t){return e.setActive(u,r,t)},keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.setActive(u,r,t)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:s.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"tab",9,t.key,"Tab")?null:s.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:(t.preventDefault(),o(t,1))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:(t.preventDefault(),o(t,-1))}]}},[e._v(" "+e._s(l)+" ")])]}}],null,!0)})]}}],null,!0)})})),1)])}}],null,!0)})})),1)]}}])})},de=[],pe={name:"PrimaryDropdown",components:{DropdownCustom:re,ReferenceUrlProvider:O},props:{options:{type:Array,required:!0},currentOption:{type:String,required:!0}},methods:{setActive(e,t,n){e(n),t()}}},he=pe,me=(n("9938"),Object(_["a"])(he,ue,de,!1,null,"4bddb6e6",null)),fe=me.exports;const ve={title:"Introduction",url:"#introduction",reference:"introduction",sectionNumber:0,depth:0};var be={name:"NavigationBar",components:{NavTitleContainer:q["a"],NavBase:P["a"],ReferenceUrlProvider:O,PrimaryDropdown:fe,SecondaryDropdown:le,MobileDropdown:F,ChevronIcon:S},mixins:[N["a"],T["a"]],props:{chapters:{type:Array,required:!0},technology:{type:String,required:!0},topic:{type:String,required:!0},rootReference:{type:String,required:!0},identifierUrl:{type:String,required:!0}},data(){return{currentSection:ve,tutorialState:this.store.state}},watch:{pageSectionWithHighestVisibility(e){e&&(this.currentSection=e)}},computed:{currentProject(){return this.chapters.reduce((e,{projects:t})=>e.concat(t),[]).find(e=>e.reference===this.identifierUrl)},pageSections(){if(!this.currentProject)return[];const e=[ve].concat(this.currentProject.sections);return this.tutorialState.linkableSections.map((t,n)=>{const s=e[n],i=this.references[s.reference],{url:r,title:o}=i||s;return{...t,title:o,path:r}})},optionsForSections(){return this.pageSections.map(({depth:e,path:t,title:n})=>({depth:e,path:t,title:n}))},pageSectionWithHighestVisibility(){return[...this.pageSections].sort((e,t)=>t.visibility-e.visibility).find(e=>e.visibility>0)},sectionIndicatorText(){const e=this.tutorialState.linkableSections.length-1,{sectionNumber:t}=this.currentSection||{};if(0!==t)return this.$t("tutorials.section-of",{number:t,total:e})}},methods:{onSelectSection(e){const t=e.split("#")[1];this.handleFocusAndScroll(t)}}},ge=be,ye=(n("ea88"),Object(_["a"])(ge,f,v,!1,null,"717bc942",null)),Ce=ye.exports,we=n("bf08"),_e=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"body"},[n("BodyContent",{attrs:{content:e.content}})],1)},ke=[],Se=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("article",{staticClass:"body-content"},e._l(e.content,(function(t,s){return n(e.componentFor(t),e._b({key:s,tag:"component",staticClass:"layout"},"component",e.propsFor(t),!1))})),1)},xe=[],Te=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"columns",class:e.classes},[e._l(e.columns,(function(t,s){return[n("Asset",{key:t.media,attrs:{identifier:t.media,videoAutoplays:!1}}),t.content?n("ContentNode",{key:s,attrs:{content:t.content}}):e._e()]}))],2)},Ie=[],Ae=n("80e4"),$e=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("BaseContentNode",{attrs:{content:e.articleContent}})},Oe=[],Ne=n("5677"),Pe={name:"ContentNode",components:{BaseContentNode:Ne["default"]},props:Ne["default"].props,computed:{articleContent(){return this.map(e=>{switch(e.type){case Ne["default"].BlockType.codeListing:return{...e,showLineNumbers:!0};case Ne["default"].BlockType.heading:{const{anchor:t,...n}=e;return n}default:return e}})}},methods:Ne["default"].methods,BlockType:Ne["default"].BlockType,InlineType:Ne["default"].InlineType},qe=Pe,De=(n("cb8d"),Object(_["a"])(qe,$e,Oe,!1,null,"3cfe1c35",null)),je=De.exports,Re={name:"Columns",components:{Asset:Ae["a"],ContentNode:je},props:{columns:{type:Array,required:!0}},computed:{classes(){return{"cols-2":2===this.columns.length,"cols-3":3===this.columns.length}}}},Me=Re,Be=(n("e9b0"),Object(_["a"])(Me,Te,Ie,!1,null,"30edf911",null)),Le=Be.exports,Ee=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"content-and-media",class:e.classes},[n("ContentNode",{attrs:{content:e.content}}),n("Asset",{attrs:{identifier:e.media}})],1)},Fe=[];const Ve={leading:"leading",trailing:"trailing"};var Ue={name:"ContentAndMedia",components:{Asset:Ae["a"],ContentNode:je},props:{content:je.props.content,media:Ae["a"].props.identifier,mediaPosition:{type:String,default:()=>Ve.trailing,validator:e=>Object.prototype.hasOwnProperty.call(Ve,e)}},computed:{classes(){return{"media-leading":this.mediaPosition===Ve.leading,"media-trailing":this.mediaPosition===Ve.trailing}}},MediaPosition:Ve},He=Ue,ze=(n("1006"),Object(_["a"])(He,Ee,Fe,!1,null,"3fa44f9e",null)),Ge=ze.exports,We=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"full-width"},e._l(e.groups,(function(t,s){return n(e.componentFor(t),e._b({key:s,tag:"component",staticClass:"group"},"component",e.propsFor(t),!1),[n("ContentNode",{attrs:{content:t.content}})],1)})),1)},Qe=[],Ke=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n(e.tag,{tag:"component",attrs:{id:e.anchor}},[e._t("default")],2)},Xe=[],Je=n("72e7"),Ye={name:"LinkableElement",mixins:[Je["a"]],inject:{navigationBarHeight:{default(){}},store:{default(){return{addLinkableSection(){},updateLinkableSection(){}}}}},props:{anchor:{type:String,required:!0},depth:{type:Number,default:()=>0},tag:{type:String,default:()=>"div"},title:{type:String,required:!0}},computed:{intersectionRootMargin(){const e=this.navigationBarHeight?`-${this.navigationBarHeight}px`:"0%";return e+" 0% -50% 0%"}},created(){this.store.addLinkableSection({anchor:this.anchor,depth:this.depth,title:this.title,visibility:0})},methods:{onIntersect(e){const t=Math.min(1,e.intersectionRatio);this.store.updateLinkableSection({anchor:this.anchor,depth:this.depth,title:this.title,visibility:t})}}},Ze=Ye,et=Object(_["a"])(Ze,Ke,Xe,!1,null,null,null),tt=et.exports;const{BlockType:nt}=je;var st={name:"FullWidth",components:{ContentNode:je,LinkableElement:tt},props:je.props,computed:{groups:({content:e})=>e.reduce((e,t)=>0===e.length||t.type===nt.heading?[...e,{heading:t.type===nt.heading?t:null,content:[t]}]:[...e.slice(0,e.length-1),{heading:e[e.length-1].heading,content:e[e.length-1].content.concat(t)}],[])},methods:{componentFor(e){return e.heading?tt:"div"},depthFor(e){switch(e.level){case 1:case 2:return 0;default:return 1}},propsFor(e){return e.heading?{anchor:e.heading.anchor,depth:this.depthFor(e.heading),title:e.heading.text}:{}}}},it=st,rt=(n("aece"),Object(_["a"])(it,We,Qe,!1,null,"1f2be54b",null)),ot=rt.exports;const at={columns:"columns",contentAndMedia:"contentAndMedia",fullWidth:"fullWidth"};var ct={name:"BodyContent",props:{content:{type:Array,required:!0,validator:e=>e.every(({kind:e})=>Object.prototype.hasOwnProperty.call(at,e))}},methods:{componentFor(e){return{[at.columns]:Le,[at.contentAndMedia]:Ge,[at.fullWidth]:ot}[e.kind]},propsFor(e){const{content:t,kind:n,media:s,mediaPosition:i}=e;return{[at.columns]:{columns:t},[at.contentAndMedia]:{content:t,media:s,mediaPosition:i},[at.fullWidth]:{content:t}}[n]}},LayoutKind:at},lt=ct,ut=(n("1dd5"),Object(_["a"])(lt,Se,xe,!1,null,"4d5a806e",null)),dt=ut.exports,pt={name:"Body",components:{BodyContent:dt},props:dt.props},ht=pt,mt=(n("5237"),Object(_["a"])(ht,_e,ke,!1,null,"6499e2f2",null)),ft=mt.exports,vt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("TutorialCTA",e._b({},"TutorialCTA",e.$props,!1))},bt=[],gt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("BaseCTA",e._b({attrs:{label:e.$t("tutorials.next")}},"BaseCTA",e.baseProps,!1))},yt=[],Ct=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"call-to-action"},[n("Row",[n("LeftColumn",[n("span",{staticClass:"label"},[e._v(e._s(e.label))]),n("h2",[e._v(" "+e._s(e.title)+" ")]),e.abstract?n("ContentNode",{staticClass:"description",attrs:{content:[e.abstractParagraph]}}):e._e(),e.action?n("Button",{attrs:{action:e.action}}):e._e()],1),n("RightColumn",{staticClass:"right-column"},[e.media?n("Asset",{staticClass:"media",attrs:{identifier:e.media}}):e._e()],1)],1)],1)},wt=[],_t=n("0f00"),kt=n("620a"),St=n("c081"),xt={name:"CallToAction",components:{Asset:Ae["a"],Button:St["a"],ContentNode:Ne["default"],LeftColumn:{render(e){return e(kt["a"],{props:{span:{large:5,small:12}}},this.$slots.default)}},RightColumn:{render(e){return e(kt["a"],{props:{span:{large:6,small:12}}},this.$slots.default)}},Row:_t["a"]},props:{title:{type:String,required:!0},label:{type:String,required:!0},abstract:{type:Array,required:!1},action:{type:Object,required:!1},media:{type:String,required:!1}},computed:{abstractParagraph(){return{type:"paragraph",inlineContent:this.abstract}}}},Tt=xt,It=(n("c7dd"),Object(_["a"])(Tt,Ct,wt,!1,null,"042a0474",null)),At=It.exports,$t={name:"CallToAction",components:{BaseCTA:At},computed:{baseProps(){return{title:this.title,abstract:this.abstract,action:this.action,media:this.media}}},props:{title:{type:String,required:!0},abstract:{type:Array,required:!1},action:{type:Object,required:!1},media:{type:String,required:!1}}},Ot=$t,Nt=Object(_["a"])(Ot,gt,yt,!1,null,null,null),Pt=Nt.exports,qt={name:"CallToAction",components:{TutorialCTA:Pt},props:Pt.props},Dt=qt,jt=(n("3e1b"),Object(_["a"])(Dt,vt,bt,!1,null,"426a965c",null)),Rt=jt.exports,Mt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("TutorialHero",e._b({},"TutorialHero",e.$props,!1))},Bt=[],Lt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("LinkableSection",{staticClass:"tutorial-hero",attrs:{anchor:"introduction",title:e.sectionTitle}},[n("div",{staticClass:"hero dark"},[e.backgroundImageUrl?n("div",{staticClass:"bg",style:e.bgStyle}):e._e(),e._t("above-title"),n("Row",[n("Column",[n("Headline",{attrs:{level:1}},[e.chapter?n("template",{slot:"eyebrow"},[e._v(e._s(e.chapter))]):e._e(),e._v(" "+e._s(e.title)+" ")],2),e.content||e.video?n("div",{staticClass:"intro"},[e.content?n("ContentNode",{attrs:{content:e.content}}):e._e(),e.video?[n("p",[n("a",{staticClass:"call-to-action",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.toggleCallToActionModal.apply(null,arguments)}}},[e._v(" Watch intro video "),n("PlayIcon",{staticClass:"cta-icon icon-inline"})],1)]),n("GenericModal",{attrs:{visible:e.callToActionModalVisible,isFullscreen:"",theme:"dark"},on:{"update:visible":function(t){e.callToActionModalVisible=t}}},[n("Asset",{directives:[{name:"show",rawName:"v-show",value:e.callToActionModalVisible,expression:"callToActionModalVisible"}],ref:"asset",staticClass:"video-asset",attrs:{identifier:e.video},on:{videoEnded:e.handleVideoEnd}})],1)]:e._e()],2):e._e(),n("Metadata",{staticClass:"metadata",attrs:{projectFilesUrl:e.projectFilesUrl,estimatedTimeInMinutes:e.estimatedTimeInMinutes,xcodeRequirement:e.xcodeRequirementData}})],1)],1)],2)])},Et=[],Ft=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"headline"},[e.$slots.eyebrow?n("span",{staticClass:"eyebrow"},[e._t("eyebrow")],2):e._e(),n("Heading",{staticClass:"heading",attrs:{level:e.level}},[e._t("default")],2)],1)},Vt=[];const Ut=1,Ht=6,zt={type:Number,required:!0,validator:e=>e>=Ut&&e<=Ht},Gt={name:"Heading",render:function(e){return e("h"+this.level,this.$slots.default)},props:{level:zt}};var Wt={name:"Headline",components:{Heading:Gt},props:{level:zt}},Qt=Wt,Kt=(n("3976"),Object(_["a"])(Qt,Ft,Vt,!1,null,"d46a1474",null)),Xt=Kt.exports,Jt=n("c161"),Yt=n("c4dd"),Zt=n("748c"),en=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"metadata"},[e.estimatedTimeInMinutes?n("div",{staticClass:"item",attrs:{"aria-label":"\n "+e.$tc("tutorials.time.minutes.full",e.estimatedTimeInMinutes,{count:e.estimatedTimeInMinutes})+"\n "+e.$t("tutorials.estimated-time")+"\n "}},[n("div",{staticClass:"content",attrs:{"aria-hidden":"true"}},[n("i18n",{staticClass:"duration",attrs:{path:"tutorials.time.format",tag:"div"},scopedSlots:e._u([{key:"number",fn:function(){return[e._v(" "+e._s(e.estimatedTimeInMinutes)+" ")]},proxy:!0},{key:"minutes",fn:function(){return[n("div",{staticClass:"minutes"},[e._v(e._s(e.$tc("tutorials.time.minutes.short",e.estimatedTimeInMinutes))+" ")])]},proxy:!0}],null,!1,3313752798)})],1),n("div",{staticClass:"bottom",attrs:{"aria-hidden":"true"}},[e._v(e._s(e.$t("tutorials.estimated-time")))])]):e._e(),e.projectFilesUrl?n("div",{staticClass:"item"},[n("DownloadIcon",{staticClass:"item-large-icon icon-inline"}),n("div",{staticClass:"content bottom"},[n("a",{staticClass:"content-link project-download",attrs:{href:e.projectFilesUrl}},[e._v(" "+e._s(e.$t("tutorials.project-files"))+" "),n("InlineDownloadIcon",{staticClass:"small-icon icon-inline"})],1)])],1):e._e(),e.xcodeRequirement?n("div",{staticClass:"item"},[n("XcodeIcon",{staticClass:"item-large-icon icon-inline"}),n("div",{staticClass:"content bottom"},[e.isTargetIDE?n("span",[e._v(e._s(e.xcodeRequirement.title))]):n("a",{staticClass:"content-link",attrs:{href:e.xcodeRequirement.url}},[e._v(" "+e._s(e.xcodeRequirement.title)+" "),n("InlineChevronRightIcon",{staticClass:"icon-inline small-icon xcode-icon"})],1)])],1):e._e()])},tn=[],nn=n("de60"),sn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"xcode-icon",attrs:{viewBox:"0 0 14 14",themeId:"xcode"}},[n("path",{attrs:{d:"M2.668 4.452l-1.338-2.229 0.891-0.891 2.229 1.338 1.338 2.228 3.667 3.666 0.194-0.194 2.933 2.933c0.13 0.155 0.209 0.356 0.209 0.576 0 0.497-0.403 0.9-0.9 0.9-0.22 0-0.421-0.079-0.577-0.209l0.001 0.001-2.934-2.933 0.181-0.181-3.666-3.666z"}}),n("path",{attrs:{d:"M11.824 1.277l-0.908 0.908c-0.091 0.091-0.147 0.216-0.147 0.354 0 0.106 0.033 0.205 0.090 0.286l-0.001-0.002 0.058 0.069 0.185 0.185c0.090 0.090 0.215 0.146 0.353 0.146 0.107 0 0.205-0.033 0.286-0.090l-0.002 0.001 0.069-0.057 0.909-0.908c0.118 0.24 0.187 0.522 0.187 0.82 0 1.045-0.848 1.893-1.893 1.893-0.296 0-0.577-0.068-0.826-0.189l0.011 0.005-5.5 5.5c0.116 0.238 0.184 0.518 0.184 0.813 0 1.045-0.848 1.893-1.893 1.893-0.296 0-0.576-0.068-0.826-0.189l0.011 0.005 0.908-0.909c0.090-0.090 0.146-0.215 0.146-0.353 0-0.107-0.033-0.205-0.090-0.286l0.001 0.002-0.057-0.069-0.185-0.185c-0.091-0.091-0.216-0.147-0.354-0.147-0.106 0-0.205 0.033-0.286 0.090l0.002-0.001-0.069 0.058-0.908 0.908c-0.116-0.238-0.184-0.518-0.184-0.813 0-1.045 0.847-1.892 1.892-1.892 0.293 0 0.571 0.067 0.819 0.186l-0.011-0.005 5.5-5.5c-0.116-0.238-0.184-0.519-0.184-0.815 0-1.045 0.847-1.892 1.892-1.892 0.296 0 0.577 0.068 0.827 0.19l-0.011-0.005z"}})])},rn=[],on={name:"XcodeIcon",components:{SVGIcon:y["a"]}},an=on,cn=Object(_["a"])(an,sn,rn,!1,null,null,null),ln=cn.exports,un=n("34b0"),dn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"inline-download-icon",attrs:{viewBox:"0 0 14 14",themeId:"inline-download"}},[n("path",{attrs:{d:"M7 0.5c3.59 0 6.5 2.91 6.5 6.5s-2.91 6.5-6.5 6.5c-3.59 0-6.5-2.91-6.5-6.5s2.91-6.5 6.5-6.5zM7 1.5c-3.038 0-5.5 2.462-5.5 5.5s2.462 5.5 5.5 5.5c3.038 0 5.5-2.462 5.5-5.5s-2.462-5.5-5.5-5.5z"}}),n("path",{attrs:{d:"M7.51 2.964l-0.001 5.431 1.308-2.041 0.842 0.539-2.664 4.162-2.633-4.164 0.845-0.534 1.303 2.059 0.001-5.452z"}})])},pn=[],hn={name:"InlineDownloadIcon",components:{SVGIcon:y["a"]}},mn=hn,fn=Object(_["a"])(mn,dn,pn,!1,null,null,null),vn=fn.exports,bn={name:"HeroMetadata",components:{InlineDownloadIcon:vn,InlineChevronRightIcon:un["a"],DownloadIcon:nn["a"],XcodeIcon:ln},inject:["isTargetIDE"],props:{projectFilesUrl:{type:String},estimatedTimeInMinutes:{type:Number},xcodeRequirement:{type:Object,required:!1}}},gn=bn,yn=(n("33ff"),Object(_["a"])(gn,en,tn,!1,null,"94ff76c0",null)),Cn=yn.exports,wn={name:"Hero",components:{PlayIcon:Yt["a"],GenericModal:Jt["a"],Column:{render(e){return e(kt["a"],{props:{span:{large:7,medium:9,small:12}}},this.$slots.default)}},ContentNode:Ne["default"],Headline:Xt,Metadata:Cn,Row:_t["a"],Asset:Ae["a"],LinkableSection:tt},mixins:[T["a"]],props:{title:{type:String,required:!0},chapter:{type:String},content:{type:Array},projectFiles:{type:String},estimatedTimeInMinutes:{type:Number},xcodeRequirement:{type:String,required:!1},video:{type:String},backgroundImage:{type:String}},computed:{backgroundImageUrl(){const e=this.references[this.backgroundImage]||{},{variants:t=[]}=e,n=t.find(e=>e.traits.includes("light"));return Object(Zt["c"])((n||{}).url)},projectFilesUrl(){return this.projectFiles?Object(Zt["c"])(this.references[this.projectFiles].url):null},bgStyle(){return{backgroundImage:Object(Zt["f"])(this.backgroundImageUrl)}},xcodeRequirementData(){return this.references[this.xcodeRequirement]},sectionTitle(){return"Introduction"}},data(){return{callToActionModalVisible:!1}},methods:{async toggleCallToActionModal(){this.callToActionModalVisible=!0,await this.$nextTick();const e=this.$refs.asset.$el.querySelector("video");if(e)try{await e.play(),e.muted=!1}catch(t){}},handleVideoEnd(){this.callToActionModalVisible=!1}}},_n=wn,kn=(n("7fae"),Object(_["a"])(_n,Lt,Et,!1,null,"55543c5a",null)),Sn=kn.exports,xn={name:"Hero",components:{TutorialHero:Sn},props:Sn.props},Tn=xn,In=(n("2f9d"),Object(_["a"])(Tn,Mt,Bt,!1,null,"35a9482f",null)),An=In.exports,$n=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("TutorialAssessments",e._b({},"TutorialAssessments",e.$props,!1),[n("p",{attrs:{slot:"success"},slot:"success"},[e._v("Great job, you've answered all the questions for this article.")])])},On=[],Nn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("LinkableSection",{staticClass:"assessments-wrapper",attrs:{anchor:e.anchor,title:e.title}},[n("Row",{ref:"assessments",staticClass:"assessments"},[n("MainColumn",[n("Row",{staticClass:"banner"},[n("HeaderColumn",[n("h2",{staticClass:"title"},[e._v(e._s(e.title))])])],1),e.completed?n("div",{staticClass:"success"},[e._t("success",(function(){return[n("p",[e._v(e._s(e.SuccessMessage))])]}))],2):n("div",[n("Progress",e._b({ref:"progress"},"Progress",e.progress,!1)),n("Quiz",{key:e.activeIndex,attrs:{choices:e.activeAssessment.choices,content:e.activeAssessment.content,isLast:e.isLast,title:e.activeAssessment.title},on:{submit:e.onSubmit,advance:e.onAdvance,"see-results":e.onSeeResults}})],1),n("div",{staticClass:"visuallyhidden",attrs:{"aria-live":"assertive"}},[e.completed?e._t("success",(function(){return[e._v(" "+e._s(e.SuccessMessage)+" ")]})):e._e()],2)],1)],1)],1)},Pn=[],qn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Row",[n("p",{staticClass:"title"},[e._v(e._s(e.$t("tutorials.question-of",{index:e.index,total:e.total})))])])},Dn=[],jn={name:"AssessmentsProgress",components:{Row:_t["a"]},props:{index:{type:Number,required:!0},total:{type:Number,required:!0}}},Rn=jn,Mn=(n("6866"),Object(_["a"])(Rn,qn,Dn,!1,null,"28135d78",null)),Bn=Mn.exports,Ln=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"quiz"},[n("ContentNode",{staticClass:"title",attrs:{content:e.title}}),e.content?n("ContentNode",{staticClass:"question-content",attrs:{content:e.content}}):e._e(),n("div",{staticClass:"choices"},[e._l(e.choices,(function(t,s){return n("label",{key:s,class:e.choiceClasses[s]},[n(e.getIconComponent(s),{tag:"component",staticClass:"choice-icon"}),n("input",{directives:[{name:"model",rawName:"v-model",value:e.selectedIndex,expression:"selectedIndex"}],attrs:{type:"radio",name:"assessment"},domProps:{value:s,checked:e._q(e.selectedIndex,s)},on:{change:function(t){e.selectedIndex=s}}}),n("ContentNode",{staticClass:"question",attrs:{content:t.content}}),e.userChoices[s].checked?[n("ContentNode",{staticClass:"answer",attrs:{content:t.justification}}),t.reaction?n("p",{staticClass:"answer"},[e._v(e._s(t.reaction))]):e._e()]:e._e()],2)})),n("div",{staticClass:"visuallyhidden",attrs:{"aria-live":"assertive"}},[e._v(" "+e._s(e.ariaLiveText)+" ")])],2),n("div",{staticClass:"controls"},[n("ButtonLink",{staticClass:"check",attrs:{disabled:null===e.selectedIndex||e.showNextQuestion},nativeOn:{click:function(t){return e.submit.apply(null,arguments)}}},[e._v(" "+e._s(e.$t("tutorials.submit"))+" ")]),e.isLast?n("ButtonLink",{staticClass:"results",attrs:{disabled:!e.showNextQuestion},nativeOn:{click:function(t){return e.seeResults.apply(null,arguments)}}},[e._v(" "+e._s(e.$t("tutorials.next"))+" ")]):n("ButtonLink",{staticClass:"next",attrs:{disabled:!e.showNextQuestion},nativeOn:{click:function(t){return e.advance.apply(null,arguments)}}},[e._v(" "+e._s(e.$t("tutorials.assessment.next-question"))+" ")])],1)],1)},En=[],Fn=n("76ab"),Vn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"reset-circle-icon",attrs:{viewBox:"0 0 14 14",themeId:"reset-circle"}},[n("path",{attrs:{d:"M7 0.5c3.59 0 6.5 2.91 6.5 6.5s-2.91 6.5-6.5 6.5c-3.59 0-6.5-2.91-6.5-6.5v0c0-3.59 2.91-6.5 6.5-6.5v0zM7 1.5c-3.038 0-5.5 2.462-5.5 5.5s2.462 5.5 5.5 5.5c3.038 0 5.5-2.462 5.5-5.5v0c0-3.038-2.462-5.5-5.5-5.5v0z"}}),n("path",{attrs:{d:"M3.828 4.539l0.707-0.707 5.657 5.657-0.707 0.707-5.657-5.657z"}}),n("path",{attrs:{d:"M3.828 9.489l5.657-5.657 0.707 0.707-5.657 5.657-0.707-0.707z"}})])},Un=[],Hn={name:"ResetCircleIcon",components:{SVGIcon:y["a"]}},zn=Hn,Gn=Object(_["a"])(zn,Vn,Un,!1,null,null,null),Wn=Gn.exports,Qn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"check-circle-icon",attrs:{viewBox:"0 0 14 14",themeId:"check-circle"}},[n("path",{attrs:{d:"M7 0.5c3.59 0 6.5 2.91 6.5 6.5s-2.91 6.5-6.5 6.5c-3.59 0-6.5-2.91-6.5-6.5v0c0-3.59 2.91-6.5 6.5-6.5v0zM7 1.5c-3.038 0-5.5 2.462-5.5 5.5s2.462 5.5 5.5 5.5c3.038 0 5.5-2.462 5.5-5.5v0c0-3.038-2.462-5.5-5.5-5.5v0z"}}),n("path",{attrs:{d:"M9.626 3.719l0.866 0.5-3.5 6.062-3.464-2 0.5-0.866 2.6 1.5z"}})])},Kn=[],Xn={name:"CheckCircleIcon",components:{SVGIcon:y["a"]}},Jn=Xn,Yn=Object(_["a"])(Jn,Qn,Kn,!1,null,null,null),Zn=Yn.exports,es={name:"Quiz",components:{CheckCircleIcon:Zn,ResetCircleIcon:Wn,ContentNode:Ne["default"],ButtonLink:Fn["a"]},props:{content:{type:Array,required:!1},choices:{type:Array,required:!0},isLast:{type:Boolean,default:!1},title:{type:Array,required:!0}},data(){return{userChoices:this.choices.map(()=>({checked:!1})),selectedIndex:null,checkedIndex:null}},computed:{correctChoices(){return this.choices.reduce((e,t,n)=>t.isCorrect?e.add(n):e,new Set)},choiceClasses(){return this.userChoices.map((e,t)=>({choice:!0,active:this.selectedIndex===t,disabled:e.checked||this.showNextQuestion,correct:e.checked&&this.choices[t].isCorrect,incorrect:e.checked&&!this.choices[t].isCorrect}))},showNextQuestion(){return Array.from(this.correctChoices).every(e=>this.userChoices[e].checked)},ariaLiveText(){if(null===this.checkedIndex)return"";const{isCorrect:e}=this.choices[this.checkedIndex];return`${this.$t("tutorials.assessment.answer-number-is",{index:this.checkedIndex+1})} ${e?this.$t("tutorials.assessment.correct"):this.$t("tutorials.assessment.incorrect")}\n `}},methods:{getIconComponent(e){const t=this.userChoices[e];if(t&&t.checked)return this.choices[e].isCorrect?Zn:Wn},submit(){this.$set(this.userChoices,this.selectedIndex,{checked:!0}),this.checkedIndex=this.selectedIndex,this.$emit("submit")},advance(){this.$emit("advance")},seeResults(){this.$emit("see-results")}}},ts=es,ns=(n("0503"),Object(_["a"])(ts,Ln,En,!1,null,"19ed40e2",null)),ss=ns.exports;const is=12,rs="tutorials.assessment.success-message";var os={name:"Assessments",constants:{SuccessMessage:rs},components:{LinkableSection:tt,Quiz:ss,Progress:Bn,Row:_t["a"],HeaderColumn:{render(e){return e(kt["a"],{props:{isCentered:{large:!0},span:{large:10}}},this.$slots.default)}},MainColumn:{render(e){return e(kt["a"],{props:{isCentered:{large:!0},span:{large:10,medium:10,small:12}}},this.$slots.default)}}},props:{assessments:{type:Array,required:!0},anchor:{type:String,required:!0}},inject:["navigationBarHeight"],data(){return{activeIndex:0,completed:!1,SuccessMessage:this.$t(rs)}},computed:{activeAssessment(){return this.assessments[this.activeIndex]},isLast(){return this.activeIndex===this.assessments.length-1},progress(){return{index:this.activeIndex+1,total:this.assessments.length}},title(){return this.$t("tutorials.assessment.check-your-understanding")}},methods:{scrollTo(e,t=0){e.scrollIntoView(!0),window.scrollBy(0,-this.navigationBarHeight-t)},onSubmit(){this.$nextTick(()=>{this.scrollTo(this.$refs.progress.$el,is)})},onAdvance(){this.activeIndex+=1,this.$nextTick(()=>{this.scrollTo(this.$refs.progress.$el,is)})},onSeeResults(){this.completed=!0,this.$nextTick(()=>{this.scrollTo(this.$refs.assessments.$el,is)})}}},as=os,cs=(n("da20"),Object(_["a"])(as,Nn,Pn,!1,null,"65e3c02c",null)),ls=cs.exports,us={name:"Assessments",components:{TutorialAssessments:ls},props:ls.props},ds=us,ps=(n("f264"),Object(_["a"])(ds,$n,On,!1,null,"3c94366b",null)),hs=ps.exports;const ms={articleBody:"articleBody",callToAction:"callToAction",hero:"hero",assessments:"assessments"};var fs={name:"Article",components:{NavigationBar:Ce,PortalTarget:h["PortalTarget"]},mixins:[we["a"]],inject:{isTargetIDE:{default:!1},store:{default(){return{reset(){},setReferences(){}}}}},props:{hierarchy:{type:Object,required:!0},metadata:{type:Object,required:!0},references:{type:Object,required:!0},sections:{type:Array,required:!0,validator:e=>e.every(({kind:e})=>Object.prototype.hasOwnProperty.call(ms,e))},identifierUrl:{type:String,required:!0}},computed:{heroSection(){return this.sections.find(this.isHero)},heroTitle(){return(this.heroSection||{}).title},pageTitle(){return this.heroTitle?`${this.heroTitle} — ${this.metadata.category} Tutorials`:void 0},pageDescription:({heroSection:e,extractFirstParagraphText:t})=>e?t(e.content):null},methods:{componentFor(e){const{kind:t}=e;return{[ms.articleBody]:ft,[ms.callToAction]:Rt,[ms.hero]:An,[ms.assessments]:hs}[t]},isHero(e){return e.kind===ms.hero},propsFor(e){const{abstract:t,action:n,anchor:s,assessments:i,backgroundImage:r,chapter:o,content:a,estimatedTimeInMinutes:c,kind:l,media:u,projectFiles:d,title:p,video:h,xcodeRequirement:m}=e;return{[ms.articleBody]:{content:a},[ms.callToAction]:{abstract:t,action:n,media:u,title:p},[ms.hero]:{backgroundImage:r,chapter:o,content:a,estimatedTimeInMinutes:c,projectFiles:d,title:p,video:h,xcodeRequirement:m},[ms.assessments]:{anchor:s,assessments:i}}[l]}},created(){m["a"].setAvailableLocales(this.metadata.availableLocales),this.store.reset(),this.store.setReferences(this.references)},watch:{references(e){this.store.setReferences(e)},"metadata.availableLocales":function(e){m["a"].setAvailableLocales(e)}},SectionKind:ms},vs=fs,bs=(n("79ef"),Object(_["a"])(vs,d,p,!1,null,"7d4562ea",null)),gs=bs.exports,ys=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"tutorial"},[e.isTargetIDE?e._e():n("NavigationBar",{attrs:{technology:e.metadata.category,chapters:e.hierarchy.modules,topic:e.tutorialTitle||"",rootReference:e.hierarchy.reference,identifierUrl:e.identifierUrl}}),n("main",{attrs:{id:"main",role:"main",tabindex:"0"}},[e._l(e.sections,(function(e,t){return n("Section",{key:t,attrs:{section:e}})})),n("BreakpointEmitter",{on:{change:e.handleBreakpointChange}})],2),n("PortalTarget",{attrs:{name:"modal-destination",multiple:""}})],1)},Cs=[],ws=n("66c9"),_s=n("7689"),ks=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"sections"},e._l(e.tasks,(function(t,s){return n("Section",e._b({key:s,attrs:{id:t.anchor,sectionNumber:s+1,isRuntimePreviewVisible:e.isRuntimePreviewVisible},on:{"runtime-preview-toggle":e.onRuntimePreviewToggle}},"Section",t,!1))})),1)},Ss=[],xs=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("LinkableSection",{staticClass:"section",attrs:{anchor:e.anchor,title:e.introProps.title}},[n("Intro",e._b({},"Intro",e.introProps,!1)),e.stepsSection.length>0?n("Steps",{attrs:{content:e.stepsSection,isRuntimePreviewVisible:e.isRuntimePreviewVisible,sectionNumber:e.sectionNumber},on:{"runtime-preview-toggle":e.onRuntimePreviewToggle}}):e._e()],1)},Ts=[],Is=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"intro-container"},[n("Row",{class:["intro","intro-"+e.sectionNumber,{ide:e.isTargetIDE}]},[n("Column",{staticClass:"left"},[n("Headline",{attrs:{level:2}},[n("router-link",{attrs:{slot:"eyebrow",to:e.sectionLink},slot:"eyebrow"},[e._v(" "+e._s(e.$t("sections.title",{number:e.sectionNumber}))+" ")]),e._v(" "+e._s(e.title)+" ")],1),n("ContentNode",{attrs:{content:e.content}})],1),n("Column",{staticClass:"right"},[n("div",{staticClass:"media"},[e.media?n("Asset",{attrs:{identifier:e.media,showsReplayButton:!e.isClientMobile,showsVideoControls:e.isClientMobile,videoAutoplays:!e.isClientMobile}}):e._e()],1)])],1),e.expandedSections.length>0?n("ExpandedIntro",{staticClass:"expanded-intro",attrs:{content:e.expandedSections}}):e._e()],1)},As=[],$s={name:"SectionIntro",inject:{isClientMobile:{default:()=>!1},isTargetIDE:{default:()=>!1}},components:{Asset:Ae["a"],ContentNode:Ne["default"],ExpandedIntro:dt,Headline:Xt,Row:_t["a"],Column:{render(e){return e(kt["a"],{props:{span:{large:6,small:12}}},this.$slots.default)}}},props:{sectionAnchor:{type:String,required:!0},content:{type:Array,required:!0},media:{type:String,required:!0},title:{type:String,required:!0},sectionNumber:{type:Number,required:!0},expandedSections:{type:Array,default:()=>[]}},methods:{focus(){this.$emit("focus",this.media)}},computed:{sectionLink(){return{path:this.$route.path,hash:this.sectionAnchor,query:this.$route.query}}}},Os=$s,Ns=(n("257c"),Object(_["a"])(Os,Is,As,!1,null,"7f9a8f65",null)),Ps=Ns.exports,qs=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"steps"},[n("div",{staticClass:"content-container"},e._l(e.contentNodes,(function(t,s){return n(t.component,e._b({key:s,ref:"contentNodes",refInFor:!0,tag:"component",class:e.contentClass(s),attrs:{currentIndex:e.activeStep}},"component",t.props,!1))})),1),e.isBreakpointSmall?e._e():n("BackgroundTheme",{staticClass:"asset-container",class:e.assetContainerClasses},[n("transition",{attrs:{name:"fade"}},[e.visibleAsset.media?n("div",{key:e.visibleAsset.media,class:["asset-wrapper",{ide:e.isTargetIDE}]},[n("Asset",{ref:"asset",staticClass:"step-asset",attrs:{identifier:e.visibleAsset.media,showsReplayButton:"",showsVideoControls:!1}})],1):e._e(),e.visibleAsset.code?n("CodePreview",{attrs:{code:e.visibleAsset.code,preview:e.visibleAsset.runtimePreview,isRuntimePreviewVisible:e.isRuntimePreviewVisible},on:{"runtime-preview-toggle":e.onRuntimePreviewToggle}},[e.visibleAsset.runtimePreview?n("transition",{attrs:{name:"fade"}},[n("Asset",{key:e.visibleAsset.runtimePreview,attrs:{identifier:e.visibleAsset.runtimePreview}})],1):e._e()],1):e._e()],1)],1)],1)},Ds=[],js=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["code-preview",{ide:e.isTargetIDE}]},[n("CodeTheme",[e.code?n("CodeListing",e._b({attrs:{showLineNumbers:""}},"CodeListing",e.codeProps,!1)):e._e()],1),n("div",{staticClass:"runtime-preview",class:e.runtimePreviewClasses,style:e.previewStyles},[n("div",{staticClass:"runtimve-preview__container"},[n("button",{staticClass:"header",attrs:{disabled:!e.hasRuntimePreview,title:e.runtimePreviewTitle},on:{click:e.togglePreview}},[n("span",{staticClass:"runtime-preview-label",attrs:{"aria-label":e.textAriaLabel}},[e._v(e._s(e.togglePreviewText))]),n("DiagonalArrowIcon",{staticClass:"icon-inline preview-icon",class:[e.shouldDisplayHideLabel?"preview-hide":"preview-show"]})],1),n("transition",{on:{leave:e.handleLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.shouldDisplayHideLabel,expression:"shouldDisplayHideLabel"}],staticClass:"runtime-preview-asset"},[e._t("default")],2)])],1)])],1)},Rs=[],Ms=n("7b69"),Bs=n("6667"),Ls=n("8590");const{BreakpointName:Es}=o["a"].constants;function Fs({width:e,height:t},n=1){const s=400,i=e<=s?1.75:3;return{width:e/(i/n),height:t/(i/n)}}var Vs={name:"CodePreview",inject:{isTargetIDE:{default:!1},store:{default(){return{state:{references:{}}}}}},components:{DiagonalArrowIcon:Bs["a"],CodeListing:Ms["a"],CodeTheme:Ls["a"]},props:{code:{type:String,required:!0},preview:{type:String,required:!1},isRuntimePreviewVisible:{type:Boolean,required:!0}},data(){return{tutorialState:this.store.state}},computed:{references:({tutorialState:e})=>e.references,currentBreakpoint(){return this.tutorialState.breakpoint},hasRuntimePreview(){return!!this.preview},previewAssetSize(){const e=this.hasRuntimePreview?this.references[this.preview]:{},t=(e.variants||[{}])[0]||{},n={width:900};let s=t.size||{};s.width||s.height||(s=n);const i=this.currentBreakpoint===Es.medium?.8:1;return Fs(s,i)},previewSize(){const e={width:102};return this.shouldDisplayHideLabel&&this.previewAssetSize?{width:this.previewAssetSize.width}:e},previewStyles(){const{width:e}=this.previewSize;return{width:e+"px"}},codeProps(){return this.references[this.code]},runtimePreviewClasses(){return{collapsed:!this.shouldDisplayHideLabel,disabled:!this.hasRuntimePreview,"runtime-preview-ide":this.isTargetIDE}},shouldDisplayHideLabel(){return this.hasRuntimePreview&&this.isRuntimePreviewVisible},runtimePreviewTitle(){return this.hasRuntimePreview?null:this.$t("tutorials.preview.no-preview-available-step")},togglePreviewText(){return this.$tc("tutorials.preview.title",this.hasRuntimePreview?1:0)},textAriaLabel(){return`${this.togglePreviewText}, ${this.shouldDisplayHideLabel?this.$t("verbs.hide"):this.$t("verbs.show")}`}},methods:{handleLeave(e,t){setTimeout(t,200)},togglePreview(){this.hasRuntimePreview&&this.$emit("runtime-preview-toggle",!this.isRuntimePreviewVisible)}}},Us=Vs,Hs=(n("b27b"),Object(_["a"])(Us,js,Rs,!1,null,"4f53426a",null)),zs=Hs.exports,Gs=n("3908"),Ws=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{style:e.backgroundStyle},[e._t("default")],2)},Qs=[],Ks={name:"BackgroundTheme",data(){return{codeThemeState:ws["a"].state}},computed:{backgroundStyle(){const{codeColors:e}=this.codeThemeState;return e?{"--background":e.background}:null}}},Xs=Ks,Js=Object(_["a"])(Xs,Ws,Qs,!1,null,null,null),Ys=Js.exports,Zs=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["step-container","step-"+e.stepNumber]},[n("div",{ref:"step",staticClass:"step",class:{focused:e.isActive},attrs:{"data-index":e.index}},[n("p",{staticClass:"step-label"},[e._v(e._s(e.$t("tutorials.step",{number:e.stepNumber})))]),n("ContentNode",{attrs:{content:e.content}}),e.caption&&e.caption.length>0?n("ContentNode",{staticClass:"caption",attrs:{content:e.caption}}):e._e()],1),e.isBreakpointSmall||!e.isTargetIDE?n("div",{staticClass:"media-container"},[e.media?n("Asset",{attrs:{identifier:e.media,showsReplayButton:!e.isClientMobile,showsVideoControls:e.isClientMobile,videoAutoplays:!e.isClientMobile}}):e._e(),e.code?n("MobileCodePreview",{attrs:{code:e.code}},[e.runtimePreview?n("Asset",{staticClass:"preview",attrs:{identifier:e.runtimePreview}}):e._e()],1):e._e()],1):e._e()])},ei=[],ti=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("BackgroundTheme",{staticClass:"mobile-code-preview"},[e.code?n("GenericModal",{staticClass:"full-code-listing-modal",attrs:{theme:e.isTargetIDE?"code":"light",codeBackgroundColorOverride:e.modalBackgroundColor,isFullscreen:"",visible:e.fullCodeIsVisible},on:{"update:visible":function(t){e.fullCodeIsVisible=t}}},[n("div",{staticClass:"full-code-listing-modal-content"},[n("CodeTheme",[n("CodeListing",e._b({staticClass:"full-code-listing",attrs:{showLineNumbers:""}},"CodeListing",e.codeProps,!1))],1)],1)]):e._e(),n("CodeTheme",[e.code?n("MobileCodeListing",e._b({attrs:{showLineNumbers:""},on:{"file-name-click":e.toggleFullCode}},"MobileCodeListing",e.codeProps,!1)):e._e()],1),n("CodeTheme",{staticClass:"preview-toggle-container"},[n("PreviewToggle",{attrs:{isActionable:!!e.$slots.default},on:{click:e.togglePreview}})],1),e.$slots.default?n("GenericModal",{staticClass:"runtime-preview-modal",attrs:{theme:e.isTargetIDE?"dynamic":"light",isFullscreen:"",visible:e.previewIsVisible},on:{"update:visible":function(t){e.previewIsVisible=t}}},[n("div",{staticClass:"runtime-preview-modal-content"},[n("span",{staticClass:"runtime-preview-label"},[e._v(e._s(e.$tc("tutorials.preview.title",1)))]),e._t("default")],2)]):e._e()],1)},ni=[],si=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"code-listing-preview",attrs:{"data-syntax":e.syntax}},[n("CodeListing",{attrs:{fileName:e.fileName,syntax:e.syntax,fileType:e.fileType,content:e.previewedLines,startLineNumber:e.displayedRange.start,highlights:e.highlights,showLineNumbers:"",isFileNameActionable:""},on:{"file-name-click":function(t){return e.$emit("file-name-click")}}})],1)},ii=[],ri={name:"MobileCodeListing",components:{CodeListing:Ms["a"]},props:{fileName:String,syntax:String,fileType:String,content:{type:Array,required:!0},highlights:{type:Array,default:()=>[]}},computed:{highlightedLineNumbers(){return new Set(this.highlights.map(({line:e})=>e))},firstHighlightRange(){if(0===this.highlightedLineNumbers.size)return{start:1,end:this.content.length};const e=Math.min(...this.highlightedLineNumbers.values());let t=e;while(this.highlightedLineNumbers.has(t+1))t+=1;return{start:e,end:t}},displayedRange(){const e=this.firstHighlightRange,t=e.start-2<1?1:e.start-2,n=e.end+3>=this.content.length+1?this.content.length+1:e.end+3;return{start:t,end:n}},previewedLines(){return this.content.slice(this.displayedRange.start-1,this.displayedRange.end-1)}}},oi=ri,ai=(n("fae5"),Object(_["a"])(oi,si,ii,!1,null,"5ad4e037",null)),ci=ai.exports,li=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{staticClass:"toggle-preview"},[e.isActionable?n("a",{staticClass:"toggle-text",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.$emit("click")}}},[e._v(" "+e._s(e.$tc("tutorials.preview.title",1))+" "),n("InlinePlusCircleIcon",{staticClass:"toggle-icon icon-inline"})],1):n("span",{staticClass:"toggle-text"},[e._v(" "+e._s(e.$tc("tutorials.preview.title",0))+" ")])])},ui=[],di=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"inline-plus-circle-icon",attrs:{viewBox:"0 0 14 14",themeId:"inline-plus-circle"}},[n("path",{attrs:{d:"M7 0.5c3.59 0 6.5 2.91 6.5 6.5s-2.91 6.5-6.5 6.5c-3.59 0-6.5-2.91-6.5-6.5v0c0-3.59 2.91-6.5 6.5-6.5v0zM7 1.5c-3.038 0-5.5 2.462-5.5 5.5s2.462 5.5 5.5 5.5c3.038 0 5.5-2.462 5.5-5.5v0c0-3.038-2.462-5.5-5.5-5.5v0z"}}),n("path",{attrs:{d:"M4 6.52h6v1h-6v-1z"}}),n("path",{attrs:{d:"M6.5 4.010h1v6h-1v-6z"}})])},pi=[],hi={name:"InlinePlusCircleIcon",components:{SVGIcon:y["a"]}},mi=hi,fi=Object(_["a"])(mi,di,pi,!1,null,null,null),vi=fi.exports,bi={name:"MobileCodePreviewToggle",components:{InlinePlusCircleIcon:vi},props:{isActionable:{type:Boolean,required:!0}}},gi=bi,yi=(n("bf0a"),Object(_["a"])(gi,li,ui,!1,null,"78763c14",null)),Ci=yi.exports,wi={name:"MobileCodePreview",inject:["isTargetIDE"],mixins:[T["a"]],components:{GenericModal:Jt["a"],CodeListing:Ms["a"],MobileCodeListing:ci,PreviewToggle:Ci,CodeTheme:Ls["a"],BackgroundTheme:Ys},props:{code:{type:String,required:!0}},computed:{codeProps(){return this.references[this.code]},modalBackgroundColor(){const{codeColors:e}=this.store.state;return e?e.background:null}},data(){return{previewIsVisible:!1,fullCodeIsVisible:!1}},methods:{togglePreview(){this.previewIsVisible=!this.previewIsVisible},toggleFullCode(){this.fullCodeIsVisible=!this.fullCodeIsVisible}}},_i=wi,ki=(n("3fcc"),Object(_["a"])(_i,ti,ni,!1,null,"1aed4baa",null)),Si=ki.exports;const{BreakpointName:xi}=o["a"].constants;var Ti={name:"Step",components:{Asset:Ae["a"],MobileCodePreview:Si,ContentNode:Ne["default"]},inject:["isTargetIDE","isClientMobile","store"],props:{code:{type:String,required:!1},content:{type:Array,required:!0},caption:{type:Array,required:!1},media:{type:String,required:!1},runtimePreview:{type:String,required:!1},sectionNumber:{type:Number,required:!0},stepNumber:{type:Number,required:!0},numberOfSteps:{type:Number,required:!0},index:{type:Number,required:!0},currentIndex:{type:Number,required:!0}},data(){return{tutorialState:this.store.state}},computed:{isBreakpointSmall(){return this.tutorialState.breakpoint===xi.small},isActive:({index:e,currentIndex:t})=>e===t}},Ii=Ti,Ai=(n("c643"),Object(_["a"])(Ii,Zs,ei,!1,null,"eb45ec92",null)),$i=Ai.exports;const{BreakpointName:Oi}=o["a"].constants,{IntersectionDirections:Ni}=Je["a"].constants,Pi="-35% 0% -65% 0%";var qi={name:"SectionSteps",components:{ContentNode:Ne["default"],Step:$i,Asset:Ae["a"],CodePreview:zs,BackgroundTheme:Ys},mixins:[Je["a"]],constants:{IntersectionMargins:Pi},inject:["isTargetIDE","store"],data(){const e=this.content.findIndex(this.isStepNode),{code:t,media:n,runtimePreview:s}=this.content[e]||{};return{tutorialState:this.store.state,visibleAsset:{media:n,code:t,runtimePreview:s},activeStep:e}},computed:{assetContainerClasses(){return{"for-step-code":!!this.visibleAsset.code,ide:this.isTargetIDE}},numberOfSteps(){return this.content.filter(this.isStepNode).length},contentNodes(){return this.content.reduce(({stepCounter:e,nodes:t},n,s)=>{const{type:i,...r}=n,o=this.isStepNode(n),a=o?e+1:e;return o?{stepCounter:e+1,nodes:t.concat({component:$i,type:i,props:{...r,stepNumber:a,index:s,numberOfSteps:this.numberOfSteps,sectionNumber:this.sectionNumber}})}:{stepCounter:e,nodes:t.concat({component:Ne["default"],type:i,props:{content:[n]}})}},{stepCounter:0,nodes:[]}).nodes},isBreakpointSmall(){return this.tutorialState.breakpoint===Oi.small},stepNodes:({contentNodes:e,isStepNode:t})=>e.filter(t),intersectionRootMargin:()=>Pi},async mounted(){await Object(Gs["b"])(8),this.findClosestStepNode()},methods:{isStepNode({type:e}){return"step"===e},contentClass(e){return{["interstitial interstitial-"+(e+1)]:!this.isStepNode(this.content[e])}},onReverseIntoLastStep(){const{asset:e}=this.$refs;if(e){const t=e.$el.querySelector("video");t&&(t.currentTime=0,t.play().catch(()=>{}))}},onFocus(e){const{code:t,media:n,runtimePreview:s}=this.content[e];this.activeStep=e,this.visibleAsset={code:t,media:n,runtimePreview:s}},onRuntimePreviewToggle(e){this.$emit("runtime-preview-toggle",e)},findClosestStepNode(){const e=.333*window.innerHeight;let t=null,n=0;this.stepNodes.forEach(s=>{const{index:i}=s.props,r=this.$refs.contentNodes[i].$refs.step;if(!r)return;const{top:o,bottom:a}=r.getBoundingClientRect(),c=o-e,l=a-e,u=Math.abs(c+l);(0===n||u<=n)&&(n=u,t=i)}),null!==t&&this.onFocus(t)},getIntersectionTargets(){const{stepNodes:e,$refs:t}=this;return e.map(({props:{index:e}})=>t.contentNodes[e].$refs.step)},onIntersect(e){const{target:t,isIntersecting:n}=e;if(!n)return;const s=parseFloat(t.getAttribute("data-index"));this.intersectionScrollDirection===Ni.down&&s===this.stepNodes[this.stepNodes.length-1].props.index&&this.onReverseIntoLastStep(),this.onFocus(s)}},props:{content:{type:Array,required:!0},isRuntimePreviewVisible:{type:Boolean,require:!0},sectionNumber:{type:Number,required:!0}}},Di=qi,ji=(n("d4f3"),Object(_["a"])(Di,qs,Ds,!1,null,"2786be2a",null)),Ri=ji.exports,Mi={name:"Section",components:{Intro:Ps,LinkableSection:tt,Steps:Ri},computed:{introProps(){const[{content:e,media:t},...n]=this.contentSection;return{content:e,expandedSections:n,media:t,sectionAnchor:this.anchor,sectionNumber:this.sectionNumber,title:this.title}}},props:{anchor:{type:String,required:!0},title:{type:String,required:!0},contentSection:{type:Array,required:!0},stepsSection:{type:Array,required:!0},sectionNumber:{type:Number,required:!0},isRuntimePreviewVisible:{type:Boolean,required:!0}},methods:{onRuntimePreviewToggle(e){this.$emit("runtime-preview-toggle",e)}}},Bi=Mi,Li=(n("9dc4"),Object(_["a"])(Bi,xs,Ts,!1,null,"6b3a0b3a",null)),Ei=Li.exports,Fi={name:"SectionList",components:{Section:Ei},data(){return{isRuntimePreviewVisible:!0}},props:{tasks:{type:Array,required:!0}},methods:{onRuntimePreviewToggle(e){this.isRuntimePreviewVisible=e}}},Vi=Fi,Ui=(n("4d07"),Object(_["a"])(Vi,ks,Ss,!1,null,"79a75e9e",null)),Hi=Ui.exports;const zi={assessments:ls,hero:Sn,tasks:Hi,callToAction:Pt},Gi=new Set(Object.keys(zi)),Wi={name:"TutorialSection",render:function(e){const{kind:t,...n}=this.section,s=zi[t];return s?e(s,{props:n}):null},props:{section:{type:Object,required:!0,validator:e=>Gi.has(e.kind)}}};var Qi={name:"Tutorial",mixins:[we["a"],_s["a"]],components:{NavigationBar:Ce,Section:Wi,PortalTarget:h["PortalTarget"],BreakpointEmitter:o["a"]},inject:["isTargetIDE","store"],computed:{heroSection(){return this.sections.find(({kind:e})=>"hero"===e)},tutorialTitle(){return(this.heroSection||{}).title},pageTitle(){return this.tutorialTitle?`${this.tutorialTitle} — ${this.metadata.category} Tutorials`:void 0},pageDescription:({heroSection:e,extractFirstParagraphText:t})=>e?t(e.content):null},props:{sections:{type:Array,required:!0},references:{type:Object,required:!0},hierarchy:{type:Object,required:!0},metadata:{type:Object,required:!0},identifierUrl:{type:String,required:!0}},methods:{handleBreakpointChange(e){this.store.updateBreakpoint(e)},handleCodeColorsChange(e){ws["a"].updateCodeColors(e)}},created(){m["a"].setAvailableLocales(this.metadata.availableLocales),this.store.reset(),this.store.setReferences(this.references)},watch:{references(e){this.store.setReferences(e)},"metadata.availableLocales":function(e){m["a"].setAvailableLocales(e)}},mounted(){this.$bridge.on("codeColors",this.handleCodeColorsChange),this.$bridge.send({type:"requestCodeColors"})},provide(){return{isClientMobile:this.isClientMobile}},beforeDestroy(){this.$bridge.off("codeColors",this.handleCodeColorsChange)}},Ki=Qi,Xi=(n("424f"),Object(_["a"])(Ki,ys,Cs,!1,null,"611d0574",null)),Ji=Xi.exports,Yi=n("0caf"),Zi=n("146e");const er={article:"article",tutorial:"project"};var tr={name:"Topic",inject:{isTargetIDE:{default:!1}},mixins:[Yi["a"],Zi["a"]],data(){return{topicData:null}},computed:{navigationBarHeight(){return this.isTargetIDE?0:52},store(){return u},hierarchy(){const{hierarchy:e={}}=this.topicData,{technologyNavigation:t=["overview","tutorials","resources"]}=e||{};return{...e,technologyNavigation:t}},topicKey:({$route:e,topicData:t})=>[e.path,t.identifier.interfaceLanguage].join()},beforeRouteEnter(e,t,n){e.meta.skipFetchingData?n(e=>e.newContentMounted()):Object(r["c"])(e,t,n).then(e=>n(t=>{t.topicData=e})).catch(n)},beforeRouteUpdate(e,t,n){Object(r["e"])(e,t)?Object(r["c"])(e,t,n).then(e=>{this.topicData=e,n()}).catch(n):n()},created(){this.store.reset()},mounted(){this.$bridge.on("contentUpdate",this.handleContentUpdateFromBridge)},beforeDestroy(){this.$bridge.off("contentUpdate",this.handleContentUpdateFromBridge)},methods:{componentFor(e){const{kind:t}=e;return{[er.article]:gs,[er.tutorial]:Ji}[t]},propsFor(e){const{hierarchy:t,kind:n,metadata:s,references:i,sections:r,identifier:o}=e;return{[er.article]:{hierarchy:t,metadata:s,references:i,sections:r,identifierUrl:o.url},[er.tutorial]:{hierarchy:t,metadata:s,references:i,sections:r,identifierUrl:o.url}}[n]}},provide(){return{navigationBarHeight:this.navigationBarHeight,store:this.store}},watch:{topicData(){this.$nextTick(()=>{this.newContentMounted()})}}},nr=tr,sr=Object(_["a"])(nr,s,i,!1,null,null,null);t["default"]=sr.exports},"32b1":function(e,t,n){},"33ff":function(e,t,n){"use strict";n("4e3e")},3976:function(e,t,n){"use strict";n("0c11")},"3e1b":function(e,t,n){"use strict";n("c5c1")},"3fcc":function(e,t,n){"use strict";n("0c14")},"424f":function(e,t,n){"use strict";n("99b6")},4718:function(e,t,n){},"4b4a":function(e,t,n){},"4d07":function(e,t,n){"use strict";n("b52e")},"4e3e":function(e,t,n){},5237:function(e,t,n){"use strict";n("4b4a")},"525c":function(e,t,n){},5892:function(e,t,n){},5913:function(e,t,n){},"63a8":function(e,t,n){},"653a":function(e,t,n){"use strict";var s=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("router-link",{staticClass:"nav-title-content",attrs:{to:e.to}},[n("span",{staticClass:"title"},[e._t("default")],2),n("span",{staticClass:"subhead"},[e._v(" "),e._t("subhead")],2)])},i=[],r={name:"NavTitleContainer",props:{to:{type:[String,Object],required:!0}}},o=r,a=(n("f1e6"),n("2877")),c=Object(a["a"])(o,s,i,!1,null,"854b4dd6",null);t["a"]=c.exports},6866:function(e,t,n){"use strict";n("5892")},7096:function(e,t,n){},"735b":function(e,t,n){},7748:function(e,t,n){},"79ef":function(e,t,n){"use strict";n("bcaa")},"7b17":function(e,t,n){},"7f7b":function(e,t,n){"use strict";n("735b")},"7fae":function(e,t,n){"use strict";n("a53d")},9924:function(e,t,n){},9938:function(e,t,n){"use strict";n("d513")},"99b6":function(e,t,n){},"9dc4":function(e,t,n){"use strict";n("fe9d")},a0d4:function(e,t,n){},a40c:function(e,t,n){},a53d:function(e,t,n){},a95e:function(e,t,n){},aa4c:function(e,t,n){},aece:function(e,t,n){"use strict";n("c0df")},b27b:function(e,t,n){"use strict";n("2a05")},b52e:function(e,t,n){},bcaa:function(e,t,n){},bf0a:function(e,t,n){"use strict";n("4718")},c0df:function(e,t,n){},c5c1:function(e,t,n){},c643:function(e,t,n){"use strict";n("9924")},c7dd:function(e,t,n){"use strict";n("aa4c")},cb8d:function(e,t,n){"use strict";n("0466")},d4f3:function(e,t,n){"use strict";n("fc13")},d513:function(e,t,n){},d86f:function(e,t,n){},da20:function(e,t,n){"use strict";n("a40c")},de60:function(e,t,n){"use strict";var s=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"download-icon",attrs:{viewBox:"0 0 14 14",themeId:"download"}},[n("path",{attrs:{d:"M7 0.5c3.59 0 6.5 2.91 6.5 6.5s-2.91 6.5-6.5 6.5c-3.59 0-6.5-2.91-6.5-6.5s2.91-6.5 6.5-6.5zM7 1.5c-3.038 0-5.5 2.462-5.5 5.5s2.462 5.5 5.5 5.5c3.038 0 5.5-2.462 5.5-5.5s-2.462-5.5-5.5-5.5z"}}),n("path",{attrs:{d:"M7.51 2.964l-0.001 5.431 1.308-2.041 0.842 0.539-2.664 4.162-2.633-4.164 0.845-0.534 1.303 2.059 0.001-5.452z"}})])},i=[],r=n("be08"),o={name:"DownloadIcon",components:{SVGIcon:r["a"]}},a=o,c=n("2877"),l=Object(c["a"])(a,s,i,!1,null,null,null);t["a"]=l.exports},e38e:function(e,t,n){},e688:function(e,t,n){"use strict";n("5913")},e84c:function(e,t,n){"use strict";n("d86f")},e9b0:function(e,t,n){"use strict";n("ee09")},ea88:function(e,t,n){"use strict";n("ed98")},ed71:function(e,t,n){"use strict";n("7096")},ed98:function(e,t,n){},ee09:function(e,t,n){},f1e6:function(e,t,n){"use strict";n("a0d4")},f264:function(e,t,n){"use strict";n("63a8")},fae5:function(e,t,n){"use strict";n("32b1")},fc13:function(e,t,n){},fe9d:function(e,t,n){}}]); \ No newline at end of file diff --git a/docs/js/topic.bb695832.js b/docs/js/topic.bb695832.js deleted file mode 100644 index 7edd0ae..0000000 --- a/docs/js/topic.bb695832.js +++ /dev/null @@ -1,10 +0,0 @@ -/*! - * This source file is part of the Swift.org open source project - * - * Copyright (c) 2021 Apple Inc. and the Swift project authors - * Licensed under Apache License v2.0 with Runtime Library Exception - * - * See https://swift.org/LICENSE.txt for license information - * See https://swift.org/CONTRIBUTORS.txt for Swift project authors - */ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["topic"],{"00f4":function(e,t,n){"use strict";n("282f")},"0169":function(e,t,n){"use strict";n("0951")},"0466":function(e,t,n){},"0530":function(e,t,n){"use strict";n("dbeb")},"0951":function(e,t,n){},"0b61":function(e,t,n){},1006:function(e,t,n){"use strict";n("a95e")},"14b7":function(e,t,n){},"1a91":function(e,t,n){"use strict";n("db87")},"1dd5":function(e,t,n){"use strict";n("7b17")},"282f":function(e,t,n){},"2f9d":function(e,t,n){"use strict";n("525c")},"311e":function(e,t,n){},3213:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.topicData?n(e.componentFor(e.topicData),e._b({key:e.topicKey,tag:"component",attrs:{hierarchy:e.hierarchy}},"component",e.propsFor(e.topicData),!1)):e._e()],1)},s=[],r=n("25a9"),o=n("a97e");const{BreakpointName:a}=o["a"].constants;var c,l,u={state:{linkableSections:[],breakpoint:a.large},addLinkableSection(e){const t={...e,visibility:0};t.sectionNumber=this.state.linkableSections.length,this.state.linkableSections.push(t)},reset(){this.state.linkableSections=[],this.state.breakpoint=a.large},updateLinkableSection(e){this.state.linkableSections=this.state.linkableSections.map(t=>e.anchor===t.anchor?{...t,visibility:e.visibility}:t)},updateBreakpoint(e){this.state.breakpoint=e}},d=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"article"},[e.isTargetIDE?e._e():n("NavigationBar",{attrs:{chapters:e.hierarchy.modules,technology:e.metadata.category,topic:e.heroTitle||"",rootReference:e.hierarchy.reference,identifierUrl:e.identifierUrl}}),n("main",{attrs:{id:"main",role:"main",tabindex:"0"}},[e._t("above-hero"),e._l(e.sections,(function(t,i){return n(e.componentFor(t),e._b({key:i,tag:"component"},"component",e.propsFor(t),!1))}))],2),n("PortalTarget",{attrs:{name:"modal-destination",multiple:""}})],1)},p=[],h=n("2b88"),m=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("NavBase",{attrs:{id:"nav","aria-label":e.technology,hasSolidBackground:""}},[n("template",{slot:"default"},[n("ReferenceUrlProvider",{attrs:{reference:e.rootReference},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.urlWithParams;return n("NavTitleContainer",{attrs:{to:i}},[n("template",{slot:"default"},[e._v(e._s(e.technology))]),n("template",{slot:"subhead"},[e._v("Tutorials")])],2)}}])})],1),n("template",{slot:"after-title"},[n("div",{staticClass:"separator"})]),n("template",{slot:"tray"},[n("div",{staticClass:"mobile-dropdown-container"},[n("MobileDropdown",{attrs:{options:e.chapters,sections:e.optionsForSections,currentOption:e.currentSection?e.currentSection.title:""},on:{"select-section":e.onSelectSection}})],1),n("div",{staticClass:"dropdown-container"},[n("PrimaryDropdown",{staticClass:"primary-dropdown",attrs:{options:e.chapters,currentOption:e.topic}}),n("ChevronIcon",{staticClass:"icon-inline"}),e.currentSection?n("SecondaryDropdown",{staticClass:"secondary-dropdown",attrs:{options:e.optionsForSections,currentOption:e.currentSection.title,sectionTracker:e.sectionIndicatorText},on:{"select-section":e.onSelectSection}}):e._e()],1),e._t("tray",null,{siblings:e.chapters.length+e.optionsForSections.length})],2)],2)},f=[],v=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"chevron-icon",attrs:{viewBox:"0 0 14 14",themeId:"chevron"}},[n("path",{attrs:{d:"M3.22 1.184l0.325-0.38 7.235 6.201-7.235 6.19-0.325-0.38 6.792-5.811-6.792-5.82z"}})])},g=[],b=n("be08"),y={name:"ChevronIcon",components:{SVGIcon:b["a"]}},C=y,w=n("2877"),_=Object(w["a"])(C,v,g,!1,null,null,null),k=_.exports,S=n("d26a"),x={name:"ReferenceUrlProvider",inject:{references:{default:()=>({})}},props:{reference:{type:String,required:!0}},computed:{resolvedReference:({references:e,reference:t})=>e[t]||{},url:({resolvedReference:e})=>e.url,title:({resolvedReference:e})=>e.title},render(){return this.$scopedSlots.default({url:this.url,urlWithParams:Object(S["b"])(this.url,this.$route.query),title:this.title,reference:this.resolvedReference})}},T=x,I=Object(w["a"])(T,c,l,!1,null,null,null),A=I.exports,O=n("8a61"),N=n("cbcf"),$=n("653a"),P=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("NavMenuItems",{staticClass:"mobile-dropdown"},e._l(e.options,(function(t){return n("ReferenceUrlProvider",{key:t.reference,attrs:{reference:t.reference},scopedSlots:e._u([{key:"default",fn:function(i){var s=i.title;return n("NavMenuItemBase",{staticClass:"chapter-list",attrs:{role:"group"}},[n("p",{staticClass:"chapter-name"},[e._v(e._s(s))]),n("ul",{staticClass:"tutorial-list"},e._l(t.projects,(function(t){return n("ReferenceUrlProvider",{key:t.reference,attrs:{reference:t.reference},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.url,s=t.urlWithParams,r=t.title;return n("li",{staticClass:"tutorial-list-item"},[n("router-link",{staticClass:"option tutorial",attrs:{to:s,value:r}},[e._v(" "+e._s(r)+" ")]),i===e.$route.path?n("ul",{staticClass:"section-list",attrs:{role:"listbox"}},e._l(e.sections,(function(t){return n("li",{key:t.title},[n("router-link",{class:e.classesFor(t),attrs:{to:{path:t.path,query:e.$route.query},value:t.title},nativeOn:{click:function(n){return e.onClick(t)}}},[e._v(" "+e._s(t.title)+" ")])],1)})),0):e._e()],1)}}],null,!0)})})),1)])}}],null,!0)})})),1)},q=[],D=n("863d"),j=n("9b30"),R={name:"MobileDropdown",components:{NavMenuItems:j["a"],NavMenuItemBase:D["a"],ReferenceUrlProvider:A},props:{options:{type:Array,required:!0},currentOption:{type:String,required:!0},sections:{type:Array,required:!1,default:()=>[]}},methods:{classesFor(e){return["option","section",{active:this.currentOption===e.title},this.depthClass(e)]},depthClass(e){const{depth:t=0}=e;return"depth"+t},onClick(e){this.$emit("select-section",e.path)}}},M=R,B=(n("e688"),Object(w["a"])(M,P,q,!1,null,"154acfbd",null)),E=B.exports,L=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("DropdownCustom",{staticClass:"tutorial-dropdown",attrs:{value:e.currentOption,"aria-label":"Current section",isSmall:""},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.closeAndFocusToggler,s=t.contentClasses,r=t.navigateOverOptions,o=t.OptionClass,a=t.ActiveOptionClass;return[n("ul",{staticClass:"options",class:s,attrs:{role:"listbox",tabindex:"0"}},e._l(e.options,(function(t){return n("router-link",{key:t.title,attrs:{to:{path:t.path,query:e.$route.query},custom:""},scopedSlots:e._u([{key:"default",fn:function(s){var c,l=s.navigate;return[n("li",{class:[o,(c={},c[a]=e.currentOption===t.title,c)],attrs:{role:"option",value:t.title,"aria-selected":e.currentOption===t.title,"aria-current":e.ariaCurrent(t.title),tabindex:-1},on:{click:function(n){return e.setActive(t,l,i,n)},keydown:[function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"enter",13,n.key,"Enter")?null:e.setActive(t,l,i,n)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:i.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"tab",9,t.key,"Tab")?null:i.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:(t.preventDefault(),r(t,1))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:(t.preventDefault(),r(t,-1))}]}},[e._v(" "+e._s(t.title)+" ")])]}}],null,!0)})})),1)]}}])},[n("template",{slot:"toggle-post-content"},[n("span",{staticClass:"section-tracker"},[e._v(e._s(e.sectionTracker))])])],2)},F=[],V=function(){var e,t=this,n=t.$createElement,i=t._self._c||n;return i("BaseDropdown",{staticClass:"dropdown-custom",class:(e={},e[t.OpenedClass]=t.isOpen,e["dropdown-small"]=t.isSmall,e),attrs:{value:t.value},scopedSlots:t._u([{key:"dropdown",fn:function(e){var n=e.dropdownClasses;return[i("span",{staticClass:"visuallyhidden",attrs:{id:"DropdownLabel_"+t._uid}},[t._v(t._s(t.ariaLabel))]),i("button",{ref:"dropdownToggle",staticClass:"form-dropdown-toggle",class:n,attrs:{role:"button",id:"DropdownToggle_"+t._uid,"aria-labelledby":"DropdownLabel_"+t._uid+" DropdownToggle_"+t._uid,"aria-expanded":t.isOpen?"true":"false","aria-haspopup":"true"},on:{click:t.toggleDropdown,keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.preventDefault(),t.openDropdown.apply(null,arguments))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"])?null:t.closeAndFocusToggler.apply(null,arguments)},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"])?null:(e.preventDefault(),t.openDropdown.apply(null,arguments))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"])?null:(e.preventDefault(),t.openDropdown.apply(null,arguments))}]}},[i("span",{staticClass:"form-dropdown-title"},[t._v(t._s(t.value))]),t._t("toggle-post-content")],2)]}}],null,!0)},[i("template",{slot:"eyebrow"},[t._t("eyebrow")],2),i("template",{slot:"after"},[t._t("default",null,null,{value:t.value,isOpen:t.isOpen,contentClasses:["form-dropdown-content",{"is-open":t.isOpen}],closeDropdown:t.closeDropdown,onChangeAction:t.onChangeAction,closeAndFocusToggler:t.closeAndFocusToggler,navigateOverOptions:t.navigateOverOptions,OptionClass:t.OptionClass,ActiveOptionClass:t.ActiveOptionClass})],2)],2)},U=[],H=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-element"},[e._t("dropdown",(function(){return[n("select",e._b({directives:[{name:"model",rawName:"v-model",value:e.modelValue,expression:"modelValue"}],class:e.dropdownClasses,on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.modelValue=t.target.multiple?n:n[0]}}},"select",e.$attrs,!1),[e._t("default")],2)]}),{dropdownClasses:e.dropdownClasses,value:e.value}),n("InlineChevronDownIcon",{staticClass:"form-icon",attrs:{"aria-hidden":"true"}}),e.$slots.eyebrow?n("span",{staticClass:"form-label",attrs:{"aria-hidden":"true"}},[e._t("eyebrow")],2):e._e(),e._t("after")],2)},z=[],G=n("7948"),W={name:"BaseDropdown",inheritAttrs:!1,props:{value:{type:String,default:""}},components:{InlineChevronDownIcon:G["a"]},computed:{modelValue:{get:({value:e})=>e,set(e){this.$emit("input",e)}},dropdownClasses({value:e}){return["form-dropdown",{"form-dropdown-selectnone":""===e,"no-eyebrow":!this.$slots.eyebrow}]}}},Q=W,K=(n("ed71"),Object(w["a"])(Q,H,z,!1,null,"998803d8",null)),X=K.exports;const J="is-open",Y="option",Z="option-active";var ee={name:"DropdownCustom",components:{BaseDropdown:X},constants:{OpenedClass:J,OptionClass:Y,ActiveOptionClass:Z},props:{value:{type:String,default:""},ariaLabel:{type:String,default:""},isSmall:{type:Boolean,default:!1}},data(){return{isOpen:!1,OpenedClass:J,OptionClass:Y,ActiveOptionClass:Z}},mounted(){document.addEventListener("click",this.closeOnLoseFocus)},beforeDestroy(){document.removeEventListener("click",this.closeOnLoseFocus)},methods:{onChangeAction(e){this.$emit("input",e)},toggleDropdown(){this.isOpen?this.closeDropdown():this.openDropdown()},async closeAndFocusToggler(){this.closeDropdown(),await this.$nextTick(),this.$refs.dropdownToggle.focus({preventScroll:!0})},closeDropdown(){this.isOpen=!1,this.$emit("close")},openDropdown(){this.isOpen=!0,this.$emit("open"),this.focusActiveLink()},closeOnLoseFocus(e){!this.$el.contains(e.target)&&this.isOpen&&this.closeDropdown()},navigateOverOptions({target:e},t){const n=this.$el.querySelectorAll("."+Y),i=Array.from(n),s=i.indexOf(e),r=i[s+t];r&&r.focus({preventScroll:!0})},async focusActiveLink(){const e=this.$el.querySelector("."+Z);e&&(await this.$nextTick(),e.focus({preventScroll:!0}))}}},te=ee,ne=(n("e84c"),Object(w["a"])(te,V,U,!1,null,"12dd746a",null)),ie=ne.exports,se={name:"SecondaryDropdown",components:{DropdownCustom:ie},props:{options:{type:Array,required:!0},currentOption:{type:String,required:!0},sectionTracker:{type:String,required:!1}},methods:{ariaCurrent(e){return this.currentOption===e&&"section"},setActive(e,t,n,i){t(i),this.$emit("select-section",e.path),n()}}},re=se,oe=(n("5952"),Object(w["a"])(re,L,F,!1,null,"4a151342",null)),ae=oe.exports,ce=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("DropdownCustom",{staticClass:"tutorial-dropdown",attrs:{value:e.currentOption,"aria-label":"Current tutorial",isSmall:""},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.closeAndFocusToggler,s=t.contentClasses,r=t.closeDropdown,o=t.navigateOverOptions,a=t.OptionClass,c=t.ActiveOptionClass;return[n("ul",{staticClass:"options",class:s,attrs:{tabindex:"0"}},e._l(e.options,(function(t){return n("ReferenceUrlProvider",{key:t.reference,attrs:{reference:t.reference},scopedSlots:e._u([{key:"default",fn:function(s){var l=s.title;return n("li",{staticClass:"chapter-list",attrs:{role:"group"}},[n("p",{staticClass:"chapter-name"},[e._v(e._s(l))]),n("ul",{attrs:{role:"listbox"}},e._l(t.projects,(function(t){return n("ReferenceUrlProvider",{key:t.reference,attrs:{reference:t.reference},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.urlWithParams,l=t.title;return[n("router-link",{attrs:{to:s,custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var s,u=t.navigate,d=t.isActive;return[n("li",{class:(s={},s[a]=!0,s[c]=d,s),attrs:{role:"option",value:l,"aria-selected":d,"aria-current":!!d&&"tutorial",tabindex:-1},on:{click:function(t){return e.setActive(u,r,t)},keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.setActive(u,r,t)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:i.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"tab",9,t.key,"Tab")?null:i.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:(t.preventDefault(),o(t,1))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:(t.preventDefault(),o(t,-1))}]}},[e._v(" "+e._s(l)+" ")])]}}],null,!0)})]}}],null,!0)})})),1)])}}],null,!0)})})),1)]}}])})},le=[],ue={name:"PrimaryDropdown",components:{DropdownCustom:ie,ReferenceUrlProvider:A},props:{options:{type:Array,required:!0},currentOption:{type:String,required:!0}},methods:{setActive(e,t,n){e(n),t()}}},de=ue,pe=(n("e4e4"),Object(w["a"])(de,ce,le,!1,null,"78dc103f",null)),he=pe.exports;const me={title:"Introduction",url:"#introduction",reference:"introduction",sectionNumber:0,depth:0};var fe={name:"NavigationBar",components:{NavTitleContainer:$["a"],NavBase:N["a"],ReferenceUrlProvider:A,PrimaryDropdown:he,SecondaryDropdown:ae,MobileDropdown:E,ChevronIcon:k},mixins:[O["a"]],inject:["store","references"],props:{chapters:{type:Array,required:!0},technology:{type:String,required:!0},topic:{type:String,required:!0},rootReference:{type:String,required:!0},identifierUrl:{type:String,required:!0}},data(){return{currentSection:me,tutorialState:this.store.state}},watch:{pageSectionWithHighestVisibility(e){e&&(this.currentSection=e)}},computed:{currentProject(){return this.chapters.reduce((e,{projects:t})=>e.concat(t),[]).find(e=>e.reference===this.identifierUrl)},pageSections(){if(!this.currentProject)return[];const e=[me].concat(this.currentProject.sections);return this.tutorialState.linkableSections.map((t,n)=>{const i=e[n],s=this.references[i.reference],{url:r,title:o}=s||i;return{...t,title:o,path:r}})},optionsForSections(){return this.pageSections.map(({depth:e,path:t,title:n})=>({depth:e,path:t,title:n}))},pageSectionWithHighestVisibility(){return[...this.pageSections].sort((e,t)=>t.visibility-e.visibility).find(e=>e.visibility>0)},sectionIndicatorText(){const e=this.tutorialState.linkableSections.length-1,{sectionNumber:t}=this.currentSection||{};if(0!==t)return`(${t} of ${e})`}},methods:{onSelectSection(e){const t=e.split("#")[1];this.handleFocusAndScroll(t)}}},ve=fe,ge=(n("8782"),Object(w["a"])(ve,m,f,!1,null,"af20c2a0",null)),be=ge.exports,ye=n("bf08"),Ce=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"body"},[n("BodyContent",{attrs:{content:e.content}})],1)},we=[],_e=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("article",{staticClass:"body-content"},e._l(e.content,(function(t,i){return n(e.componentFor(t),e._b({key:i,tag:"component",staticClass:"layout"},"component",e.propsFor(t),!1))})),1)},ke=[],Se=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"columns",class:e.classes},[e._l(e.columns,(function(t,i){return[n("Asset",{key:t.media,attrs:{identifier:t.media,videoAutoplays:!1}}),t.content?n("ContentNode",{key:i,attrs:{content:t.content}}):e._e()]}))],2)},xe=[],Te=n("80e4"),Ie=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("BaseContentNode",{attrs:{content:e.articleContent}})},Ae=[],Oe=n("5677"),Ne={name:"ContentNode",components:{BaseContentNode:Oe["default"]},props:Oe["default"].props,computed:{articleContent(){return this.map(e=>{switch(e.type){case Oe["default"].BlockType.codeListing:return{...e,showLineNumbers:!0};case Oe["default"].BlockType.heading:{const{anchor:t,...n}=e;return n}default:return e}})}},methods:Oe["default"].methods,BlockType:Oe["default"].BlockType,InlineType:Oe["default"].InlineType},$e=Ne,Pe=(n("cb8d"),Object(w["a"])($e,Ie,Ae,!1,null,"3cfe1c35",null)),qe=Pe.exports,De={name:"Columns",components:{Asset:Te["a"],ContentNode:qe},props:{columns:{type:Array,required:!0}},computed:{classes(){return{"cols-2":2===this.columns.length,"cols-3":3===this.columns.length}}}},je=De,Re=(n("e9b0"),Object(w["a"])(je,Se,xe,!1,null,"30edf911",null)),Me=Re.exports,Be=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"content-and-media",class:e.classes},[n("ContentNode",{attrs:{content:e.content}}),n("Asset",{attrs:{identifier:e.media}})],1)},Ee=[];const Le={leading:"leading",trailing:"trailing"};var Fe={name:"ContentAndMedia",components:{Asset:Te["a"],ContentNode:qe},props:{content:qe.props.content,media:Te["a"].props.identifier,mediaPosition:{type:String,default:()=>Le.trailing,validator:e=>Object.prototype.hasOwnProperty.call(Le,e)}},computed:{classes(){return{"media-leading":this.mediaPosition===Le.leading,"media-trailing":this.mediaPosition===Le.trailing}}},MediaPosition:Le},Ve=Fe,Ue=(n("1006"),Object(w["a"])(Ve,Be,Ee,!1,null,"3fa44f9e",null)),He=Ue.exports,ze=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"full-width"},e._l(e.groups,(function(t,i){return n(e.componentFor(t),e._b({key:i,tag:"component",staticClass:"group"},"component",e.propsFor(t),!1),[n("ContentNode",{attrs:{content:t.content}})],1)})),1)},Ge=[],We=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n(e.tag,{tag:"component",attrs:{id:e.anchor}},[e._t("default")],2)},Qe=[],Ke=n("72e7"),Xe={name:"LinkableElement",mixins:[Ke["a"]],inject:{navigationBarHeight:{default(){}},store:{default(){return{addLinkableSection(){},updateLinkableSection(){}}}}},props:{anchor:{type:String,required:!0},depth:{type:Number,default:()=>0},tag:{type:String,default:()=>"div"},title:{type:String,required:!0}},computed:{intersectionRootMargin(){const e=this.navigationBarHeight?`-${this.navigationBarHeight}px`:"0%";return e+" 0% -50% 0%"}},created(){this.store.addLinkableSection({anchor:this.anchor,depth:this.depth,title:this.title,visibility:0})},methods:{onIntersect(e){const t=Math.min(1,e.intersectionRatio);this.store.updateLinkableSection({anchor:this.anchor,depth:this.depth,title:this.title,visibility:t})}}},Je=Xe,Ye=Object(w["a"])(Je,We,Qe,!1,null,null,null),Ze=Ye.exports;const{BlockType:et}=qe;var tt={name:"FullWidth",components:{ContentNode:qe,LinkableElement:Ze},props:qe.props,computed:{groups:({content:e})=>e.reduce((e,t)=>0===e.length||t.type===et.heading?[...e,{heading:t.type===et.heading?t:null,content:[t]}]:[...e.slice(0,e.length-1),{heading:e[e.length-1].heading,content:e[e.length-1].content.concat(t)}],[])},methods:{componentFor(e){return e.heading?Ze:"div"},depthFor(e){switch(e.level){case 1:case 2:return 0;default:return 1}},propsFor(e){return e.heading?{anchor:e.heading.anchor,depth:this.depthFor(e.heading),title:e.heading.text}:{}}}},nt=tt,it=(n("aece"),Object(w["a"])(nt,ze,Ge,!1,null,"1f2be54b",null)),st=it.exports;const rt={columns:"columns",contentAndMedia:"contentAndMedia",fullWidth:"fullWidth"};var ot={name:"BodyContent",props:{content:{type:Array,required:!0,validator:e=>e.every(({kind:e})=>Object.prototype.hasOwnProperty.call(rt,e))}},methods:{componentFor(e){return{[rt.columns]:Me,[rt.contentAndMedia]:He,[rt.fullWidth]:st}[e.kind]},propsFor(e){const{content:t,kind:n,media:i,mediaPosition:s}=e;return{[rt.columns]:{columns:t},[rt.contentAndMedia]:{content:t,media:i,mediaPosition:s},[rt.fullWidth]:{content:t}}[n]}},LayoutKind:rt},at=ot,ct=(n("1dd5"),Object(w["a"])(at,_e,ke,!1,null,"4d5a806e",null)),lt=ct.exports,ut={name:"Body",components:{BodyContent:lt},props:lt.props},dt=ut,pt=(n("5237"),Object(w["a"])(dt,Ce,we,!1,null,"6499e2f2",null)),ht=pt.exports,mt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("TutorialCTA",e._b({},"TutorialCTA",e.$props,!1))},ft=[],vt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("BaseCTA",e._b({attrs:{label:"Next"}},"BaseCTA",e.baseProps,!1))},gt=[],bt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"call-to-action"},[n("Row",[n("LeftColumn",[n("span",{staticClass:"label"},[e._v(e._s(e.label))]),n("h2",[e._v(" "+e._s(e.title)+" ")]),e.abstract?n("ContentNode",{staticClass:"description",attrs:{content:[e.abstractParagraph]}}):e._e(),e.action?n("Button",{attrs:{action:e.action}}):e._e()],1),n("RightColumn",{staticClass:"right-column"},[e.media?n("Asset",{staticClass:"media",attrs:{identifier:e.media}}):e._e()],1)],1)],1)},yt=[],Ct=n("0f00"),wt=n("620a"),_t=n("c081"),kt={name:"CallToAction",components:{Asset:Te["a"],Button:_t["a"],ContentNode:Oe["default"],LeftColumn:{render(e){return e(wt["a"],{props:{span:{large:5,small:12}}},this.$slots.default)}},RightColumn:{render(e){return e(wt["a"],{props:{span:{large:6,small:12}}},this.$slots.default)}},Row:Ct["a"]},props:{title:{type:String,required:!0},label:{type:String,required:!0},abstract:{type:Array,required:!1},action:{type:Object,required:!1},media:{type:String,required:!1}},computed:{abstractParagraph(){return{type:"paragraph",inlineContent:this.abstract}}}},St=kt,xt=(n("80f7"),Object(w["a"])(St,bt,yt,!1,null,"2016b288",null)),Tt=xt.exports,It={name:"CallToAction",components:{BaseCTA:Tt},computed:{baseProps(){return{title:this.title,abstract:this.abstract,action:this.action,media:this.media}}},props:{title:{type:String,required:!0},abstract:{type:Array,required:!1},action:{type:Object,required:!1},media:{type:String,required:!1}}},At=It,Ot=Object(w["a"])(At,vt,gt,!1,null,null,null),Nt=Ot.exports,$t={name:"CallToAction",components:{TutorialCTA:Nt},props:Nt.props},Pt=$t,qt=(n("3e1b"),Object(w["a"])(Pt,mt,ft,!1,null,"426a965c",null)),Dt=qt.exports,jt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("TutorialHero",e._b({},"TutorialHero",e.$props,!1))},Rt=[],Mt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("LinkableSection",{staticClass:"tutorial-hero",attrs:{anchor:"introduction",title:e.sectionTitle}},[n("div",{staticClass:"hero dark"},[e.backgroundImageUrl?n("div",{staticClass:"bg",style:e.bgStyle}):e._e(),e._t("above-title"),n("Row",[n("Column",[n("Headline",{attrs:{level:1}},[e.chapter?n("template",{slot:"eyebrow"},[e._v(e._s(e.chapter))]):e._e(),e._v(" "+e._s(e.title)+" ")],2),e.content||e.video?n("div",{staticClass:"intro"},[e.content?n("ContentNode",{attrs:{content:e.content}}):e._e(),e.video?[n("p",[n("a",{staticClass:"call-to-action",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.toggleCallToActionModal.apply(null,arguments)}}},[e._v(" Watch intro video "),n("PlayIcon",{staticClass:"cta-icon icon-inline"})],1)]),n("GenericModal",{attrs:{visible:e.callToActionModalVisible,isFullscreen:"",theme:"dark"},on:{"update:visible":function(t){e.callToActionModalVisible=t}}},[n("Asset",{directives:[{name:"show",rawName:"v-show",value:e.callToActionModalVisible,expression:"callToActionModalVisible"}],ref:"asset",staticClass:"video-asset",attrs:{identifier:e.video},on:{videoEnded:e.handleVideoEnd}})],1)]:e._e()],2):e._e(),n("Metadata",{staticClass:"metadata",attrs:{projectFilesUrl:e.projectFilesUrl,estimatedTimeInMinutes:e.estimatedTimeInMinutes,xcodeRequirement:e.xcodeRequirementData}})],1)],1)],2)])},Bt=[],Et=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"headline"},[e.$slots.eyebrow?n("span",{staticClass:"eyebrow"},[e._t("eyebrow")],2):e._e(),n("Heading",{staticClass:"heading",attrs:{level:e.level}},[e._t("default")],2)],1)},Lt=[];const Ft=1,Vt=6,Ut={type:Number,required:!0,validator:e=>e>=Ft&&e<=Vt},Ht={name:"Heading",render:function(e){return e("h"+this.level,this.$slots.default)},props:{level:Ut}};var zt={name:"Headline",components:{Heading:Ht},props:{level:Ut}},Gt=zt,Wt=(n("323a"),Object(w["a"])(Gt,Et,Lt,!1,null,"1898f592",null)),Qt=Wt.exports,Kt=n("c161"),Xt=n("c4dd"),Jt=n("748c"),Yt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"metadata"},[e.estimatedTimeInMinutes?n("div",{staticClass:"item",attrs:{"aria-label":e.estimatedTimeInMinutes+" minutes estimated time"}},[n("div",{staticClass:"content",attrs:{"aria-hidden":"true"}},[n("div",{staticClass:"duration"},[e._v(" "+e._s(e.estimatedTimeInMinutes)+" "),n("div",{staticClass:"minutes"},[e._v("min")])])]),n("div",{staticClass:"bottom",attrs:{"aria-hidden":"true"}},[e._v("Estimated Time")])]):e._e(),e.projectFilesUrl?n("div",{staticClass:"item"},[n("DownloadIcon",{staticClass:"item-large-icon icon-inline"}),n("div",{staticClass:"content bottom"},[n("a",{staticClass:"content-link project-download",attrs:{href:e.projectFilesUrl}},[e._v(" Project files "),n("InlineDownloadIcon",{staticClass:"small-icon icon-inline"})],1)])],1):e._e(),e.xcodeRequirement?n("div",{staticClass:"item"},[n("XcodeIcon",{staticClass:"item-large-icon icon-inline"}),n("div",{staticClass:"content bottom"},[e.isTargetIDE?n("span",[e._v(e._s(e.xcodeRequirement.title))]):n("a",{staticClass:"content-link",attrs:{href:e.xcodeRequirement.url}},[e._v(" "+e._s(e.xcodeRequirement.title)+" "),n("InlineChevronRightIcon",{staticClass:"icon-inline small-icon xcode-icon"})],1)])],1):e._e()])},Zt=[],en=n("de60"),tn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"xcode-icon",attrs:{viewBox:"0 0 14 14",themeId:"xcode"}},[n("path",{attrs:{d:"M2.668 4.452l-1.338-2.229 0.891-0.891 2.229 1.338 1.338 2.228 3.667 3.666 0.194-0.194 2.933 2.933c0.13 0.155 0.209 0.356 0.209 0.576 0 0.497-0.403 0.9-0.9 0.9-0.22 0-0.421-0.079-0.577-0.209l0.001 0.001-2.934-2.933 0.181-0.181-3.666-3.666z"}}),n("path",{attrs:{d:"M11.824 1.277l-0.908 0.908c-0.091 0.091-0.147 0.216-0.147 0.354 0 0.106 0.033 0.205 0.090 0.286l-0.001-0.002 0.058 0.069 0.185 0.185c0.090 0.090 0.215 0.146 0.353 0.146 0.107 0 0.205-0.033 0.286-0.090l-0.002 0.001 0.069-0.057 0.909-0.908c0.118 0.24 0.187 0.522 0.187 0.82 0 1.045-0.848 1.893-1.893 1.893-0.296 0-0.577-0.068-0.826-0.189l0.011 0.005-5.5 5.5c0.116 0.238 0.184 0.518 0.184 0.813 0 1.045-0.848 1.893-1.893 1.893-0.296 0-0.576-0.068-0.826-0.189l0.011 0.005 0.908-0.909c0.090-0.090 0.146-0.215 0.146-0.353 0-0.107-0.033-0.205-0.090-0.286l0.001 0.002-0.057-0.069-0.185-0.185c-0.091-0.091-0.216-0.147-0.354-0.147-0.106 0-0.205 0.033-0.286 0.090l0.002-0.001-0.069 0.058-0.908 0.908c-0.116-0.238-0.184-0.518-0.184-0.813 0-1.045 0.847-1.892 1.892-1.892 0.293 0 0.571 0.067 0.819 0.186l-0.011-0.005 5.5-5.5c-0.116-0.238-0.184-0.519-0.184-0.815 0-1.045 0.847-1.892 1.892-1.892 0.296 0 0.577 0.068 0.827 0.19l-0.011-0.005z"}})])},nn=[],sn={name:"XcodeIcon",components:{SVGIcon:b["a"]}},rn=sn,on=Object(w["a"])(rn,tn,nn,!1,null,null,null),an=on.exports,cn=n("34b0"),ln=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"inline-download-icon",attrs:{viewBox:"0 0 14 14",themeId:"inline-download"}},[n("path",{attrs:{d:"M7 0.5c3.59 0 6.5 2.91 6.5 6.5s-2.91 6.5-6.5 6.5c-3.59 0-6.5-2.91-6.5-6.5s2.91-6.5 6.5-6.5zM7 1.5c-3.038 0-5.5 2.462-5.5 5.5s2.462 5.5 5.5 5.5c3.038 0 5.5-2.462 5.5-5.5s-2.462-5.5-5.5-5.5z"}}),n("path",{attrs:{d:"M7.51 2.964l-0.001 5.431 1.308-2.041 0.842 0.539-2.664 4.162-2.633-4.164 0.845-0.534 1.303 2.059 0.001-5.452z"}})])},un=[],dn={name:"InlineDownloadIcon",components:{SVGIcon:b["a"]}},pn=dn,hn=Object(w["a"])(pn,ln,un,!1,null,null,null),mn=hn.exports,fn={name:"HeroMetadata",components:{InlineDownloadIcon:mn,InlineChevronRightIcon:cn["a"],DownloadIcon:en["a"],XcodeIcon:an},inject:["isTargetIDE"],props:{projectFilesUrl:{type:String},estimatedTimeInMinutes:{type:Number},xcodeRequirement:{type:Object,required:!1}}},vn=fn,gn=(n("5356"),Object(w["a"])(vn,Yt,Zt,!1,null,"2fa6f125",null)),bn=gn.exports,yn={name:"Hero",components:{PlayIcon:Xt["a"],GenericModal:Kt["a"],Column:{render(e){return e(wt["a"],{props:{span:{large:7,medium:9,small:12}}},this.$slots.default)}},ContentNode:Oe["default"],Headline:Qt,Metadata:bn,Row:Ct["a"],Asset:Te["a"],LinkableSection:Ze},inject:["references"],props:{title:{type:String,required:!0},chapter:{type:String},content:{type:Array},projectFiles:{type:String},estimatedTimeInMinutes:{type:Number},xcodeRequirement:{type:String,required:!1},video:{type:String},backgroundImage:{type:String}},computed:{backgroundImageUrl(){const e=this.references[this.backgroundImage]||{},{variants:t=[]}=e,n=t.find(e=>e.traits.includes("light"));return(n||{}).url},projectFilesUrl(){return this.projectFiles?Object(Jt["c"])(this.references[this.projectFiles].url):null},bgStyle(){return{backgroundImage:Object(Jt["f"])(this.backgroundImageUrl)}},xcodeRequirementData(){return this.references[this.xcodeRequirement]},sectionTitle(){return"Introduction"}},data(){return{callToActionModalVisible:!1}},methods:{async toggleCallToActionModal(){this.callToActionModalVisible=!0,await this.$nextTick();const e=this.$refs.asset.$el.querySelector("video");if(e)try{await e.play(),e.muted=!1}catch(t){}},handleVideoEnd(){this.callToActionModalVisible=!1}}},Cn=yn,wn=(n("0169"),Object(w["a"])(Cn,Mt,Bt,!1,null,"1a8cd6d3",null)),_n=wn.exports,kn={name:"Hero",components:{TutorialHero:_n},props:_n.props},Sn=kn,xn=(n("2f9d"),Object(w["a"])(Sn,jt,Rt,!1,null,"35a9482f",null)),Tn=xn.exports,In=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("TutorialAssessments",e._b({},"TutorialAssessments",e.$props,!1),[n("p",{attrs:{slot:"success"},slot:"success"},[e._v("Great job, you've answered all the questions for this article.")])])},An=[],On=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("LinkableSection",{staticClass:"assessments-wrapper",attrs:{anchor:e.anchor,title:e.title}},[n("Row",{ref:"assessments",staticClass:"assessments"},[n("MainColumn",[n("Row",{staticClass:"banner"},[n("HeaderColumn",[n("h2",{staticClass:"title"},[e._v(e._s(e.title))])])],1),e.completed?n("div",{staticClass:"success"},[e._t("success",(function(){return[n("p",[e._v(e._s(e.SuccessMessage))])]}))],2):n("div",[n("Progress",e._b({ref:"progress"},"Progress",e.progress,!1)),n("Quiz",{key:e.activeIndex,attrs:{choices:e.activeAssessment.choices,content:e.activeAssessment.content,isLast:e.isLast,title:e.activeAssessment.title},on:{submit:e.onSubmit,advance:e.onAdvance,"see-results":e.onSeeResults}})],1),n("div",{staticClass:"visuallyhidden",attrs:{"aria-live":"assertive"}},[e.completed?e._t("success",(function(){return[e._v(" "+e._s(e.SuccessMessage)+" ")]})):e._e()],2)],1)],1)],1)},Nn=[],$n=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Row",[n("p",{staticClass:"title"},[e._v("Question "+e._s(e.index)+" of "+e._s(e.total))])])},Pn=[],qn={name:"AssessmentsProgress",components:{Row:Ct["a"]},props:{index:{type:Number,required:!0},total:{type:Number,required:!0}}},Dn=qn,jn=(n("0530"),Object(w["a"])(Dn,$n,Pn,!1,null,"8ec95972",null)),Rn=jn.exports,Mn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"quiz"},[n("ContentNode",{staticClass:"title",attrs:{content:e.title}}),e.content?n("ContentNode",{staticClass:"question-content",attrs:{content:e.content}}):e._e(),n("div",{staticClass:"choices"},[e._l(e.choices,(function(t,i){return n("label",{key:i,class:e.choiceClasses[i]},[n(e.getIconComponent(i),{tag:"component",staticClass:"choice-icon"}),n("input",{directives:[{name:"model",rawName:"v-model",value:e.selectedIndex,expression:"selectedIndex"}],attrs:{type:"radio",name:"assessment"},domProps:{value:i,checked:e._q(e.selectedIndex,i)},on:{change:function(t){e.selectedIndex=i}}}),n("ContentNode",{staticClass:"question",attrs:{content:t.content}}),e.userChoices[i].checked?[n("ContentNode",{staticClass:"answer",attrs:{content:t.justification}}),t.reaction?n("p",{staticClass:"answer"},[e._v(e._s(t.reaction))]):e._e()]:e._e()],2)})),n("div",{staticClass:"visuallyhidden",attrs:{"aria-live":"assertive"}},[e._v(" "+e._s(e.ariaLiveText)+" ")])],2),n("div",{staticClass:"controls"},[n("ButtonLink",{staticClass:"check",attrs:{disabled:null===e.selectedIndex||e.showNextQuestion},nativeOn:{click:function(t){return e.submit.apply(null,arguments)}}},[e._v(" Submit ")]),e.isLast?n("ButtonLink",{staticClass:"results",attrs:{disabled:!e.showNextQuestion},nativeOn:{click:function(t){return e.seeResults.apply(null,arguments)}}},[e._v(" Next ")]):n("ButtonLink",{staticClass:"next",attrs:{disabled:!e.showNextQuestion},nativeOn:{click:function(t){return e.advance.apply(null,arguments)}}},[e._v(" Next Question ")])],1)],1)},Bn=[],En=n("76ab"),Ln=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"reset-circle-icon",attrs:{viewBox:"0 0 14 14",themeId:"reset-circle"}},[n("path",{attrs:{d:"M7 0.5c3.59 0 6.5 2.91 6.5 6.5s-2.91 6.5-6.5 6.5c-3.59 0-6.5-2.91-6.5-6.5v0c0-3.59 2.91-6.5 6.5-6.5v0zM7 1.5c-3.038 0-5.5 2.462-5.5 5.5s2.462 5.5 5.5 5.5c3.038 0 5.5-2.462 5.5-5.5v0c0-3.038-2.462-5.5-5.5-5.5v0z"}}),n("path",{attrs:{d:"M3.828 4.539l0.707-0.707 5.657 5.657-0.707 0.707-5.657-5.657z"}}),n("path",{attrs:{d:"M3.828 9.489l5.657-5.657 0.707 0.707-5.657 5.657-0.707-0.707z"}})])},Fn=[],Vn={name:"ResetCircleIcon",components:{SVGIcon:b["a"]}},Un=Vn,Hn=Object(w["a"])(Un,Ln,Fn,!1,null,null,null),zn=Hn.exports,Gn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"check-circle-icon",attrs:{viewBox:"0 0 14 14",themeId:"check-circle"}},[n("path",{attrs:{d:"M7 0.5c3.59 0 6.5 2.91 6.5 6.5s-2.91 6.5-6.5 6.5c-3.59 0-6.5-2.91-6.5-6.5v0c0-3.59 2.91-6.5 6.5-6.5v0zM7 1.5c-3.038 0-5.5 2.462-5.5 5.5s2.462 5.5 5.5 5.5c3.038 0 5.5-2.462 5.5-5.5v0c0-3.038-2.462-5.5-5.5-5.5v0z"}}),n("path",{attrs:{d:"M9.626 3.719l0.866 0.5-3.5 6.062-3.464-2 0.5-0.866 2.6 1.5z"}})])},Wn=[],Qn={name:"CheckCircleIcon",components:{SVGIcon:b["a"]}},Kn=Qn,Xn=Object(w["a"])(Kn,Gn,Wn,!1,null,null,null),Jn=Xn.exports,Yn={name:"Quiz",components:{CheckCircleIcon:Jn,ResetCircleIcon:zn,ContentNode:Oe["default"],ButtonLink:En["a"]},props:{content:{type:Array,required:!1},choices:{type:Array,required:!0},isLast:{type:Boolean,default:!1},title:{type:Array,required:!0}},data(){return{userChoices:this.choices.map(()=>({checked:!1})),selectedIndex:null,checkedIndex:null}},computed:{correctChoices(){return this.choices.reduce((e,t,n)=>t.isCorrect?e.add(n):e,new Set)},choiceClasses(){return this.userChoices.map((e,t)=>({choice:!0,active:this.selectedIndex===t,disabled:e.checked||this.showNextQuestion,correct:e.checked&&this.choices[t].isCorrect,incorrect:e.checked&&!this.choices[t].isCorrect}))},showNextQuestion(){return Array.from(this.correctChoices).every(e=>this.userChoices[e].checked)},ariaLiveText:({checkedIndex:e,choices:t})=>{if(null===e)return"";const{isCorrect:n}=t[e];return`Answer number ${e+1} is ${n?"correct":"incorrect"}`}},methods:{getIconComponent(e){const t=this.userChoices[e];if(t&&t.checked)return this.choices[e].isCorrect?Jn:zn},submit(){this.$set(this.userChoices,this.selectedIndex,{checked:!0}),this.checkedIndex=this.selectedIndex,this.$emit("submit")},advance(){this.$emit("advance")},seeResults(){this.$emit("see-results")}}},Zn=Yn,ei=(n("5c7b"),Object(w["a"])(Zn,Mn,Bn,!1,null,"455ff2a6",null)),ti=ei.exports;const ni=12,ii="Great job, you've answered all the questions for this tutorial.";var si={name:"Assessments",constants:{SuccessMessage:ii},components:{LinkableSection:Ze,Quiz:ti,Progress:Rn,Row:Ct["a"],HeaderColumn:{render(e){return e(wt["a"],{props:{isCentered:{large:!0},span:{large:10}}},this.$slots.default)}},MainColumn:{render(e){return e(wt["a"],{props:{isCentered:{large:!0},span:{large:10,medium:10,small:12}}},this.$slots.default)}}},props:{assessments:{type:Array,required:!0},anchor:{type:String,required:!0}},inject:["navigationBarHeight"],data(){return{activeIndex:0,completed:!1,SuccessMessage:ii}},computed:{activeAssessment(){return this.assessments[this.activeIndex]},isLast(){return this.activeIndex===this.assessments.length-1},progress(){return{index:this.activeIndex+1,total:this.assessments.length}},title(){return"Check Your Understanding"}},methods:{scrollTo(e,t=0){e.scrollIntoView(!0),window.scrollBy(0,-this.navigationBarHeight-t)},onSubmit(){this.$nextTick(()=>{this.scrollTo(this.$refs.progress.$el,ni)})},onAdvance(){this.activeIndex+=1,this.$nextTick(()=>{this.scrollTo(this.$refs.progress.$el,ni)})},onSeeResults(){this.completed=!0,this.$nextTick(()=>{this.scrollTo(this.$refs.assessments.$el,ni)})}}},ri=si,oi=(n("53b5"),Object(w["a"])(ri,On,Nn,!1,null,"c1de71de",null)),ai=oi.exports,ci={name:"Assessments",components:{TutorialAssessments:ai},props:ai.props},li=ci,ui=(n("f264"),Object(w["a"])(li,In,An,!1,null,"3c94366b",null)),di=ui.exports;const pi={articleBody:"articleBody",callToAction:"callToAction",hero:"hero",assessments:"assessments"};var hi={name:"Article",components:{NavigationBar:be,PortalTarget:h["PortalTarget"]},mixins:[ye["a"]],inject:{isTargetIDE:{default:!1},store:{default(){return{reset(){}}}}},props:{hierarchy:{type:Object,required:!0},metadata:{type:Object,required:!0},references:{type:Object,required:!0},sections:{type:Array,required:!0,validator:e=>e.every(({kind:e})=>Object.prototype.hasOwnProperty.call(pi,e))},identifierUrl:{type:String,required:!0}},computed:{heroSection(){return this.sections.find(this.isHero)},heroTitle(){return(this.heroSection||{}).title},pageTitle(){return this.heroTitle?`${this.heroTitle} — ${this.metadata.category} Tutorials`:void 0},pageDescription:({heroSection:e,extractFirstParagraphText:t})=>e?t(e.content):null},methods:{componentFor(e){const{kind:t}=e;return{[pi.articleBody]:ht,[pi.callToAction]:Dt,[pi.hero]:Tn,[pi.assessments]:di}[t]},isHero(e){return e.kind===pi.hero},propsFor(e){const{abstract:t,action:n,anchor:i,assessments:s,backgroundImage:r,chapter:o,content:a,estimatedTimeInMinutes:c,kind:l,media:u,projectFiles:d,title:p,video:h,xcodeRequirement:m}=e;return{[pi.articleBody]:{content:a},[pi.callToAction]:{abstract:t,action:n,media:u,title:p},[pi.hero]:{backgroundImage:r,chapter:o,content:a,estimatedTimeInMinutes:c,projectFiles:d,title:p,video:h,xcodeRequirement:m},[pi.assessments]:{anchor:i,assessments:s}}[l]}},provide(){return{references:this.references}},created(){this.store.reset()},SectionKind:pi},mi=hi,fi=(n("3a78"),Object(w["a"])(mi,d,p,!1,null,"d9f204d0",null)),vi=fi.exports,gi=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"tutorial"},[e.isTargetIDE?e._e():n("NavigationBar",{attrs:{technology:e.metadata.category,chapters:e.hierarchy.modules,topic:e.tutorialTitle||"",rootReference:e.hierarchy.reference,identifierUrl:e.identifierUrl}}),n("main",{attrs:{id:"main",role:"main",tabindex:"0"}},[e._l(e.sections,(function(e,t){return n("Section",{key:t,attrs:{section:e}})})),n("BreakpointEmitter",{on:{change:e.handleBreakpointChange}})],2),n("PortalTarget",{attrs:{name:"modal-destination",multiple:""}})],1)},bi=[],yi=n("66c9"),Ci=n("7689"),wi=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"sections"},e._l(e.tasks,(function(t,i){return n("Section",e._b({key:i,attrs:{id:t.anchor,sectionNumber:i+1,isRuntimePreviewVisible:e.isRuntimePreviewVisible},on:{"runtime-preview-toggle":e.onRuntimePreviewToggle}},"Section",t,!1))})),1)},_i=[],ki=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("LinkableSection",{staticClass:"section",attrs:{anchor:e.anchor,title:e.introProps.title}},[n("Intro",e._b({},"Intro",e.introProps,!1)),e.stepsSection.length>0?n("Steps",{attrs:{content:e.stepsSection,isRuntimePreviewVisible:e.isRuntimePreviewVisible,sectionNumber:e.sectionNumber},on:{"runtime-preview-toggle":e.onRuntimePreviewToggle}}):e._e()],1)},Si=[],xi=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"intro-container"},[n("Row",{class:["intro","intro-"+e.sectionNumber,{ide:e.isTargetIDE}]},[n("Column",{staticClass:"left"},[n("Headline",{attrs:{level:2}},[n("router-link",{attrs:{slot:"eyebrow",to:e.sectionLink},slot:"eyebrow"},[e._v(" Section "+e._s(e.sectionNumber)+" ")]),e._v(" "+e._s(e.title)+" ")],1),n("ContentNode",{attrs:{content:e.content}})],1),n("Column",{staticClass:"right"},[n("div",{staticClass:"media"},[e.media?n("Asset",{attrs:{identifier:e.media,showsReplayButton:!e.isClientMobile,showsVideoControls:e.isClientMobile,videoAutoplays:!e.isClientMobile}}):e._e()],1)])],1),e.expandedSections.length>0?n("ExpandedIntro",{staticClass:"expanded-intro",attrs:{content:e.expandedSections}}):e._e()],1)},Ti=[],Ii={name:"SectionIntro",inject:{isClientMobile:{default:()=>!1},isTargetIDE:{default:()=>!1}},components:{Asset:Te["a"],ContentNode:Oe["default"],ExpandedIntro:lt,Headline:Qt,Row:Ct["a"],Column:{render(e){return e(wt["a"],{props:{span:{large:6,small:12}}},this.$slots.default)}}},props:{sectionAnchor:{type:String,required:!0},content:{type:Array,required:!0},media:{type:String,required:!0},title:{type:String,required:!0},sectionNumber:{type:Number,required:!0},expandedSections:{type:Array,default:()=>[]}},methods:{focus(){this.$emit("focus",this.media)}},computed:{sectionLink(){return{path:this.$route.path,hash:this.sectionAnchor,query:this.$route.query}}}},Ai=Ii,Oi=(n("4896"),Object(w["a"])(Ai,xi,Ti,!1,null,"54daa228",null)),Ni=Oi.exports,$i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"steps"},[n("div",{staticClass:"content-container"},e._l(e.contentNodes,(function(t,i){return n(t.component,e._b({key:i,ref:"contentNodes",refInFor:!0,tag:"component",class:e.contentClass(i),attrs:{currentIndex:e.activeStep}},"component",t.props,!1))})),1),e.isBreakpointSmall?e._e():n("BackgroundTheme",{staticClass:"asset-container",class:e.assetContainerClasses},[n("transition",{attrs:{name:"fade"}},[e.visibleAsset.media?n("div",{key:e.visibleAsset.media,class:["asset-wrapper",{ide:e.isTargetIDE}]},[n("Asset",{ref:"asset",staticClass:"step-asset",attrs:{identifier:e.visibleAsset.media,showsReplayButton:"",showsVideoControls:!1}})],1):e._e(),e.visibleAsset.code?n("CodePreview",{attrs:{code:e.visibleAsset.code,preview:e.visibleAsset.runtimePreview,isRuntimePreviewVisible:e.isRuntimePreviewVisible},on:{"runtime-preview-toggle":e.onRuntimePreviewToggle}},[e.visibleAsset.runtimePreview?n("transition",{attrs:{name:"fade"}},[n("Asset",{key:e.visibleAsset.runtimePreview,attrs:{identifier:e.visibleAsset.runtimePreview}})],1):e._e()],1):e._e()],1)],1)],1)},Pi=[],qi=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["code-preview",{ide:e.isTargetIDE}]},[n("CodeTheme",[e.code?n("CodeListing",e._b({attrs:{showLineNumbers:""}},"CodeListing",e.codeProps,!1)):e._e()],1),n("div",{staticClass:"runtime-preview",class:e.runtimePreviewClasses,style:e.previewStyles},[n("div",{staticClass:"runtimve-preview__container"},[n("button",{staticClass:"header",attrs:{disabled:!e.hasRuntimePreview,title:e.runtimePreviewTitle},on:{click:e.togglePreview}},[n("span",{staticClass:"runtime-preview-label",attrs:{"aria-label":e.textAriaLabel}},[e._v(e._s(e.togglePreviewText))]),n("DiagonalArrowIcon",{staticClass:"icon-inline preview-icon",class:[e.shouldDisplayHideLabel?"preview-hide":"preview-show"]})],1),n("transition",{on:{leave:e.handleLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.shouldDisplayHideLabel,expression:"shouldDisplayHideLabel"}],staticClass:"runtime-preview-asset"},[e._t("default")],2)])],1)])],1)},Di=[],ji=n("7b69"),Ri=n("6667"),Mi=n("8590");const{BreakpointName:Bi}=o["a"].constants;function Ei({width:e,height:t},n=1){const i=400,s=e<=i?1.75:3;return{width:e/(s/n),height:t/(s/n)}}var Li={name:"CodePreview",inject:["references","isTargetIDE","store"],components:{DiagonalArrowIcon:Ri["a"],CodeListing:ji["a"],CodeTheme:Mi["a"]},props:{code:{type:String,required:!0},preview:{type:String,required:!1},isRuntimePreviewVisible:{type:Boolean,required:!0}},data(){return{tutorialState:this.store.state}},computed:{currentBreakpoint(){return this.tutorialState.breakpoint},hasRuntimePreview(){return!!this.preview},previewAssetSize(){const e=this.hasRuntimePreview?this.references[this.preview]:{},t=(e.variants||[{}])[0]||{},n={width:900};let i=t.size||{};i.width||i.height||(i=n);const s=this.currentBreakpoint===Bi.medium?.8:1;return Ei(i,s)},previewSize(){const e={width:102};return this.shouldDisplayHideLabel&&this.previewAssetSize?{width:this.previewAssetSize.width}:e},previewStyles(){const{width:e}=this.previewSize;return{width:e+"px"}},codeProps(){return this.references[this.code]},runtimePreviewClasses(){return{collapsed:!this.shouldDisplayHideLabel,disabled:!this.hasRuntimePreview,"runtime-preview-ide":this.isTargetIDE}},shouldDisplayHideLabel(){return this.hasRuntimePreview&&this.isRuntimePreviewVisible},runtimePreviewTitle(){return this.hasRuntimePreview?null:"No preview available for this step."},togglePreviewText(){return this.hasRuntimePreview?"Preview":"No Preview"},textAriaLabel:({shouldDisplayHideLabel:e,togglePreviewText:t})=>`${t}, ${e?"Hide":"Show"}`},methods:{handleLeave(e,t){setTimeout(t,200)},togglePreview(){this.hasRuntimePreview&&this.$emit("runtime-preview-toggle",!this.isRuntimePreviewVisible)}}},Fi=Li,Vi=(n("5053"),Object(w["a"])(Fi,qi,Di,!1,null,"9acc0234",null)),Ui=Vi.exports,Hi=n("3908"),zi=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{style:e.backgroundStyle},[e._t("default")],2)},Gi=[],Wi={name:"BackgroundTheme",data(){return{codeThemeState:yi["a"].state}},computed:{backgroundStyle(){const{codeColors:e}=this.codeThemeState;return e?{"--background":e.background}:null}}},Qi=Wi,Ki=Object(w["a"])(Qi,zi,Gi,!1,null,null,null),Xi=Ki.exports,Ji=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["step-container","step-"+e.stepNumber]},[n("div",{ref:"step",staticClass:"step",class:{focused:e.isActive},attrs:{"data-index":e.index}},[n("p",{staticClass:"step-label"},[e._v("Step "+e._s(e.stepNumber))]),n("ContentNode",{attrs:{content:e.content}}),e.caption&&e.caption.length>0?n("ContentNode",{staticClass:"caption",attrs:{content:e.caption}}):e._e()],1),e.isBreakpointSmall||!e.isTargetIDE?n("div",{staticClass:"media-container"},[e.media?n("Asset",{attrs:{identifier:e.media,showsReplayButton:!e.isClientMobile,showsVideoControls:e.isClientMobile,videoAutoplays:!e.isClientMobile}}):e._e(),e.code?n("MobileCodePreview",{attrs:{code:e.code}},[e.runtimePreview?n("Asset",{staticClass:"preview",attrs:{identifier:e.runtimePreview}}):e._e()],1):e._e()],1):e._e()])},Yi=[],Zi=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("BackgroundTheme",{staticClass:"mobile-code-preview"},[e.code?n("GenericModal",{staticClass:"full-code-listing-modal",attrs:{theme:e.isTargetIDE?"code":"light",codeBackgroundColorOverride:e.modalBackgroundColor,isFullscreen:"",visible:e.fullCodeIsVisible},on:{"update:visible":function(t){e.fullCodeIsVisible=t}}},[n("div",{staticClass:"full-code-listing-modal-content"},[n("CodeTheme",[n("CodeListing",e._b({staticClass:"full-code-listing",attrs:{showLineNumbers:""}},"CodeListing",e.codeProps,!1))],1)],1)]):e._e(),n("CodeTheme",[e.code?n("MobileCodeListing",e._b({attrs:{showLineNumbers:""},on:{"file-name-click":e.toggleFullCode}},"MobileCodeListing",e.codeProps,!1)):e._e()],1),n("CodeTheme",{staticClass:"preview-toggle-container"},[n("PreviewToggle",{attrs:{isActionable:!!e.$slots.default},on:{click:e.togglePreview}})],1),e.$slots.default?n("GenericModal",{staticClass:"runtime-preview-modal",attrs:{theme:e.isTargetIDE?"dynamic":"light",isFullscreen:"",visible:e.previewIsVisible},on:{"update:visible":function(t){e.previewIsVisible=t}}},[n("div",{staticClass:"runtime-preview-modal-content"},[n("span",{staticClass:"runtime-preview-label"},[e._v("Preview")]),e._t("default")],2)]):e._e()],1)},es=[],ts=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"code-listing-preview",attrs:{"data-syntax":e.syntax}},[n("CodeListing",{attrs:{fileName:e.fileName,syntax:e.syntax,fileType:e.fileType,content:e.previewedLines,startLineNumber:e.displayedRange.start,highlights:e.highlights,showLineNumbers:"",isFileNameActionable:""},on:{"file-name-click":function(t){return e.$emit("file-name-click")}}})],1)},ns=[],is={name:"MobileCodeListing",components:{CodeListing:ji["a"]},props:{fileName:String,syntax:String,fileType:String,content:{type:Array,required:!0},highlights:{type:Array,default:()=>[]}},computed:{highlightedLineNumbers(){return new Set(this.highlights.map(({line:e})=>e))},firstHighlightRange(){if(0===this.highlightedLineNumbers.size)return{start:1,end:this.content.length};const e=Math.min(...this.highlightedLineNumbers.values());let t=e;while(this.highlightedLineNumbers.has(t+1))t+=1;return{start:e,end:t}},displayedRange(){const e=this.firstHighlightRange,t=e.start-2<1?1:e.start-2,n=e.end+3>=this.content.length+1?this.content.length+1:e.end+3;return{start:t,end:n}},previewedLines(){return this.content.slice(this.displayedRange.start-1,this.displayedRange.end-1)}}},ss=is,rs=(n("fae5"),Object(w["a"])(ss,ts,ns,!1,null,"5ad4e037",null)),os=rs.exports,as=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{staticClass:"toggle-preview"},[e.isActionable?n("a",{staticClass:"toggle-text",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.$emit("click")}}},[e._v(" Preview "),n("InlinePlusCircleIcon",{staticClass:"toggle-icon icon-inline"})],1):n("span",{staticClass:"toggle-text"},[e._v(" No preview ")])])},cs=[],ls=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"inline-plus-circle-icon",attrs:{viewBox:"0 0 14 14",themeId:"inline-plus-circle"}},[n("path",{attrs:{d:"M7 0.5c3.59 0 6.5 2.91 6.5 6.5s-2.91 6.5-6.5 6.5c-3.59 0-6.5-2.91-6.5-6.5v0c0-3.59 2.91-6.5 6.5-6.5v0zM7 1.5c-3.038 0-5.5 2.462-5.5 5.5s2.462 5.5 5.5 5.5c3.038 0 5.5-2.462 5.5-5.5v0c0-3.038-2.462-5.5-5.5-5.5v0z"}}),n("path",{attrs:{d:"M4 6.52h6v1h-6v-1z"}}),n("path",{attrs:{d:"M6.5 4.010h1v6h-1v-6z"}})])},us=[],ds={name:"InlinePlusCircleIcon",components:{SVGIcon:b["a"]}},ps=ds,hs=Object(w["a"])(ps,ls,us,!1,null,null,null),ms=hs.exports,fs={name:"MobileCodePreviewToggle",components:{InlinePlusCircleIcon:ms},props:{isActionable:{type:Boolean,required:!0}}},vs=fs,gs=(n("e97b"),Object(w["a"])(vs,as,cs,!1,null,"d0709828",null)),bs=gs.exports,ys={name:"MobileCodePreview",inject:["references","isTargetIDE","store"],components:{GenericModal:Kt["a"],CodeListing:ji["a"],MobileCodeListing:os,PreviewToggle:bs,CodeTheme:Mi["a"],BackgroundTheme:Xi},props:{code:{type:String,required:!0}},computed:{codeProps(){return this.references[this.code]},modalBackgroundColor(){const{codeColors:e}=this.store.state;return e?e.background:null}},data(){return{previewIsVisible:!1,fullCodeIsVisible:!1}},methods:{togglePreview(){this.previewIsVisible=!this.previewIsVisible},toggleFullCode(){this.fullCodeIsVisible=!this.fullCodeIsVisible}}},Cs=ys,ws=(n("4d5c"),Object(w["a"])(Cs,Zi,es,!1,null,"3bee1128",null)),_s=ws.exports;const{BreakpointName:ks}=o["a"].constants;var Ss={name:"Step",components:{Asset:Te["a"],MobileCodePreview:_s,ContentNode:Oe["default"]},inject:["isTargetIDE","isClientMobile","store"],props:{code:{type:String,required:!1},content:{type:Array,required:!0},caption:{type:Array,required:!1},media:{type:String,required:!1},runtimePreview:{type:String,required:!1},sectionNumber:{type:Number,required:!0},stepNumber:{type:Number,required:!0},numberOfSteps:{type:Number,required:!0},index:{type:Number,required:!0},currentIndex:{type:Number,required:!0}},data(){return{tutorialState:this.store.state}},computed:{isBreakpointSmall(){return this.tutorialState.breakpoint===ks.small},isActive:({index:e,currentIndex:t})=>e===t}},xs=Ss,Ts=(n("52fd"),Object(w["a"])(xs,Ji,Yi,!1,null,"295730d0",null)),Is=Ts.exports;const{BreakpointName:As}=o["a"].constants,{IntersectionDirections:Os}=Ke["a"].constants,Ns="-35% 0% -65% 0%";var $s={name:"SectionSteps",components:{ContentNode:Oe["default"],Step:Is,Asset:Te["a"],CodePreview:Ui,BackgroundTheme:Xi},mixins:[Ke["a"]],constants:{IntersectionMargins:Ns},inject:["isTargetIDE","store"],data(){const e=this.content.findIndex(this.isStepNode),{code:t,media:n,runtimePreview:i}=this.content[e]||{};return{tutorialState:this.store.state,visibleAsset:{media:n,code:t,runtimePreview:i},activeStep:e}},computed:{assetContainerClasses(){return{"for-step-code":!!this.visibleAsset.code,ide:this.isTargetIDE}},numberOfSteps(){return this.content.filter(this.isStepNode).length},contentNodes(){return this.content.reduce(({stepCounter:e,nodes:t},n,i)=>{const{type:s,...r}=n,o=this.isStepNode(n),a=o?e+1:e;return o?{stepCounter:e+1,nodes:t.concat({component:Is,type:s,props:{...r,stepNumber:a,index:i,numberOfSteps:this.numberOfSteps,sectionNumber:this.sectionNumber}})}:{stepCounter:e,nodes:t.concat({component:Oe["default"],type:s,props:{content:[n]}})}},{stepCounter:0,nodes:[]}).nodes},isBreakpointSmall(){return this.tutorialState.breakpoint===As.small},stepNodes:({contentNodes:e,isStepNode:t})=>e.filter(t),intersectionRootMargin:()=>Ns},async mounted(){await Object(Hi["b"])(8),this.findClosestStepNode()},methods:{isStepNode({type:e}){return"step"===e},contentClass(e){return{["interstitial interstitial-"+(e+1)]:!this.isStepNode(this.content[e])}},onReverseIntoLastStep(){const{asset:e}=this.$refs;if(e){const t=e.$el.querySelector("video");t&&(t.currentTime=0,t.play().catch(()=>{}))}},onFocus(e){const{code:t,media:n,runtimePreview:i}=this.content[e];this.activeStep=e,this.visibleAsset={code:t,media:n,runtimePreview:i}},onRuntimePreviewToggle(e){this.$emit("runtime-preview-toggle",e)},findClosestStepNode(){const e=.333*window.innerHeight;let t=null,n=0;this.stepNodes.forEach(i=>{const{index:s}=i.props,r=this.$refs.contentNodes[s].$refs.step;if(!r)return;const{top:o,bottom:a}=r.getBoundingClientRect(),c=o-e,l=a-e,u=Math.abs(c+l);(0===n||u<=n)&&(n=u,t=s)}),null!==t&&this.onFocus(t)},getIntersectionTargets(){const{stepNodes:e,$refs:t}=this;return e.map(({props:{index:e}})=>t.contentNodes[e].$refs.step)},onIntersect(e){const{target:t,isIntersecting:n}=e;if(!n)return;const i=parseFloat(t.getAttribute("data-index"));this.intersectionScrollDirection===Os.down&&i===this.stepNodes[this.stepNodes.length-1].props.index&&this.onReverseIntoLastStep(),this.onFocus(i)}},props:{content:{type:Array,required:!0},isRuntimePreviewVisible:{type:Boolean,require:!0},sectionNumber:{type:Number,required:!0}}},Ps=$s,qs=(n("00f4"),Object(w["a"])(Ps,$i,Pi,!1,null,"25d30c2c",null)),Ds=qs.exports,js={name:"Section",components:{Intro:Ni,LinkableSection:Ze,Steps:Ds},computed:{introProps(){const[{content:e,media:t},...n]=this.contentSection;return{content:e,expandedSections:n,media:t,sectionAnchor:this.anchor,sectionNumber:this.sectionNumber,title:this.title}}},props:{anchor:{type:String,required:!0},title:{type:String,required:!0},contentSection:{type:Array,required:!0},stepsSection:{type:Array,required:!0},sectionNumber:{type:Number,required:!0},isRuntimePreviewVisible:{type:Boolean,required:!0}},methods:{onRuntimePreviewToggle(e){this.$emit("runtime-preview-toggle",e)}}},Rs=js,Ms=(n("9dc4"),Object(w["a"])(Rs,ki,Si,!1,null,"6b3a0b3a",null)),Bs=Ms.exports,Es={name:"SectionList",components:{Section:Bs},data(){return{isRuntimePreviewVisible:!0}},props:{tasks:{type:Array,required:!0}},methods:{onRuntimePreviewToggle(e){this.isRuntimePreviewVisible=e}}},Ls=Es,Fs=(n("4d07"),Object(w["a"])(Ls,wi,_i,!1,null,"79a75e9e",null)),Vs=Fs.exports;const Us={assessments:ai,hero:_n,tasks:Vs,callToAction:Nt},Hs=new Set(Object.keys(Us)),zs={name:"TutorialSection",render:function(e){const{kind:t,...n}=this.section,i=Us[t];return i?e(i,{props:n}):null},props:{section:{type:Object,required:!0,validator:e=>Hs.has(e.kind)}}};var Gs={name:"Tutorial",mixins:[ye["a"],Ci["a"]],components:{NavigationBar:be,Section:zs,PortalTarget:h["PortalTarget"],BreakpointEmitter:o["a"]},inject:["isTargetIDE","store"],computed:{heroSection(){return this.sections.find(({kind:e})=>"hero"===e)},tutorialTitle(){return(this.heroSection||{}).title},pageTitle(){return this.tutorialTitle?`${this.tutorialTitle} — ${this.metadata.category} Tutorials`:void 0},pageDescription:({heroSection:e,extractFirstParagraphText:t})=>e?t(e.content):null},props:{sections:{type:Array,required:!0},references:{type:Object,required:!0},hierarchy:{type:Object,required:!0},metadata:{type:Object,required:!0},identifierUrl:{type:String,required:!0}},methods:{handleBreakpointChange(e){this.store.updateBreakpoint(e)},handleCodeColorsChange(e){yi["a"].updateCodeColors(e)}},created(){this.store.reset()},mounted(){this.$bridge.on("codeColors",this.handleCodeColorsChange),this.$bridge.send({type:"requestCodeColors"})},provide(){return{references:this.references,isClientMobile:this.isClientMobile}},beforeDestroy(){this.$bridge.off("codeColors",this.handleCodeColorsChange)}},Ws=Gs,Qs=(n("1a91"),Object(w["a"])(Ws,gi,bi,!1,null,"0f871b08",null)),Ks=Qs.exports,Xs=n("0caf"),Js=n("146e");const Ys={article:"article",tutorial:"project"};var Zs={name:"Topic",inject:{isTargetIDE:{default:!1}},mixins:[Xs["a"],Js["a"]],data(){return{topicData:null}},computed:{navigationBarHeight(){return this.isTargetIDE?0:52},store(){return u},hierarchy(){const{hierarchy:e={}}=this.topicData,{technologyNavigation:t=["overview","tutorials","resources"]}=e||{};return{...e,technologyNavigation:t}},topicKey:({$route:e,topicData:t})=>[e.path,t.identifier.interfaceLanguage].join()},beforeRouteEnter(e,t,n){e.meta.skipFetchingData?n(e=>e.newContentMounted()):Object(r["b"])(e,t,n).then(e=>n(t=>{t.topicData=e})).catch(n)},beforeRouteUpdate(e,t,n){Object(r["d"])(e,t)?Object(r["b"])(e,t,n).then(e=>{this.topicData=e,n()}).catch(n):n()},created(){this.store.reset()},mounted(){this.$bridge.on("contentUpdate",this.handleContentUpdateFromBridge)},beforeDestroy(){this.$bridge.off("contentUpdate",this.handleContentUpdateFromBridge)},methods:{componentFor(e){const{kind:t}=e;return{[Ys.article]:vi,[Ys.tutorial]:Ks}[t]},propsFor(e){const{hierarchy:t,kind:n,metadata:i,references:s,sections:r,identifier:o}=e;return{[Ys.article]:{hierarchy:t,metadata:i,references:s,sections:r,identifierUrl:o.url},[Ys.tutorial]:{hierarchy:t,metadata:i,references:s,sections:r,identifierUrl:o.url}}[n]}},provide(){return{navigationBarHeight:this.navigationBarHeight,store:this.store}},watch:{topicData(){this.$nextTick(()=>{this.newContentMounted()})}}},er=Zs,tr=Object(w["a"])(er,i,s,!1,null,null,null);t["default"]=tr.exports},"323a":function(e,t,n){"use strict";n("0b61")},"32b1":function(e,t,n){},"3a78":function(e,t,n){"use strict";n("90d1")},"3e1b":function(e,t,n){"use strict";n("c5c1")},4896:function(e,t,n){"use strict";n("fa9c")},"4b4a":function(e,t,n){},"4d07":function(e,t,n){"use strict";n("b52e")},"4d5c":function(e,t,n){"use strict";n("7730")},"4eea":function(e,t,n){},5053:function(e,t,n){"use strict";n("61a8")},"51d0":function(e,t,n){},5237:function(e,t,n){"use strict";n("4b4a")},"525c":function(e,t,n){},"52fd":function(e,t,n){"use strict";n("cda1")},5356:function(e,t,n){"use strict";n("7e3c")},"53b5":function(e,t,n){"use strict";n("a662")},5913:function(e,t,n){},5952:function(e,t,n){"use strict";n("14b7")},"5c7b":function(e,t,n){"use strict";n("311e")},"61a8":function(e,t,n){},"63a8":function(e,t,n){},"653a":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("router-link",{staticClass:"nav-title-content",attrs:{to:e.to}},[n("span",{staticClass:"title"},[e._t("default")],2),n("span",{staticClass:"subhead"},[e._v(" "),e._t("subhead")],2)])},s=[],r={name:"NavTitleContainer",props:{to:{type:[String,Object],required:!0}}},o=r,a=(n("f1e6"),n("2877")),c=Object(a["a"])(o,i,s,!1,null,"854b4dd6",null);t["a"]=c.exports},7096:function(e,t,n){},7730:function(e,t,n){},"7b17":function(e,t,n){},"7e3c":function(e,t,n){},"80f7":function(e,t,n){"use strict";n("4eea")},8782:function(e,t,n){"use strict";n("51d0")},"90d1":function(e,t,n){},"9dc4":function(e,t,n){"use strict";n("fe9d")},a0d4:function(e,t,n){},a662:function(e,t,n){},a95e:function(e,t,n){},aece:function(e,t,n){"use strict";n("c0df")},b52e:function(e,t,n){},c0df:function(e,t,n){},c5c1:function(e,t,n){},cb8d:function(e,t,n){"use strict";n("0466")},cda1:function(e,t,n){},d86f:function(e,t,n){},db87:function(e,t,n){},dbd9:function(e,t,n){},dbeb:function(e,t,n){},de60:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"download-icon",attrs:{viewBox:"0 0 14 14",themeId:"download"}},[n("path",{attrs:{d:"M7 0.5c3.59 0 6.5 2.91 6.5 6.5s-2.91 6.5-6.5 6.5c-3.59 0-6.5-2.91-6.5-6.5s2.91-6.5 6.5-6.5zM7 1.5c-3.038 0-5.5 2.462-5.5 5.5s2.462 5.5 5.5 5.5c3.038 0 5.5-2.462 5.5-5.5s-2.462-5.5-5.5-5.5z"}}),n("path",{attrs:{d:"M7.51 2.964l-0.001 5.431 1.308-2.041 0.842 0.539-2.664 4.162-2.633-4.164 0.845-0.534 1.303 2.059 0.001-5.452z"}})])},s=[],r=n("be08"),o={name:"DownloadIcon",components:{SVGIcon:r["a"]}},a=o,c=n("2877"),l=Object(c["a"])(a,i,s,!1,null,null,null);t["a"]=l.exports},e4e4:function(e,t,n){"use strict";n("f767")},e688:function(e,t,n){"use strict";n("5913")},e84c:function(e,t,n){"use strict";n("d86f")},e97b:function(e,t,n){"use strict";n("dbd9")},e9b0:function(e,t,n){"use strict";n("ee09")},ed71:function(e,t,n){"use strict";n("7096")},ee09:function(e,t,n){},f1e6:function(e,t,n){"use strict";n("a0d4")},f264:function(e,t,n){"use strict";n("63a8")},f767:function(e,t,n){},fa9c:function(e,t,n){},fae5:function(e,t,n){"use strict";n("32b1")},fe9d:function(e,t,n){}}]); \ No newline at end of file diff --git a/docs/js/tutorials-overview.2a32cd6f.js b/docs/js/tutorials-overview.2a32cd6f.js new file mode 100644 index 0000000..3025a8a --- /dev/null +++ b/docs/js/tutorials-overview.2a32cd6f.js @@ -0,0 +1,10 @@ +/*! + * This source file is part of the Swift.org open source project + * + * Copyright (c) 2021 Apple Inc. and the Swift project authors + * Licensed under Apache License v2.0 with Runtime Library Exception + * + * See https://swift.org/LICENSE.txt for license information + * See https://swift.org/CONTRIBUTORS.txt for Swift project authors + */ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["tutorials-overview"],{"032c":function(t,e,n){"use strict";n("9b79")},"0b61":function(t,e,n){},"13d5":function(t,e,n){},"15ac":function(t,e,n){"use strict";n("ddf1")},"17d2":function(t,e,n){},"202a":function(t,e,n){"use strict";n("5899")},"277b":function(t,e,n){"use strict";n("60ca")},"29e3":function(t,e,n){"use strict";n("0b61")},3233:function(t,e,n){"use strict";n("8d8f")},4230:function(t,e,n){"use strict";n("52f5")},"441c":function(t,e,n){},"52f5":function(t,e,n){},5899:function(t,e,n){},"60ca":function(t,e,n){},"653a":function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("router-link",{staticClass:"nav-title-content",attrs:{to:t.to}},[n("span",{staticClass:"title"},[t._t("default")],2),n("span",{staticClass:"subhead"},[t._v(" "),t._t("subhead")],2)])},s=[],a={name:"NavTitleContainer",props:{to:{type:[String,Object],required:!0}}},o=a,r=(n("f1e6"),n("2877")),c=Object(r["a"])(o,i,s,!1,null,"854b4dd6",null);e["a"]=c.exports},6899:function(t,e,n){"use strict";n("441c")},"6fb0":function(t,e,n){"use strict";n("eec8")},"7c60":function(t,e,n){},"8d8f":function(t,e,n){},"8f86":function(t,e,n){},9359:function(t,e,n){"use strict";n("9e08")},9792:function(t,e,n){"use strict";n("c8c8")},"9b79":function(t,e,n){},"9e08":function(t,e,n){},a0d4:function(t,e,n){},a975:function(t,e,n){"use strict";n("7c60")},aebc:function(t,e,n){"use strict";n("c0c9")},b9bf:function(t,e,n){"use strict";n("13d5")},c0c9:function(t,e,n){},c8c8:function(t,e,n){},ca4e:function(t,e,n){"use strict";n("17d2")},ddf1:function(t,e,n){},de60:function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("SVGIcon",{staticClass:"download-icon",attrs:{viewBox:"0 0 14 14",themeId:"download"}},[n("path",{attrs:{d:"M7 0.5c3.59 0 6.5 2.91 6.5 6.5s-2.91 6.5-6.5 6.5c-3.59 0-6.5-2.91-6.5-6.5s2.91-6.5 6.5-6.5zM7 1.5c-3.038 0-5.5 2.462-5.5 5.5s2.462 5.5 5.5 5.5c3.038 0 5.5-2.462 5.5-5.5s-2.462-5.5-5.5-5.5z"}}),n("path",{attrs:{d:"M7.51 2.964l-0.001 5.431 1.308-2.041 0.842 0.539-2.664 4.162-2.633-4.164 0.845-0.534 1.303 2.059 0.001-5.452z"}})])},s=[],a=n("be08"),o={name:"DownloadIcon",components:{SVGIcon:a["a"]}},r=o,c=n("2877"),l=Object(c["a"])(r,i,s,!1,null,null,null);e["a"]=l.exports},dfc1:function(t,e,n){},ed64:function(t,e,n){"use strict";n("dfc1")},eec8:function(t,e,n){},f025:function(t,e,n){"use strict";n.r(e);var i,s,a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.topicData?n("Overview",t._b({key:t.topicKey},"Overview",t.overviewProps,!1)):t._e()},o=[],r=n("25a9"),c=n("0caf"),l=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tutorials-overview"},[t.isTargetIDE?t._e():n("Nav",{staticClass:"theme-dark",attrs:{sections:t.otherSections}},[t._v(" "+t._s(t.title)+" ")]),n("main",{staticClass:"main",attrs:{id:"main",role:"main",tabindex:"0"}},[n("div",{staticClass:"radial-gradient"},[t._t("above-hero"),t.heroSection?n("Hero",{attrs:{action:t.heroSection.action,content:t.heroSection.content,estimatedTime:t.metadata.estimatedTime,image:t.heroSection.image,title:t.heroSection.title}}):t._e()],2),t.otherSections.length>0?n("LearningPath",{attrs:{sections:t.otherSections}}):t._e()],1)],1)},u=[],m=n("e425"),d={state:{activeTutorialLink:null,activeVolume:null,references:{}},reset(){this.state.activeTutorialLink=null,this.state.activeVolume=null,this.state.references={}},setActiveSidebarLink(t){this.state.activeTutorialLink=t},setActiveVolume(t){this.state.activeVolume=t},setReferences(t){this.state.references=t}},p=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("NavBase",[n("NavTitleContainer",{attrs:{to:t.buildUrl(t.$route.path,t.$route.query)}},[n("template",{slot:"default"},[t._t("default")],2),n("template",{slot:"subhead"},[t._v(t._s(t.$tc("tutorials.title",2)))])],2),n("template",{slot:"menu-items"},[n("NavMenuItemBase",{staticClass:"in-page-navigation"},[n("TutorialsNavigation",{attrs:{sections:t.sections}})],1),t._t("menu-items")],2)],2)},h=[],v=n("cbcf"),f=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("nav",{staticClass:"tutorials-navigation"},[n("TutorialsNavigationList",t._l(t.sections,(function(e,i){return n("li",{key:e.name+"_"+i,class:t.sectionClasses(e)},[t.isVolume(e)?n(t.componentForVolume(e),t._b({tag:"component",on:{"select-menu":t.onSelectMenu,"deselect-menu":t.onDeselectMenu}},"component",t.propsForVolume(e),!1),t._l(e.chapters,(function(e){return n("li",{key:e.name},[n("TutorialsNavigationLink",[t._v(" "+t._s(e.name)+" ")])],1)})),0):t.isResources(e)?n("TutorialsNavigationLink",[t._v(" "+t._s(t.$t("sections.resources"))+" ")]):t._e()],1)})),0)],1)},b=[],_=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("router-link",{staticClass:"tutorials-navigation-link",class:{active:t.active},attrs:{to:t.fragment},nativeOn:{click:function(e){return t.handleFocusAndScroll(t.fragment.hash)}}},[t._t("default")],2)},g=[],C=n("002d"),y=n("8a61"),T={name:"TutorialsNavigationLink",mixins:[y["a"]],inject:{store:{default:()=>({state:{}})}},data(){return{state:this.store.state}},computed:{active:({state:{activeTutorialLink:t},text:e})=>e===t,fragment:({text:t,$route:e})=>({hash:Object(C["a"])(t),query:e.query}),text:({$slots:{default:[{text:t}]}})=>t.trim()}},S=T,V=(n("6fb0"),n("2877")),k=Object(V["a"])(S,_,g,!1,null,"e9f9b59c",null),I=k.exports,x=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ol",{staticClass:"tutorials-navigation-list",attrs:{role:"list"}},[t._t("default")],2)},N=[],O={name:"TutorialsNavigationList"},$=O,j=(n("202a"),Object(V["a"])($,x,N,!1,null,"6f2800d1",null)),A=j.exports,w=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tutorials-navigation-menu",class:{collapsed:t.collapsed}},[n("button",{staticClass:"toggle",attrs:{"aria-expanded":t.collapsed?"false":"true",type:"button"},on:{click:function(e){return e.stopPropagation(),t.onClick.apply(null,arguments)}}},[n("span",{staticClass:"text"},[t._v(t._s(t.title))]),n("InlineCloseIcon",{staticClass:"toggle-icon icon-inline"})],1),n("transition-expand",[t.collapsed?t._e():n("div",{staticClass:"tutorials-navigation-menu-content"},[n("TutorialsNavigationList",{attrs:{"aria-label":t.$t("tutorials.nav.chapters")}},[t._t("default")],2)],1)])],1)},q=[],L=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("SVGIcon",{staticClass:"inline-close-icon",attrs:{viewBox:"0 0 14 14",themeId:"inline-close"}},[n("path",{attrs:{d:"M11.91 1l1.090 1.090-4.917 4.915 4.906 4.905-1.090 1.090-4.906-4.905-4.892 4.894-1.090-1.090 4.892-4.894-4.903-4.904 1.090-1.090 4.903 4.904z"}})])},E=[],M=n("be08"),D={name:"InlineCloseIcon",components:{SVGIcon:M["a"]}},F=D,R=Object(V["a"])(F,L,E,!1,null,null,null),B=R.exports,G={name:"TransitionExpand",functional:!0,render(t,e){const n={props:{name:"expand"},on:{afterEnter(t){t.style.height="auto"},enter(t){const{width:e}=getComputedStyle(t);t.style.width=e,t.style.position="absolute",t.style.visibility="hidden",t.style.height="auto";const{height:n}=getComputedStyle(t);t.style.width=null,t.style.position=null,t.style.visibility=null,t.style.height=0,getComputedStyle(t).height,requestAnimationFrame(()=>{t.style.height=n})},leave(t){const{height:e}=getComputedStyle(t);t.style.height=e,getComputedStyle(t).height,requestAnimationFrame(()=>{t.style.height=0})}}};return t("transition",n,e.children)}},z=G,P=(n("032c"),Object(V["a"])(z,i,s,!1,null,null,null)),H=P.exports,K={name:"TutorialsNavigationMenu",components:{InlineCloseIcon:B,TransitionExpand:H,TutorialsNavigationList:A},props:{collapsed:{type:Boolean,default:!0},title:{type:String,required:!0}},methods:{onClick(){this.collapsed?this.$emit("select-menu",this.title):this.$emit("deselect-menu")}}},U=K,Z=(n("277b"),Object(V["a"])(U,w,q,!1,null,"489416f8",null)),J=Z.exports;const Q={resources:"resources",volume:"volume"};var W={name:"TutorialsNavigation",components:{TutorialsNavigationLink:I,TutorialsNavigationList:A,TutorialsNavigationMenu:J},constants:{SectionKind:Q},inject:{store:{default:()=>({setActiveVolume(){}})}},data(){return{state:this.store.state}},props:{sections:{type:Array,required:!0}},computed:{activeVolume:({state:t})=>t.activeVolume},methods:{sectionClasses(t){return{volume:this.isVolume(t),"volume--named":this.isNamedVolume(t),resource:this.isResources(t)}},componentForVolume:({name:t})=>t?J:A,isResources:({kind:t})=>t===Q.resources,isVolume:({kind:t})=>t===Q.volume,activateFirstNamedVolume(){const{isNamedVolume:t,sections:e}=this,n=e.find(t);n&&this.store.setActiveVolume(n.name)},isNamedVolume(t){return this.isVolume(t)&&t.name},onDeselectMenu(){this.store.setActiveVolume(null)},onSelectMenu(t){this.store.setActiveVolume(t)},propsForVolume({name:t}){const{activeVolume:e}=this;return t?{collapsed:t!==e,title:t}:{"aria-label":"Chapters"}}},created(){this.activateFirstNamedVolume()}},X=W,Y=(n("a975"),Object(V["a"])(X,f,b,!1,null,"79093ed6",null)),tt=Y.exports,et=n("653a"),nt=n("d26a"),it=n("863d");const st={resources:"resources",volume:"volume"};var at={name:"Nav",constants:{SectionKind:st},components:{NavMenuItemBase:it["a"],NavTitleContainer:et["a"],TutorialsNavigation:tt,NavBase:v["a"]},props:{sections:{type:Array,require:!0}},methods:{buildUrl:nt["b"]}},ot=at,rt=(n("9359"),Object(V["a"])(ot,p,h,!1,null,"b806ee20",null)),ct=rt.exports,lt=n("bf08"),ut=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"hero"},[n("div",{staticClass:"copy-container"},[n("h1",{staticClass:"title"},[t._v(t._s(t.title))]),t.content?n("ContentNode",{attrs:{content:t.content}}):t._e(),t.estimatedTime?n("p",{staticClass:"meta"},[n("TimerIcon"),n("span",{staticClass:"meta-content"},[n("strong",{staticClass:"time"},[t._v(t._s(t.estimatedTime))]),n("span",[t._v(" "+t._s(t.$t("tutorials.estimated-time")))])])],1):t._e(),t.action?n("CallToActionButton",{attrs:{action:t.action,"aria-label":t.$t("tutorials.overriding-title",{newTitle:t.action.overridingTitle,title:t.title}),isDark:""}}):t._e()],1),t.image?n("Asset",{attrs:{identifier:t.image}}):t._e()],1)},mt=[],dt=n("80e4"),pt=n("c081"),ht=n("5677"),vt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("SVGIcon",{staticClass:"timer-icon",attrs:{viewBox:"0 0 14 14",themeId:"timer"}},[n("path",{attrs:{d:"M7 0.5c3.59 0 6.5 2.91 6.5 6.5s-2.91 6.5-6.5 6.5c-3.59 0-6.5-2.91-6.5-6.5v0c0-3.59 2.91-6.5 6.5-6.5v0zM7 2c-2.761 0-5 2.239-5 5s2.239 5 5 5c2.761 0 5-2.239 5-5v0c0-2.761-2.239-5-5-5v0z"}}),n("path",{attrs:{d:"M6.51 3.51h1.5v3.5h-1.5v-3.5z"}}),n("path",{attrs:{d:"M6.51 7.010h4v1.5h-4v-1.5z"}})])},ft=[],bt={name:"TimerIcon",components:{SVGIcon:M["a"]}},_t=bt,gt=Object(V["a"])(_t,vt,ft,!1,null,null,null),Ct=gt.exports,yt={name:"Hero",components:{Asset:dt["a"],CallToActionButton:pt["a"],ContentNode:ht["default"],TimerIcon:Ct},props:{action:{type:Object,required:!1},content:{type:Array,required:!1},estimatedTime:{type:String,required:!1},image:{type:String,required:!1},title:{type:String,required:!0}}},Tt=yt,St=(n("29e3"),Object(V["a"])(Tt,ut,mt,!1,null,"383dab71",null)),Vt=St.exports,kt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"learning-path",class:t.classes},[n("div",{staticClass:"main-container"},[t.isTargetIDE?t._e():n("div",{staticClass:"secondary-content-container"},[n("TutorialsNavigation",{attrs:{sections:t.sections,"aria-label":t.$t("sections.on-this-page")}})],1),n("div",{staticClass:"primary-content-container"},[n("div",{staticClass:"content-sections-container"},[t._l(t.volumes,(function(e,i){return n("Volume",t._b({key:"volume_"+i,staticClass:"content-section"},"Volume",t.propsFor(e),!1))})),t._l(t.otherSections,(function(e,i){return n(t.componentFor(e),t._b({key:"resource_"+i,tag:"component",staticClass:"content-section"},"component",t.propsFor(e),!1))}))],2)])])])},It=[],xt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"resources",attrs:{id:"resources",tabindex:"-1"}},[n("VolumeName",{attrs:{name:t.$t("sections.resources"),content:t.content}}),n("TileGroup",{attrs:{tiles:t.tiles}})],1)},Nt=[],Ot=n("72e7");const $t={topOneThird:"-30% 0% -70% 0%",center:"-50% 0% -50% 0%"};var jt={mixins:[Ot["a"]],computed:{intersectionRoot(){return null},intersectionRootMargin(){return $t.center}},methods:{onIntersect(t){if(!t.isIntersecting)return;const e=this.onIntersectViewport;e?e():console.warn("onIntersectViewportCenter not implemented")}}},At=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"volume-name"},[t.image?n("Asset",{staticClass:"image",attrs:{identifier:t.image,"aria-hidden":"true"}}):t._e(),n("h2",{staticClass:"name"},[t._v(" "+t._s(t.name)+" ")]),t.content?n("ContentNode",{attrs:{content:t.content}}):t._e()],1)},wt=[],qt={name:"VolumeName",components:{ContentNode:ht["default"],Asset:dt["a"]},props:{image:{type:String,required:!1},content:{type:Array,required:!1},name:{type:String,required:!1}}},Lt=qt,Et=(n("ca4e"),Object(V["a"])(Lt,At,wt,!1,null,"569db166",null)),Mt=Et.exports,Dt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tile-group",class:t.countClass},t._l(t.tiles,(function(e){return n("Tile",t._b({key:e.title},"Tile",t.propsFor(e),!1))})),1)},Ft=[],Rt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tile"},[t.identifier?n("div",{staticClass:"icon"},[n(t.iconComponent,{tag:"component"})],1):t._e(),n("div",{staticClass:"title"},[t._v(t._s(t.title))]),n("ContentNode",{attrs:{content:t.content}}),t.action?n("DestinationDataProvider",{attrs:{destination:t.action},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.url,s=e.title;return n("Reference",{staticClass:"link",attrs:{url:i}},[t._v(" "+t._s(s)+" "),n("InlineChevronRightIcon",{staticClass:"link-icon icon-inline"})],1)}}],null,!1,3874201962)}):t._e()],1)},Bt=[],Gt=n("3b96"),zt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("SVGIcon",{staticClass:"document-icon",attrs:{viewBox:"0 0 14 14",themeId:"document"}},[n("path",{attrs:{d:"M11.2,5.3,8,2l-.1-.1H2.8V12.1h8.5V6.3l-.1-1ZM8,3.2l2,2.1H8Zm2.4,8H3.6V2.8H7V6.3h3.4Z"}})])},Pt=[],Ht={name:"DocumentIcon",components:{SVGIcon:M["a"]}},Kt=Ht,Ut=(n("3233"),Object(V["a"])(Kt,zt,Pt,!1,null,"3a80772b",null)),Zt=Ut.exports,Jt=n("de60"),Qt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("SVGIcon",{staticClass:"forum-icon",attrs:{viewBox:"0 0 14 14",themeId:"forum"}},[n("path",{attrs:{d:"M13 1v9h-7l-1.5 3-1.5-3h-2v-9zM12 2h-10v7h1.616l0.884 1.763 0.88-1.763h6.62z"}}),n("path",{attrs:{d:"M3 4h8.001v1h-8.001v-1z"}}),n("path",{attrs:{d:"M3 6h8.001v1h-8.001v-1z"}})])},Wt=[],Xt={name:"ForumIcon",components:{SVGIcon:M["a"]}},Yt=Xt,te=Object(V["a"])(Yt,Qt,Wt,!1,null,null,null),ee=te.exports,ne=n("c4dd"),ie=n("86d8"),se=n("34b0"),ae=n("c7ea");const oe={documentation:"documentation",downloads:"downloads",featured:"featured",forums:"forums",sampleCode:"sampleCode",videos:"videos"};var re={name:"Tile",constants:{Identifier:oe},components:{DestinationDataProvider:ae["a"],InlineChevronRightIcon:se["a"],ContentNode:ht["default"],CurlyBracketsIcon:Gt["a"],DocumentIcon:Zt,DownloadIcon:Jt["a"],ForumIcon:ee,PlayIcon:ne["a"],Reference:ie["a"]},props:{action:{type:Object,required:!1},content:{type:Array,required:!0},identifier:{type:String,required:!1},title:{type:String,require:!0}},computed:{iconComponent:({identifier:t})=>({[oe.documentation]:Zt,[oe.downloads]:Jt["a"],[oe.forums]:ee,[oe.sampleCode]:Gt["a"],[oe.videos]:ne["a"]}[t])}},ce=re,le=(n("6899"),Object(V["a"])(ce,Rt,Bt,!1,null,"96abac22",null)),ue=le.exports,me={name:"TileGroup",components:{Tile:ue},props:{tiles:{type:Array,required:!0}},computed:{countClass:({tiles:t})=>"count-"+t.length},methods:{propsFor:({action:t,content:e,identifier:n,title:i})=>({action:t,content:e,identifier:n,title:i})}},de=me,pe=(n("f0ca"),Object(V["a"])(de,Dt,Ft,!1,null,"015f9f13",null)),he=pe.exports,ve={name:"Resources",mixins:[jt],inject:{store:{default:()=>({setActiveSidebarLink(){},setActiveVolume(){}})}},components:{VolumeName:Mt,TileGroup:he},computed:{intersectionRootMargin:()=>$t.topOneThird},props:{content:{type:Array,required:!1},tiles:{type:Array,required:!0}},methods:{onIntersectViewport(){this.store.setActiveSidebarLink("Resources"),this.store.setActiveVolume(null)}}},fe=ve,be=(n("ed64"),Object(V["a"])(fe,xt,Nt,!1,null,"7f8022c1",null)),_e=be.exports,ge=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"volume"},[t.name?n("VolumeName",t._b({},"VolumeName",{name:t.name,image:t.image,content:t.content},!1)):t._e(),t._l(t.chapters,(function(e,i){return n("Chapter",{key:e.name,staticClass:"tile",attrs:{content:e.content,image:e.image,name:e.name,number:i+1,topics:t.lookupTopics(e.tutorials),volumeHasName:!!t.name}})}))],2)},Ce=[],ye=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"chapter",attrs:{id:t.anchor,tabindex:"-1"}},[n("div",{staticClass:"info"},[n("Asset",{attrs:{identifier:t.image,"aria-hidden":"true"}}),n("div",{staticClass:"intro"},[n(t.volumeHasName?"h3":"h2",{tag:"component",staticClass:"name",attrs:{"aria-label":t.name+" - "+t.$tc("tutorials.sections.chapter",{number:t.number})}},[n("span",{staticClass:"eyebrow",attrs:{"aria-hidden":"true"}},[t._v(" "+t._s(t.$t("tutorials.sections.chapter",{number:t.number}))+" ")]),n("span",{staticClass:"name-text",attrs:{"aria-hidden":"true"}},[t._v(t._s(t.name))])]),t.content?n("ContentNode",{attrs:{content:t.content}}):t._e()],1)],1),n("TopicList",{attrs:{topics:t.topics}})],1)},Te=[],Se=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ol",{staticClass:"topic-list"},t._l(t.topics,(function(e){return n("li",{key:e.url,staticClass:"topic",class:[t.kindClassFor(e),{"no-time-estimate":!e.estimatedTime}]},[n("div",{staticClass:"topic-icon"},[n(t.iconComponent(e),{tag:"component"})],1),n("router-link",{staticClass:"container",attrs:{to:t.buildUrl(e.url,t.$route.query),"aria-label":t.ariaLabelFor(e)}},[n("div",{staticClass:"link"},[t._v(t._s(e.title))]),e.estimatedTime?n("div",{staticClass:"time"},[n("TimerIcon"),n("span",{staticClass:"time-label"},[t._v(t._s(e.estimatedTime))])],1):t._e()])],1)})),0)},Ve=[],ke=n("a9f1"),Ie=n("8d2d");const xe={article:"article",tutorial:"project"},Ne={article:"article",tutorial:"tutorial"},Oe={[xe.article]:"Article",[xe.tutorial]:"Tutorial"};var $e={name:"ChapterTopicList",components:{TimerIcon:Ct},constants:{TopicKind:xe,TopicKindClass:Ne,TopicKindIconLabel:Oe},props:{topics:{type:Array,required:!0}},methods:{buildUrl:nt["b"],iconComponent:({kind:t})=>({[xe.article]:ke["a"],[xe.tutorial]:Ie["a"]}[t]),kindClassFor:({kind:t})=>({[xe.article]:Ne.article,[xe.tutorial]:Ne.tutorial}[t]),formatTime(t){return t.replace("min"," "+this.$t("tutorials.time.minutes.full")).replace("hrs"," "+this.$t("tutorials.time.hours.full"))},ariaLabelFor(t){const{title:e,estimatedTime:n,kind:i}=t,s=[e,Oe[i]];return n&&s.push(`${this.formatTime(n)} ${this.$t("tutorials.estimated-time")}`),s.join(" - ")}}},je=$e,Ae=(n("9792"),Object(V["a"])(je,Se,Ve,!1,null,"45ec37c5",null)),we=Ae.exports,qe={name:"Chapter",mixins:[jt],inject:{store:{default:()=>({setActiveSidebarLink(){},setActiveVolume(){}})}},components:{Asset:dt["a"],ContentNode:ht["default"],TopicList:we},props:{content:{type:Array,required:!1},image:{type:String,required:!0},name:{type:String,required:!0},number:{type:Number,required:!0},topics:{type:Array,required:!0},volumeHasName:{type:Boolean,default:!1}},computed:{anchor:({name:t})=>Object(C["a"])(t),intersectionRootMargin:()=>$t.topOneThird},methods:{onIntersectViewport(){this.store.setActiveSidebarLink(this.name),this.volumeHasName||this.store.setActiveVolume(null)}}},Le=qe,Ee=(n("4230"),Object(V["a"])(Le,ye,Te,!1,null,"7468bc5e",null)),Me=Ee.exports,De={name:"Volume",mixins:[jt],components:{VolumeName:Mt,Chapter:Me},computed:{references:({store:t})=>t.state.references,intersectionRootMargin:()=>$t.topOneThird},inject:{store:{default:()=>({setActiveVolume(){},state:{references:{}}})}},props:{chapters:{type:Array,required:!0},content:{type:Array,required:!1},image:{type:String,required:!1},name:{type:String,required:!1}},methods:{lookupTopics(t){return t.reduce((t,e)=>t.concat(this.references[e]||[]),[])},onIntersectViewport(){this.name&&this.store.setActiveVolume(this.name)}}},Fe=De,Re=(n("b9bf"),Object(V["a"])(Fe,ge,Ce,!1,null,"540dbf10",null)),Be=Re.exports;const Ge={resources:"resources",volume:"volume"};var ze={name:"LearningPath",components:{Resources:_e,TutorialsNavigation:tt,Volume:Be},constants:{SectionKind:Ge},inject:{isTargetIDE:{default:!1}},props:{sections:{type:Array,required:!0,validator:t=>t.every(t=>Object.prototype.hasOwnProperty.call(Ge,t.kind))}},computed:{classes:({isTargetIDE:t})=>({ide:t}),partitionedSections:({sections:t})=>t.reduce(([t,e],n)=>n.kind===Ge.volume?[t.concat(n),e]:[t,e.concat(n)],[[],[]]),volumes:({partitionedSections:t})=>t[0],otherSections:({partitionedSections:t})=>t[1]},methods:{componentFor:({kind:t})=>({[Ge.resources]:_e,[Ge.volume]:Be}[t]),propsFor:({chapters:t,content:e,image:n,kind:i,name:s,tiles:a})=>({[Ge.resources]:{content:e,tiles:a},[Ge.volume]:{chapters:t,content:e,image:n,name:s}}[i])}},Pe=ze,He=(n("aebc"),Object(V["a"])(Pe,kt,It,!1,null,"69a72bbc",null)),Ke=He.exports;const Ue={hero:"hero",resources:"resources",volume:"volume"};var Ze={name:"TutorialsOverview",components:{Hero:Vt,LearningPath:Ke,Nav:ct},mixins:[lt["a"]],constants:{SectionKind:Ue},inject:{isTargetIDE:{default:!1}},props:{metadata:{type:Object,default:()=>({})},references:{type:Object,default:()=>({})},sections:{type:Array,default:()=>[],validator:t=>t.every(t=>Object.prototype.hasOwnProperty.call(Ue,t.kind))}},computed:{pageTitle:({title:t})=>[t,"Tutorials"].filter(Boolean).join(" "),pageDescription:({heroSection:t,extractFirstParagraphText:e})=>t?e(t.content):null,partitionedSections:({sections:t})=>t.reduce(([t,e],n)=>n.kind===Ue.hero?[t.concat(n),e]:[t,e.concat(n)],[[],[]]),heroSections:({partitionedSections:t})=>t[0],otherSections:({partitionedSections:t})=>t[1],heroSection:({heroSections:t})=>t[0],store:()=>d,title:({metadata:{category:t=""}})=>t},provide(){return{store:this.store}},created(){m["a"].setAvailableLocales(this.metadata.availableLocales),this.store.reset(),this.store.setReferences(this.references)},watch:{references(t){this.store.setReferences(t)},"metadata.availableLocales":function(t){m["a"].setAvailableLocales(t)}}},Je=Ze,Qe=(n("15ac"),Object(V["a"])(Je,l,u,!1,null,"29ed9b58",null)),We=Qe.exports,Xe=n("146e"),Ye={name:"TutorialsOverview",components:{Overview:We},mixins:[c["a"],Xe["a"]],data(){return{topicData:null}},computed:{overviewProps:({topicData:{metadata:t,references:e,sections:n}})=>({metadata:t,references:e,sections:n}),topicKey:({$route:t,topicData:e})=>[t.path,e.identifier.interfaceLanguage].join()},beforeRouteEnter(t,e,n){t.meta.skipFetchingData?n(t=>t.newContentMounted()):Object(r["c"])(t,e,n).then(t=>n(e=>{e.topicData=t})).catch(n)},beforeRouteUpdate(t,e,n){Object(r["e"])(t,e)?Object(r["c"])(t,e,n).then(t=>{this.topicData=t,n()}).catch(n):n()},mounted(){this.$bridge.on("contentUpdate",this.handleContentUpdateFromBridge)},beforeDestroy(){this.$bridge.off("contentUpdate",this.handleContentUpdateFromBridge)},watch:{topicData(){this.$nextTick(()=>{this.newContentMounted()})}}},tn=Ye,en=Object(V["a"])(tn,a,o,!1,null,null,null);e["default"]=en.exports},f0ca:function(t,e,n){"use strict";n("8f86")},f1e6:function(t,e,n){"use strict";n("a0d4")}}]); \ No newline at end of file diff --git a/docs/js/tutorials-overview.2cadc732.js b/docs/js/tutorials-overview.2cadc732.js deleted file mode 100644 index 5c3bf68..0000000 --- a/docs/js/tutorials-overview.2cadc732.js +++ /dev/null @@ -1,10 +0,0 @@ -/*! - * This source file is part of the Swift.org open source project - * - * Copyright (c) 2021 Apple Inc. and the Swift project authors - * Licensed under Apache License v2.0 with Runtime Library Exception - * - * See https://swift.org/LICENSE.txt for license information - * See https://swift.org/CONTRIBUTORS.txt for Swift project authors - */ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["tutorials-overview"],{"032c":function(t,e,n){"use strict";n("9b79")},"0431":function(t,e,n){"use strict";n("43e0")},"095b":function(t,e,n){"use strict";n("3601")},"17d2":function(t,e,n){},"1a3b":function(t,e,n){},"1cc5":function(t,e,n){"use strict";n("5780")},"202a":function(t,e,n){"use strict";n("5899")},"2c95":function(t,e,n){},3233:function(t,e,n){"use strict";n("8d8f")},3601:function(t,e,n){},"43e0":function(t,e,n){},"441c":function(t,e,n){},"521e":function(t,e,n){"use strict";n("1a3b")},5668:function(t,e,n){"use strict";n("82d9")},5780:function(t,e,n){},5899:function(t,e,n){},6211:function(t,e,n){"use strict";n("75f3")},"653a":function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("router-link",{staticClass:"nav-title-content",attrs:{to:t.to}},[n("span",{staticClass:"title"},[t._t("default")],2),n("span",{staticClass:"subhead"},[t._v(" "),t._t("subhead")],2)])},a=[],s={name:"NavTitleContainer",props:{to:{type:[String,Object],required:!0}}},o=s,r=(n("f1e6"),n("2877")),c=Object(r["a"])(o,i,a,!1,null,"854b4dd6",null);e["a"]=c.exports},6899:function(t,e,n){"use strict";n("441c")},"6fb0":function(t,e,n){"use strict";n("eec8")},"75f3":function(t,e,n){},"82d9":function(t,e,n){},"8d8f":function(t,e,n){},"8f86":function(t,e,n){},"97b7":function(t,e,n){"use strict";n("c1e7")},"9b79":function(t,e,n){},a0d4:function(t,e,n){},aaa7:function(t,e,n){},b185:function(t,e,n){},b347:function(t,e,n){"use strict";n("aaa7")},c1e7:function(t,e,n){},ca4e:function(t,e,n){"use strict";n("17d2")},d647:function(t,e,n){"use strict";n("b185")},de60:function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("SVGIcon",{staticClass:"download-icon",attrs:{viewBox:"0 0 14 14",themeId:"download"}},[n("path",{attrs:{d:"M7 0.5c3.59 0 6.5 2.91 6.5 6.5s-2.91 6.5-6.5 6.5c-3.59 0-6.5-2.91-6.5-6.5s2.91-6.5 6.5-6.5zM7 1.5c-3.038 0-5.5 2.462-5.5 5.5s2.462 5.5 5.5 5.5c3.038 0 5.5-2.462 5.5-5.5s-2.462-5.5-5.5-5.5z"}}),n("path",{attrs:{d:"M7.51 2.964l-0.001 5.431 1.308-2.041 0.842 0.539-2.664 4.162-2.633-4.164 0.845-0.534 1.303 2.059 0.001-5.452z"}})])},a=[],s=n("be08"),o={name:"DownloadIcon",components:{SVGIcon:s["a"]}},r=o,c=n("2877"),l=Object(c["a"])(r,i,a,!1,null,null,null);e["a"]=l.exports},eec8:function(t,e,n){},f025:function(t,e,n){"use strict";n.r(e);var i,a,s=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.topicData?n("Overview",t._b({key:t.topicKey},"Overview",t.overviewProps,!1)):t._e()},o=[],r=n("25a9"),c=n("0caf"),l=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tutorials-overview"},[t.isTargetIDE?t._e():n("Nav",{staticClass:"theme-dark",attrs:{sections:t.otherSections}},[t._v(" "+t._s(t.title)+" ")]),n("main",{staticClass:"main",attrs:{id:"main",role:"main",tabindex:"0"}},[n("div",{staticClass:"radial-gradient"},[t._t("above-hero"),t.heroSection?n("Hero",{attrs:{action:t.heroSection.action,content:t.heroSection.content,estimatedTime:t.metadata.estimatedTime,image:t.heroSection.image,title:t.heroSection.title}}):t._e()],2),t.otherSections.length>0?n("LearningPath",{attrs:{sections:t.otherSections}}):t._e()],1)],1)},u=[],m={state:{activeTutorialLink:null,activeVolume:null},reset(){this.state.activeTutorialLink=null,this.state.activeVolume=null},setActiveSidebarLink(t){this.state.activeTutorialLink=t},setActiveVolume(t){this.state.activeVolume=t}},d=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("NavBase",[n("NavTitleContainer",{attrs:{to:t.buildUrl(t.$route.path,t.$route.query)}},[n("template",{slot:"default"},[t._t("default")],2),n("template",{slot:"subhead"},[t._v("Tutorials")])],2),n("template",{slot:"menu-items"},[n("NavMenuItemBase",{staticClass:"in-page-navigation"},[n("TutorialsNavigation",{attrs:{sections:t.sections}})],1),t._t("menu-items")],2)],2)},p=[],h=n("cbcf"),v=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("nav",{staticClass:"tutorials-navigation"},[n("TutorialsNavigationList",t._l(t.sections,(function(e,i){return n("li",{key:e.name+"_"+i,class:t.sectionClasses(e)},[t.isVolume(e)?n(t.componentForVolume(e),t._b({tag:"component",on:{"select-menu":t.onSelectMenu,"deselect-menu":t.onDeselectMenu}},"component",t.propsForVolume(e),!1),t._l(e.chapters,(function(e){return n("li",{key:e.name},[n("TutorialsNavigationLink",[t._v(" "+t._s(e.name)+" ")])],1)})),0):t.isResources(e)?n("TutorialsNavigationLink",[t._v(" Resources ")]):t._e()],1)})),0)],1)},f=[],b=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("router-link",{staticClass:"tutorials-navigation-link",class:{active:t.active},attrs:{to:t.fragment},nativeOn:{click:function(e){return t.handleFocusAndScroll(t.fragment.hash)}}},[t._t("default")],2)},g=[],_=n("002d"),C=n("8a61"),y={name:"TutorialsNavigationLink",mixins:[C["a"]],inject:{store:{default:()=>({state:{}})}},data(){return{state:this.store.state}},computed:{active:({state:{activeTutorialLink:t},text:e})=>e===t,fragment:({text:t,$route:e})=>({hash:Object(_["a"])(t),query:e.query}),text:({$slots:{default:[{text:t}]}})=>t.trim()}},T=y,S=(n("6fb0"),n("2877")),V=Object(S["a"])(T,b,g,!1,null,"e9f9b59c",null),k=V.exports,I=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ol",{staticClass:"tutorials-navigation-list",attrs:{role:"list"}},[t._t("default")],2)},x=[],N={name:"TutorialsNavigationList"},O=N,j=(n("202a"),Object(S["a"])(O,I,x,!1,null,"6f2800d1",null)),w=j.exports,A=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tutorials-navigation-menu",class:{collapsed:t.collapsed}},[n("button",{staticClass:"toggle",attrs:{"aria-expanded":t.collapsed?"false":"true",type:"button"},on:{click:function(e){return e.stopPropagation(),t.onClick.apply(null,arguments)}}},[n("span",{staticClass:"text"},[t._v(t._s(t.title))]),n("InlineCloseIcon",{staticClass:"toggle-icon icon-inline"})],1),n("transition-expand",[t.collapsed?t._e():n("div",{staticClass:"tutorials-navigation-menu-content"},[n("TutorialsNavigationList",{attrs:{"aria-label":"Chapters"}},[t._t("default")],2)],1)])],1)},q=[],E=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("SVGIcon",{staticClass:"inline-close-icon",attrs:{viewBox:"0 0 14 14",themeId:"inline-close"}},[n("path",{attrs:{d:"M11.91 1l1.090 1.090-4.917 4.915 4.906 4.905-1.090 1.090-4.906-4.905-4.892 4.894-1.090-1.090 4.892-4.894-4.903-4.904 1.090-1.090 4.903 4.904z"}})])},$=[],L=n("be08"),M={name:"InlineCloseIcon",components:{SVGIcon:L["a"]}},D=M,F=Object(S["a"])(D,E,$,!1,null,null,null),R=F.exports,B={name:"TransitionExpand",functional:!0,render(t,e){const n={props:{name:"expand"},on:{afterEnter(t){t.style.height="auto"},enter(t){const{width:e}=getComputedStyle(t);t.style.width=e,t.style.position="absolute",t.style.visibility="hidden",t.style.height="auto";const{height:n}=getComputedStyle(t);t.style.width=null,t.style.position=null,t.style.visibility=null,t.style.height=0,getComputedStyle(t).height,requestAnimationFrame(()=>{t.style.height=n})},leave(t){const{height:e}=getComputedStyle(t);t.style.height=e,getComputedStyle(t).height,requestAnimationFrame(()=>{t.style.height=0})}}};return t("transition",n,e.children)}},G=B,z=(n("032c"),Object(S["a"])(G,i,a,!1,null,null,null)),P=z.exports,H={name:"TutorialsNavigationMenu",components:{InlineCloseIcon:R,TransitionExpand:P,TutorialsNavigationList:w},props:{collapsed:{type:Boolean,default:!0},title:{type:String,required:!0}},methods:{onClick(){this.collapsed?this.$emit("select-menu",this.title):this.$emit("deselect-menu")}}},K=H,U=(n("d647"),Object(S["a"])(K,A,q,!1,null,"6513d652",null)),Z=U.exports;const J={resources:"resources",volume:"volume"};var Q={name:"TutorialsNavigation",components:{TutorialsNavigationLink:k,TutorialsNavigationList:w,TutorialsNavigationMenu:Z},constants:{SectionKind:J},inject:{store:{default:()=>({setActiveVolume(){}})}},data(){return{state:this.store.state}},props:{sections:{type:Array,required:!0}},computed:{activeVolume:({state:t})=>t.activeVolume},methods:{sectionClasses(t){return{volume:this.isVolume(t),"volume--named":this.isNamedVolume(t),resource:this.isResources(t)}},componentForVolume:({name:t})=>t?Z:w,isResources:({kind:t})=>t===J.resources,isVolume:({kind:t})=>t===J.volume,activateFirstNamedVolume(){const{isNamedVolume:t,sections:e}=this,n=e.find(t);n&&this.store.setActiveVolume(n.name)},isNamedVolume(t){return this.isVolume(t)&&t.name},onDeselectMenu(){this.store.setActiveVolume(null)},onSelectMenu(t){this.store.setActiveVolume(t)},propsForVolume({name:t}){const{activeVolume:e}=this;return t?{collapsed:t!==e,title:t}:{"aria-label":"Chapters"}}},created(){this.activateFirstNamedVolume()}},W=Q,X=(n("095b"),Object(S["a"])(W,v,f,!1,null,"0cbd8adb",null)),Y=X.exports,tt=n("653a"),et=n("d26a"),nt=n("863d");const it={resources:"resources",volume:"volume"};var at={name:"Nav",constants:{SectionKind:it},components:{NavMenuItemBase:nt["a"],NavTitleContainer:tt["a"],TutorialsNavigation:Y,NavBase:h["a"]},props:{sections:{type:Array,require:!0}},methods:{buildUrl:et["b"]}},st=at,ot=(n("6211"),Object(S["a"])(st,d,p,!1,null,"1001350c",null)),rt=ot.exports,ct=n("bf08"),lt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"hero"},[n("div",{staticClass:"copy-container"},[n("h1",{staticClass:"title"},[t._v(t._s(t.title))]),t.content?n("ContentNode",{attrs:{content:t.content}}):t._e(),t.estimatedTime?n("p",{staticClass:"meta"},[n("TimerIcon"),n("span",{staticClass:"meta-content"},[n("strong",{staticClass:"time"},[t._v(t._s(t.estimatedTime))]),n("span",[t._v(" Estimated Time")])])],1):t._e(),t.action?n("CallToActionButton",{attrs:{action:t.action,"aria-label":t.action.overridingTitle+" with "+t.title,isDark:""}}):t._e()],1),t.image?n("Asset",{attrs:{identifier:t.image}}):t._e()],1)},ut=[],mt=n("80e4"),dt=n("c081"),pt=n("5677"),ht=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("SVGIcon",{staticClass:"timer-icon",attrs:{viewBox:"0 0 14 14",themeId:"timer"}},[n("path",{attrs:{d:"M7 0.5c3.59 0 6.5 2.91 6.5 6.5s-2.91 6.5-6.5 6.5c-3.59 0-6.5-2.91-6.5-6.5v0c0-3.59 2.91-6.5 6.5-6.5v0zM7 2c-2.761 0-5 2.239-5 5s2.239 5 5 5c2.761 0 5-2.239 5-5v0c0-2.761-2.239-5-5-5v0z"}}),n("path",{attrs:{d:"M6.51 3.51h1.5v3.5h-1.5v-3.5z"}}),n("path",{attrs:{d:"M6.51 7.010h4v1.5h-4v-1.5z"}})])},vt=[],ft={name:"TimerIcon",components:{SVGIcon:L["a"]}},bt=ft,gt=Object(S["a"])(bt,ht,vt,!1,null,null,null),_t=gt.exports,Ct={name:"Hero",components:{Asset:mt["a"],CallToActionButton:dt["a"],ContentNode:pt["default"],TimerIcon:_t},props:{action:{type:Object,required:!1},content:{type:Array,required:!1},estimatedTime:{type:String,required:!1},image:{type:String,required:!1},title:{type:String,required:!0}}},yt=Ct,Tt=(n("521e"),Object(S["a"])(yt,lt,ut,!1,null,"549fca98",null)),St=Tt.exports,Vt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"learning-path",class:t.classes},[n("div",{staticClass:"main-container"},[t.isTargetIDE?t._e():n("div",{staticClass:"secondary-content-container"},[n("TutorialsNavigation",{attrs:{sections:t.sections,"aria-label":"On this page"}})],1),n("div",{staticClass:"primary-content-container"},[n("div",{staticClass:"content-sections-container"},[t._l(t.volumes,(function(e,i){return n("Volume",t._b({key:"volume_"+i,staticClass:"content-section"},"Volume",t.propsFor(e),!1))})),t._l(t.otherSections,(function(e,i){return n(t.componentFor(e),t._b({key:"resource_"+i,tag:"component",staticClass:"content-section"},"component",t.propsFor(e),!1))}))],2)])])])},kt=[],It=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"resources",attrs:{id:"resources",tabindex:"-1"}},[n("VolumeName",{attrs:{name:"Resources",content:t.content}}),n("TileGroup",{attrs:{tiles:t.tiles}})],1)},xt=[],Nt=n("72e7");const Ot={topOneThird:"-30% 0% -70% 0%",center:"-50% 0% -50% 0%"};var jt={mixins:[Nt["a"]],computed:{intersectionRoot(){return null},intersectionRootMargin(){return Ot.center}},methods:{onIntersect(t){if(!t.isIntersecting)return;const e=this.onIntersectViewport;e?e():console.warn("onIntersectViewportCenter not implemented")}}},wt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"volume-name"},[t.image?n("Asset",{staticClass:"image",attrs:{identifier:t.image,"aria-hidden":"true"}}):t._e(),n("h2",{staticClass:"name"},[t._v(" "+t._s(t.name)+" ")]),t.content?n("ContentNode",{attrs:{content:t.content}}):t._e()],1)},At=[],qt={name:"VolumeName",components:{ContentNode:pt["default"],Asset:mt["a"]},props:{image:{type:String,required:!1},content:{type:Array,required:!1},name:{type:String,required:!1}}},Et=qt,$t=(n("ca4e"),Object(S["a"])(Et,wt,At,!1,null,"569db166",null)),Lt=$t.exports,Mt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tile-group",class:t.countClass},t._l(t.tiles,(function(e){return n("Tile",t._b({key:e.title},"Tile",t.propsFor(e),!1))})),1)},Dt=[],Ft=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tile"},[t.identifier?n("div",{staticClass:"icon"},[n(t.iconComponent,{tag:"component"})],1):t._e(),n("div",{staticClass:"title"},[t._v(t._s(t.title))]),n("ContentNode",{attrs:{content:t.content}}),t.action?n("DestinationDataProvider",{attrs:{destination:t.action},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.url,a=e.title;return n("Reference",{staticClass:"link",attrs:{url:i}},[t._v(" "+t._s(a)+" "),n("InlineChevronRightIcon",{staticClass:"link-icon icon-inline"})],1)}}],null,!1,3874201962)}):t._e()],1)},Rt=[],Bt=n("3b96"),Gt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("SVGIcon",{staticClass:"document-icon",attrs:{viewBox:"0 0 14 14",themeId:"document"}},[n("path",{attrs:{d:"M11.2,5.3,8,2l-.1-.1H2.8V12.1h8.5V6.3l-.1-1ZM8,3.2l2,2.1H8Zm2.4,8H3.6V2.8H7V6.3h3.4Z"}})])},zt=[],Pt={name:"DocumentIcon",components:{SVGIcon:L["a"]}},Ht=Pt,Kt=(n("3233"),Object(S["a"])(Ht,Gt,zt,!1,null,"3a80772b",null)),Ut=Kt.exports,Zt=n("de60"),Jt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("SVGIcon",{staticClass:"forum-icon",attrs:{viewBox:"0 0 14 14",themeId:"forum"}},[n("path",{attrs:{d:"M13 1v9h-7l-1.5 3-1.5-3h-2v-9zM12 2h-10v7h1.616l0.884 1.763 0.88-1.763h6.62z"}}),n("path",{attrs:{d:"M3 4h8.001v1h-8.001v-1z"}}),n("path",{attrs:{d:"M3 6h8.001v1h-8.001v-1z"}})])},Qt=[],Wt={name:"ForumIcon",components:{SVGIcon:L["a"]}},Xt=Wt,Yt=Object(S["a"])(Xt,Jt,Qt,!1,null,null,null),te=Yt.exports,ee=n("c4dd"),ne=n("86d8"),ie=n("34b0"),ae=n("c7ea");const se={documentation:"documentation",downloads:"downloads",featured:"featured",forums:"forums",sampleCode:"sampleCode",videos:"videos"};var oe={name:"Tile",constants:{Identifier:se},components:{DestinationDataProvider:ae["a"],InlineChevronRightIcon:ie["a"],ContentNode:pt["default"],CurlyBracketsIcon:Bt["a"],DocumentIcon:Ut,DownloadIcon:Zt["a"],ForumIcon:te,PlayIcon:ee["a"],Reference:ne["a"]},props:{action:{type:Object,required:!1},content:{type:Array,required:!0},identifier:{type:String,required:!1},title:{type:String,require:!0}},computed:{iconComponent:({identifier:t})=>({[se.documentation]:Ut,[se.downloads]:Zt["a"],[se.forums]:te,[se.sampleCode]:Bt["a"],[se.videos]:ee["a"]}[t])}},re=oe,ce=(n("6899"),Object(S["a"])(re,Ft,Rt,!1,null,"96abac22",null)),le=ce.exports,ue={name:"TileGroup",components:{Tile:le},props:{tiles:{type:Array,required:!0}},computed:{countClass:({tiles:t})=>"count-"+t.length},methods:{propsFor:({action:t,content:e,identifier:n,title:i})=>({action:t,content:e,identifier:n,title:i})}},me=ue,de=(n("f0ca"),Object(S["a"])(me,Mt,Dt,!1,null,"015f9f13",null)),pe=de.exports,he={name:"Resources",mixins:[jt],inject:{store:{default:()=>({setActiveSidebarLink(){},setActiveVolume(){}})}},components:{VolumeName:Lt,TileGroup:pe},computed:{intersectionRootMargin:()=>Ot.topOneThird},props:{content:{type:Array,required:!1},tiles:{type:Array,required:!0}},methods:{onIntersectViewport(){this.store.setActiveSidebarLink("Resources"),this.store.setActiveVolume(null)}}},ve=he,fe=(n("5668"),Object(S["a"])(ve,It,xt,!1,null,"49ba6f62",null)),be=fe.exports,ge=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"volume"},[t.name?n("VolumeName",t._b({},"VolumeName",{name:t.name,image:t.image,content:t.content},!1)):t._e(),t._l(t.chapters,(function(e,i){return n("Chapter",{key:e.name,staticClass:"tile",attrs:{content:e.content,image:e.image,name:e.name,number:i+1,topics:t.lookupTopics(e.tutorials),volumeHasName:!!t.name}})}))],2)},_e=[],Ce=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"chapter",attrs:{id:t.anchor,tabindex:"-1"}},[n("div",{staticClass:"info"},[n("Asset",{attrs:{identifier:t.image,"aria-hidden":"true"}}),n("div",{staticClass:"intro"},[n(t.volumeHasName?"h3":"h2",{tag:"component",staticClass:"name",attrs:{"aria-label":t.name+" - Chapter "+t.number}},[n("span",{staticClass:"eyebrow",attrs:{"aria-hidden":"true"}},[t._v("Chapter "+t._s(t.number))]),n("span",{staticClass:"name-text",attrs:{"aria-hidden":"true"}},[t._v(t._s(t.name))])]),t.content?n("ContentNode",{attrs:{content:t.content}}):t._e()],1)],1),n("TopicList",{attrs:{topics:t.topics}})],1)},ye=[],Te=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ol",{staticClass:"topic-list"},t._l(t.topics,(function(e){return n("li",{key:e.url,staticClass:"topic",class:[t.kindClassFor(e),{"no-time-estimate":!e.estimatedTime}]},[n("div",{staticClass:"topic-icon"},[n(t.iconComponent(e),{tag:"component"})],1),n("router-link",{staticClass:"container",attrs:{to:t.buildUrl(e.url,t.$route.query),"aria-label":t.ariaLabelFor(e)}},[n("div",{staticClass:"link"},[t._v(t._s(e.title))]),e.estimatedTime?n("div",{staticClass:"time"},[n("TimerIcon"),n("span",{staticClass:"time-label"},[t._v(t._s(e.estimatedTime))])],1):t._e()])],1)})),0)},Se=[],Ve=n("a9f1"),ke=n("8d2d");const Ie={article:"article",tutorial:"project"},xe={article:"article",tutorial:"tutorial"},Ne={[Ie.article]:"Article",[Ie.tutorial]:"Tutorial"};var Oe={name:"ChapterTopicList",components:{TimerIcon:_t},constants:{TopicKind:Ie,TopicKindClass:xe,TopicKindIconLabel:Ne},props:{topics:{type:Array,required:!0}},methods:{buildUrl:et["b"],iconComponent:({kind:t})=>({[Ie.article]:Ve["a"],[Ie.tutorial]:ke["a"]}[t]),kindClassFor:({kind:t})=>({[Ie.article]:xe.article,[Ie.tutorial]:xe.tutorial}[t]),formatTime:t=>t.replace("min"," minutes").replace("hrs"," hours"),ariaLabelFor({title:t,estimatedTime:e,kind:n}){const i=[t,Ne[n]];return e&&i.push(this.formatTime(e)+" Estimated Time"),i.join(" - ")}}},je=Oe,we=(n("1cc5"),Object(S["a"])(je,Te,Se,!1,null,"da979188",null)),Ae=we.exports,qe={name:"Chapter",mixins:[jt],inject:{store:{default:()=>({setActiveSidebarLink(){},setActiveVolume(){}})}},components:{Asset:mt["a"],ContentNode:pt["default"],TopicList:Ae},props:{content:{type:Array,required:!1},image:{type:String,required:!0},name:{type:String,required:!0},number:{type:Number,required:!0},topics:{type:Array,required:!0},volumeHasName:{type:Boolean,default:!1}},computed:{anchor:({name:t})=>Object(_["a"])(t),intersectionRootMargin:()=>Ot.topOneThird},methods:{onIntersectViewport(){this.store.setActiveSidebarLink(this.name),this.volumeHasName||this.store.setActiveVolume(null)}}},Ee=qe,$e=(n("97b7"),Object(S["a"])(Ee,Ce,ye,!1,null,"512b66f6",null)),Le=$e.exports,Me={name:"Volume",mixins:[jt],components:{VolumeName:Lt,Chapter:Le},computed:{intersectionRootMargin:()=>Ot.topOneThird},inject:{references:{default:()=>({})},store:{default:()=>({setActiveVolume(){}})}},props:{chapters:{type:Array,required:!0},content:{type:Array,required:!1},image:{type:String,required:!1},name:{type:String,required:!1}},methods:{lookupTopics(t){return t.reduce((t,e)=>t.concat(this.references[e]||[]),[])},onIntersectViewport(){this.name&&this.store.setActiveVolume(this.name)}}},De=Me,Fe=(n("0431"),Object(S["a"])(De,ge,_e,!1,null,"2d1dbe98",null)),Re=Fe.exports;const Be={resources:"resources",volume:"volume"};var Ge={name:"LearningPath",components:{Resources:be,TutorialsNavigation:Y,Volume:Re},constants:{SectionKind:Be},inject:{isTargetIDE:{default:!1}},props:{sections:{type:Array,required:!0,validator:t=>t.every(t=>Object.prototype.hasOwnProperty.call(Be,t.kind))}},computed:{classes:({isTargetIDE:t})=>({ide:t}),partitionedSections:({sections:t})=>t.reduce(([t,e],n)=>n.kind===Be.volume?[t.concat(n),e]:[t,e.concat(n)],[[],[]]),volumes:({partitionedSections:t})=>t[0],otherSections:({partitionedSections:t})=>t[1]},methods:{componentFor:({kind:t})=>({[Be.resources]:be,[Be.volume]:Re}[t]),propsFor:({chapters:t,content:e,image:n,kind:i,name:a,tiles:s})=>({[Be.resources]:{content:e,tiles:s},[Be.volume]:{chapters:t,content:e,image:n,name:a}}[i])}},ze=Ge,Pe=(n("f68c"),Object(S["a"])(ze,Vt,kt,!1,null,"18755bc2",null)),He=Pe.exports;const Ke={hero:"hero",resources:"resources",volume:"volume"};var Ue={name:"TutorialsOverview",components:{Hero:St,LearningPath:He,Nav:rt},mixins:[ct["a"]],constants:{SectionKind:Ke},inject:{isTargetIDE:{default:!1}},props:{metadata:{type:Object,default:()=>({})},references:{type:Object,default:()=>({})},sections:{type:Array,default:()=>[],validator:t=>t.every(t=>Object.prototype.hasOwnProperty.call(Ke,t.kind))}},computed:{pageTitle:({title:t})=>[t,"Tutorials"].filter(Boolean).join(" "),pageDescription:({heroSection:t,extractFirstParagraphText:e})=>t?e(t.content):null,partitionedSections:({sections:t})=>t.reduce(([t,e],n)=>n.kind===Ke.hero?[t.concat(n),e]:[t,e.concat(n)],[[],[]]),heroSections:({partitionedSections:t})=>t[0],otherSections:({partitionedSections:t})=>t[1],heroSection:({heroSections:t})=>t[0],store:()=>m,title:({metadata:{category:t=""}})=>t},provide(){return{references:this.references,store:this.store}},created(){this.store.reset()}},Ze=Ue,Je=(n("b347"),Object(S["a"])(Ze,l,u,!1,null,"2d1816cc",null)),Qe=Je.exports,We=n("146e"),Xe={name:"TutorialsOverview",components:{Overview:Qe},mixins:[c["a"],We["a"]],data(){return{topicData:null}},computed:{overviewProps:({topicData:{metadata:t,references:e,sections:n}})=>({metadata:t,references:e,sections:n}),topicKey:({$route:t,topicData:e})=>[t.path,e.identifier.interfaceLanguage].join()},beforeRouteEnter(t,e,n){t.meta.skipFetchingData?n(t=>t.newContentMounted()):Object(r["b"])(t,e,n).then(t=>n(e=>{e.topicData=t})).catch(n)},beforeRouteUpdate(t,e,n){Object(r["d"])(t,e)?Object(r["b"])(t,e,n).then(t=>{this.topicData=t,n()}).catch(n):n()},mounted(){this.$bridge.on("contentUpdate",this.handleContentUpdateFromBridge)},beforeDestroy(){this.$bridge.off("contentUpdate",this.handleContentUpdateFromBridge)},watch:{topicData(){this.$nextTick(()=>{this.newContentMounted()})}}},Ye=Xe,tn=Object(S["a"])(Ye,s,o,!1,null,null,null);e["default"]=tn.exports},f0ca:function(t,e,n){"use strict";n("8f86")},f1e6:function(t,e,n){"use strict";n("a0d4")},f68c:function(t,e,n){"use strict";n("2c95")}}]); \ No newline at end of file diff --git a/docs/metadata.json b/docs/metadata.json index 5847014..3bbdf6b 100644 --- a/docs/metadata.json +++ b/docs/metadata.json @@ -1 +1 @@ -{"bundleDisplayName":"Deeplink","bundleIdentifier":"Deeplink","schemaVersion":{"major":0,"minor":1,"patch":0}} \ No newline at end of file +{"bundleDisplayName":"Deeplink","bundleIdentifier":"Deeplink","schemaVersion":{"minor":1,"patch":0,"major":0}} \ No newline at end of file diff --git a/docs/tutorials/deeplink/adding-a-deeplink/index.html b/docs/tutorials/deeplink/adding-a-deeplink/index.html index ee36947..1c0adb7 100644 --- a/docs/tutorials/deeplink/adding-a-deeplink/index.html +++ b/docs/tutorials/deeplink/adding-a-deeplink/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/tutorials/deeplink/advanced-usage/index.html b/docs/tutorials/deeplink/advanced-usage/index.html index ee36947..1c0adb7 100644 --- a/docs/tutorials/deeplink/advanced-usage/index.html +++ b/docs/tutorials/deeplink/advanced-usage/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/tutorials/deeplink/using-a-resultbuilder/index.html b/docs/tutorials/deeplink/using-a-resultbuilder/index.html index ee36947..1c0adb7 100644 --- a/docs/tutorials/deeplink/using-a-resultbuilder/index.html +++ b/docs/tutorials/deeplink/using-a-resultbuilder/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/tutorials/table-of-contents/index.html b/docs/tutorials/table-of-contents/index.html index ee36947..1c0adb7 100644 --- a/docs/tutorials/table-of-contents/index.html +++ b/docs/tutorials/table-of-contents/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file