├── Docs └── OSLogKit.doccarchive │ ├── favicon.ico │ ├── index │ ├── data.mdb │ ├── navigator.index │ └── availability.index │ ├── developer-og.jpg │ ├── metadata.json │ ├── developer-og-twitter.jpg │ ├── images │ └── LogKitBanner.png │ ├── img │ ├── no-image@2x.df2a0a50.png │ ├── deprecated-icon.015b4f17.svg │ ├── added-icon.d6f7e47d.svg │ └── modified-icon.f496e73d.svg │ ├── js │ ├── highlight-js-shell.dd7f411f.js │ ├── highlight-js-json.471128d2.js │ ├── highlight-js-diff.62d66733.js │ ├── highlight-js-http.163e45b6.js │ ├── highlight-js-xml.9c3688c7.js │ ├── highlight-js-markdown.90077643.js │ ├── highlight-js-java.8326d9d8.js │ ├── highlight-js-llvm.6100b125.js │ ├── highlight-js-objectivec.bcdf5156.js │ ├── highlight-js-bash.1b52852f.js │ ├── highlight-js-custom-markdown.7cffc4b3.js │ ├── highlight-js-python.c214ed92.js │ ├── highlight-js-ruby.f889d392.js │ ├── highlight-js-c.d1db3f17.js │ ├── highlight-js-php.cc8d6c27.js │ └── highlight-js-perl.757d7b6f.js │ ├── favicon.svg │ ├── data │ └── documentation │ │ ├── oslogkit │ │ ├── swiftui.json │ │ ├── oslogerror │ │ │ ├── error-implementations.json │ │ │ ├── invalidsubsystem.json │ │ │ ├── exportfailure(_:).json │ │ │ ├── errordescription.json │ │ │ └── localizeddescription.json │ │ ├── oslogspan │ │ │ ├── day(_:).json │ │ │ ├── hour(_:).json │ │ │ └── minute(_:).json │ │ └── oslogkit │ │ │ └── init().json │ │ └── oslogkit.json │ ├── css │ └── documentation-topic~topic.b6287bcf.css │ ├── index.html │ └── documentation │ └── oslogkit │ ├── index.html │ ├── oslogkit │ ├── index.html │ ├── init() │ │ └── index.html │ ├── capture(level:message:) │ │ └── index.html │ ├── init(subsystem:category:) │ │ └── index.html │ ├── captureinbulk(levels:messages:) │ │ └── index.html │ └── exportlogs(forsubsystem:timespan:completion:) │ │ └── index.html │ ├── swiftui │ ├── index.html │ └── view │ │ ├── index.html │ │ ├── capturelogontap(_:_:_:_:) │ │ └── index.html │ │ ├── capturebulklogontap(_:_:_:_:) │ │ └── index.html │ │ ├── capturelogonappear(_:_:_:_:) │ │ └── index.html │ │ ├── capturelogonsubmit(_:_:_:_:) │ │ └── index.html │ │ ├── capturebulklogonappear(_:_:_:_:) │ │ └── index.html │ │ ├── capturebulklogondisappear(_:_:_:_:) │ │ └── index.html │ │ ├── capturebulklogonlongpress(_:_:_:_:) │ │ └── index.html │ │ ├── capturebulklogonsubmit(_:_:_:_:) │ │ └── index.html │ │ ├── capturelogondisappear(_:_:_:_:) │ │ └── index.html │ │ └── capturelogonlongpress(_:_:_:_:) │ │ └── index.html │ ├── oslogerror │ ├── index.html │ ├── errordescription │ │ └── index.html │ ├── exportfailure(_:) │ │ └── index.html │ ├── invalidsubsystem │ │ └── index.html │ ├── error-implementations │ │ └── index.html │ └── localizeddescription │ │ └── index.html │ ├── oslogspan │ ├── index.html │ ├── day(_:) │ │ └── index.html │ ├── hour(_:) │ │ └── index.html │ └── minute(_:) │ │ └── index.html │ └── gettingstarted │ └── index.html ├── Sources └── OSLogKit │ ├── OSLogKit.docc │ ├── Resources │ │ └── LogKitBanner.png │ ├── GettingStarted.md │ └── OSLogKit.md │ ├── OSLogError.swift │ ├── OSLogSpan.swift │ └── OSLogKit.swift ├── .gitignore ├── .swiftpm └── xcode │ └── package.xcworkspace │ └── xcshareddata │ └── IDEWorkspaceChecks.plist ├── Package.resolved ├── Package.swift └── LICENSE /Docs/OSLogKit.doccarchive/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gokulnair2001/OSLogKit/HEAD/Docs/OSLogKit.doccarchive/favicon.ico -------------------------------------------------------------------------------- /Docs/OSLogKit.doccarchive/index/data.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gokulnair2001/OSLogKit/HEAD/Docs/OSLogKit.doccarchive/index/data.mdb -------------------------------------------------------------------------------- /Docs/OSLogKit.doccarchive/developer-og.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gokulnair2001/OSLogKit/HEAD/Docs/OSLogKit.doccarchive/developer-og.jpg -------------------------------------------------------------------------------- /Docs/OSLogKit.doccarchive/index/navigator.index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gokulnair2001/OSLogKit/HEAD/Docs/OSLogKit.doccarchive/index/navigator.index -------------------------------------------------------------------------------- /Docs/OSLogKit.doccarchive/metadata.json: -------------------------------------------------------------------------------- 1 | {"bundleDisplayName":"OSLogKit","bundleIdentifier":"OSLogKit","schemaVersion":{"major":0,"minor":1,"patch":0}} -------------------------------------------------------------------------------- /Docs/OSLogKit.doccarchive/developer-og-twitter.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gokulnair2001/OSLogKit/HEAD/Docs/OSLogKit.doccarchive/developer-og-twitter.jpg -------------------------------------------------------------------------------- /Docs/OSLogKit.doccarchive/images/LogKitBanner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gokulnair2001/OSLogKit/HEAD/Docs/OSLogKit.doccarchive/images/LogKitBanner.png -------------------------------------------------------------------------------- /Docs/OSLogKit.doccarchive/index/availability.index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gokulnair2001/OSLogKit/HEAD/Docs/OSLogKit.doccarchive/index/availability.index -------------------------------------------------------------------------------- /Docs/OSLogKit.doccarchive/img/no-image@2x.df2a0a50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gokulnair2001/OSLogKit/HEAD/Docs/OSLogKit.doccarchive/img/no-image@2x.df2a0a50.png -------------------------------------------------------------------------------- /Sources/OSLogKit/OSLogKit.docc/Resources/LogKitBanner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gokulnair2001/OSLogKit/HEAD/Sources/OSLogKit/OSLogKit.docc/Resources/LogKitBanner.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | /.build 3 | /Packages 4 | /*.xcodeproj 5 | xcuserdata/ 6 | DerivedData/ 7 | .swiftpm/config/registries.json 8 | .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata 9 | .netrc 10 | -------------------------------------------------------------------------------- /.swiftpm/xcode/package.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Docs/OSLogKit.doccarchive/img/deprecated-icon.015b4f17.svg: -------------------------------------------------------------------------------- 1 | 10 | 11 | -------------------------------------------------------------------------------- /Sources/OSLogKit/OSLogError.swift: -------------------------------------------------------------------------------- 1 | // 2 | // OSLogError.swift 3 | // 4 | // 5 | // Created by Gokul Nair on 19/06/23. 6 | // 7 | 8 | import Foundation 9 | 10 | /// OSLogKit uses OSLogError to throw correct error for various failures 11 | public enum OSLogError: Error { 12 | case invalidSubsystem 13 | case exportFailure(String) 14 | 15 | // Detailed description about the error 16 | public var errorDescription: String { 17 | switch self { 18 | case .exportFailure(let customString): 19 | return customString 20 | case .invalidSubsystem: 21 | return "OSLogKit: Invalid Subsystem" 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /Package.resolved: -------------------------------------------------------------------------------- 1 | { 2 | "pins" : [ 3 | { 4 | "identity" : "swift-docc-plugin", 5 | "kind" : "remoteSourceControl", 6 | "location" : "https://github.com/apple/swift-docc-plugin.git", 7 | "state" : { 8 | "revision" : "9b1258905c21fc1b97bf03d1b4ca12c4ec4e5fda", 9 | "version" : "1.2.0" 10 | } 11 | }, 12 | { 13 | "identity" : "swift-docc-symbolkit", 14 | "kind" : "remoteSourceControl", 15 | "location" : "https://github.com/apple/swift-docc-symbolkit", 16 | "state" : { 17 | "revision" : "b45d1f2ed151d057b54504d653e0da5552844e34", 18 | "version" : "1.0.0" 19 | } 20 | } 21 | ], 22 | "version" : 2 23 | } 24 | -------------------------------------------------------------------------------- /Docs/OSLogKit.doccarchive/img/added-icon.d6f7e47d.svg: -------------------------------------------------------------------------------- 1 | 10 | 11 | -------------------------------------------------------------------------------- /Sources/OSLogKit/OSLogSpan.swift: -------------------------------------------------------------------------------- 1 | // 2 | // OSLogSpan.swift 3 | // 4 | // 5 | // Created by Gokul Nair on 19/06/23. 6 | // 7 | 8 | import Foundation 9 | 10 | /// OSLogKit uses OSLogSpan to calculate the duration for which the log needs to be fetched 11 | public enum OSLogSpan { 12 | case minute(Int) 13 | case hour(Int) 14 | case day(Int) 15 | 16 | var getTimeInterval: TimeInterval { 17 | switch self { 18 | case .minute(let minutes): 19 | return TimeInterval(-60 * minutes) 20 | case .hour(let hours): 21 | return TimeInterval(-3600 * hours) 22 | case .day(let days): 23 | return TimeInterval(-24 * 3600 * days) 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Docs/OSLogKit.doccarchive/js/highlight-js-shell.dd7f411f.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * This source file is part of the Swift.org open source project 3 | * 4 | * Copyright (c) 2021 Apple Inc. and the Swift project authors 5 | * Licensed under Apache License v2.0 with Runtime Library Exception 6 | * 7 | * See https://swift.org/LICENSE.txt for license information 8 | * See https://swift.org/CONTRIBUTORS.txt for Swift project authors 9 | */ 10 | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["highlight-js-shell"],{b65b:function(s,n){function e(s){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}s.exports=e}}]); -------------------------------------------------------------------------------- /Docs/OSLogKit.doccarchive/js/highlight-js-json.471128d2.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * This source file is part of the Swift.org open source project 3 | * 4 | * Copyright (c) 2021 Apple Inc. and the Swift project authors 5 | * Licensed under Apache License v2.0 with Runtime Library Exception 6 | * 7 | * See https://swift.org/LICENSE.txt for license information 8 | * See https://swift.org/CONTRIBUTORS.txt for Swift project authors 9 | */ 10 | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["highlight-js-json"],{"5ad2":function(n,e){function a(n){const e={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},a={match:/[{}[\],:]/,className:"punctuation",relevance:0},s={beginKeywords:["true","false","null"].join(" ")};return{name:"JSON",contains:[e,a,n.QUOTE_STRING_MODE,s,n.C_NUMBER_MODE,n.C_LINE_COMMENT_MODE,n.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}n.exports=a}}]); -------------------------------------------------------------------------------- /Sources/OSLogKit/OSLogKit.docc/GettingStarted.md: -------------------------------------------------------------------------------- 1 | # Getting Started 2 | 3 | OSLogKit helps you to adopt OSLog into your code base with ease. The powerful API's of OSLogKit make it easy to perform various logging operations. 4 | 5 | ## Usage 6 | 7 | Initially create the instance of ``OSLogKit`` with ``OSLogKit/OSLogKit/init()`` or ``OSLogKit/OSLogKit/init(subSystem:category:)`` initialiser 8 | 9 | ```swift 10 | let logger = Logger() 11 | ``` 12 | 13 | ### SwiftUI 14 | 15 | ```swift 16 | VStack { 17 | // Some view 18 | }.captureLogOnTap(logger, "OSLogKit test log") { 19 | // additional on tap action (Optional) 20 | } 21 | ``` 22 | 23 | ### UIKit 24 | ```swift 25 | logger.capture(message: "OSLogKit test log") 26 | ``` 27 | 28 | - Important: Use the classic logger instance from ``OSLogKit`` inorder to capture logs with more privacy 29 | 30 | ## Topics 31 | 32 | ### Classes 33 | 34 | - ``OSLogKit/OSLogKit`` 35 | 36 | ### Enumerations 37 | 38 | - ``OSLogError`` 39 | - ``OSLogSpan`` 40 | -------------------------------------------------------------------------------- /Docs/OSLogKit.doccarchive/js/highlight-js-diff.62d66733.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * This source file is part of the Swift.org open source project 3 | * 4 | * Copyright (c) 2021 Apple Inc. and the Swift project authors 5 | * Licensed under Apache License v2.0 with Runtime Library Exception 6 | * 7 | * See https://swift.org/LICENSE.txt for license information 8 | * See https://swift.org/CONTRIBUTORS.txt for Swift project authors 9 | */ 10 | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["highlight-js-diff"],{"48b8":function(e,n){function a(e){const n=e.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:n.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:n.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}e.exports=a}}]); -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- 1 | // swift-tools-version: 5.9 2 | // The swift-tools-version declares the minimum version of Swift required to build this package. 3 | 4 | import PackageDescription 5 | 6 | let package = Package( 7 | name: "OSLogKit", 8 | platforms: [.iOS(.v14), .macOS(.v11), .tvOS(.v14), .watchOS(.v7), .visionOS(.v1)], 9 | products: [ 10 | // Products define the executables and libraries a package produces, and make them visible to other packages. 11 | .library( 12 | name: "OSLogKit", 13 | targets: ["OSLogKit"]), 14 | ], 15 | dependencies: [ 16 | .package(url: "https://github.com/apple/swift-docc-plugin.git", from: "1.0.0"), 17 | ], 18 | targets: [ 19 | // Targets are the basic building blocks of a package. A target can define a module or a test suite. 20 | // Targets can depend on other targets in this package, and on products in packages this package depends on. 21 | .target( 22 | name: "OSLogKit", 23 | dependencies: []), 24 | ] 25 | ) 26 | -------------------------------------------------------------------------------- /Sources/OSLogKit/OSLogKit.docc/OSLogKit.md: -------------------------------------------------------------------------------- 1 | # ``OSLogKit`` 2 | 3 | A Layer 2 framework for OSLog which makes its adoption more easier⌨️ 4 | 5 | ## Overview 6 | 7 | OSLogKit is a layer 2 framework developed on top of the native OSLog system, aiming to simplify the integration of OSLog into your project. Apple has done an excellent job in ensuring that OSLogging is straightforward and easy to use. However, when it comes to implementing OSLog in your codebase, can be challenging. 8 | 9 | To address this, OSLogKit has been developed, further simplifying the process of adopting OSLog. One notable advantage of OSLogKit is that it offers additional functionalities not available in the native API. 10 | 11 | OSLogKit has a variety of Modifiers which makes OSLogKit adoption very easy. Don't worry if your code base is in UIKit, you can still adopt it quickly. 12 | 13 |  14 | 15 | ## Topics 16 | 17 | ### Classes 18 | 19 | - ``OSLogKit/OSLogKit`` 20 | 21 | ### Usage 22 | - 23 | 24 | ### Enumerations 25 | 26 | - ``OSLogError`` 27 | - ``OSLogSpan`` 28 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2023 Gokul Nair 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /Docs/OSLogKit.doccarchive/img/modified-icon.f496e73d.svg: -------------------------------------------------------------------------------- 1 | 10 | 11 | -------------------------------------------------------------------------------- /Docs/OSLogKit.doccarchive/js/highlight-js-http.163e45b6.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * This source file is part of the Swift.org open source project 3 | * 4 | * Copyright (c) 2021 Apple Inc. and the Swift project authors 5 | * Licensed under Apache License v2.0 with Runtime Library Exception 6 | * 7 | * See https://swift.org/LICENSE.txt for license information 8 | * See https://swift.org/CONTRIBUTORS.txt for Swift project authors 9 | */ 10 | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["highlight-js-http"],{c01d:function(e,n){function a(e){const n=e.regex,a="HTTP/(2|1\\.[01])",s=/[A-Za-z][A-Za-z0-9-]*/,t={className:"attribute",begin:n.concat("^",s,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},i=[t,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+a+" \\d{3})",end:/$/,contains:[{className:"meta",begin:a},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:i}},{begin:"(?=^[A-Z]+ (.*?) "+a+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:a},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:i}},e.inherit(t,{relevance:0})]}}e.exports=a}}]); -------------------------------------------------------------------------------- /Docs/OSLogKit.doccarchive/favicon.svg: -------------------------------------------------------------------------------- 1 | 10 | 11 | -------------------------------------------------------------------------------- /Docs/OSLogKit.doccarchive/data/documentation/oslogkit/swiftui.json: -------------------------------------------------------------------------------- 1 | {"variants":[{"paths":["\/documentation\/oslogkit\/swiftui"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"identifier":{"url":"doc:\/\/OSLogKit\/documentation\/OSLogKit\/SwiftUI","interfaceLanguage":"swift"},"topicSections":[{"title":"Extended Protocols","identifiers":["doc:\/\/OSLogKit\/documentation\/OSLogKit\/SwiftUI\/View"]}],"kind":"symbol","metadata":{"roleHeading":"Extended Module","externalID":"s:m:s:e:s:7SwiftUI4ViewP8OSLogKitE18captureLogOnAppearyQrA2DC_SSSo13os_log_type_tayycSgtF","title":"SwiftUI","symbolKind":"extension","role":"collection","modules":[{"name":"OSLogKit"}]},"hierarchy":{"paths":[["doc:\/\/OSLogKit\/documentation\/OSLogKit"]]},"references":{"doc://OSLogKit/documentation/OSLogKit/SwiftUI/View":{"role":"symbol","title":"View","fragments":[{"kind":"keyword","text":"extension"},{"kind":"text","text":" "},{"kind":"identifier","text":"View","preciseIdentifier":"s:7SwiftUI4ViewP"}],"abstract":[],"identifier":"doc:\/\/OSLogKit\/documentation\/OSLogKit\/SwiftUI\/View","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"View"}],"url":"\/documentation\/oslogkit\/swiftui\/view"},"doc://OSLogKit/documentation/OSLogKit/SwiftUI":{"role":"collection","title":"SwiftUI","abstract":[],"identifier":"doc:\/\/OSLogKit\/documentation\/OSLogKit\/SwiftUI","kind":"symbol","type":"topic","url":"\/documentation\/oslogkit\/swiftui"},"doc://OSLogKit/documentation/OSLogKit":{"role":"collection","title":"OSLogKit","abstract":[{"type":"text","text":"A Layer 2 framework for OSLog which makes its adoption more easier⌨️"}],"identifier":"doc:\/\/OSLogKit\/documentation\/OSLogKit","kind":"symbol","type":"topic","url":"\/documentation\/oslogkit"}}} -------------------------------------------------------------------------------- /Docs/OSLogKit.doccarchive/js/highlight-js-xml.9c3688c7.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * This source file is part of the Swift.org open source project 3 | * 4 | * Copyright (c) 2021 Apple Inc. and the Swift project authors 5 | * Licensed under Apache License v2.0 with Runtime Library Exception 6 | * 7 | * See https://swift.org/LICENSE.txt for license information 8 | * See https://swift.org/CONTRIBUTORS.txt for Swift project authors 9 | */ 10 | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["highlight-js-xml"],{"8dcb":function(e,n){function a(e){const n=e.regex,a=n.concat(/[A-Z_]/,n.optional(/[A-Z0-9_.-]*:/),/[A-Z0-9_.-]*/),s=/[A-Za-z0-9._:-]+/,t={className:"symbol",begin:/&[a-z]+;|[0-9]+;|[a-f0-9]+;/},i={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},c=e.inherit(i,{begin:/\(/,end:/\)/}),l=e.inherit(e.APOS_STRING_MODE,{className:"string"}),r=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),g={endsWithParent:!0,illegal:/,relevance:0,contains:[{className:"attr",begin:s,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[t]},{begin:/'/,end:/'/,contains:[t]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,contains:[{className:"meta",begin://,relevance:10,contains:[i,r,l,c,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[i,c,r,l]}]}]},e.COMMENT(//,{relevance:10}),{begin://,relevance:10},t,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{className:"tag",begin:/This page requires JavaScript.Please turn on JavaScript in your browser and refresh the page to view its content.
Please turn on JavaScript in your browser and refresh the page to view its content.