webdav.client 5.21.6001 → 5.21.6098

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (210) hide show
  1. package/ITHitWebDAVClient.js +2 -2
  2. package/index.d.ts +1 -1
  3. package/index.js +1 -1
  4. package/package.json +1 -1
  5. package/Help/ClassReference/Create.html +0 -1809
  6. package/Help/ClassReference/ITHit.Environment.html +0 -1739
  7. package/Help/ClassReference/ITHit.LogLevel.html +0 -1985
  8. package/Help/ClassReference/ITHit.Logger.html +0 -2170
  9. package/Help/ClassReference/ITHit.WebDAV.Client.AsyncResult.html +0 -1877
  10. package/Help/ClassReference/ITHit.WebDAV.Client.BrowserExtension.html +0 -2282
  11. package/Help/ClassReference/ITHit.WebDAV.Client.CancellableResult.html +0 -2049
  12. package/Help/ClassReference/ITHit.WebDAV.Client.DavConstants.html +0 -3181
  13. package/Help/ClassReference/ITHit.WebDAV.Client.Depth.html +0 -1815
  14. package/Help/ClassReference/ITHit.WebDAV.Client.DocManager.html +0 -3600
  15. package/Help/ClassReference/ITHit.WebDAV.Client.Encoder.html +0 -1785
  16. package/Help/ClassReference/ITHit.WebDAV.Client.Error.html +0 -1785
  17. package/Help/ClassReference/ITHit.WebDAV.Client.Exceptions.BadRequestException.html +0 -1883
  18. package/Help/ClassReference/ITHit.WebDAV.Client.Exceptions.ConflictException.html +0 -1883
  19. package/Help/ClassReference/ITHit.WebDAV.Client.Exceptions.DependencyFailedException.html +0 -1883
  20. package/Help/ClassReference/ITHit.WebDAV.Client.Exceptions.ForbiddenException.html +0 -1883
  21. package/Help/ClassReference/ITHit.WebDAV.Client.Exceptions.Info.Error.html +0 -1753
  22. package/Help/ClassReference/ITHit.WebDAV.Client.Exceptions.Info.Multistatus.html +0 -1703
  23. package/Help/ClassReference/ITHit.WebDAV.Client.Exceptions.Info.MultistatusResponse.html +0 -1703
  24. package/Help/ClassReference/ITHit.WebDAV.Client.Exceptions.Info.PropertyMultistatus.html +0 -1755
  25. package/Help/ClassReference/ITHit.WebDAV.Client.Exceptions.Info.PropertyMultistatusResponse.html +0 -1703
  26. package/Help/ClassReference/ITHit.WebDAV.Client.Exceptions.InsufficientStorageException.html +0 -1883
  27. package/Help/ClassReference/ITHit.WebDAV.Client.Exceptions.IntegrationException.html +0 -1689
  28. package/Help/ClassReference/ITHit.WebDAV.Client.Exceptions.LockedException.html +0 -1883
  29. package/Help/ClassReference/ITHit.WebDAV.Client.Exceptions.MethodNotAllowedException.html +0 -1883
  30. package/Help/ClassReference/ITHit.WebDAV.Client.Exceptions.NotFoundException.html +0 -1883
  31. package/Help/ClassReference/ITHit.WebDAV.Client.Exceptions.NotImplementedException.html +0 -1883
  32. package/Help/ClassReference/ITHit.WebDAV.Client.Exceptions.Parsers.InsufficientStorage.html +0 -1805
  33. package/Help/ClassReference/ITHit.WebDAV.Client.Exceptions.PreconditionFailedException.html +0 -1883
  34. package/Help/ClassReference/ITHit.WebDAV.Client.Exceptions.PropertyConflictException.html +0 -1929
  35. package/Help/ClassReference/ITHit.WebDAV.Client.Exceptions.PropertyException.html +0 -1929
  36. package/Help/ClassReference/ITHit.WebDAV.Client.Exceptions.PropertyForbiddenException.html +0 -1929
  37. package/Help/ClassReference/ITHit.WebDAV.Client.Exceptions.PropertyNotFoundException.html +0 -1929
  38. package/Help/ClassReference/ITHit.WebDAV.Client.Exceptions.QuotaNotExceededException.html +0 -1883
  39. package/Help/ClassReference/ITHit.WebDAV.Client.Exceptions.SufficientDiskSpaceException.html +0 -1883
  40. package/Help/ClassReference/ITHit.WebDAV.Client.Exceptions.UnauthorizedException.html +0 -1883
  41. package/Help/ClassReference/ITHit.WebDAV.Client.Exceptions.WebDavException.html +0 -1695
  42. package/Help/ClassReference/ITHit.WebDAV.Client.Exceptions.WebDavHttpException.html +0 -1883
  43. package/Help/ClassReference/ITHit.WebDAV.Client.Features.html +0 -2215
  44. package/Help/ClassReference/ITHit.WebDAV.Client.File.html +0 -9490
  45. package/Help/ClassReference/ITHit.WebDAV.Client.Folder.html +0 -11459
  46. package/Help/ClassReference/ITHit.WebDAV.Client.GEditInfo.html +0 -1785
  47. package/Help/ClassReference/ITHit.WebDAV.Client.HierarchyItem.html +0 -8324
  48. package/Help/ClassReference/ITHit.WebDAV.Client.HttpStatus.html +0 -3861
  49. package/Help/ClassReference/ITHit.WebDAV.Client.LockInfo.html +0 -1923
  50. package/Help/ClassReference/ITHit.WebDAV.Client.LockScope.html +0 -1755
  51. package/Help/ClassReference/ITHit.WebDAV.Client.LockUriTokenPair.html +0 -1785
  52. package/Help/ClassReference/ITHit.WebDAV.Client.Methods.CancelUpload.html +0 -1691
  53. package/Help/ClassReference/ITHit.WebDAV.Client.Methods.CopyMove.html +0 -1745
  54. package/Help/ClassReference/ITHit.WebDAV.Client.Methods.Delete.html +0 -1691
  55. package/Help/ClassReference/ITHit.WebDAV.Client.Methods.ErrorResponse.html +0 -1751
  56. package/Help/ClassReference/ITHit.WebDAV.Client.Methods.Get.GoAsync.html +0 -1830
  57. package/Help/ClassReference/ITHit.WebDAV.Client.Methods.Get.html +0 -1698
  58. package/Help/ClassReference/ITHit.WebDAV.Client.Methods.Head.html +0 -1691
  59. package/Help/ClassReference/ITHit.WebDAV.Client.Methods.HttpMethod.html +0 -1765
  60. package/Help/ClassReference/ITHit.WebDAV.Client.Methods.Lock.Go.html +0 -1866
  61. package/Help/ClassReference/ITHit.WebDAV.Client.Methods.Lock.GoAsync.html +0 -1884
  62. package/Help/ClassReference/ITHit.WebDAV.Client.Methods.Lock.html +0 -1701
  63. package/Help/ClassReference/ITHit.WebDAV.Client.Methods.LockRefresh.Go.html +0 -1866
  64. package/Help/ClassReference/ITHit.WebDAV.Client.Methods.LockRefresh.GoAsync.html +0 -1884
  65. package/Help/ClassReference/ITHit.WebDAV.Client.Methods.LockRefresh.html +0 -1701
  66. package/Help/ClassReference/ITHit.WebDAV.Client.Methods.Mkcol.html +0 -1691
  67. package/Help/ClassReference/ITHit.WebDAV.Client.Methods.MultiResponse.html +0 -1751
  68. package/Help/ClassReference/ITHit.WebDAV.Client.Methods.Options.html +0 -1748
  69. package/Help/ClassReference/ITHit.WebDAV.Client.Methods.Propfind.html +0 -1745
  70. package/Help/ClassReference/ITHit.WebDAV.Client.Methods.Proppatch.html +0 -1691
  71. package/Help/ClassReference/ITHit.WebDAV.Client.Methods.Propstat.html +0 -1733
  72. package/Help/ClassReference/ITHit.WebDAV.Client.Methods.Put.html +0 -1691
  73. package/Help/ClassReference/ITHit.WebDAV.Client.Methods.Report.html +0 -1761
  74. package/Help/ClassReference/ITHit.WebDAV.Client.Methods.Response.html +0 -1751
  75. package/Help/ClassReference/ITHit.WebDAV.Client.Methods.ResponseFactory.html +0 -1689
  76. package/Help/ClassReference/ITHit.WebDAV.Client.Methods.Search.html +0 -1691
  77. package/Help/ClassReference/ITHit.WebDAV.Client.Methods.SingleResponse.html +0 -1742
  78. package/Help/ClassReference/ITHit.WebDAV.Client.Methods.Undelete.html +0 -1685
  79. package/Help/ClassReference/ITHit.WebDAV.Client.Methods.Unlock.html +0 -1691
  80. package/Help/ClassReference/ITHit.WebDAV.Client.Methods.UpdateToVersion.html +0 -1691
  81. package/Help/ClassReference/ITHit.WebDAV.Client.Methods.VersionControl.html +0 -1691
  82. package/Help/ClassReference/ITHit.WebDAV.Client.MsOfficeEditExtensions.html +0 -2103
  83. package/Help/ClassReference/ITHit.WebDAV.Client.Multistatus.html +0 -1785
  84. package/Help/ClassReference/ITHit.WebDAV.Client.MultistatusResponse.html +0 -1831
  85. package/Help/ClassReference/ITHit.WebDAV.Client.OptionsInfo.html +0 -1739
  86. package/Help/ClassReference/ITHit.WebDAV.Client.OrderProperty.html +0 -1960
  87. package/Help/ClassReference/ITHit.WebDAV.Client.PageResults.html +0 -1785
  88. package/Help/ClassReference/ITHit.WebDAV.Client.Property.html +0 -2017
  89. package/Help/ClassReference/ITHit.WebDAV.Client.PropertyList.html +0 -2048
  90. package/Help/ClassReference/ITHit.WebDAV.Client.PropertyMultistatusResponse.html +0 -1883
  91. package/Help/ClassReference/ITHit.WebDAV.Client.PropertyName.html +0 -1972
  92. package/Help/ClassReference/ITHit.WebDAV.Client.Request.html +0 -2673
  93. package/Help/ClassReference/ITHit.WebDAV.Client.RequestProgress.html +0 -1969
  94. package/Help/ClassReference/ITHit.WebDAV.Client.ResourceType.html +0 -1755
  95. package/Help/ClassReference/ITHit.WebDAV.Client.ResumableUpload.html +0 -2271
  96. package/Help/ClassReference/ITHit.WebDAV.Client.SPSManager.html +0 -1951
  97. package/Help/ClassReference/ITHit.WebDAV.Client.SearchQuery.html +0 -1974
  98. package/Help/ClassReference/ITHit.WebDAV.Client.Source.html +0 -1785
  99. package/Help/ClassReference/ITHit.WebDAV.Client.Tests.DocManager.MsOfficeEditExtensions.html +0 -1685
  100. package/Help/ClassReference/ITHit.WebDAV.Client.Tests.HierarchyItems.CopyMove.html +0 -1685
  101. package/Help/ClassReference/ITHit.WebDAV.Client.Tests.HierarchyItems.CreateFile.html +0 -1685
  102. package/Help/ClassReference/ITHit.WebDAV.Client.Tests.HierarchyItems.CreateFolder.html +0 -1685
  103. package/Help/ClassReference/ITHit.WebDAV.Client.Tests.HierarchyItems.Delete.html +0 -1685
  104. package/Help/ClassReference/ITHit.WebDAV.Client.Tests.HierarchyItems.GetFolderItems.html +0 -1685
  105. package/Help/ClassReference/ITHit.WebDAV.Client.Tests.HierarchyItems.GetHeadRequests.html +0 -1685
  106. package/Help/ClassReference/ITHit.WebDAV.Client.Tests.HierarchyItems.GetItemByFolder.html +0 -1685
  107. package/Help/ClassReference/ITHit.WebDAV.Client.Tests.HierarchyItems.GetItemBySession.html +0 -1685
  108. package/Help/ClassReference/ITHit.WebDAV.Client.Tests.HierarchyItems.GetParent.html +0 -1685
  109. package/Help/ClassReference/ITHit.WebDAV.Client.Tests.HierarchyItems.ItemExists.html +0 -1685
  110. package/Help/ClassReference/ITHit.WebDAV.Client.Tests.HierarchyItems.MicrosoftOfficeDiscovery.html +0 -1685
  111. package/Help/ClassReference/ITHit.WebDAV.Client.Tests.HierarchyItems.NameCheck.html +0 -1685
  112. package/Help/ClassReference/ITHit.WebDAV.Client.Tests.HierarchyItems.Progress.html +0 -1685
  113. package/Help/ClassReference/ITHit.WebDAV.Client.Tests.HierarchyItems.Refresh.html +0 -1685
  114. package/Help/ClassReference/ITHit.WebDAV.Client.Tests.HierarchyItems.Search.html +0 -1685
  115. package/Help/ClassReference/ITHit.WebDAV.Client.Tests.HierarchyItems.SupportedFeatures.html +0 -1685
  116. package/Help/ClassReference/ITHit.WebDAV.Client.Tests.HierarchyProperties.GetProperties.html +0 -1685
  117. package/Help/ClassReference/ITHit.WebDAV.Client.Tests.HierarchyProperties.UpdateProperties.html +0 -1685
  118. package/Help/ClassReference/ITHit.WebDAV.Client.Tests.Locks.CheckSupport.html +0 -1685
  119. package/Help/ClassReference/ITHit.WebDAV.Client.Tests.Locks.Etag.html +0 -1685
  120. package/Help/ClassReference/ITHit.WebDAV.Client.Tests.Locks.GetLocks.html +0 -1685
  121. package/Help/ClassReference/ITHit.WebDAV.Client.Tests.Locks.Lock.html +0 -1685
  122. package/Help/ClassReference/ITHit.WebDAV.Client.Tests.Locks.RefreshLock.html +0 -1685
  123. package/Help/ClassReference/ITHit.WebDAV.Client.Tests.Versions.GetVersions.html +0 -1685
  124. package/Help/ClassReference/ITHit.WebDAV.Client.Tests.Versions.ManageVersions.html +0 -1685
  125. package/Help/ClassReference/ITHit.WebDAV.Client.Tests.Versions.PutUnderVersion.html +0 -1685
  126. package/Help/ClassReference/ITHit.WebDAV.Client.Tests.Versions.ReadContent.html +0 -1685
  127. package/Help/ClassReference/ITHit.WebDAV.Client.Tests.WebDavSession.Events.html +0 -1685
  128. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.AutoUploader.html +0 -1753
  129. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.Collections.Map.html +0 -1916
  130. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.Collections.Pair.html +0 -1787
  131. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.ContentWriter.html +0 -1945
  132. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.Controls.DropZone.html +0 -1791
  133. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.Controls.FSEntryFactory.html +0 -1689
  134. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.Controls.HtmlControl.html +0 -1781
  135. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.Controls.Input.html +0 -1791
  136. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.DropZoneCollection.html +0 -2140
  137. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.Events.AsyncEvent.html +0 -1884
  138. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.Events.BaseEvent.html +0 -1685
  139. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.Events.BeforeUploadStarted.html +0 -2030
  140. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.Events.Error.html +0 -1695
  141. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.Events.EventName.html +0 -1843
  142. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.Events.ProgressChanged.html +0 -1791
  143. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.Events.QueueChanged.html +0 -1787
  144. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.Events.StateChanged.html +0 -1791
  145. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.Events.UploadError.html +0 -2174
  146. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.Events.UploadItemsCreated.html +0 -2150
  147. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.FSEntry.html +0 -1823
  148. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.FileSpan.html +0 -1806
  149. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.Groups.Group.html +0 -1761
  150. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.Groups.GroupManager.html +0 -1803
  151. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.InputCollection.html +0 -2140
  152. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.ItemSettings.html +0 -1685
  153. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.Path.Generator.html +0 -1888
  154. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.Path.PathCache.html +0 -1693
  155. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.Progress.html +0 -1969
  156. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.Providers.ProgressTracker.html +0 -1744
  157. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.Providers.UploadDiff.html +0 -1786
  158. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.Providers.UploadProvider.html +0 -1832
  159. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.Queue.html +0 -2618
  160. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.ServerItem.html +0 -1761
  161. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.Settings.html +0 -1840
  162. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.State.html +0 -2031
  163. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.States.BaseState.html +0 -1685
  164. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.States.CanceledState.html +0 -1691
  165. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.States.CompletedState.html +0 -1691
  166. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.States.Factory.html +0 -1689
  167. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.States.PausedState.html +0 -1691
  168. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.States.QueuedState.html +0 -1691
  169. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.States.ResumeState.html +0 -1691
  170. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.States.SkippedState.html +0 -1691
  171. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.States.UploadingState.html +0 -1691
  172. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.UploadItem.html +0 -5087
  173. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.UploadLocation.html +0 -1761
  174. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.Uploader.html +0 -2106
  175. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.UploaderSession.html +0 -3304
  176. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.Utils.DavUrl.html +0 -1779
  177. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.Utils.DavUrlBuilder.html +0 -1744
  178. package/Help/ClassReference/ITHit.WebDAV.Client.Upload.Utils.RepeatableAction.html +0 -1863
  179. package/Help/ClassReference/ITHit.WebDAV.Client.UploadProgressInfo.html +0 -1877
  180. package/Help/ClassReference/ITHit.WebDAV.Client.Version.html +0 -3357
  181. package/Help/ClassReference/ITHit.WebDAV.Client.WebDavRequest.html +0 -1689
  182. package/Help/ClassReference/ITHit.WebDAV.Client.WebDavResponse.html +0 -1689
  183. package/Help/ClassReference/ITHit.WebDAV.Client.WebDavSession.html +0 -4046
  184. package/Help/ClassReference/ITHit.WebDAV.Client.WebDavUtil.html +0 -1689
  185. package/Help/ClassReference/data/search.json +0 -1
  186. package/Help/ClassReference/fonts/Inconsolata-Regular.ttf +0 -0
  187. package/Help/ClassReference/fonts/OpenSans-Regular.ttf +0 -0
  188. package/Help/ClassReference/fonts/WorkSans-Bold.ttf +0 -0
  189. package/Help/ClassReference/global.html +0 -7914
  190. package/Help/ClassReference/index.html +0 -2408
  191. package/Help/ClassReference/scripts/core.js +0 -710
  192. package/Help/ClassReference/scripts/core.min.js +0 -23
  193. package/Help/ClassReference/scripts/resize.js +0 -90
  194. package/Help/ClassReference/scripts/search.js +0 -265
  195. package/Help/ClassReference/scripts/search.min.js +0 -6
  196. package/Help/ClassReference/scripts/third-party/Apache-License-2.0.txt +0 -202
  197. package/Help/ClassReference/scripts/third-party/fuse.js +0 -9
  198. package/Help/ClassReference/scripts/third-party/hljs-line-num-original.js +0 -369
  199. package/Help/ClassReference/scripts/third-party/hljs-line-num.js +0 -1
  200. package/Help/ClassReference/scripts/third-party/hljs-original.js +0 -5171
  201. package/Help/ClassReference/scripts/third-party/hljs.js +0 -1
  202. package/Help/ClassReference/scripts/third-party/jquery.min.js +0 -6
  203. package/Help/ClassReference/scripts/third-party/popper.js +0 -5
  204. package/Help/ClassReference/scripts/third-party/tippy.js +0 -1
  205. package/Help/ClassReference/scripts/third-party/tocbot.js +0 -683
  206. package/Help/ClassReference/scripts/third-party/tocbot.min.js +0 -1
  207. package/Help/ClassReference/styles/clean-jsdoc-theme-base.css +0 -1053
  208. package/Help/ClassReference/styles/clean-jsdoc-theme-dark.css +0 -418
  209. package/Help/ClassReference/styles/clean-jsdoc-theme-light.css +0 -399
  210. package/Help/ClassReference/styles/clean-jsdoc-theme.min.css +0 -1
