10 lines
85 KiB
JavaScript
10 lines
85 KiB
JavaScript
/*!
|
||
* 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"],{"0180":function(e,t,n){"use strict";n("8088")},"03dc":function(e,t,n){},"042f":function(e,t,n){},"0573":function(e,t,n){},"09db":function(e,t,n){"use strict";n("535f")},"0b72":function(e,t,n){},"0d16":function(e,t,n){"use strict";n("10da")},"10da":function(e,t,n){},"179d":function(e,t,n){"use strict";n("90de")},"1a47":function(e,t,n){"use strict";n("042f")},"1d1c":function(e,t,n){"use strict";n("57e3")},"1eff":function(e,t,n){"use strict";n("82d0")},"22f6":function(e,t,n){},"243c":function(e,t,n){"use strict";n("7010")},2521:function(e,t,n){},"252a":function(e,t,n){"use strict";n("8fed")},2822:function(e,t,n){"use strict";n("2521")},2995:function(e,t,n){"use strict";n("8498")},"2f04":function(e,t,n){},"2f87":function(e,t,n){"use strict";n("b0a0")},"374e":function(e,t,n){"use strict";n("0b72")},3825:function(e,t,n){},"395c":function(e,t,n){},"3b96":function(e,t,n){"use strict";var a=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"}},[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=[],s=n("be08"),i={name:"CurlyBracketsIcon",components:{SVGIcon:s["a"]}},o=i,c=n("2877"),l=Object(c["a"])(o,a,r,!1,null,null,null);t["a"]=l.exports},"3d27":function(e,t,n){"use strict";n("8a0a")},"3dca":function(e,t,n){"use strict";n("395c")},4340:function(e,t,n){"use strict";n("a378")},4966:function(e,t,n){"use strict";n("d1af")},"51be":function(e,t,n){},5245:function(e,t,n){"use strict";n("c47b")},"535f":function(e,t,n){},"54bb":function(e,t,n){"use strict";n("e2d5")},"57e3":function(e,t,n){},"61ca":function(e,t,n){"use strict";n("82be")},"64fc":function(e,t,n){},"66c9":function(e,t,n){"use strict";t["a"]={state:{codeColors:null},reset(){this.state.codeColors=null},updateCodeColors(e){const t=e=>e?`rgba(${e.red}, ${e.green}, ${e.blue}, ${e.alpha})`:null;this.state.codeColors=Object.entries(e).reduce((e,[n,a])=>({...e,[n]:t(a)}),{})}}},"67dc":function(e,t,n){"use strict";n("ba38")},"6c70":function(e,t,n){},"6e90":function(e,t,n){},7010:function(e,t,n){},"719b":function(e,t,n){"use strict";n("8b3c")},"76d4":function(e,t,n){"use strict";n("9b11")},"78d5":function(e,t,n){"use strict";n("c9f3")},8088:function(e,t,n){},"812f":function(e,t,n){"use strict";n("a396")},"813b":function(e,t,n){"use strict";n("0573")},"82be":function(e,t,n){},"82d0":function(e,t,n){},"83f0":function(e,t,n){},8427:function(e,t,n){},8498:function(e,t,n){},8590:function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{style:e.codeStyle},[e._t("default")],2)},r=[],s=n("66c9");const i=0,o=255;function c(e){const t=e.match(/rgba\((\d+),\s*(\d+),\s*(\d+),\s*(\d+\.?\d*|\.\d+)\s*\)/);if(!t)throw new Error("invalid rgba() input");const n=10;return{r:parseInt(t[1],n),g:parseInt(t[2],n),b:parseInt(t[3],n),a:parseFloat(t[4])}}function l(e){const{r:t,g:n,b:a}=c(e);return.2126*t+.7152*n+.0722*a}function u(e,t){const n=Math.round(o*t),a=c(e),{a:r}=a,[s,l,u]=[a.r,a.g,a.b].map(e=>Math.max(i,Math.min(o,e+n)));return`rgba(${s}, ${l}, ${u}, ${r})`}function d(e,t){return u(e,t)}function p(e,t){return u(e,-1*t)}var h={name:"CodeTheme",data(){return{codeThemeState:s["a"].state}},computed:{codeStyle(){const{codeColors:e}=this.codeThemeState;return e?{"--text":e.text,"--background":e.background,"--line-highlight":e.lineHighlight,"--url":e.commentURL,"--syntax-comment":e.comment,"--syntax-quote":e.comment,"--syntax-keyword":e.keyword,"--syntax-literal":e.keyword,"--syntax-selector-tag":e.keyword,"--syntax-string":e.stringLiteral,"--syntax-bullet":e.stringLiteral,"--syntax-meta":e.keyword,"--syntax-number":e.stringLiteral,"--syntax-symbol":e.stringLiteral,"--syntax-tag":e.stringLiteral,"--syntax-attr":e.typeAnnotation,"--syntax-built_in":e.typeAnnotation,"--syntax-builtin-name":e.typeAnnotation,"--syntax-class":e.typeAnnotation,"--syntax-params":e.typeAnnotation,"--syntax-section":e.typeAnnotation,"--syntax-title":e.typeAnnotation,"--syntax-type":e.typeAnnotation,"--syntax-attribute":e.keyword,"--syntax-identifier":e.text,"--syntax-subst":e.text,"--color-syntax-param-internal-name":this.internalParamNameColor}:null},internalParamNameColor(){const{background:e,text:t}=this.codeThemeState.codeColors;try{const n=l(e),a=n<o/2?p:d,r=.25;return a(t,r)}catch{return t}}}},m=h,f=n("2877"),y=Object(f["a"])(m,a,r,!1,null,null,null);t["a"]=y.exports},"85b8":function(e,t,n){"use strict";n("a5b9")},"863d":function(e,t,n){"use strict";var a=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=[],s={name:"NavMenuItemBase",props:{animate:{type:Boolean,default:!0}}},i=s,o=(n("ba07"),n("2877")),c=Object(o["a"])(i,a,r,!1,null,"f44c239a",null);t["a"]=c.exports},"8a0a":function(e,t,n){},"8b3c":function(e,t,n){},"8c8d":function(e,t,n){"use strict";n("51be")},"8d2d":function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"tutorial-icon",attrs:{viewBox:"0 0 14 14"}},[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=[],s=n("be08"),i={name:"TutorialIcon",components:{SVGIcon:s["a"]}},o=i,c=n("2877"),l=Object(c["a"])(o,a,r,!1,null,null,null);t["a"]=l.exports},"8fed":function(e,t,n){},"90de":function(e,t,n){},"918a":function(e,t,n){"use strict";n("a2b5")},"930d":function(e,t,n){},"97c4":function(e,t,n){},"98af":function(e,t,n){"use strict";n("8427")},"99a2":function(e,t,n){"use strict";n("930d")},"9b11":function(e,t,n){},"9cb2":function(e,t,n){"use strict";n("a4b9")},"9dff":function(e,t,n){},a2b5:function(e,t,n){},a378:function(e,t,n){},a396:function(e,t,n){},a4b9:function(e,t,n){},a5b9:function(e,t,n){},a705:function(e,t,n){"use strict";n("6e90")},a91f:function(e,t,n){"use strict";n("6c70")},a9f1:function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"article-icon",attrs:{viewBox:"0 0 14 14"}},[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=[],s=n("be08"),i={name:"ArticleIcon",components:{SVGIcon:s["a"]}},o=i,c=n("2877"),l=Object(c["a"])(o,a,r,!1,null,null,null);t["a"]=l.exports},aa1d:function(e,t,n){},b0a0:function(e,t,n){},b1e0:function(e,t,n){"use strict";n("3825")},b876:function(e,t,n){},ba07:function(e,t,n){"use strict";n("64fc")},ba38:function(e,t,n){},bc10:function(e,t,n){"use strict";n("03dc")},c18a:function(e,t,n){"use strict";n("97c4")},c292:function(e,t,n){"use strict";n("df3b")},c36f:function(e,t,n){"use strict";n("f8bd")},c47b:function(e,t,n){},c9f3:function(e,t,n){},d1af:function(e,t,n){},d85c:function(e,t,n){"use strict";n("e380")},dcf6:function(e,t,n){"use strict";n("2f04")},df3b:function(e,t,n){},e2d5:function(e,t,n){},e335:function(e,t,n){"use strict";n("9dff")},e380:function(e,t,n){},f5b1:function(e,t,n){},f6d7:function(e,t,n){"use strict";n("aa1d")},f7c0:function(e,t,n){"use strict";n("22f6")},f8ac: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("CodeTheme",[e.topicData?n("Topic",e._b({key:e.topicKey},"Topic",e.topicProps,!1)):e._e()],1)},r=[];const s="/";function i(e){return e.replace(/~[0,1]/g,e=>({"~0":"~","~1":"/"}[e]||e))}function*o(e){const t=1;if(e.length<t||e.charAt(0)!==s)return;let n="",a=t;while(a<e.length){const t=e.charAt(a);t===s?(yield i(n),n=""):n+=t,a+=1}yield i(n)}const c=10,l="-",u="object";class d extends Error{constructor(e){super("invalid pointer "+e),this.pointer=e}}function p(e,{length:t}){if(e===l)return t||0;const n=parseInt(e,c);if(!Number.isInteger(n)||n>t)throw new Error("invalid array index "+e);return n}function*h(e,t,n={strict:!1}){let a=e;for(const r of o(t)){if(n.strict&&!Object.prototype.hasOwnProperty.call(a,r))throw new d(t);a=a[r],yield{node:a,token:r}}}function m(e,t){let n=e;for(const{node:a}of h(e,t,{strict:!0}))n=a;return n}function f(e,t,n){let a=null,r=e,s=null;for(const{node:o,token:c}of h(e,t))a=r,r=o,s=c;if(!a)throw new d(t);if(Array.isArray(a))try{const e=p(s,a);a.splice(e,0,n)}catch(i){throw new d(t)}else Object.assign(a,{[s]:n});return e}function y(e,t){let n=null,a=e,r=null;for(const{node:i,token:o}of h(e,t))n=a,a=i,r=o;if(!n)throw new d(t);if(Array.isArray(n))try{const e=p(r,n);n.splice(e,1)}catch(s){throw new d(t)}else{if(!a)throw new d(t);delete n[r]}return e}function g(e,t,n){return y(e,t),f(e,t,n),e}function b(e,t,n){const a=m(e,t);return y(e,t),f(e,n,a),e}function v(e,t,n){return f(e,n,m(e,t)),e}function C(e,t,n){function a(e,t){const n=typeof e,r=typeof t;if(n!==r)return!1;switch(n){case u:{const n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every((n,s)=>n===r[s]&&a(e[n],t[n]))}default:return e===t}}const r=m(e,t);if(!a(n,r))throw new Error("test failed");return e}const _={add:(e,{path:t,value:n})=>f(e,t,n),copy:(e,{from:t,path:n})=>v(e,t,n),move:(e,{from:t,path:n})=>b(e,t,n),remove:(e,{path:t})=>y(e,t),replace:(e,{path:t,value:n})=>g(e,t,n),test:(e,{path:t,value:n})=>C(e,t,n)};function T(e,{op:t,...n}){const a=_[t];if(!a)throw new Error("unknown operation");return a(e,n)}function k(e,t){return t.reduce(T,e)}var S=n("25a9"),x=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"doc-topic"},[e.isTargetIDE?e._e():n("Nav",{attrs:{title:e.title,diffAvailability:e.diffAvailability,interfaceLanguage:e.interfaceLanguage,objcPath:e.objcPath,swiftPath:e.swiftPath,parentTopicIdentifiers:e.parentTopicIdentifiers,isSymbolDeprecated:e.isSymbolDeprecated,isSymbolBeta:e.isSymbolBeta,currentTopicTags:e.tags}}),n("main",{staticClass:"main",attrs:{id:"main",role:"main",tabindex:"0"}},[e._t("above-title"),n("Title",{attrs:{eyebrow:e.roleHeading}},[e._v(e._s(e.title))]),n("div",{staticClass:"container content-grid",class:{"full-width":e.hideSummary}},[n("Description",{attrs:{hasOverview:e.hasOverview}},[e.abstract?n("Abstract",{attrs:{content:e.abstract}}):e._e(),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(),e.sampleCodeDownload?n("DownloadButton",{attrs:{action:e.sampleCodeDownload.action}}):e._e()],1),e.hideSummary?e._e():n("Summary",[e.shouldShowLanguageSwitcher?n("LanguageSwitcher",{attrs:{interfaceLanguage:e.interfaceLanguage,objcPath:e.objcPath,swiftPath:e.swiftPath}}):e._e(),e.platforms?n("Availability",{attrs:{platforms:e.platforms}}):e._e(),e.modules?n("TechnologyList",{attrs:{technologies:e.modules}}):e._e(),e.extendsTechnology?n("TechnologyList",{staticClass:"extends-technology",attrs:{title:"Extends",technologies:[{name:e.extendsTechnology}]}}):e._e(),e.onThisPageSections.length>1?n("OnThisPageNav",{attrs:{sections:e.onThisPageSections}}):e._e()],1),e.primaryContentSections&&e.primaryContentSections.length?n("PrimaryContent",{attrs:{conformance:e.conformance,sections:e.primaryContentSections}}):e._e()],1),e.topicSections?n("Topics",{attrs:{sections:e.topicSections,isSymbolDeprecated:e.isSymbolDeprecated,isSymbolBeta:e.isSymbolBeta}}):e._e(),e.defaultImplementationsSections?n("DefaultImplementations",{attrs:{sections:e.defaultImplementationsSections,isSymbolDeprecated:e.isSymbolDeprecated,isSymbolBeta:e.isSymbolBeta}}):e._e(),e.relationshipsSections?n("Relationships",{attrs:{sections:e.relationshipsSections}}):e._e(),e.seeAlsoSections?n("SeeAlso",{attrs:{sections:e.seeAlsoSections}}):e._e(),!e.isTargetIDE&&e.hasBetaContent?n("BetaLegalText"):e._e()],2)],1)},O=[],j=n("8649"),P=n("d8ce"),A=n("6842"),B=n("e3ab"),w=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,hasFullWidthBorder:"","aria-label":"API Reference"}},[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:"tray"},[n("Hierarchy",{attrs:{currentTopicTitle:e.title,isSymbolDeprecated:e.isSymbolDeprecated,isSymbolBeta:e.isSymbolBeta,parentTopicIdentifiers:e.hierarchyItems,currentTopicTags:e.currentTopicTags}}),e._t("tray-after",null,null,{breadcrumbCount:e.breadcrumbCount})],2),n("template",{slot:"after-content"},[e._t("after-content")],2)],2)},q=[],D=n("cbcf"),I=n("63b8"),L=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._l(e.collapsibleItems,(function(t){return n("HierarchyItem",{key:t.title,attrs:{isCollapsed:e.shouldCollapseItems,url:e.addQueryParamsToUrl(t.url)}},[e._v(" "+e._s(t.title)+" ")])})),e.shouldCollapseItems?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)},$=[],E=n("d26a"),M=n("9b30"),R=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)},N=[];const V={beta:"Beta",deprecated:"Deprecated"};var H={name:"Badge",props:{variant:{type:String,default:()=>""}},computed:{text:({variant:e})=>V[e]}},z=H,W=(n("3d27"),n("2877")),G=Object(W["a"])(z,R,N,!1,null,"2bfc9463",null),K=G.exports,F=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{staticClass:"hierarchy-collapsed-items"},[n("InlineChevronRightIcon",{staticClass:"hierarchy-item-icon icon-inline"}),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)],1)},U=[],Q=n("34b0"),J=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"ellipsis-icon",attrs:{viewBox:"0 0 14 14"}},[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"}})])},X=[],Y=n("be08"),Z={name:"EllipsisIcon",components:{SVGIcon:Y["a"]}},ee=Z,te=Object(W["a"])(ee,J,X,!1,null,null,null),ne=te.exports,ae={name:"HierarchyCollapsedItems",components:{EllipsisIcon:ne,InlineChevronRightIcon:Q["a"]},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(E["b"])(t.url,e.query)}))},methods:{handleDocumentClick(e){const{target:t}=e,{collapsed:n,$refs:{btn:a,dropdown:r}}=this,s=!a.contains(t)&&!r.contains(t);!n&&s&&(this.collapsed=!0)},toggleCollapsed(){this.collapsed=!this.collapsed}}},re=ae,se=(n("78d5"),Object(W["a"])(re,F,U,!1,null,"45c48d1a",null)),ie=se.exports,oe=function(e,t){var n=t._c;return n(t.$options.components.NavMenuItemBase,{tag:"component",staticClass:"hierarchy-item",class:{collapsed:t.props.isCollapsed}},[n(t.$options.components.InlineChevronRightIcon,{tag:"component",staticClass:"hierarchy-item-icon icon-inline"}),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)},ce=[],le=n("863d"),ue={name:"HierarchyItem",components:{NavMenuItemBase:le["a"],InlineChevronRightIcon:Q["a"]},props:{isCollapsed:Boolean,url:{type:String,required:!1}}},de=ue,pe=(n("252a"),Object(W["a"])(de,oe,ce,!0,null,"57182fdb",null)),he=pe.exports;const me=3;var fe={name:"Hierarchy",components:{Badge:K,NavMenuItems:M["a"],HierarchyCollapsedItems:ie,HierarchyItem:he},inject:{references:{default:()=>({})}},props:{isSymbolDeprecated:Boolean,isSymbolBeta:Boolean,currentTopicTitle:{type:String,required:!0},parentTopicIdentifiers:{type:Array,default:()=>[]},currentTopicTags:{type:Array,default:()=>[]}},computed:{parentTopics(){return this.parentTopicIdentifiers.map(e=>{const{title:t,url:n}=this.references[e];return{title:t,url:n}})},shouldCollapseItems(){return this.parentTopics.length+1>me},collapsibleItems:({parentTopics:e})=>e.slice(0,-1),nonCollapsibleItems:({parentTopics:e})=>e.slice(-1),hasBadge:({isSymbolDeprecated:e,isSymbolBeta:t,currentTopicTags:n})=>e||t||n.length},methods:{addQueryParamsToUrl(e){return Object(E["b"])(e,this.$route.query)}}},ye=fe,ge=(n("b1e0"),Object(W["a"])(ye,L,$,!1,null,"20e91056",null)),be=ge.exports,ve={name:"DocumentationNav",components:{NavBase:D["a"],Hierarchy:be},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}},inject:{references:{default:()=>({})}},computed:{BreakpointName:()=>I["a"],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}},Ce=ve,_e=(n("243c"),Object(W["a"])(Ce,w,q,!1,null,"324c15b2",null)),Te=_e.exports,ke=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:8,medium:8,small:12},isCentered:{large:!0,medium:!0,small:!0}}},[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)])},Se=[],xe=n("0f00"),Oe=n("620a"),je={name:"BetaLegalText",components:{GridColumn:Oe["a"],GridRow:xe["a"]}},Pe=je,Ae=(n("99a2"),Object(W["a"])(Pe,ke,Se,!1,null,"4edf30f4",null)),Be=Ae.exports,we=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("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)},qe=[],De=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)},Ie=[],Le={name:"LanguageSwitcherLink",props:{url:[String,Object]}},$e=Le,Ee=Object(W["a"])($e,De,Ie,!1,null,null,null),Me=Ee.exports,Re=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"summary-section"},[e._t("default")],2)},Ne=[],Ve={name:"Section"},He=Ve,ze=(n("c292"),Object(W["a"])(He,Re,Ne,!1,null,"6185a550",null)),We=ze.exports,Ge=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("p",{staticClass:"title"},[e._t("default")],2)},Ke=[],Fe={name:"Title"},Ue=Fe,Qe=(n("4966"),Object(W["a"])(Ue,Ge,Ke,!1,null,"b903be56",null)),Je=Qe.exports,Xe={name:"LanguageSwitcher",components:{LanguageSwitcherLink:Me,Section:We,Title:Je},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:a}})=>({...j["a"].objectiveC,active:j["a"].objectiveC.key.api===e,url:Object(E["b"])(t(n),{...a,language:j["a"].objectiveC.key.url})}),swift:({interfaceLanguage:e,normalizePath:t,swiftPath:n,$route:{query:a}})=>({...j["a"].swift,active:j["a"].swift.key.api===e,url:Object(E["b"])(t(n),{...a,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}}},Ye=Xe,Ze=(n("0180"),Object(W["a"])(Ye,we,qe,!1,null,"0836085b",null)),et=Ze.exports,tt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ContentNode",e._b({staticClass:"abstract"},"ContentNode",e.$props,!1))},nt=[],at=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("BaseContentNode",e._b({},"BaseContentNode",e.$props,!1))},rt=[],st=n("5677"),it={name:"ContentNode",components:{BaseContentNode:st["a"]},props:st["a"].props,methods:st["a"].methods,BlockType:st["a"].BlockType,InlineType:st["a"].InlineType},ot=it,ct=(n("c18a"),Object(W["a"])(ot,at,rt,!1,null,"002affcc",null)),lt=ct.exports,ut={name:"Abstract",components:{ContentNode:lt},props:lt.props},dt=ut,pt=(n("374e"),Object(W["a"])(dt,tt,nt,!1,null,"702ec04e",null)),ht=pt.exports,mt=n("c081"),ft=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("TopicsTable",{attrs:{anchor:"default-implementations",title:"Default Implementations",isSymbolDeprecated:e.isSymbolDeprecated,isSymbolBeta:e.isSymbolBeta,sections:e.sections,wrapTitle:!0}})},yt=[],gt=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){return n("ContentTableSection",{key:t.title,attrs:{title:t.title}},[e.wrapTitle?n("template",{slot:"title"},[n("WordBreak",{staticClass:"title",attrs:{tag:"h3"}},[e._v(" "+e._s(t.title)+" ")])],1):e._e(),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._l(t.topics,(function(t){return n("TopicsLinkBlock",{key:t.identifier,staticClass:"topic",attrs:{topic:t,isSymbolDeprecated:e.isSymbolDeprecated,isSymbolBeta:e.isSymbolBeta}})}))],2)})),1)},bt=[],vt=n("7b1f"),Ct=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("OnThisPageSection",{staticClass:"contenttable alt-light",attrs:{anchor:e.anchor,title:e.title}},[n("div",{staticClass:"container"},[n("h2",{staticClass:"title"},[e._v(e._s(e.title))]),e._t("default")],2)])},_t=[],Tt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{attrs:{id:e.anchor}},[e._t("default")],2)},kt=[],St={name:"OnThisPageSection",inject:{store:{default(){return{addOnThisPageSection(){}}}}},props:{anchor:{type:String,required:!0},title:{type:String,required:!0}},created(){this.store.addOnThisPageSection({anchor:this.anchor,title:this.title})}},xt=St,Ot=Object(W["a"])(xt,Tt,kt,!1,null,null,null),jt=Ot.exports,Pt={name:"ContentTable",components:{OnThisPageSection:jt},props:{anchor:{type:String,required:!0},title:{type:String,required:!0}}},At=Pt,Bt=(n("61ca"),Object(W["a"])(At,Ct,_t,!1,null,"1a780186",null)),wt=Bt.exports,qt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Row",{staticClass:"contenttable-section"},[n("Column",{staticClass:"section-title",attrs:{span:e.span.title}},[e._t("title",(function(){return[n("h3",{staticClass:"title"},[e._v(e._s(e.title))])]}))],2),n("Column",{staticClass:"section-content",attrs:{span:e.span.content}},[e._t("abstract"),e._t("discussion"),e._t("default")],2)],1)},Dt=[],It={name:"ContentTableSection",components:{Column:Oe["a"],Row:xe["a"]},props:{title:{type:String,required:!0}},computed:{span(){return{title:{large:3,medium:3,small:12},content:{large:9,medium:9,small:12}}}}},Lt=It,$t=(n("813b"),Object(W["a"])(Lt,qt,Dt,!1,null,"bedf02be",null)),Et=$t.exports,Mt=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?n("TopicLinkBlockIcon",{attrs:{role:e.topic.role}}):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)},Rt=[],Nt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.icon?n("div",{staticClass:"topic-icon-wrapper"},[n(e.icon,{tag:"component",staticClass:"topic-icon"})],1):e._e()},Vt=[],Ht=n("a9f1"),zt=n("3b96"),Wt=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"}},[n("title",[e._v("API Reference")]),n("path",{attrs:{d:"M13 1v12h-12v-12zM12 2h-10v10h10z"}}),n("path",{attrs:{d:"M3 4h8v1h-8z"}}),n("path",{attrs:{d:"M3 6.5h8v1h-8z"}}),n("path",{attrs:{d:"M3 9h8v1h-8z"}})])},Gt=[],Kt={name:"APIReferenceIcon",components:{SVGIcon:Y["a"]}},Ft=Kt,Ut=Object(W["a"])(Ft,Wt,Gt,!1,null,null,null),Qt=Ut.exports,Jt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{attrs:{viewBox:"0 0 14 14"}},[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"}})])},Xt=[],Yt={name:"EndpointIcon",components:{SVGIcon:Y["a"]}},Zt=Yt,en=Object(W["a"])(Zt,Jt,Xt,!1,null,null,null),tn=en.exports,nn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{attrs:{viewBox:"0 0 14 14"}},[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"}})])},an=[],rn={name:"PathIcon",components:{SVGIcon:Y["a"]}},sn=rn,on=Object(W["a"])(sn,nn,an,!1,null,null,null),cn=on.exports,ln=n("8d2d"),un=n("66cd");const dn={[un["a"].article]:Ht["a"],[un["a"].collectionGroup]:Qt,[un["a"].learn]:cn,[un["a"].overview]:cn,[un["a"].project]:ln["a"],[un["a"].tutorial]:ln["a"],[un["a"].resources]:cn,[un["a"].sampleCode]:zt["a"],[un["a"].restRequestSymbol]:tn};var pn,hn,mn,fn,yn,gn,bn,vn,Cn={props:{role:{type:String,required:!0}},computed:{icon:({role:e})=>dn[e]}},_n=Cn,Tn=(n("1a47"),Object(W["a"])(_n,Nt,Vt,!1,null,"4d1e7968",null)),kn=Tn.exports,Sn=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)},xn=[],On={name:"ChangedToken",render(e){const{kind:t,tokens:n}=this;return e("span",{class:["token-"+t,"token-changed"]},n.map(t=>e(Qn,{props:t})))},props:{kind:{type:String,required:!0},tokens:{type:Array,required:!0}}},jn=On,Pn=Object(W["a"])(jn,pn,hn,!1,null,null,null),An=Pn.exports,Bn={name:"RawText",render(e){const{_v:t=(t=>e("span",t)),text:n}=this;return t(n)},props:{text:{type:String,required:!0}}},wn=Bn,qn=Object(W["a"])(wn,mn,fn,!1,null,null,null),Dn=qn.exports,In={name:"SyntaxToken",render(e){return e("span",{class:"token-"+this.kind},this.text)},props:{kind:{type:String,required:!0},text:{type:String,required:!0}}},Ln=In,$n=Object(W["a"])(Ln,yn,gn,!1,null,null,null),En=$n.exports,Mn=n("86d8"),Rn={name:"TypeIdentifierLink",inject:{references:{default(){return{}}}},render(e){const t="type-identifier-link",n=this.references[this.identifier];return n&&n.url?e(Mn["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:()=>""}}},Nn=Rn,Vn=Object(W["a"])(Nn,bn,vn,!1,null,null,null),Hn=Vn.exports;const zn={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 Wn,Gn,Kn={name:"DeclarationToken",render(e){const{kind:t,text:n,tokens:a}=this;switch(t){case zn.text:{const t={text:n};return e(Dn,{props:t})}case zn.typeIdentifier:{const t={identifier:this.identifier};return e(Hn,{props:t},[e(vt["a"],n)])}case zn.added:case zn.removed:return e(An,{props:{tokens:a,kind:t}});default:{const a={kind:t,text:n};return e(En,{props:a})}}},constants:{TokenKind:zn},props:{kind:{type:String,required:!0},identifier:{type:String,required:!1},text:{type:String,required:!1},tokens:{type:Array,required:!1,default:()=>[]}}},Fn=Kn,Un=(n("c36f"),Object(W["a"])(Fn,Wn,Gn,!1,null,"5caf1b5b",null)),Qn=Un.exports;const{TokenKind:Jn}=Qn.constants,Xn={decorator:"decorator",identifier:"identifier",label:"label"};var Yn={name:"DecoratedTopicTitle",components:{WordBreak:vt["a"]},props:{tokens:{type:Array,required:!0,default:()=>[]}},constants:{TokenKind:Jn},methods:{emptyTokenClass:({text:e})=>({"empty-token":" "===e}),classFor({kind:e}){switch(e){case Jn.externalParam:case Jn.identifier:return Xn.identifier;case Jn.label:return Xn.label;default:return Xn.decorator}},componentFor(e){return/^\s+$/.test(e.text)?"span":vt["a"]}}},Zn=Yn,ea=(n("dcf6"),Object(W["a"])(Zn,Sn,xn,!1,null,"06ec7395",null)),ta=ea.exports,na=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ContentNode",{staticClass:"conditional-constraints",attrs:{content:e.content}})},aa=[],ra={name:"ConditionalConstraints",components:{ContentNode:lt},props:{constraints:lt.props.content,prefix:lt.props.content},computed:{content:({constraints:e,prefix:t,space:n})=>t.concat(n).concat(e),space:()=>({type:lt.InlineType.text,text:" "})}},sa=ra,ia=(n("918a"),Object(W["a"])(sa,na,aa,!1,null,"1548fd90",null)),oa=ia.exports,ca=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)},la=[],ua={name:"RequirementMetadata",props:{defaultImplementationsCount:{type:Number,default:0}}},da=ua,pa=Object(W["a"])(da,ca,la,!0,null,null,null),ha=pa.exports;const ma={added:"added",modified:"modified",deprecated:"deprecated"},fa=(ma.modified,ma.added,ma.deprecated,{[ma.modified]:"Modified",[ma.added]:"Added",[ma.deprecated]:"Deprecated"}),ya="has-multiple-lines";function ga(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,s=t.paddingBottom?parseFloat(t.paddingBottom):0,i=t.borderTopWidth?parseFloat(t.borderTopWidth):0,o=t.borderBottomWidth?parseFloat(t.borderBottomWidth):0,c=n-(r+s+i+o),l=c/a;return l>=2}const ba="latest_",va={xcode:{value:"xcode",label:"Xcode"},other:{value:"other",label:"Other"}},Ca={constants:{multipleLinesClass:ya},data(){return{multipleLinesClass:ya}},computed:{hasMultipleLinesAfterAPIChanges:({change:e,changeType:t,$refs:n})=>!(!e&&!t)&&ga(n.apiChangesDiff)}},_a={methods:{toVersionRange({platform:e,versions:t}){return`${e} ${t[0]} – ${e} ${t[1]}`},toOptionValue:e=>`${ba}${e}`,toScope:e=>e.slice(ba.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===va.xcode.label)||a[0]}},{}),r=e=>({label:this.toVersionRange(a[e]),value:this.toOptionValue(e),platform:a[e].platform}),{sdk:s,beta:i,minor:o,major:c,...l}=a,u=[].concat(s?r("sdk"):[]).concat(i?r("beta"):[]).concat(o?r("minor"):[]).concat(c?r("major"):[]).concat(Object.keys(l).map(r));return this.splitOptionsPerPlatform(u)},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===va.xcode.label?va.xcode.value:va.other.value;return e[n].push(t),e},{[va.xcode.value]:[],[va.other.value]:[]})},getChangeName(e){return fa[e]}},computed:{availableOptions({diffAvailability:e={},toOptionValue:t}){return new Set(Object.keys(e).map(t))}}},Ta={article:"article",symbol:"symbol"},ka={title:"title",symbol:"symbol"},Sa={link:"link"};var xa={name:"TopicsLinkBlock",components:{Badge:K,WordBreak:vt["a"],ContentNode:lt,TopicLinkBlockIcon:kn,DecoratedTopicTitle:ta,RequirementMetadata:ha,ConditionalConstraints:oa},inject:["store"],mixins:[_a,Ca],constants:{ReferenceType:Sa,TopicKind:Ta,TitleStyles:ka},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===Sa.link&&!e.kind||"string"===typeof e.kind)&&(e.type===Sa.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===Sa.link?"a":"router-link",linkProps({topic:e}){const t=Object(E["b"])(e.url,this.$route.query);return e.type===Sa.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===ka.title)return e.ideTitle?"span":"code";switch(e.kind){case Ta.symbol:return"code";default:return"span"}},titleStyles:()=>ka,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)}},Oa=xa,ja=(n("f6d7"),Object(W["a"])(Oa,Mt,Rt,!1,null,"1e5f16e7",null)),Pa=ja.exports,Aa={name:"TopicsTable",inject:{references:{default(){return{}}}},components:{WordBreak:vt["a"],ContentTable:wt,TopicsLinkBlock:Pa,ContentNode:lt,ContentTableSection:Et},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}},computed:{sectionsWithTopics(){return this.sections.map(e=>({...e,topics:e.identifiers.reduce((e,t)=>this.references[t]?e.concat(this.references[t]):e,[])}))}}},Ba=Aa,wa=(n("0d16"),Object(W["a"])(Ba,gt,bt,!1,null,"3e48ad3a",null)),qa=wa.exports,Da={name:"DefaultImplementations",components:{TopicsTable:qa},props:{isSymbolDeprecated:Boolean,isSymbolBeta:Boolean,sections:qa.props.sections}},Ia=Da,La=Object(W["a"])(Ia,ft,yt,!1,null,null,null),$a=La.exports,Ea=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"description"},[e.$slots.default||e.hasOverview?e._e():n("p",{staticClass:"nodocumentation"},[e._v(" No overview available. ")]),e._t("default")],2)},Ma=[],Ra={name:"Description",props:{hasOverview:{type:Boolean,default:()=>!1}}},Na=Ra,Va=(n("1eff"),Object(W["a"])(Na,Ea,Ma,!1,null,"3b0e7cbb",null)),Ha=Va.exports,za=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Section",{staticClass:"technologies",attrs:{role:"complementary","aria-label":e.computedTitle}},[n("Title",[e._v(e._s(e.computedTitle))]),n("List",e._l(e.technologies,(function(t){return n("Item",{key:t.name},[n("WordBreak",{staticClass:"name"},[e._v(e._s(t.name))]),e._l(t.relatedModules||[],(function(t){return n("WordBreak",{key:t,staticClass:"name"},[e._v(e._s(t)+" ")])}))],2)})),1)],1)},Wa=[],Ga=n("002d"),Ka=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ul",{staticClass:"summary-list"},[e._t("default")],2)},Fa=[],Ua={name:"List"},Qa=Ua,Ja=(n("9cb2"),Object(W["a"])(Qa,Ka,Fa,!1,null,"731de2f2",null)),Xa=Ja.exports,Ya=function(){var e,t=this,n=t.$createElement,a=t._self._c||n;return a("li",{ref:"apiChangesDiff",staticClass:"summary-list-item",class:(e={},e[t.multipleLinesClass]=t.hasMultipleLinesAfterAPIChanges,e)},[t._t("default")],2)},Za=[],er={name:"ListItem",mixins:[Ca],props:{change:{type:Boolean,default:()=>!1}}},tr=er,nr=(n("67dc"),Object(W["a"])(tr,Ya,Za,!1,null,"1648b0ac",null)),ar=nr.exports,rr={name:"TechnologyList",components:{Item:ar,List:Xa,Section:We,Title:Je,WordBreak:vt["a"]},props:{technologies:{type:Array,required:!0},title:{type:String,required:!1}},computed:{computedTitle:({title:e,defaultTitle:t})=>e||t,defaultTitle:({technologies:e})=>Object(Ga["d"])({en:{one:"Technology",other:"Technologies"}},e.length)}},sr=rr,ir=(n("8c8d"),Object(W["a"])(sr,za,Wa,!1,null,"4616e162",null)),or=ir.exports,cr=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Section",{staticClass:"on-this-page"},[n("nav",{attrs:{"aria-labelledby":"on-this-page-title"}},[n("Title",{attrs:{id:"on-this-page-title"}},[e._v("On This Page")]),n("List",e._l(e.sectionsWithFragments,(function(t){return n("ListItem",{key:t.anchor},[n("router-link",{staticClass:"link",attrs:{to:e.buildUrl(t.fragment,e.$route.query)}},[n("span",{staticClass:"link-text"},[e._v(e._s(t.title))]),n("span",{staticClass:"icon-holder",attrs:{"aria-hidden":"true"}},[e._v(" "),n("InlineChevronDownCircleIcon",{staticClass:"link-icon icon-inline"})],1)])],1)})),1)],1)])},lr=[],ur=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("SVGIcon",{staticClass:"inline-chevron-down-circle-icon",attrs:{viewBox:"0 0 14 14"}},[n("polygon",{attrs:{points:"10.1 4 11 4.7 7 10 3 4.7 3.9 4 7 8 10.1 4"}})])},dr=[],pr={name:"InlineChevronDownCircleIcon",components:{SVGIcon:Y["a"]}},hr=pr,mr=Object(W["a"])(hr,ur,dr,!1,null,null,null),fr=mr.exports,yr={name:"OnThisPageNav",components:{InlineChevronDownCircleIcon:fr,List:Xa,ListItem:ar,Section:We,Title:Je},props:{sections:{type:Array,required:!0}},computed:{sectionsWithFragments(){return this.sections.map(({anchor:e,title:t})=>({anchor:e,fragment:"#"+e,title:t}))}},methods:{buildUrl:E["b"]}},gr=yr,br=(n("5245"),Object(W["a"])(gr,cr,lr,!1,null,"7e43087c",null)),vr=br.exports,Cr=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"primary-content"},e._l(e.sections,(function(t,a){return n(e.componentFor(t),e._b({key:a,tag:"component"},"component",e.propsFor(t),!1))})),1)},_r=[],Tr=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("OnThisPageSection",{attrs:{anchor:"possibleValues",title:"PossibleValues"}},[n("h2",[e._v("Possible Values")]),n("dl",{staticClass:"datalist"},[e._l(e.values,(function(t){return[n("dt",{key:t.name+":name",staticClass:"param-name"},[n("code",[e._v(e._s(t.name))])]),t.content?n("dd",{key:t.name+":content",staticClass:"value-content"},[n("ContentNode",{attrs:{content:t.content}})],1):e._e()]}))],2)])},kr=[],Sr={name:"PossibleValues",components:{ContentNode:st["a"],OnThisPageSection:jt},props:{values:{type:Array,required:!0}}},xr=Sr,Or=(n("719b"),Object(W["a"])(xr,Tr,kr,!1,null,null,null)),jr=Or.exports,Pr=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("OnThisPageSection",{attrs:{anchor:e.anchor,title:e.title}},[n("h2",[e._v(e._s(e.title))]),n("DeclarationSource",{attrs:{tokens:e.tokens}})],1)},Ar=[],Br=function(){var e,t=this,n=t.$createElement,a=t._self._c||n;return a("pre",{ref:"declarationGroup",staticClass:"source",class:(e={indented:t.simpleIndent},e[t.multipleLinesClass]=t.hasMultipleLines,e)},[a("code",{ref:"code"},t._l(t.tokens,(function(e,n){return a("Token",t._b({key:n},"Token",t.propsFor(e),!1))})),1)])},wr=[];function qr(e){const t=e.getElementsByClassName("token-identifier");if(t.length<2)return;const n=e.textContent.indexOf(":")+1;for(let a=1;a<t.length;a++){const e=t[a].innerHTML.trim(),r=t[a].textContent.trim(),s=r.length,i=Math.max(0,n-s);t[a].innerHTML=`\n${" ".repeat(i)}${e}`}"\n"!==e.innerHTML.charAt(e.innerHTML.length-1)&&(e.innerHTML=e.innerHTML+"\n")}function Dr(e){const t=e.getElementsByClassName("token-keyword");let n;for(let s=0;s<t.length;s++){switch(t[s].textContent.trim()){case"func":case"init":n=1;break}if(n)break}if(!n)return;const a=e.getElementsByClassName("token-externalParam");if(n>=a.length)return;const r=e.textContent.indexOf("(");for(let s=n;s<a.length;s++){const e=a[s].innerHTML.trim(),t=a[s].textContent.trim(),n=t.length,i=Math.max(0,r-n);a[s].innerHTML=`\n${" ".repeat(i)}${e}`}"\n"!==e.innerHTML.charAt(e.innerHTML.length-1)&&(e.innerHTML=e.innerHTML+"\n")}function Ir(e,t){const n=e.innerHTML;try{switch(t){case j["a"].objectiveC.key.api:qr(e);break;case j["a"].swift.key.api:Dr(e);break}}catch(a){e.innerHTML=n}}var Lr={name:"DeclarationSource",data(){return{hasMultipleLines:!1,multipleLinesClass:ya}},components:{Token:Qn},props:{tokens:{type:Array,required:!0},smartIndent:{type:Boolean,default:!1},simpleIndent:{type:Boolean,default:!1},language:{type:String,required:!1}},methods:{propsFor(e){return{kind:e.kind,identifier:e.identifier,text:e.text,tokens:e.tokens}}},async mounted(){ga(this.$refs.declarationGroup)&&(this.hasMultipleLines=!0),this.smartIndent&&this.language&&(await this.$nextTick(),Ir(this.$refs.code,this.language))}},$r=Lr,Er=(n("fca4"),Object(W["a"])($r,Br,wr,!1,null,"bb800958",null)),Mr=Er.exports,Rr={name:"RestEndpoint",components:{DeclarationSource:Mr,OnThisPageSection:jt},props:{title:{type:String,required:!0},tokens:{type:Array,required:!0}},computed:{anchor:({title:e})=>Object(Ga["a"])(e)}},Nr=Rr,Vr=Object(W["a"])(Nr,Pr,Ar,!1,null,null,null),Hr=Vr.exports,zr=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("OnThisPageSection",{staticClass:"declaration",attrs:{anchor:"declaration",title:"Declaration"}},[n("h2",[e._v("Declaration")]),e.hasModifiedChanges?[n("DeclarationDiff",{class:[e.changeClasses,e.multipleLinesClass],attrs:{changes:e.declarationChanges,changeType:e.changeType}})]:e._l(e.declarations,(function(t,a){return n("DeclarationGroup",{key:a,class:e.changeClasses,attrs:{declaration:t,shouldCaption:e.hasPlatformVariants,changeType:e.changeType}})})),e.conformance?n("ConditionalConstraints",{attrs:{constraints:e.conformance.constraints,prefix:e.conformance.availabilityPrefix}}):e._e()],2)},Wr=[],Gr=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,"simple-indent":e.isSwift&&!e.isCocoaApi,"smart-indent":e.isCocoaApi,language:e.interfaceLanguage}})],1)},Kr=[],Fr={name:"DeclarationGroup",components:{Source:Mr},mixins:[Ca],inject:{languages:{default:()=>new Set},interfaceLanguage:{default:()=>j["a"].swift.key.api}},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===j["a"].swift.key.api,isCocoaApi:({languages:e})=>e.has(j["a"].objectiveC.key.api)}},Ur=Fr,Qr=(n("1d1c"),Object(W["a"])(Ur,Gr,Kr,!1,null,"1dc256a6",null)),Jr=Qr.exports,Xr=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,a){return n("DeclarationGroup",{key:a,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,a){return n("DeclarationGroup",{key:a,attrs:{declaration:t,"should-caption":e.previousDeclarations.length>1,changeType:e.changeType}})}))],2)])},Yr=[],Zr={name:"DeclarationDiff",components:{DeclarationGroup:Jr},props:{changes:{type:Object,required:!0},changeType:{type:String,required:!0}},computed:{previousDeclarations:({changes:e})=>e.declaration.previous||[],currentDeclarations:({changes:e})=>e.declaration.new||[]}},es=Zr,ts=(n("3dca"),Object(W["a"])(es,Xr,Yr,!1,null,"676d8556",null)),ns=ts.exports,as={name:"Declaration",components:{DeclarationDiff:ns,DeclarationGroup:Jr,ConditionalConstraints:oa,OnThisPageSection:jt},constants:{ChangeTypes:ma,multipleLinesClass:ya},inject:["identifier","store"],data:({store:{state:e}})=>({state:e,multipleLinesClass:ya}),props:{conformance:{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?ma.modified:e.change:e.change===ma.added?ma.added:void 0},changeClasses:({changeType:e})=>({["changed changed-"+e]:e})}},rs=as,ss=(n("4340"),Object(W["a"])(rs,zr,Wr,!1,null,"e39c4ee4",null)),is=ss.exports,os=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("OnThisPageSection",{staticClass:"details",attrs:{anchor:"details",title:"Details"}},[n("h2",[e._v("Details")]),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)])},cs=[],ls=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"type"},[e._v(e._s(e.typeOutput))])},us=[],ds={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}}}},ps=ds,hs=(n("f7c0"),Object(W["a"])(ps,ls,us,!1,null,"791bac44",null)),ms=hs.exports,fs={name:"PropertyListKeyDetails",components:{PropertyListKeyType:ms,OnThisPageSection:jt},props:{details:{type:Object,required:!0}},computed:{isTitle(){return"title"===this.details.titleStyle&&this.details.ideTitle},isSymbol(){return"symbol"===this.details.titleStyle&&this.details.ideTitle}}},ys=fs,gs=(n("a705"),Object(W["a"])(ys,os,cs,!1,null,"61ef551b",null)),bs=gs.exports,vs=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ContentNode",e._b({},"ContentNode",e.$props,!1))},Cs=[],_s={name:"GenericContent",inject:{store:{default(){return{addOnThisPageSection(){}}}}},components:{ContentNode:lt},props:lt.props,methods:{...lt.methods,addOnThisPageSections(){const{isTopLevelHeading:e,store:t}=this;this.forEach(n=>{e(n)&&t.addOnThisPageSection({anchor:n.anchor,title:n.text})})},isTopLevelHeading(e){const{level:t,type:n}=e;return n===lt.BlockType.heading&&2===t}},created(){this.addOnThisPageSections()}},Ts=_s,ks=Object(W["a"])(Ts,vs,Cs,!1,null,null,null),Ss=ks.exports,xs=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("OnThisPageSection",{staticClass:"parameters",attrs:{anchor:"parameters",title:"Parameters"}},[n("h2",[e._v("Parameters")]),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)])},Os=[],js={name:"Parameters",components:{ContentNode:lt,OnThisPageSection:jt},props:{parameters:{type:Array,required:!0}}},Ps=js,As=(n("09db"),Object(W["a"])(Ps,xs,Os,!1,null,"7bb7c035",null)),Bs=As.exports,ws=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("OnThisPageSection",{attrs:{anchor:e.anchor,title:e.title}},[n("h2",[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 a=t.name,r=t.type,s=t.content,i=t.changes,o=t.deprecated;return[n("div",{staticClass:"property-name",class:{deprecated:o}},[n("WordBreak",{attrs:{tag:"code"}},[e._v(e._s(a))])],1),e.shouldShiftType({name:a,content:s})?e._e():n("PossiblyChangedType",{attrs:{type:r,changes:i.type}})]}},{key:"description",fn:function(t){var a=t.name,r=t.type,s=t.attributes,i=t.content,o=t.required,c=t.changes,l=t.deprecated;return[e.shouldShiftType({name:a,content:i})?n("PossiblyChangedType",{attrs:{type:r,changes:c.type}}):e._e(),l?[n("Badge",{staticClass:"property-deprecated",attrs:{variant:"deprecated"}}),e._v(" ")]:e._e(),n("PossiblyChangedRequiredAttribute",{attrs:{required:o,changes:c.required}}),i?n("ContentNode",{attrs:{content:i}}):e._e(),n("ParameterAttributes",{attrs:{attributes:s,changes:c.attributes}})]}}])})],1)},qs=[],Ds={inject:["identifier","store"],data:({store:{state:e}})=>({state:e}),computed:{apiChanges:({state:{apiChanges:e},identifier:t})=>e&&e[t]}},Is=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)},Ls=[],$s={name:"ParametersTable",components:{Row:xe["a"],Column:Oe["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}}}},Es=$s,Ms=(n("85b8"),Object(W["a"])(Es,Is,Ls,!1,null,"1455266b",null)),Rs=Ms.exports,Ns=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 a=t.attribute;return[e._v(" "+e._s(a.title||"Default")+": "),n("code",[e._v(e._s(a.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 a=t.attribute;return[e._v(" "+e._s(a.title||"Minimum")+": "),n("code",[e._v(e._s(a.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 a=t.attribute;return[e._v(" "+e._s(a.title||"Minimum")+": "),n("code",[e._v("> "+e._s(a.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 a=t.attribute;return[e._v(" "+e._s(a.title||"Maximum")+": "),n("code",[e._v(e._s(a.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 a=t.attribute;return[e._v(" "+e._s(a.title||"Maximum")+": "),n("code",[e._v("< "+e._s(a.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 a=t.attribute;return[e._v(" "+e._s(e.fallbackToValues(a).length>1?"Possible types":"Type")+": "),n("code",[e._l(e.fallbackToValues(a),(function(t,r){return[e._l(t,(function(t,s){return[n("DeclarationToken",e._b({key:r+"-"+s},"DeclarationToken",t,!1)),r+1<e.fallbackToValues(a).length?[e._v(", ")]:e._e()]}))]}))],2)]}}],null,!1,1050471405)},"ParameterMetaAttribute",{kind:e.AttributeKind.allowedTypes,attributes:e.attributesObject,changes:e.changes},!1)):e._e(),e.shouldRender(e.AttributeKind.allowedValues)?n("ParameterMetaAttribute",e._b({scopedSlots:e._u([{key:"default",fn:function(t){var a=t.attribute;return[e._v(" "+e._s(e.fallbackToValues(a).length>1?"Possible values":"Value")+": "),n("code",[e._v(e._s(e.fallbackToValues(a).join(", ")))])]}}],null,!1,1507632019)},"ParameterMetaAttribute",{kind:e.AttributeKind.allowedValues,attributes:e.attributesObject,changes:e.changes},!1)):e._e()],1)},Vs=[],Hs=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 a=t.value;return n("div",{staticClass:"property-metadata"},[e._t("default",null,{attribute:a})],2)}}],null,!0)})},zs=[];const Ws={added:"change-added",removed:"change-removed"};var Gs,Ks,Fs={name:"RenderChanged",constants:{ChangedClasses:Ws},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:a,renderSingleChange:r}=this,{new:s,previous:i}=n,o=(t,n)=>{const r=this.$scopedSlots.default({value:t});return n&&a?e("div",{class:n},[r]):r?r[0]:null};if(s||i){const t=o(s,Ws.added),n=o(i,Ws.removed);return r?s&&!i?t:n:e("div",{class:"property-changegroup"},[s?t:"",i?n:""])}return o(t)}},Us=Fs,Qs=Object(W["a"])(Us,Gs,Ks,!1,null,null,null),Js=Qs.exports,Xs={name:"ParameterMetaAttribute",components:{RenderChanged:Js},props:{kind:{type:String,required:!0},attributes:{type:Object,required:!0},changes:{type:Object,default:()=>({})}}},Ys=Xs,Zs=(n("2822"),Object(W["a"])(Ys,Hs,zs,!1,null,"8590589e",null)),ei=Zs.exports;const ti={allowedTypes:"allowedTypes",allowedValues:"allowedValues",default:"default",maximum:"maximum",maximumExclusive:"maximumExclusive",minimum:"minimum",minimumExclusive:"minimumExclusive"};var ni={name:"ParameterAttributes",components:{ParameterMetaAttribute:ei,DeclarationToken:Qn},constants:{AttributeKind:ti},props:{attributes:{type:Array,default:()=>[]},changes:{type:Object,default:()=>({})}},computed:{AttributeKind:()=>ti,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}}},ai=ni,ri=Object(W["a"])(ai,Ns,Vs,!1,null,null,null),si=ri.exports,ii=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("RenderChanged",{attrs:{renderSingleChange:"",value:e.required,changes:e.changes},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.value;return a?n("span",{staticClass:"property-required"},[e._v("(Required) ")]):e._e()}}],null,!0)})},oi=[],ci={name:"PossiblyChangedRequiredAttribute",components:{RenderChanged:Js},props:{required:{type:Boolean,default:!1},changes:{type:Object,required:!1}}},li=ci,ui=(n("98af"),Object(W["a"])(li,ii,oi,!1,null,null,null)),di=ui.exports,pi=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 a=t.value;return n("DeclarationTokenGroup",{staticClass:"property-metadata property-type",attrs:{type:e.getValues(a)}})}}])})},hi=[],mi=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,a){return n("DeclarationToken",e._b({key:a},"DeclarationToken",t,!1))})),1)]):e._e()},fi=[],yi={name:"DeclarationTokenGroup",components:{DeclarationToken:Qn},props:{type:{type:Array,default:()=>[],required:!1}}},gi=yi,bi=Object(W["a"])(gi,mi,fi,!1,null,null,null),vi=bi.exports,Ci={name:"PossiblyChangedType",components:{DeclarationTokenGroup:vi,RenderChanged:Js},props:{type:{type:Array,required:!0},changes:{type:Object,required:!1}},methods:{getValues(e){return Array.isArray(e)?e:e.values}}},_i=Ci,Ti=(n("2f87"),Object(W["a"])(_i,pi,hi,!1,null,"0a648a1e",null)),ki=Ti.exports,Si={name:"PropertyTable",mixins:[Ds],components:{Badge:K,WordBreak:vt["a"],PossiblyChangedRequiredAttribute:di,PossiblyChangedType:ki,ParameterAttributes:si,ContentNode:lt,OnThisPageSection:jt,ParametersTable:Rs},props:{title:{type:String,required:!0},properties:{type:Array,required:!0}},computed:{anchor:({title:e})=>Object(Ga["a"])(e),propertyChanges:({apiChanges:e})=>(e||{}).properties},methods:{shouldShiftType:({content:e=[],name:t})=>!e.length&&t}},xi=Si,Oi=(n("fde4"),Object(W["a"])(xi,ws,qs,!1,null,"387d76c0",null)),ji=Oi.exports,Pi=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("OnThisPageSection",{attrs:{anchor:e.anchor,title:e.title}},[n("h2",[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 a=t.type,r=t.content,s=t.changes,i=t.name;return[e.shouldShiftType({name:i,content:r})?e._e():n("PossiblyChangedType",{attrs:{type:a,changes:s.type}})]}},{key:"description",fn:function(t){var a=t.name,r=t.content,s=t.mimeType,i=t.type,o=t.changes;return[e.shouldShiftType({name:a,content:r})?n("PossiblyChangedType",{attrs:{type:i,changes:o.type}}):e._e(),r?n("ContentNode",{attrs:{content:r}}):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 a=t.name,r=t.type,s=t.content,i=t.changes;return[n("div",{staticClass:"part-name"},[n("WordBreak",{attrs:{tag:"code"}},[e._v(e._s(a))])],1),s?n("PossiblyChangedType",{attrs:{type:r,changes:i.type}}):e._e()]}},{key:"description",fn:function(t){var a=t.content,r=t.mimeType,s=t.required,i=t.type,o=t.attributes,c=t.changes;return[n("div",[a?e._e():n("PossiblyChangedType",{attrs:{type:i,changes:c.type}}),n("PossiblyChangedRequiredAttribute",{attrs:{required:s,changes:c.required}}),a?n("ContentNode",{attrs:{content:a}}):e._e(),r?n("PossiblyChangedMimetype",{attrs:{mimetype:r,changes:c.mimetype,change:c.change}}):e._e(),n("ParameterAttributes",{attrs:{attributes:o,changes:c.attributes}})],1)]}}],null,!1,3752543529)})]:e._e()],2)},Ai=[],Bi=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 a=t.value;return n("div",{staticClass:"response-mimetype"},[e._v("Content-Type: "+e._s(a))])}}])})},wi=[],qi={name:"PossiblyChangedMimetype",components:{RenderChanged:Js},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===ma.modified&&"string"!==typeof t?t:void 0}}},Di=qi,Ii=(n("a91f"),Object(W["a"])(Di,Bi,wi,!1,null,"2faa6020",null)),Li=Ii.exports;const $i="restRequestBody";var Ei={name:"RestBody",mixins:[Ds],components:{PossiblyChangedMimetype:Li,PossiblyChangedRequiredAttribute:di,PossiblyChangedType:ki,WordBreak:vt["a"],ParameterAttributes:si,ContentNode:lt,OnThisPageSection:jt,ParametersTable:Rs},constants:{ChangesKey:$i},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(Ga["a"])(e),bodyParam:({bodyContentType:e,content:t,mimeType:n})=>({key:$i,content:t,mimeType:n,type:e}),bodyChanges:({apiChanges:e})=>e||{},partsChanges:({bodyChanges:e})=>(e[$i]||{}).parts},methods:{shouldShiftType:({content:e=[],name:t})=>!e.length&&t}},Mi=Ei,Ri=(n("f8d9"),Object(W["a"])(Mi,Pi,Ai,!1,null,"458971c5",null)),Ni=Ri.exports,Vi=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("OnThisPageSection",{attrs:{anchor:e.anchor,title:e.title}},[n("h2",[e._v(e._s(e.title))]),n("ParametersTable",{attrs:{parameters:e.parameters,changes:e.parameterChanges},scopedSlots:e._u([{key:"symbol",fn:function(t){var a=t.name,r=t.type,s=t.content,i=t.changes,o=t.deprecated;return[n("div",{staticClass:"param-name",class:{deprecated:o}},[n("WordBreak",{attrs:{tag:"code"}},[e._v(e._s(a))])],1),e.shouldShiftType({content:s,name:a})?e._e():n("PossiblyChangedType",{attrs:{type:r,changes:i.type}})]}},{key:"description",fn:function(t){var a=t.name,r=t.type,s=t.content,i=t.required,o=t.attributes,c=t.changes,l=t.deprecated;return[n("div",[e.shouldShiftType({content:s,name:a})?n("PossiblyChangedType",{attrs:{type:r,changes:c.type}}):e._e(),l?[n("Badge",{staticClass:"param-deprecated",attrs:{variant:"deprecated"}}),e._v(" ")]:e._e(),n("PossiblyChangedRequiredAttribute",{attrs:{required:i,changes:c.required}}),s?n("ContentNode",{attrs:{content:s}}):e._e(),n("ParameterAttributes",{attrs:{attributes:o,changes:c}})],2)]}}])})],1)},Hi=[],zi={name:"RestParameters",mixins:[Ds],components:{Badge:K,PossiblyChangedType:ki,PossiblyChangedRequiredAttribute:di,ParameterAttributes:si,WordBreak:vt["a"],ContentNode:lt,OnThisPageSection:jt,ParametersTable:Rs},props:{title:{type:String,required:!0},parameters:{type:Array,required:!0}},computed:{anchor:({title:e})=>Object(Ga["a"])(e),parameterChanges:({apiChanges:e})=>(e||{}).restParameters},methods:{shouldShiftType:({content:e=[],name:t})=>!e.length&&t}},Wi=zi,Gi=(n("76d4"),Object(W["a"])(Wi,Vi,Hi,!1,null,"74e7f790",null)),Ki=Gi.exports,Fi=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("OnThisPageSection",{attrs:{anchor:e.anchor,title:e.title}},[n("h2",[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 a=t.status,r=t.type,s=t.reason,i=t.content,o=t.changes;return[n("div",{staticClass:"response-name"},[n("code",[e._v(" "+e._s(a)+" "),n("span",{staticClass:"reason"},[e._v(e._s(s))])])]),e.shouldShiftType({content:i,reason:s,status:a})?e._e():n("PossiblyChangedType",{attrs:{type:r,changes:o.type}})]}},{key:"description",fn:function(t){var a=t.content,r=t.mimetype,s=t.reason,i=t.type,o=t.status,c=t.changes;return[e.shouldShiftType({content:a,reason:s,status:o})?n("PossiblyChangedType",{attrs:{type:i,changes:c.type}}):e._e(),n("div",{staticClass:"response-reason"},[n("code",[e._v(e._s(s))])]),a?n("ContentNode",{attrs:{content:a}}):e._e(),r?n("PossiblyChangedMimetype",{attrs:{mimetype:r,changes:c.mimetype,change:c.change}}):e._e()]}}])})],1)},Ui=[],Qi={name:"RestResponses",mixins:[Ds],components:{PossiblyChangedMimetype:Li,PossiblyChangedType:ki,ContentNode:lt,OnThisPageSection:jt,ParametersTable:Rs},props:{title:{type:String,required:!0},responses:{type:Array,required:!0}},computed:{anchor:({title:e})=>Object(Ga["a"])(e),propertyChanges:({apiChanges:e})=>(e||{}).restResponses},methods:{shouldShiftType:({content:e=[],reason:t,status:n})=>!(e.length||t)&&n}},Ji=Qi,Xi=(n("e335"),Object(W["a"])(Ji,Fi,Ui,!1,null,"57796e8c",null)),Yi=Xi.exports;const Zi={content:"content",declarations:"declarations",details:"details",parameters:"parameters",possibleValues:"possibleValues",properties:"properties",restBody:"restBody",restCookies:"restCookies",restEndpoint:"restEndpoint",restHeaders:"restHeaders",restParameters:"restParameters",restResponses:"restResponses"};var eo={name:"PrimaryContent",components:{Declaration:is,GenericContent:Ss,Parameters:Bs,PropertyListKeyDetails:bs,PropertyTable:ji,RestBody:Ni,RestEndpoint:Hr,RestParameters:Ki,RestResponses:Yi,PossibleValues:jr},constants:{SectionKind:Zi},props:{conformance:{type:Object,required:!1},sections:{type:Array,required:!0,validator:e=>e.every(({kind:e})=>Object.prototype.hasOwnProperty.call(Zi,e))}},computed:{span(){return{large:9,medium:9,small:12}}},methods:{componentFor(e){return{[Zi.content]:Ss,[Zi.declarations]:is,[Zi.details]:bs,[Zi.parameters]:Bs,[Zi.properties]:ji,[Zi.restBody]:Ni,[Zi.restParameters]:Ki,[Zi.restHeaders]:Ki,[Zi.restCookies]:Ki,[Zi.restEndpoint]:Hr,[Zi.restResponses]:Yi,[Zi.possibleValues]:jr}[e.kind]},propsFor(e){const{conformance:t}=this,{bodyContentType:n,content:a,declarations:r,details:s,items:i,kind:o,mimeType:c,parameters:l,title:u,tokens:d,values:p}=e;return{[Zi.content]:{content:a},[Zi.declarations]:{conformance:t,declarations:r},[Zi.details]:{details:s},[Zi.parameters]:{parameters:l},[Zi.possibleValues]:{values:p},[Zi.properties]:{properties:i,title:u},[Zi.restBody]:{bodyContentType:n,content:a,mimeType:c,parts:l,title:u},[Zi.restCookies]:{parameters:i,title:u},[Zi.restEndpoint]:{tokens:d,title:u},[Zi.restHeaders]:{parameters:i,title:u},[Zi.restParameters]:{parameters:i,title:u},[Zi.restResponses]:{responses:i,title:u}}[o]}}},to=eo,no=(n("812f"),Object(W["a"])(to,Cr,_r,!1,null,"011bef72",null)),ao=no.exports,ro=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ContentTable",{attrs:{anchor:"relationships",title:"Relationships"}},e._l(e.sectionsWithSymbols,(function(e){return n("Section",{key:e.type,attrs:{title:e.title}},[n("List",{attrs:{symbols:e.symbols,type:e.type}})],1)})),1)},so=[],io=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)},oo=[];const co=3,lo={conformsTo:"conformance",inheritsFrom:"inheritance",inheritedBy:"inheritedBy"};var uo={name:"RelationshipsList",components:{ConditionalConstraints:oa,WordBreak:vt["a"]},inject:["store","identifier"],mixins:[_a,Ca],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=lo[t];if(e.change!==ma.modified)return e.change;const a=e[n];if(!a)return;const r=(e,t)=>e.map((e,n)=>[e,t[n]]),s=r(a.previous,a.new).some(([e,t])=>e.content?0===e.content.length&&t.content.length>0:!!t.content);return s?ma.added:ma.modified},shouldDisplayInline(){const{hasAvailabilityConstraints:e,symbols:t}=this;return t.length<=co&&!e}},methods:{buildUrl:E["b"]}},po=uo,ho=(n("2995"),Object(W["a"])(po,io,oo,!1,null,"e4fe9834",null)),mo=ho.exports,fo={name:"Relationships",inject:{references:{default(){return{}}}},components:{ContentTable:wt,List:mo,Section:Et},props:{sections:{type:Array,required:!0}},computed:{sectionsWithSymbols(){return this.sections.map(e=>({...e,symbols:e.identifiers.reduce((e,t)=>this.references[t]?e.concat(this.references[t]):e,[])}))}}},yo=fo,go=Object(W["a"])(yo,ro,so,!1,null,null,null),bo=go.exports,vo=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Section",{staticClass:"availability",attrs:{role:"complementary","aria-label":"Availability"}},[n("Title",[e._v("Availability")]),n("List",{staticClass:"platform-list"},e._l(e.platforms,(function(t){return n("Item",{key:t.name,staticClass:"platform",class:e.changesClassesFor(t.name),attrs:{change:!!e.changeFor(t.name)}},[n("AvailabilityRange",{attrs:{deprecatedAt:t.deprecatedAt,introducedAt:t.introducedAt,platformName:t.name}}),t.deprecatedAt?n("Badge",{attrs:{variant:"deprecated"}}):t.beta?n("Badge",{attrs:{variant:"beta"}}):e._e()],1)})),1)],1)},Co=[],_o=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)+" ")])},To=[],ko={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}+`}}},So=ko,xo=Object(W["a"])(So,_o,To,!1,null,null,null),Oo=xo.exports,jo={name:"Availability",mixins:[_a],inject:["identifier","store"],components:{Badge:K,AvailabilityRange:Oo,Item:ar,List:Xa,Section:We,Title:Je},props:{platforms:{type:Array,required:!0}},data(){return{state:this.store.state}},methods:{changeFor(e){const{identifier:t,state:{apiChanges:n}}=this,{availability:a={}}=(n||{})[t]||{},r=a[e];if(r)return r.deprecated?ma.deprecated:r.introduced&&!r.introduced.previous?ma.added:ma.modified}}},Po=jo,Ao=(n("bc10"),Object(W["a"])(Po,vo,Co,!1,null,"0c59731a",null)),Bo=Ao.exports,wo=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("TopicsTable",{attrs:{anchor:"see-also",title:"See Also",isSymbolDeprecated:e.isSymbolDeprecated,isSymbolBeta:e.isSymbolBeta,sections:e.sections}})},qo=[],Do={name:"SeeAlso",components:{TopicsTable:qa},props:{isSymbolDeprecated:Boolean,isSymbolBeta:Boolean,sections:qa.props.sections}},Io=Do,Lo=Object(W["a"])(Io,wo,qo,!1,null,null,null),$o=Lo.exports,Eo=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"summary"},[e._t("default")],2)},Mo=[],Ro={name:"Summary"},No=Ro,Vo=(n("179d"),Object(W["a"])(No,Eo,Mo,!1,null,"19bd58b6",null)),Ho=Vo.exports,zo=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("WordBreak",{staticClass:"title",attrs:{tag:"h1"}},[e._t("default")],2)],1)},Wo=[],Go={name:"Title",components:{WordBreak:vt["a"]},props:{eyebrow:{type:String,required:!1}}},Ko=Go,Fo=(n("54bb"),Object(W["a"])(Ko,zo,Wo,!1,null,"e1f00c5e",null)),Uo=Fo.exports,Qo=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("TopicsTable",{attrs:{anchor:"topics",title:"Topics",isSymbolDeprecated:e.isSymbolDeprecated,isSymbolBeta:e.isSymbolBeta,sections:e.sections}})},Jo=[],Xo={name:"Topics",components:{TopicsTable:qa},props:{isSymbolDeprecated:Boolean,isSymbolBeta:Boolean,sections:qa.props.sections}},Yo=Xo,Zo=Object(W["a"])(Yo,Qo,Jo,!1,null,null,null),ec=Zo.exports,tc={name:"DocumentationTopic",mixins:[P["a"]],inject:{isTargetIDE:{default(){return!1}},store:{default(){return{reset(){},state:{onThisPageSections:[]}}}}},components:{Abstract:ht,Aside:B["a"],BetaLegalText:Be,ContentNode:lt,DefaultImplementations:$a,Description:Ha,DownloadButton:mt["a"],TechnologyList:or,LanguageSwitcher:et,Nav:Te,OnThisPageNav:vr,PrimaryContent:ao,Relationships:bo,RequirementMetadata:ha,Availability:Bo,SeeAlso:$o,Summary:Ho,Title:Uo,Topics:ec},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},sampleCodeDownload:{type:Object,required:!1},seeAlsoSections:{type:Array,required:!1},variants:{type:Array,default:()=>[]},extendsTechnology:{type:String},tags:{type:Array,required:!0}},provide(){return{references:this.references,identifier:this.identifier,languages:new Set(Object.keys(this.languagePaths)),interfaceLanguage:this.interfaceLanguage}},data(){return{topicState:this.store.state}},computed:{defaultImplementationsCount(){return(this.defaultImplementationsSections||[]).reduce((e,t)=>e+t.identifiers.length,0)},hasOverview:({primaryContentSections:e=[]})=>e.filter(e=>e.kind===ao.constants.SectionKind.content).length>0,languagePaths:({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:{[j["a"].objectiveC.key.api]:[e]=[]}={}})=>e,swiftPath:({languagePaths:{[j["a"].swift.key.api]:[e]=[]}={}})=>e,onThisPageSections(){return this.topicState.onThisPageSections},isSymbolBeta:({platforms:e})=>e&&e.length&&e.every(e=>e.beta),hasBetaContent:({platforms:e})=>e&&e.length&&e.some(e=>e.beta),isSymbolDeprecated:({platforms:e,deprecationSummary:t})=>t&&t.length>0||e&&e.length&&e.every(e=>e.deprecatedAt),pageTitle:({title:e})=>e,parentTopicIdentifiers:({hierarchy:{paths:[e=[]]=[]}})=>e,shouldShowLanguageSwitcher:({objcPath:e,swiftPath:t})=>e&&t,hideSummary:()=>Object(A["c"])(["features","docs","summary","hide"],!1)},methods:{normalizePath(e){return e.startsWith("/")?e:"/"+e}},created(){if(this.topicState.preferredLanguage===j["a"].objectiveC.key.url&&this.interfaceLanguage!==j["a"].objectiveC.key.api&&this.objcPath&&this.$route.query.language!==j["a"].objectiveC.key.url){const{query:e}=this.$route;this.$nextTick().then(()=>{this.$router.replace({path:this.normalizePath(this.objcPath),query:{...e,language:j["a"].objectiveC.key.url}})})}this.store.reset()}},nc=tc,ac=(n("d85c"),Object(W["a"])(nc,x,O,!1,null,"134e8272",null)),rc=ac.exports,sc=n("2b0e");const ic=()=>({[ma.modified]:0,[ma.added]:0,[ma.deprecated]:0});var oc={state:{apiChanges:null,apiChangesCounts:ic()},setAPIChanges(e){this.state.apiChanges=e},resetApiChanges(){this.state.apiChanges=null,this.state.apiChangesCounts=ic()},async updateApiChangesCounts(){await sc["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}},cc=n("d369");const{state:lc,...uc}=oc;var dc={state:{onThisPageSections:[],preferredLanguage:cc["a"].preferredLanguage,...lc},reset(){this.state.onThisPageSections=[],this.state.preferredLanguage=cc["a"].preferredLanguage,this.resetApiChanges()},addOnThisPageSection(e){this.state.onThisPageSections.push(e)},setPreferredLanguage(e){this.state.preferredLanguage=e,cc["a"].preferredLanguage=this.state.preferredLanguage},...uc},pc=n("8590"),hc=n("66c9"),mc=n("bb52"),fc=n("146e"),yc={name:"DocumentationTopic",components:{Topic:rc,CodeTheme:pc["a"]},mixins:[mc["a"],fc["a"]],data(){return{topicDataDefault:null,topicDataObjc:null}},computed:{store(){return dc},objcOverrides:({topicData:e})=>{const{variantOverrides:t=[]}=e||{},n=({interfaceLanguage:e})=>e===j["a"].objectiveC.key.api,a=({traits:e})=>e.some(n),r=t.find(a);return r?r.patch:null},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:a,diffAvailability:r,hierarchy:s,identifier:{interfaceLanguage:i,url:o},metadata:{extends:c,conformance:l,modules:u,platforms:d,required:p,roleHeading:h,title:m="",tags:f=[]}={},primaryContentSections:y,relationshipsSections:g,references:b={},sampleCodeDownload:v,topicSections:C,seeAlsoSections:_,variantOverrides:T,variants:k}=this.topicData;return{abstract:e,conformance:l,defaultImplementationsSections:t,deprecationSummary:n,downloadNotAvailableSummary:a,diffAvailability:r,hierarchy:s,identifier:o,interfaceLanguage:i,isRequirement:p,modules:u,platforms:d,primaryContentSections:y,relationshipsSections:g,references:b,roleHeading:h,sampleCodeDownload:v,title:m,topicSections:C,seeAlsoSections:_,variantOverrides:T,variants:k,extendsTechnology:c,tags:f.slice(0,1)}}},methods:{applyObjcOverrides(){this.topicDataObjc=k(Object(S["a"])(this.topicData),this.objcOverrides)},handleCodeColorsChange(e){hc["a"].updateCodeColors(e)}},mounted(){this.$bridge.on("contentUpdate",e=>{this.topicData=e}),this.$bridge.on("codeColors",this.handleCodeColorsChange),this.$bridge.send({type:"requestCodeColors"})},provide(){return{store:this.store}},beforeDestroy(){this.$bridge.off("codeColors",this.handleCodeColorsChange)},beforeRouteEnter(e,t,n){Object(S["b"])(e,t,n).then(t=>n(n=>{n.topicData=t,e.query.language===j["a"].objectiveC.key.url&&n.objcOverrides&&n.applyObjcOverrides()})).catch(n)},beforeRouteUpdate(e,t,n){e.path===t.path&&e.query.language===j["a"].objectiveC.key.url&&this.objcOverrides?(this.applyObjcOverrides(),n()):Object(S["c"])(e,t)?Object(S["b"])(e,t,n).then(t=>{this.topicDataObjc=null,this.topicData=t,e.query.language===j["a"].objectiveC.key.url&&this.objcOverrides&&this.applyObjcOverrides(),n()}).catch(n):n()},created(){this.store.reset()},watch:{topicData(){this.$nextTick(()=>{this.newContentMounted()})}}},gc=yc,bc=Object(W["a"])(gc,a,r,!1,null,null,null);t["default"]=bc.exports},f8bd:function(e,t,n){},f8d9:function(e,t,n){"use strict";n("83f0")},fca4:function(e,t,n){"use strict";n("b876")},fde4:function(e,t,n){"use strict";n("f5b1")}}]); |