@@ -1,23 +0,0 @@
1
- var accordionLocalStorageKey="accordion-id",themeLocalStorageKey="theme",fontSizeLocalStorageKey="font-size",html=document.querySelector("html"),MAX_FONT_SIZE=30,MIN_FONT_SIZE=10,localStorage=window.localStorage;function getTheme(){return document.body.getAttribute("data-theme")}function updateTheme(e){var t=document.body,o=document.querySelectorAll(".theme-svg-use"),n="dark"===e?"#light-theme-icon":"#dark-theme-icon";t.setAttribute("data-theme",e),t.classList.remove("dark","light"),t.classList.add(e),o.forEach(function(e){e.setAttribute("xlink:href",n)}),localStorage.setItem(themeLocalStorageKey,e)}function toggleTheme(){updateTheme("dark"===document.body.getAttribute("data-theme")?"light":"dark")}function setAccordionIdToLocalStorage(e){var t=JSON.parse(localStorage.getItem(accordionLocalStorageKey));t[e]=e,localStorage.setItem(accordionLocalStorageKey,JSON.stringify(t))}function removeAccordionIdFromLocalStorage(e){var t=JSON.parse(localStorage.getItem(accordionLocalStorageKey));delete t[e],localStorage.setItem(accordionLocalStorageKey,JSON.stringify(t))}function getAccordionIdsFromLocalStorage(){return JSON.parse(localStorage.getItem(accordionLocalStorageKey))||{}}function toggleAccordion(e){"false"===e.getAttribute("data-isopen")?(e.setAttribute("data-isopen","true"),setAccordionIdToLocalStorage(e.id)):(e.setAttribute("data-isopen","false"),removeAccordionIdFromLocalStorage(e.id))}function initAccordion(){void 0!==localStorage.getItem(accordionLocalStorageKey)&&null!==localStorage.getItem(accordionLocalStorageKey)||localStorage.setItem(accordionLocalStorageKey,"{}");var e=document.querySelectorAll(".sidebar-section-title"),t=getAccordionIdsFromLocalStorage();e.forEach(function(e){e.addEventListener("click",function(){toggleAccordion(e)}),e.id in t&&toggleAccordion(e)})}function isSourcePage(){return Boolean(document.querySelector("#source-page"))}function bringElementIntoView(e,t=!0){var o,n,c,i;e&&(tocbotInstance&&setTimeout(()=>tocbotInstance.updateTocListActiveElement(e),60),o=document.querySelector(".navbar-container"),n=document.querySelector(".main-content"),c=e.getBoundingClientRect().top,i=16,o&&(i+=o.scrollHeight),n&&n.scrollBy(0,c-i),t&&history.pushState(null,null,"#"+e.id))}function bringLinkToView(e){e.preventDefault(),e.stopPropagation();var e=e.currentTarget.getAttribute("href");!e||(e=document.getElementById(e.slice(1)))&&bringElementIntoView(e)}function bringIdToViewOnMount(){var e,t;isSourcePage()||""!==(e=window.location.hash)&&((t=document.getElementById(e.slice(1)))||(e=decodeURI(e),t=document.getElementById(e.slice(1))),t&&bringElementIntoView(t,!1))}function createAnchorElement(e){var t=document.createElement("a");return t.textContent="#",t.href="#"+e,t.classList.add("link-anchor"),t.onclick=bringLinkToView,t}function addAnchor(){var e=document.querySelector(".main-content").querySelector("section");[e.querySelectorAll("h1"),e.querySelectorAll("h2"),e.querySelectorAll("h3"),e.querySelectorAll("h4")].forEach(function(e){e.forEach(function(e){var t=createAnchorElement(e.id);e.classList.add("has-anchor"),e.append(t)})})}function copy(e){console.log(e);const t=document.createElement("textarea");t.value=e,document.body.appendChild(t),t.select(),document.execCommand("copy"),document.body.removeChild(t)}function showTooltip(e){var t=document.getElementById(e);t.classList.add("show-tooltip"),setTimeout(function(){t.classList.remove("show-tooltip")},3e3)}function copyFunction(e){var t=document.getElementById(e);copy((t.querySelector(".linenums")||t.querySelector("code")).innerText.trim().replace(/(^\t)/gm,"")),showTooltip("tooltip-"+e)}function hideTocOnSourcePage(){isSourcePage()&&(document.querySelector(".toc-container").style.display="none")}function getPreTopBar(e,t=""){e='<button aria-label="copy code" class="icon-button copy-code" onclick="copyFunction(\''+e+'\')"><svg class="sm-icon" alt="click to copy"><use xlink:href="#copy-icon"></use></svg>'+('<div class="tooltip" id="tooltip-'+e+'">Copied!</div>')+"</button>";return'<div class="pre-top-bar-container">'+('<div class="code-lang-name-container"><div class="code-lang-name">'+t.toLocaleUpperCase()+"</div></div>")+e+"</div>"}function getPreDiv(){var e=document.createElement("div");return e.classList.add("pre-div"),e}function processAllPre(){var e=document.querySelectorAll("pre"),t=document.querySelector("#PeOAagUepe"),o=document.querySelector("#VuAckcnZhf"),n=0,c=0;t&&(c=t.getBoundingClientRect().height),o&&(n=o.getBoundingClientRect().height),window.innerHeight;e.forEach(function(e,t){var o,n=e.parentNode;n&&"true"===n.getAttribute("data-skip-pre-process")||(n=getPreDiv(),o=getPreTopBar(t="ScDloZOMdL"+t,e.getAttribute("data-lang")||"code"),n.innerHTML=o,e.id=t,e.classList.add("prettyprint"),e.parentNode.insertBefore(n,e),n.appendChild(e))})}function highlightAndBringLineIntoView(){var e=window.location.hash.replace("#line","");try{var t='[data-line-number="'+e+'"',o=document.querySelector(t);o.scrollIntoView(),o.parentNode.classList.add("selected")}catch(e){console.error(e)}}function getFontSize(){var e=16;try{e=Number.parseInt(html.style.fontSize.split("px")[0],10)}catch(e){console.log(e)}return e}function updateFontSize(e){html.style.fontSize=e+"px",localStorage.setItem(fontSizeLocalStorageKey,e);var t=document.querySelector("#b77a68a492f343baabea06fad81f651e");t&&(t.innerHTML=e)}function incrementFont(e){var t=getFontSize();t<MAX_FONT_SIZE&&updateFontSize(t+1)}function decrementFont(e){var t=getFontSize();MIN_FONT_SIZE<t&&updateFontSize(t-1)}function fontSizeTooltip(){var e=getFontSize();return`
2
- <div class="font-size-tooltip">
3
- <button aria-label="decrease-font-size" class="icon-button ${MAX_FONT_SIZE<=e?"disabled":""}" onclick="decrementFont(event)">
4
- <svg>
5
- <use xlink:href="#minus-icon"></use>
6
- </svg>
7
- </button>
8
- <div class="font-size-text" id="b77a68a492f343baabea06fad81f651e">
9
- ${e}
10
- </div>
11
- <button aria-label="increase-font-size" class="icon-button ${e<=MIN_FONT_SIZE?"disabled":""}" onclick="incrementFont(event)">
12
- <svg>
13
- <use xlink:href="#add-icon"></use>
14
- </svg>
15
- </button>
16
- <button class="icon-button" onclick="updateFontSize(16)">
17
- <svg>
18
- <use xlink:href="#reset-icon"></use>
19
- </svg>
20
- </button>
21
- </div>
22
-
23
- `}function initTooltip(){tippy(".theme-toggle",{content:"Toggle Theme",delay:500}),tippy(".search-button",{content:"Search",delay:500}),tippy(".font-size",{content:"Change font size",delay:500}),tippy(".codepen-button",{content:"Open code in CodePen",placement:"left"}),tippy(".copy-code",{content:"Copy this code",placement:"left"}),tippy(".font-size",{content:fontSizeTooltip(),trigger:"click",interactive:!0,allowHTML:!0,placement:"left"})}function fixTable(){for(const t of document.querySelectorAll("table")){if(t.classList.contains("hljs-ln"))return;var e=document.createElement("div");e.classList.add("table-div"),t.parentNode.insertBefore(e,t),e.appendChild(t)}}function hideMobileMenu(){var e=document.querySelector("#mobile-sidebar"),t=document.querySelector("#mobile-menu"),o=t.querySelector("use");e&&e.classList.remove("show"),t&&t.setAttribute("data-isopen","false"),o&&o.setAttribute("xlink:href","#menu-icon")}function showMobileMenu(){var e=document.querySelector("#mobile-sidebar"),t=document.querySelector("#mobile-menu"),o=t.querySelector("use");e&&e.classList.add("show"),t&&t.setAttribute("data-isopen","true"),o&&o.setAttribute("xlink:href","#close-icon")}function onMobileMenuClick(){("true"===document.querySelector("#mobile-menu").getAttribute("data-isopen")?hideMobileMenu:showMobileMenu)()}function initMobileMenu(){var e=document.querySelector("#mobile-menu");e&&e.addEventListener("click",onMobileMenuClick)}function addHrefToSidebarTitle(){document.querySelectorAll(".sidebar-title-anchor").forEach(function(e){e.setAttribute("href",baseURL)})}function initClassTreeWidth(){var t=0;document.querySelectorAll(".class-tree").forEach(function(e){e.querySelector("td .desc").textContent&&(t=Math.max(e.querySelector("th .title").offsetWidth,t))}),document.querySelectorAll(".class-tree th").forEach(function(e){e.style.width=t+"px"})}function initTabs(){const e=document.querySelectorAll(".nav-tabs .nav-tab");e.forEach(function(n){n.addEventListener("click",function(e){if(e.preventDefault(),!n.classList.contains("active")){for(const t of n.parentNode.parentNode.querySelectorAll(".nav-tab"))t.classList.remove("active");n.classList.add("active");let e=document.getElementById(n.getAttribute("href").slice(1));if(e){for(const o of e.parentNode.children)o.classList.remove("active");e.classList.contains("active")||e.classList.add("active")}}})})}function onDomContentLoaded(){var e=document.querySelectorAll(".theme-toggle");initMobileMenu(),initClassTreeWidth(),e&&e.forEach(function(e){e.addEventListener("click",toggleTheme)}),hljs.highlightAll(),hljs.initLineNumbersOnLoad({singleLine:!0}),initTabs(),initAccordion(),addAnchor(),processAllPre(),hideTocOnSourcePage(),setTimeout(function(){bringIdToViewOnMount(),isSourcePage()&&highlightAndBringLineIntoView()},1e3),initTooltip(),fixTable(),addHrefToSidebarTitle()}!function(){var e=getTheme(),t=localStorage.getItem(themeLocalStorageKey);t?e!==t&&updateTheme(t):localStorage.setItem(themeLocalStorageKey,e)}(),function(){var e=getFontSize(),t=localStorage.getItem(fontSizeLocalStorageKey);t?(t=Number.parseInt(t,10))!==e&&updateFontSize(t):updateFontSize(e)}(),window.addEventListener("DOMContentLoaded",onDomContentLoaded),window.addEventListener("hashchange",e=>{e=new URL(e.newURL);""!==e.hash&&bringIdToViewOnMount(e.hash)});
@@ -1,90 +0,0 @@
1
- /* global document */
2
- // This file is @deprecated
3
-
4
- var NAVBAR_OPTIONS = {};
5
-
6
- (function() {
7
- var NAVBAR_RESIZE_LOCAL_STORAGE_KEY = 'NAVBAR_RESIZE_LOCAL_STORAGE_KEY';
8
-
9
- var navbar = document.querySelector('#navbar');
10
- var footer = document.querySelector('#footer');
11
- var mainSection = document.querySelector('#main');
12
- var localStorageResizeObject = JSON.parse(
13
- // eslint-disable-next-line no-undef
14
- localStorage.getItem(NAVBAR_RESIZE_LOCAL_STORAGE_KEY)
15
- );
16
-
17
- /**
18
- * Check whether we have any resize value in local storage or not.
19
- * If we have resize value then resize the navbar.
20
- **/
21
- if (localStorageResizeObject) {
22
- navbar.style.width = localStorageResizeObject.width;
23
- mainSection.style.marginLeft = localStorageResizeObject.width;
24
- footer.style.marginLeft = localStorageResizeObject.width;
25
- }
26
-
27
- var navbarSlider = document.querySelector('#navbar-resize');
28
-
29
- function resizeNavbar(event) {
30
- var pageX = event.pageX,
31
- pageXPlusPx = event.pageX + 'px',
32
- min = Number.parseInt(NAVBAR_OPTIONS.min, 10) || 300,
33
- max = Number.parseInt(NAVBAR_OPTIONS.max, 10) || 600;
34
-
35
- /**
36
- * Just to add some checks. If min is smaller than 10 then
37
- * user may accidentally end up reducing the size of navbar
38
- * less than 10. In that case user will not able to resize navbar
39
- * because navbar slider will be hidden.
40
- */
41
- if (min < 10) {
42
- min = 10;
43
- }
44
-
45
- /**
46
- * Only resize if pageX in range between min and max
47
- * allowed value.
48
- */
49
- if (min < pageX && pageX < max) {
50
- navbar.style.width = pageXPlusPx;
51
- mainSection.style.marginLeft = pageXPlusPx;
52
- footer.style.marginLeft = pageXPlusPx;
53
- }
54
- }
55
-
56
- function setupEventListeners() {
57
- // eslint-disable-next-line no-undef
58
- window.addEventListener('mousemove', resizeNavbar);
59
- // eslint-disable-next-line no-undef
60
- window.addEventListener('touchmove', resizeNavbar);
61
- }
62
-
63
- function afterRemovingEventListeners() {
64
- // eslint-disable-next-line no-undef
65
- localStorage.setItem(
66
- NAVBAR_RESIZE_LOCAL_STORAGE_KEY,
67
- JSON.stringify({
68
- width: navbar.style.width
69
- })
70
- );
71
- }
72
-
73
- function removeEventListeners() {
74
- // eslint-disable-next-line no-undef
75
- window.removeEventListener('mousemove', resizeNavbar);
76
- // eslint-disable-next-line no-undef
77
- window.removeEventListener('touchend', resizeNavbar);
78
- afterRemovingEventListeners();
79
- }
80
-
81
- navbarSlider.addEventListener('mousedown', setupEventListeners);
82
- navbarSlider.addEventListener('touchstart', setupEventListeners);
83
- // eslint-disable-next-line no-undef
84
- window.addEventListener('mouseup', removeEventListeners);
85
- })();
86
-
87
- // eslint-disable-next-line no-unused-vars
88
- function setupResizeOptions(options) {
89
- NAVBAR_OPTIONS = options;
90
- }
@@ -1,265 +0,0 @@
1
- /* global document */
2
-
3
- const searchId = 'LiBfqbJVcV';
4
- const searchHash = '#' + searchId;
5
- const searchContainer = document.querySelector('#PkfLWpAbet');
6
- const searchWrapper = document.querySelector('#iCxFxjkHbP');
7
- const searchCloseButton = document.querySelector('#VjLlGakifb');
8
- const searchInput = document.querySelector('#vpcKVYIppa');
9
- const resultBox = document.querySelector('#fWwVHRuDuN');
10
-
11
- function showResultText(text) {
12
- resultBox.innerHTML = `<span class="search-result-c-text">${text}</span>`;
13
- }
14
-
15
- function hideSearch() {
16
- // eslint-disable-next-line no-undef
17
- if (window.location.hash === searchHash) {
18
- // eslint-disable-next-line no-undef
19
- history.go(-1);
20
- }
21
-
22
- // eslint-disable-next-line no-undef
23
- window.onhashchange = null;
24
-
25
- if (searchContainer) {
26
- searchContainer.style.display = 'none';
27
- }
28
- }
29
-
30
- function listenCloseKey(event) {
31
- if (event.key === 'Escape') {
32
- hideSearch();
33
- // eslint-disable-next-line no-undef
34
- window.removeEventListener('keyup', listenCloseKey);
35
- }
36
- }
37
-
38
- function showSearch() {
39
- try {
40
- // Closing mobile menu before opening
41
- // search box.
42
- // It is defined in core.js
43
- // eslint-disable-next-line no-undef
44
- hideMobileMenu();
45
- } catch (error) {
46
- console.error(error);
47
- }
48
-
49
- // eslint-disable-next-line no-undef
50
- window.onhashchange = hideSearch;
51
-
52
- // eslint-disable-next-line no-undef
53
- if (window.location.hash !== searchHash) {
54
- // eslint-disable-next-line no-undef
55
- history.pushState(null, null, searchHash);
56
- }
57
-
58
- if (searchContainer) {
59
- searchContainer.style.display = 'flex';
60
- // eslint-disable-next-line no-undef
61
- window.addEventListener('keyup', listenCloseKey);
62
- }
63
-
64
- if (searchInput) {
65
- searchInput.focus();
66
- }
67
- }
68
-
69
- async function fetchAllData() {
70
- // eslint-disable-next-line no-undef
71
- const { hostname, protocol, port } = location;
72
-
73
- // eslint-disable-next-line no-undef
74
- const base = protocol + '//' + hostname + (port !== '' ? ':' + port : '') + baseURL;
75
- // eslint-disable-next-line no-undef
76
- const url = new URL('data/search.json', base);
77
- const result = await fetch(url);
78
- const { list } = await result.json();
79
-
80
- return list;
81
- }
82
-
83
- // eslint-disable-next-line no-unused-vars
84
- function onClickSearchItem(event) {
85
- const target = event.currentTarget;
86
-
87
- if (target) {
88
- const href = target.getAttribute('href') || '';
89
- let elementId = href.split('#')[1] || '';
90
- let element = document.getElementById(elementId);
91
-
92
- if (!element) {
93
- elementId = decodeURI(elementId);
94
- element = document.getElementById(elementId);
95
- }
96
-
97
- if (element) {
98
- setTimeout(function() {
99
- // eslint-disable-next-line no-undef
100
- bringElementIntoView(element); // defined in core.js
101
- }, 100);
102
- }
103
- }
104
- }
105
-
106
- function buildSearchResult(result) {
107
- let output = '';
108
- const removeHTMLTagsRegExp = /(<([^>]+)>)/ig;
109
-
110
- for (const res of result) {
111
- const { title = '', description = '' } = res.item;
112
-
113
- const _link = res.item.link.replace('<a href="', '').replace(/">.*/, '');
114
- const _title = title.replace(removeHTMLTagsRegExp, "");
115
- const _description = description.replace(removeHTMLTagsRegExp, "");
116
-
117
- output += `
118
- <a onclick="onClickSearchItem(event)" href="${_link}" class="search-result-item">
119
- <div class="search-result-item-title">${_title}</div>
120
- <div class="search-result-item-p">${_description || 'No description available.'}</div>
121
- </a>
122
- `;
123
- }
124
-
125
- return output;
126
- }
127
-
128
- function getSearchResult(list, keys, searchKey) {
129
- const defaultOptions = {
130
- shouldSort: true,
131
- threshold: 0.0,
132
- distance: 0,
133
- ignoreLocation: true,
134
- maxPatternLength: 32,
135
- minMatchCharLength: 1,
136
- keys: keys
137
- };
138
-
139
- const options = { ...defaultOptions };
140
-
141
- // eslint-disable-next-line no-undef
142
- const searchIndex = Fuse.createIndex(options.keys, list);
143
-
144
- // eslint-disable-next-line no-undef
145
- const fuse = new Fuse(list, options, searchIndex);
146
-
147
- const result = fuse.search(searchKey);
148
-
149
- if (result.length > 20) {
150
- return result.slice(0, 20);
151
- }
152
-
153
- return result;
154
- }
155
-
156
- function debounce(func, wait, immediate) {
157
- let timeout;
158
-
159
- return function() {
160
- const args = arguments;
161
-
162
- clearTimeout(timeout);
163
- timeout = setTimeout(() => {
164
- timeout = null;
165
- if (!immediate) {
166
- // eslint-disable-next-line consistent-this, no-invalid-this
167
- func.apply(this, args);
168
- }
169
- }, wait);
170
-
171
- if (immediate && !timeout) {
172
- // eslint-disable-next-line consistent-this, no-invalid-this
173
- func.apply(this, args);
174
- }
175
- };
176
- }
177
-
178
- let searchData;
179
-
180
- async function search(event) {
181
- const value = event.target.value;
182
- const keys = ['title'];
183
-
184
- if (!resultBox) {
185
- console.error('Search result container not found');
186
-
187
- return;
188
- }
189
-
190
- if (!value) {
191
- showResultText('Type anything to view search result');
192
-
193
- return;
194
- }
195
-
196
- if (!searchData) {
197
- showResultText('Loading...');
198
-
199
- try {
200
- // eslint-disable-next-line require-atomic-updates
201
- searchData = await fetchAllData();
202
- } catch (e) {
203
- console.log(e);
204
- showResultText('Failed to load result.');
205
-
206
- return;
207
- }
208
- }
209
-
210
- const result = getSearchResult(searchData, keys, value);
211
-
212
- if (!result.length) {
213
- showResultText('No result found! Try some different combination.');
214
-
215
- return;
216
- }
217
-
218
- // eslint-disable-next-line require-atomic-updates
219
- resultBox.innerHTML = buildSearchResult(result);
220
- }
221
-
222
- function onDomContentLoaded() {
223
- const searchButton = document.querySelectorAll('.search-button');
224
- const debouncedSearch = debounce(search, 300);
225
-
226
- if (searchCloseButton) {
227
- searchCloseButton.addEventListener('click', hideSearch);
228
- }
229
-
230
- if (searchButton) {
231
- searchButton.forEach(function(item) {
232
- item.addEventListener('click', showSearch);
233
- });
234
- }
235
-
236
- if (searchContainer) {
237
- searchContainer.addEventListener('click', hideSearch);
238
- }
239
-
240
- if (searchWrapper) {
241
- searchWrapper.addEventListener('click', function(event) {
242
- event.stopPropagation();
243
- });
244
- }
245
-
246
- if (searchInput) {
247
- searchInput.addEventListener('keyup', debouncedSearch);
248
- }
249
-
250
- // eslint-disable-next-line no-undef
251
- if (window.location.hash === searchHash) {
252
- showSearch();
253
- }
254
- }
255
-
256
- // eslint-disable-next-line no-undef
257
- window.addEventListener('DOMContentLoaded', onDomContentLoaded);
258
-
259
- // eslint-disable-next-line no-undef
260
- window.addEventListener('hashchange', function() {
261
- // eslint-disable-next-line no-undef
262
- if (window.location.hash === searchHash) {
263
- showSearch();
264
- }
265
- });
@@ -1,6 +0,0 @@
1
- const searchId="LiBfqbJVcV",searchHash="#"+searchId,searchContainer=document.querySelector("#PkfLWpAbet"),searchWrapper=document.querySelector("#iCxFxjkHbP"),searchCloseButton=document.querySelector("#VjLlGakifb"),searchInput=document.querySelector("#vpcKVYIppa"),resultBox=document.querySelector("#fWwVHRuDuN");function showResultText(e){resultBox.innerHTML=`<span class="search-result-c-text">${e}</span>`}function hideSearch(){window.location.hash===searchHash&&history.go(-1),window.onhashchange=null,searchContainer&&(searchContainer.style.display="none")}function listenCloseKey(e){"Escape"===e.key&&(hideSearch(),window.removeEventListener("keyup",listenCloseKey))}function showSearch(){try{hideMobileMenu()}catch(e){console.error(e)}window.onhashchange=hideSearch,window.location.hash!==searchHash&&history.pushState(null,null,searchHash),searchContainer&&(searchContainer.style.display="flex",window.addEventListener("keyup",listenCloseKey)),searchInput&&searchInput.focus()}async function fetchAllData(){var{hostname:e,protocol:t,port:n}=location,t=t+"//"+e+(""!==n?":"+n:"")+baseURL,e=new URL("data/search.json",t);const a=await fetch(e);n=(await a.json()).list;return n}function onClickSearchItem(t){const n=t.currentTarget;if(n){const a=n.getAttribute("href")||"";t=a.split("#")[1]||"";let e=document.getElementById(t);e||(t=decodeURI(t),e=document.getElementById(t)),e&&setTimeout(function(){bringElementIntoView(e)},100)}}function buildSearchResult(e){let t="";var n=/(<([^>]+)>)/gi;for(const s of e){const{title:c="",description:i=""}=s.item;var a=s.item.link.replace('<a href="',"").replace(/">.*/,""),o=c.replace(n,""),r=i.replace(n,"");t+=`
2
- <a onclick="onClickSearchItem(event)" href="${a}" class="search-result-item">
3
- <div class="search-result-item-title">${o}</div>
4
- <div class="search-result-item-p">${r||"No description available."}</div>
5
- </a>
6
- `}return t}function getSearchResult(e,t,n){var t={...{shouldSort:!0,threshold:0,distance:0,ignoreLocation:!0,maxPatternLength:32,minMatchCharLength:1,keys:t}},a=Fuse.createIndex(t.keys,e);const o=new Fuse(e,t,a),r=o.search(n);return 20<r.length?r.slice(0,20):r}function debounce(t,n,a){let o;return function(){const e=arguments;clearTimeout(o),o=setTimeout(()=>{o=null,a||t.apply(this,e)},n),a&&!o&&t.apply(this,e)}}let searchData;async function search(e){e=e.target.value;if(resultBox)if(e){if(!searchData){showResultText("Loading...");try{searchData=await fetchAllData()}catch(e){return console.log(e),void showResultText("Failed to load result.")}}e=getSearchResult(searchData,["title"],e);e.length?resultBox.innerHTML=buildSearchResult(e):showResultText("No result found! Try some different combination.")}else showResultText("Type anything to view search result");else console.error("Search result container not found")}function onDomContentLoaded(){const e=document.querySelectorAll(".search-button");var t=debounce(search,300);searchCloseButton&&searchCloseButton.addEventListener("click",hideSearch),e&&e.forEach(function(e){e.addEventListener("click",showSearch)}),searchContainer&&searchContainer.addEventListener("click",hideSearch),searchWrapper&&searchWrapper.addEventListener("click",function(e){e.stopPropagation()}),searchInput&&searchInput.addEventListener("keyup",t),window.location.hash===searchHash&&showSearch()}window.addEventListener("DOMContentLoaded",onDomContentLoaded),window.addEventListener("hashchange",function(){window.location.hash===searchHash&&showSearch()});
@@ -1,202 +0,0 @@
1
-
2
- Apache License
3
- Version 2.0, January 2004
4
- http://www.apache.org/licenses/
5
-
6
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
-
8
- 1. Definitions.
9
-
10
- "License" shall mean the terms and conditions for use, reproduction,
11
- and distribution as defined by Sections 1 through 9 of this document.
12
-
13
- "Licensor" shall mean the copyright owner or entity authorized by
14
- the copyright owner that is granting the License.
15
-
16
- "Legal Entity" shall mean the union of the acting entity and all
17
- other entities that control, are controlled by, or are under common
18
- control with that entity. For the purposes of this definition,
19
- "control" means (i) the power, direct or indirect, to cause the
20
- direction or management of such entity, whether by contract or
21
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
- outstanding shares, or (iii) beneficial ownership of such entity.
23
-
24
- "You" (or "Your") shall mean an individual or Legal Entity
25
- exercising permissions granted by this License.
26
-
27
- "Source" form shall mean the preferred form for making modifications,
28
- including but not limited to software source code, documentation
29
- source, and configuration files.
30
-
31
- "Object" form shall mean any form resulting from mechanical
32
- transformation or translation of a Source form, including but
33
- not limited to compiled object code, generated documentation,
34
- and conversions to other media types.
35
-
36
- "Work" shall mean the work of authorship, whether in Source or
37
- Object form, made available under the License, as indicated by a
38
- copyright notice that is included in or attached to the work
39
- (an example is provided in the Appendix below).
40
-
41
- "Derivative Works" shall mean any work, whether in Source or Object
42
- form, that is based on (or derived from) the Work and for which the
43
- editorial revisions, annotations, elaborations, or other modifications
44
- represent, as a whole, an original work of authorship. For the purposes
45
- of this License, Derivative Works shall not include works that remain
46
- separable from, or merely link (or bind by name) to the interfaces of,
47
- the Work and Derivative Works thereof.
48
-
49
- "Contribution" shall mean any work of authorship, including
50
- the original version of the Work and any modifications or additions
51
- to that Work or Derivative Works thereof, that is intentionally
52
- submitted to Licensor for inclusion in the Work by the copyright owner
53
- or by an individual or Legal Entity authorized to submit on behalf of
54
- the copyright owner. For the purposes of this definition, "submitted"
55
- means any form of electronic, verbal, or written communication sent
56
- to the Licensor or its representatives, including but not limited to
57
- communication on electronic mailing lists, source code control systems,
58
- and issue tracking systems that are managed by, or on behalf of, the
59
- Licensor for the purpose of discussing and improving the Work, but
60
- excluding communication that is conspicuously marked or otherwise
61
- designated in writing by the copyright owner as "Not a Contribution."
62
-
63
- "Contributor" shall mean Licensor and any individual or Legal Entity
64
- on behalf of whom a Contribution has been received by Licensor and
65
- subsequently incorporated within the Work.
66
-
67
- 2. Grant of Copyright License. Subject to the terms and conditions of
68
- this License, each Contributor hereby grants to You a perpetual,
69
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
- copyright license to reproduce, prepare Derivative Works of,
71
- publicly display, publicly perform, sublicense, and distribute the
72
- Work and such Derivative Works in Source or Object form.
73
-
74
- 3. Grant of Patent License. Subject to the terms and conditions of
75
- this License, each Contributor hereby grants to You a perpetual,
76
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
- (except as stated in this section) patent license to make, have made,
78
- use, offer to sell, sell, import, and otherwise transfer the Work,
79
- where such license applies only to those patent claims licensable
80
- by such Contributor that are necessarily infringed by their
81
- Contribution(s) alone or by combination of their Contribution(s)
82
- with the Work to which such Contribution(s) was submitted. If You
83
- institute patent litigation against any entity (including a
84
- cross-claim or counterclaim in a lawsuit) alleging that the Work
85
- or a Contribution incorporated within the Work constitutes direct
86
- or contributory patent infringement, then any patent licenses
87
- granted to You under this License for that Work shall terminate
88
- as of the date such litigation is filed.
89
-
90
- 4. Redistribution. You may reproduce and distribute copies of the
91
- Work or Derivative Works thereof in any medium, with or without
92
- modifications, and in Source or Object form, provided that You
93
- meet the following conditions:
94
-
95
- (a) You must give any other recipients of the Work or
96
- Derivative Works a copy of this License; and
97
-
98
- (b) You must cause any modified files to carry prominent notices
99
- stating that You changed the files; and
100
-
101
- (c) You must retain, in the Source form of any Derivative Works
102
- that You distribute, all copyright, patent, trademark, and
103
- attribution notices from the Source form of the Work,
104
- excluding those notices that do not pertain to any part of
105
- the Derivative Works; and
106
-
107
- (d) If the Work includes a "NOTICE" text file as part of its
108
- distribution, then any Derivative Works that You distribute must
109
- include a readable copy of the attribution notices contained
110
- within such NOTICE file, excluding those notices that do not
111
- pertain to any part of the Derivative Works, in at least one
112
- of the following places: within a NOTICE text file distributed
113
- as part of the Derivative Works; within the Source form or
114
- documentation, if provided along with the Derivative Works; or,
115
- within a display generated by the Derivative Works, if and
116
- wherever such third-party notices normally appear. The contents
117
- of the NOTICE file are for informational purposes only and
118
- do not modify the License. You may add Your own attribution
119
- notices within Derivative Works that You distribute, alongside
120
- or as an addendum to the NOTICE text from the Work, provided
121
- that such additional attribution notices cannot be construed
122
- as modifying the License.
123
-
124
- You may add Your own copyright statement to Your modifications and
125
- may provide additional or different license terms and conditions
126
- for use, reproduction, or distribution of Your modifications, or
127
- for any such Derivative Works as a whole, provided Your use,
128
- reproduction, and distribution of the Work otherwise complies with
129
- the conditions stated in this License.
130
-
131
- 5. Submission of Contributions. Unless You explicitly state otherwise,
132
- any Contribution intentionally submitted for inclusion in the Work
133
- by You to the Licensor shall be under the terms and conditions of
134
- this License, without any additional terms or conditions.
135
- Notwithstanding the above, nothing herein shall supersede or modify
136
- the terms of any separate license agreement you may have executed
137
- with Licensor regarding such Contributions.
138
-
139
- 6. Trademarks. This License does not grant permission to use the trade
140
- names, trademarks, service marks, or product names of the Licensor,
141
- except as required for reasonable and customary use in describing the
142
- origin of the Work and reproducing the content of the NOTICE file.
143
-
144
- 7. Disclaimer of Warranty. Unless required by applicable law or
145
- agreed to in writing, Licensor provides the Work (and each
146
- Contributor provides its Contributions) on an "AS IS" BASIS,
147
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
- implied, including, without limitation, any warranties or conditions
149
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
- PARTICULAR PURPOSE. You are solely responsible for determining the
151
- appropriateness of using or redistributing the Work and assume any
152
- risks associated with Your exercise of permissions under this License.
153
-
154
- 8. Limitation of Liability. In no event and under no legal theory,
155
- whether in tort (including negligence), contract, or otherwise,
156
- unless required by applicable law (such as deliberate and grossly
157
- negligent acts) or agreed to in writing, shall any Contributor be
158
- liable to You for damages, including any direct, indirect, special,
159
- incidental, or consequential damages of any character arising as a
160
- result of this License or out of the use or inability to use the
161
- Work (including but not limited to damages for loss of goodwill,
162
- work stoppage, computer failure or malfunction, or any and all
163
- other commercial damages or losses), even if such Contributor
164
- has been advised of the possibility of such damages.
165
-
166
- 9. Accepting Warranty or Additional Liability. While redistributing
167
- the Work or Derivative Works thereof, You may choose to offer,
168
- and charge a fee for, acceptance of support, warranty, indemnity,
169
- or other liability obligations and/or rights consistent with this
170
- License. However, in accepting such obligations, You may act only
171
- on Your own behalf and on Your sole responsibility, not on behalf
172
- of any other Contributor, and only if You agree to indemnify,
173
- defend, and hold each Contributor harmless for any liability
174
- incurred by, or claims asserted against, such Contributor by reason
175
- of your accepting any such warranty or additional liability.
176
-
177
- END OF TERMS AND CONDITIONS
178
-
179
- APPENDIX: How to apply the Apache License to your work.
180
-
181
- To apply the Apache License to your work, attach the following
182
- boilerplate notice, with the fields enclosed by brackets "[]"
183
- replaced with your own identifying information. (Don't include
184
- the brackets!) The text should be enclosed in the appropriate
185
- comment syntax for the file format. We also recommend that a
186
- file or class name and description of purpose be included on the
187
- same "printed page" as the copyright notice for easier
188
- identification within third-party archives.
189
-
190
- Copyright [yyyy] [name of copyright owner]
191
-
192
- Licensed under the Apache License, Version 2.0 (the "License");
193
- you may not use this file except in compliance with the License.
194
- You may obtain a copy of the License at
195
-
196
- http://www.apache.org/licenses/LICENSE-2.0
197
-
198
- Unless required by applicable law or agreed to in writing, software
199
- distributed under the License is distributed on an "AS IS" BASIS,
200
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
- See the License for the specific language governing permissions and
202
- limitations under the License.