diff --git a/CHANGELOG.md b/CHANGELOG.md index a3cb9f8..4df2afa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,10 @@ # RVS_Checkbox Change Log +## 2.0.2 + +- **November 14, 2024** + +- Added `@unchecked Sendable` to the hardcoded image classes. + ## 2.0.1 - **January 6, 2024** diff --git a/Sources/RVS_Checkbox/RVS_Checkbox.swift b/Sources/RVS_Checkbox/RVS_Checkbox.swift index 03d17ff..706d03e 100644 --- a/Sources/RVS_Checkbox/RVS_Checkbox.swift +++ b/Sources/RVS_Checkbox/RVS_Checkbox.swift @@ -50,7 +50,7 @@ open class RVS_Checkbox: UISwitch { This provides a base class for the three images to be used as switch elements. The default uses code-drawn images that render in template mode, and use the tint color. */ - class RVS_Checkbox_Image: UIImage { + class RVS_Checkbox_Image: UIImage, @unchecked Sendable { /* ################################################################################################################################## */ // MARK: - Instance Stored Properties - /* ################################################################################################################################## */ @@ -113,7 +113,7 @@ open class RVS_Checkbox: UISwitch { /** This is the "clear" (blank circle) image. In a two-state checkbox, it is also the "Off" value image. */ - class RVS_Checkbox_Image_Clear: RVS_Checkbox_Image { + class RVS_Checkbox_Image_Clear: RVS_Checkbox_Image, @unchecked Sendable { /* ################################################################## */ /** This supplies a rendered image. It will use the myFillColor. @@ -135,7 +135,7 @@ open class RVS_Checkbox: UISwitch { /** This is the "Checked," or "√" image. In a two-state checkbox, it is also the "On" value image. */ - class RVS_Checkbox_Image_On: RVS_Checkbox_Image { + class RVS_Checkbox_Image_On: RVS_Checkbox_Image, @unchecked Sendable { /* ################################################################## */ /** This supplies a rendered image. It will use the myFillColor. @@ -210,7 +210,7 @@ open class RVS_Checkbox: UISwitch { /** This is the "Unchecked," or "X" image. In a two-state checkbox, it is ignored. */ - class RVS_Checkbox_Image_Off: RVS_Checkbox_Image { + class RVS_Checkbox_Image_Off: RVS_Checkbox_Image, @unchecked Sendable { /* ################################################################## */ /** This supplies a rendered image. It will use the myFillColor. diff --git a/docs/Classes.html b/docs/Classes.html index e2a6117..31e9439 100644 --- a/docs/Classes.html +++ b/docs/Classes.html @@ -42,7 +42,7 @@ @@ -115,7 +115,8 @@

Declaration

Swift

@IBDesignable
-open class RVS_Checkbox : UIControl
+@MainActor +open class RVS_Checkbox : UISwitch
@@ -130,8 +131,8 @@

Declaration

diff --git a/docs/Classes/RVS_Checkbox.html b/docs/Classes/RVS_Checkbox.html index a66a993..22b4412 100644 --- a/docs/Classes/RVS_Checkbox.html +++ b/docs/Classes/RVS_Checkbox.html @@ -42,7 +42,9 @@ @@ -72,7 +74,8 @@

RVS_Checkbox

@IBDesignable
-open class RVS_Checkbox : UIControl
+@MainActor +open class RVS_Checkbox : UISwitch
@@ -162,7 +165,8 @@

PUBLIC STORED PROPERTIES

Declaration

Swift

-
open var nextState: States { get }
+
@MainActor
+open var nextState: States { get }
@@ -189,7 +193,8 @@

Declaration

Declaration

Swift

-
open var checkboxState: States { get set }
+
@MainActor
+open var checkboxState: States { get set }
@@ -230,7 +235,8 @@

Declaration

Swift

@IBInspectable
-open var onImage: UIImage? { get set }
+@MainActor +open override var onImage: UIImage? { get set }
@@ -258,7 +264,8 @@

Declaration

Swift

@IBInspectable
-open var offImage: UIImage? { get set }
+@MainActor +open override var offImage: UIImage? { get set }
@@ -286,6 +293,7 @@

Declaration

Swift

@IBInspectable
+@MainActor
 open var clearImage: UIImage? { get set }
@@ -314,6 +322,7 @@

Declaration

Swift

@IBInspectable
+@MainActor
 open var isThreeState: Bool { get set }
@@ -343,6 +352,7 @@

Declaration

Swift

@IBInspectable
+@MainActor
 open var isUsingSFSymbols: Bool { get set }
@@ -372,6 +382,7 @@

Declaration

Swift

@IBInspectable
+@MainActor
 open var useOffImageForClear: Bool { get set }
@@ -400,6 +411,7 @@

Declaration

Swift

@IBInspectable
+@MainActor
 open var useHaptics: Bool { get set }
@@ -446,7 +458,8 @@

PUBLIC COMPUTED PROPERTIES

Declaration

Swift

-
open var value: Int { get set }
+
@MainActor
+public var value: Int { get set }
@@ -474,7 +487,8 @@

Declaration

Declaration

Swift

-
open var isClear: Bool { get }
+
@MainActor
+public var isClear: Bool { get }
@@ -502,7 +516,8 @@

Declaration

Declaration

Swift

-
open var isOff: Bool { get }
+
@MainActor
+public var isOff: Bool { get }
@@ -525,9 +540,9 @@

PUBLIC INSPECTABLE COMPUTED PROPERTIES
  • - + - isOn + isOn
    @@ -543,8 +558,8 @@

    PUBLIC INSPECTABLE COMPUTED PROPERTIES

    Declaration

    Swift

    -
    @IBInspectable
    -open var isOn: Bool { get set }
    +
    @MainActor
    +open override var isOn: Bool { get set }
    @@ -567,9 +582,9 @@

    PUBLIC INSTANCE METHODS
  • - + - setOn(_:animated:) + setOn(_:animated:)
    @@ -584,7 +599,8 @@

    PUBLIC INSTANCE METHODS

    Declaration

    Swift

    -
    open func setOn(_ inIsOn: Bool, animated inIsAnimated: Bool = false)
    +
    @MainActor
    +public override func setOn(_ inIsOn: Bool, animated inIsAnimated: Bool = false)
    @@ -642,7 +658,8 @@

    Parameters

    Declaration

    Swift

    -
    open func setClear(animated inIsAnimated: Bool = false)
    +
    @MainActor
    +public func setClear(animated inIsAnimated: Bool = false)
    @@ -688,7 +705,8 @@

    Parameters

    Declaration

    Swift

    -
    open func setState(_ inState: States, animated inIsAnimated: Bool = false)
    +
    @MainActor
    +public func setState(_ inState: States, animated inIsAnimated: Bool = false)
    @@ -746,7 +764,8 @@

    Parameters

    Declaration

    Swift

    -
    open func setValue(_ inValue: Int, animated inIsAnimated: Bool = false)
    +
    @MainActor
    +public func setValue(_ inValue: Int, animated inIsAnimated: Bool = false)
    @@ -819,63 +838,8 @@

    PUBLIC BASE CLASS OVERRIDES

    Declaration

    Swift

    -
    override open func layoutSubviews()
    - -
    - - - -
  • -
  • -
    - - - - tintColor - -
    -
    -
    -
    -
    -
    -

    The tint color. -The override is to force a redraw.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    override open var tintColor: UIColor? { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - isEnabled - -
    -
    -
    -
    -
    -
    -

    The enabled state. -The override is to force a redraw.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    override open var isEnabled: Bool { get set }
    +
    @MainActor
    +override open func layoutSubviews()
    @@ -902,7 +866,8 @@

    Declaration

    Declaration

    Swift

    -
    override open func draw(_ inRect: CGRect)
    +
    @MainActor
    +override open func draw(_ inRect: CGRect)
    @@ -948,7 +913,8 @@

    Parameters

    Declaration

    Swift

    -
    override open func beginTracking(_ inTouch: UITouch, with inEvent: UIEvent?) -> Bool
    +
    @MainActor
    +override open func beginTracking(_ inTouch: UITouch, with inEvent: UIEvent?) -> Bool
    @@ -1010,7 +976,8 @@

    Return Value

    Declaration

    Swift

    -
    override open func continueTracking(_ inTouch: UITouch, with inEvent: UIEvent?) -> Bool
    +
    @MainActor
    +override open func continueTracking(_ inTouch: UITouch, with inEvent: UIEvent?) -> Bool
    @@ -1073,7 +1040,8 @@

    Return Value

    Declaration

    Swift

    -
    override open func endTracking(_ inTouch: UITouch?, with inEvent: UIEvent?)
    +
    @MainActor
    +override open func endTracking(_ inTouch: UITouch?, with inEvent: UIEvent?)
    @@ -1131,7 +1099,8 @@

    Parameters

    Declaration

    Swift

    -
    override open func cancelTracking(with inEvent: UIEvent?)
    +
    @MainActor
    +override open func cancelTracking(with inEvent: UIEvent?)
    @@ -1165,8 +1134,8 @@

    Parameters

    diff --git a/docs/Classes/RVS_Checkbox/States.html b/docs/Classes/RVS_Checkbox/States.html index 1a8f8d7..8011a89 100644 --- a/docs/Classes/RVS_Checkbox/States.html +++ b/docs/Classes/RVS_Checkbox/States.html @@ -42,7 +42,11 @@ @@ -173,8 +177,8 @@

    Declaration

    diff --git a/docs/css/jazzy.css b/docs/css/jazzy.css index c7bb9fe..9d4b08b 100644 --- a/docs/css/jazzy.css +++ b/docs/css/jazzy.css @@ -259,10 +259,11 @@ pre code { padding-left: 3px; margin-left: 20px; font-size: 1rem; } - .item .declaration-note { - font-size: .85em; - color: #808080; - font-style: italic; } + +.declaration-note { + font-size: .85em; + color: #808080; + font-style: italic; } .pointer-container { border-bottom: 1px solid #ddd; diff --git a/docs/docsets/RVS_Checkbox.docset/Contents/Resources/Documents/Classes.html b/docs/docsets/RVS_Checkbox.docset/Contents/Resources/Documents/Classes.html index e2a6117..31e9439 100644 --- a/docs/docsets/RVS_Checkbox.docset/Contents/Resources/Documents/Classes.html +++ b/docs/docsets/RVS_Checkbox.docset/Contents/Resources/Documents/Classes.html @@ -42,7 +42,7 @@ @@ -115,7 +115,8 @@

    Declaration

    Swift

    @IBDesignable
    -open class RVS_Checkbox : UIControl
    +@MainActor +open class RVS_Checkbox : UISwitch
    @@ -130,8 +131,8 @@

    Declaration

    diff --git a/docs/docsets/RVS_Checkbox.docset/Contents/Resources/Documents/Classes/RVS_Checkbox.html b/docs/docsets/RVS_Checkbox.docset/Contents/Resources/Documents/Classes/RVS_Checkbox.html index a66a993..22b4412 100644 --- a/docs/docsets/RVS_Checkbox.docset/Contents/Resources/Documents/Classes/RVS_Checkbox.html +++ b/docs/docsets/RVS_Checkbox.docset/Contents/Resources/Documents/Classes/RVS_Checkbox.html @@ -42,7 +42,9 @@ @@ -72,7 +74,8 @@

    RVS_Checkbox

    @IBDesignable
    -open class RVS_Checkbox : UIControl
    +@MainActor +open class RVS_Checkbox : UISwitch
    @@ -162,7 +165,8 @@

    PUBLIC STORED PROPERTIES

    Declaration

    Swift

    -
    open var nextState: States { get }
    +
    @MainActor
    +open var nextState: States { get }
    @@ -189,7 +193,8 @@

    Declaration

    Declaration

    Swift

    -
    open var checkboxState: States { get set }
    +
    @MainActor
    +open var checkboxState: States { get set }
    @@ -230,7 +235,8 @@

    Declaration

    Swift

    @IBInspectable
    -open var onImage: UIImage? { get set }
    +@MainActor +open override var onImage: UIImage? { get set }
    @@ -258,7 +264,8 @@

    Declaration

    Swift

    @IBInspectable
    -open var offImage: UIImage? { get set }
    +@MainActor +open override var offImage: UIImage? { get set }
    @@ -286,6 +293,7 @@

    Declaration

    Swift

    @IBInspectable
    +@MainActor
     open var clearImage: UIImage? { get set }
    @@ -314,6 +322,7 @@

    Declaration

    Swift

    @IBInspectable
    +@MainActor
     open var isThreeState: Bool { get set }
    @@ -343,6 +352,7 @@

    Declaration

    Swift

    @IBInspectable
    +@MainActor
     open var isUsingSFSymbols: Bool { get set }
    @@ -372,6 +382,7 @@

    Declaration

    Swift

    @IBInspectable
    +@MainActor
     open var useOffImageForClear: Bool { get set }
    @@ -400,6 +411,7 @@

    Declaration

    Swift

    @IBInspectable
    +@MainActor
     open var useHaptics: Bool { get set }
    @@ -446,7 +458,8 @@

    PUBLIC COMPUTED PROPERTIES

    Declaration

    Swift

    -
    open var value: Int { get set }
    +
    @MainActor
    +public var value: Int { get set }
    @@ -474,7 +487,8 @@

    Declaration

    Declaration

    Swift

    -
    open var isClear: Bool { get }
    +
    @MainActor
    +public var isClear: Bool { get }
    @@ -502,7 +516,8 @@

    Declaration

    Declaration

    Swift

    -
    open var isOff: Bool { get }
    +
    @MainActor
    +public var isOff: Bool { get }
    @@ -525,9 +540,9 @@

    PUBLIC INSPECTABLE COMPUTED PROPERTIES
  • - + - isOn + isOn
    @@ -543,8 +558,8 @@

    PUBLIC INSPECTABLE COMPUTED PROPERTIES

    Declaration

    Swift

    -
    @IBInspectable
    -open var isOn: Bool { get set }
    +
    @MainActor
    +open override var isOn: Bool { get set }
    @@ -567,9 +582,9 @@

    PUBLIC INSTANCE METHODS
  • @@ -584,7 +599,8 @@

    PUBLIC INSTANCE METHODS

    Declaration

    Swift

    -
    open func setOn(_ inIsOn: Bool, animated inIsAnimated: Bool = false)
    +
    @MainActor
    +public override func setOn(_ inIsOn: Bool, animated inIsAnimated: Bool = false)
    @@ -642,7 +658,8 @@

    Parameters

    Declaration

    Swift

    -
    open func setClear(animated inIsAnimated: Bool = false)
    +
    @MainActor
    +public func setClear(animated inIsAnimated: Bool = false)
    @@ -688,7 +705,8 @@

    Parameters

    Declaration

    Swift

    -
    open func setState(_ inState: States, animated inIsAnimated: Bool = false)
    +
    @MainActor
    +public func setState(_ inState: States, animated inIsAnimated: Bool = false)
    @@ -746,7 +764,8 @@

    Parameters

    Declaration

    Swift

    -
    open func setValue(_ inValue: Int, animated inIsAnimated: Bool = false)
    +
    @MainActor
    +public func setValue(_ inValue: Int, animated inIsAnimated: Bool = false)
    @@ -819,63 +838,8 @@

    PUBLIC BASE CLASS OVERRIDES

    Declaration

    Swift

    -
    override open func layoutSubviews()
    - -
    - - - -
  • -
  • -
    - - - - tintColor - -
    -
    -
    -
    -
    -
    -

    The tint color. -The override is to force a redraw.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    override open var tintColor: UIColor? { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - isEnabled - -
    -
    -
    -
    -
    -
    -

    The enabled state. -The override is to force a redraw.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    override open var isEnabled: Bool { get set }
    +
    @MainActor
    +override open func layoutSubviews()
    @@ -902,7 +866,8 @@

    Declaration

    Declaration

    Swift

    -
    override open func draw(_ inRect: CGRect)
    +
    @MainActor
    +override open func draw(_ inRect: CGRect)
    @@ -948,7 +913,8 @@

    Parameters

    Declaration

    Swift

    -
    override open func beginTracking(_ inTouch: UITouch, with inEvent: UIEvent?) -> Bool
    +
    @MainActor
    +override open func beginTracking(_ inTouch: UITouch, with inEvent: UIEvent?) -> Bool
    @@ -1010,7 +976,8 @@

    Return Value

    Declaration

    Swift

    -
    override open func continueTracking(_ inTouch: UITouch, with inEvent: UIEvent?) -> Bool
    +
    @MainActor
    +override open func continueTracking(_ inTouch: UITouch, with inEvent: UIEvent?) -> Bool
    @@ -1073,7 +1040,8 @@

    Return Value

    Declaration

    Swift

    -
    override open func endTracking(_ inTouch: UITouch?, with inEvent: UIEvent?)
    +
    @MainActor
    +override open func endTracking(_ inTouch: UITouch?, with inEvent: UIEvent?)
    @@ -1131,7 +1099,8 @@

    Parameters

    Declaration

    Swift

    -
    override open func cancelTracking(with inEvent: UIEvent?)
    +
    @MainActor
    +override open func cancelTracking(with inEvent: UIEvent?)
    @@ -1165,8 +1134,8 @@

    Parameters

    diff --git a/docs/docsets/RVS_Checkbox.docset/Contents/Resources/Documents/Classes/RVS_Checkbox/States.html b/docs/docsets/RVS_Checkbox.docset/Contents/Resources/Documents/Classes/RVS_Checkbox/States.html index 1a8f8d7..8011a89 100644 --- a/docs/docsets/RVS_Checkbox.docset/Contents/Resources/Documents/Classes/RVS_Checkbox/States.html +++ b/docs/docsets/RVS_Checkbox.docset/Contents/Resources/Documents/Classes/RVS_Checkbox/States.html @@ -42,7 +42,11 @@ @@ -173,8 +177,8 @@

    Declaration

    diff --git a/docs/docsets/RVS_Checkbox.docset/Contents/Resources/Documents/css/jazzy.css b/docs/docsets/RVS_Checkbox.docset/Contents/Resources/Documents/css/jazzy.css index c7bb9fe..9d4b08b 100644 --- a/docs/docsets/RVS_Checkbox.docset/Contents/Resources/Documents/css/jazzy.css +++ b/docs/docsets/RVS_Checkbox.docset/Contents/Resources/Documents/css/jazzy.css @@ -259,10 +259,11 @@ pre code { padding-left: 3px; margin-left: 20px; font-size: 1rem; } - .item .declaration-note { - font-size: .85em; - color: #808080; - font-style: italic; } + +.declaration-note { + font-size: .85em; + color: #808080; + font-style: italic; } .pointer-container { border-bottom: 1px solid #ddd; diff --git a/docs/docsets/RVS_Checkbox.docset/Contents/Resources/Documents/index.html b/docs/docsets/RVS_Checkbox.docset/Contents/Resources/Documents/index.html index 34848da..6f87007 100644 --- a/docs/docsets/RVS_Checkbox.docset/Contents/Resources/Documents/index.html +++ b/docs/docsets/RVS_Checkbox.docset/Contents/Resources/Documents/index.html @@ -41,9 +41,7 @@
    @@ -129,7 +127,7 @@

    RVS_Checkbox

    INTRODUCTION

    -

    This project is a robust, Swift-only, high-quality, “drop-in replacement” for the traditional UISwitch, provided by Apple. It derives from UIControl, and provides almost exactly the same API as UISwitch.

    +

    This project is a robust, Swift-only, high-quality, “drop-in replacement” for the traditional UISwitch, provided by Apple. It derives from UISwitch, and provides almost exactly the same API as UISwitch.

    It is implemented as a single source file, with no dependencies.

    @@ -211,6 +209,11 @@

    The “DEFAULT” and “SF SYMBOLS” images are “baked into” the class, and the “USER-PROVIDED” images are three arbitrary images that were added in the storyboard (you can see these in the test harness).

    The images will resize with the control, but will retain their aspect (Aspect fit mode).

    +
    +

    Note

    +

    Currently, the images have to be monochrome template images. This is non-optimal, and we’ll see about supporting full-color images.

    + +

    REQUIREMENTS

    RVS_Checkbox is an iOS/iPadOS-only UIKit/Cocoa Touch framework UIControl, designed for use by Swift language applications.

    @@ -503,8 +506,8 @@

    -

    © 2022 The Great Rift Valley Software Company. All rights reserved. (Last updated: 2022-05-31)

    -

    Generated by jazzy ♪♫ v0.14.2, a Realm project.

    +

    © 2024 The Great Rift Valley Software Company. All rights reserved. (Last updated: 2024-11-14)

    +

    Generated by jazzy ♪♫ v0.15.1, a Realm project.

    diff --git a/docs/docsets/RVS_Checkbox.docset/Contents/Resources/Documents/js/jquery.min.js b/docs/docsets/RVS_Checkbox.docset/Contents/Resources/Documents/js/jquery.min.js index c4c6022..7f37b5d 100644 --- a/docs/docsets/RVS_Checkbox.docset/Contents/Resources/Documents/js/jquery.min.js +++ b/docs/docsets/RVS_Checkbox.docset/Contents/Resources/Documents/js/jquery.min.js @@ -1,2 +1,2 @@ -/*! jQuery v3.6.0 | (c) OpenJS Foundation and other contributors | jquery.org/license */ -!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],r=Object.getPrototypeOf,s=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},x=function(e){return null!=e&&e===e.window},E=C.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.6.0",S=function(e,t){return new S.fn.init(e,t)};function p(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp(F),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(p.childNodes),p.childNodes),t[p.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!N[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&(U.test(t)||z.test(t))){(f=ee.test(t)&&ye(e.parentNode)||e)===e&&d.scope||((s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=S)),o=(l=h(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+xe(l[o]);c=l.join(",")}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){N(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return g(t.replace($,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[S]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:p;return r!=C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),p!=C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.scope=ce(function(e){return a.appendChild(e).appendChild(C.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=S,!C.getElementsByName||!C.getElementsByName(S).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){var t;a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+S+"-]").length||v.push("~="),(t=C.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",F)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},j=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e==C||e.ownerDocument==p&&y(p,e)?-1:t==C||t.ownerDocument==p&&y(p,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(T(e),d.matchesSelector&&E&&!N[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){N(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=m[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&m(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?S.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?S.grep(e,function(e){return e===n!==r}):"string"!=typeof n?S.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||D,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),N.test(r[1])&&S.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,D=S(E);var L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){while((e=e[t])&&1!==e.nodeType);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;ce=E.createDocumentFragment().appendChild(E.createElement("div")),(fe=E.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),ce.appendChild(fe),y.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="",y.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="",y.option=!!ce.lastChild;var ge={thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?S.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n",""]);var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function je(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function De(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function qe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Le(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Y.hasData(e)&&(s=Y.get(e).events))for(i in Y.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var _t,zt=[],Ut=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=zt.pop()||S.expando+"_"+wt.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Ut.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ut.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Ut,"$1"+r):!1!==e.jsonp&&(e.url+=(Tt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||S.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?S(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,zt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((_t=E.implementation.createHTMLDocument("").body).innerHTML="
    ",2===_t.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=N.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&S(o).remove(),S.merge([],i.childNodes)));var r,i,o},S.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(S.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=S.css(e,"position"),c=S(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=S.css(e,"top"),u=S.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),i.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-S.css(r,"marginTop",!0),left:t.left-i.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===S.css(e,"position"))e=e.offsetParent;return e||re})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;S.fn[t]=function(e){return $(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),S.each(["top","left"],function(e,n){S.cssHooks[n]=Fe(y.pixelPosition,function(e,t){if(t)return t=We(e,n),Pe.test(t)?S(e).position()[n]+"px":t})}),S.each({Height:"height",Width:"width"},function(a,s){S.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){S.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return $(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?S.css(e,t,i):S.style(e,t,n,i)},s,n?e:void 0,n)}})}),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){S.fn[n]=function(e,t){return 0+~]|"+ge+")"+ge+"*"),x=new RegExp(ge+"|>"),j=new RegExp(g),A=new RegExp("^"+t+"$"),D={ID:new RegExp("^#("+t+")"),CLASS:new RegExp("^\\.("+t+")"),TAG:new RegExp("^("+t+"|[*])"),ATTR:new RegExp("^"+p),PSEUDO:new RegExp("^"+g),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ge+"*(even|odd|(([+-]|)(\\d*)n|)"+ge+"*(?:([+-]|)"+ge+"*(\\d+)|))"+ge+"*\\)|)","i"),bool:new RegExp("^(?:"+f+")$","i"),needsContext:new RegExp("^"+ge+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ge+"*((?:-\\d)?\\d*)"+ge+"*\\)|)(?=[^-]|$)","i")},N=/^(?:input|select|textarea|button)$/i,q=/^h\d$/i,L=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,H=/[+~]/,O=new RegExp("\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\([^\\r\\n\\f])","g"),P=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},M=function(){V()},R=J(function(e){return!0===e.disabled&&fe(e,"fieldset")},{dir:"parentNode",next:"legend"});try{k.apply(oe=ae.call(ye.childNodes),ye.childNodes),oe[ye.childNodes.length].nodeType}catch(e){k={apply:function(e,t){me.apply(e,ae.call(t))},call:function(e){me.apply(e,ae.call(arguments,1))}}}function I(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(V(e),e=e||T,C)){if(11!==p&&(u=L.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return k.call(n,a),n}else if(f&&(a=f.getElementById(i))&&I.contains(e,a)&&a.id===i)return k.call(n,a),n}else{if(u[2])return k.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&e.getElementsByClassName)return k.apply(n,e.getElementsByClassName(i)),n}if(!(h[t+" "]||d&&d.test(t))){if(c=t,f=e,1===p&&(x.test(t)||m.test(t))){(f=H.test(t)&&U(e.parentNode)||e)==e&&le.scope||((s=e.getAttribute("id"))?s=ce.escapeSelector(s):e.setAttribute("id",s=S)),o=(l=Y(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+Q(l[o]);c=l.join(",")}try{return k.apply(n,f.querySelectorAll(c)),n}catch(e){h(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return re(t.replace(ve,"$1"),e,n,r)}function W(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function F(e){return e[S]=!0,e}function $(e){var t=T.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function B(t){return function(e){return fe(e,"input")&&e.type===t}}function _(t){return function(e){return(fe(e,"input")||fe(e,"button"))&&e.type===t}}function z(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&R(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function X(a){return F(function(o){return o=+o,F(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function U(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function V(e){var t,n=e?e.ownerDocument||e:ye;return n!=T&&9===n.nodeType&&n.documentElement&&(r=(T=n).documentElement,C=!ce.isXMLDoc(T),i=r.matches||r.webkitMatchesSelector||r.msMatchesSelector,r.msMatchesSelector&&ye!=T&&(t=T.defaultView)&&t.top!==t&&t.addEventListener("unload",M),le.getById=$(function(e){return r.appendChild(e).id=ce.expando,!T.getElementsByName||!T.getElementsByName(ce.expando).length}),le.disconnectedMatch=$(function(e){return i.call(e,"*")}),le.scope=$(function(){return T.querySelectorAll(":scope")}),le.cssHas=$(function(){try{return T.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),le.getById?(b.filter.ID=function(e){var t=e.replace(O,P);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(O,P);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},b.find.CLASS=function(e,t){if("undefined"!=typeof t.getElementsByClassName&&C)return t.getElementsByClassName(e)},d=[],$(function(e){var t;r.appendChild(e).innerHTML="",e.querySelectorAll("[selected]").length||d.push("\\["+ge+"*(?:value|"+f+")"),e.querySelectorAll("[id~="+S+"-]").length||d.push("~="),e.querySelectorAll("a#"+S+"+*").length||d.push(".#.+[+~]"),e.querySelectorAll(":checked").length||d.push(":checked"),(t=T.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),r.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(t=T.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||d.push("\\["+ge+"*name"+ge+"*="+ge+"*(?:''|\"\")")}),le.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),l=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!le.sortDetached&&t.compareDocumentPosition(e)===n?e===T||e.ownerDocument==ye&&I.contains(ye,e)?-1:t===T||t.ownerDocument==ye&&I.contains(ye,t)?1:o?se.call(o,e)-se.call(o,t):0:4&n?-1:1)}),T}for(e in I.matches=function(e,t){return I(e,null,null,t)},I.matchesSelector=function(e,t){if(V(e),C&&!h[t+" "]&&(!d||!d.test(t)))try{var n=i.call(e,t);if(n||le.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){h(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(O,P),e[3]=(e[3]||e[4]||e[5]||"").replace(O,P),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||I.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&I.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return D.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&j.test(n)&&(t=Y(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(O,P).toLowerCase();return"*"===e?function(){return!0}:function(e){return fe(e,t)}},CLASS:function(e){var t=s[e+" "];return t||(t=new RegExp("(^|"+ge+")"+e+"("+ge+"|$)"))&&s(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=I.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function T(e,n,r){return v(n)?ce.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?ce.grep(e,function(e){return e===n!==r}):"string"!=typeof n?ce.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(ce.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||k,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:S.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof ce?t[0]:t,ce.merge(this,ce.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),w.test(r[1])&&ce.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=C.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(ce):ce.makeArray(e,this)}).prototype=ce.fn,k=ce(C);var E=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function A(e,t){while((e=e[t])&&1!==e.nodeType);return e}ce.fn.extend({has:function(e){var t=ce(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,Ce=/^$|^module$|\/(?:java|ecma)script/i;xe=C.createDocumentFragment().appendChild(C.createElement("div")),(be=C.createElement("input")).setAttribute("type","radio"),be.setAttribute("checked","checked"),be.setAttribute("name","t"),xe.appendChild(be),le.checkClone=xe.cloneNode(!0).cloneNode(!0).lastChild.checked,xe.innerHTML="",le.noCloneChecked=!!xe.cloneNode(!0).lastChild.defaultValue,xe.innerHTML="",le.option=!!xe.lastChild;var ke={thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};function Se(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&fe(e,t)?ce.merge([e],n):n}function Ee(e,t){for(var n=0,r=e.length;n",""]);var je=/<|&#?\w+;/;function Ae(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function Re(e,t){return fe(e,"table")&&fe(11!==t.nodeType?t:t.firstChild,"tr")&&ce(e).children("tbody")[0]||e}function Ie(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function We(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(_.hasData(e)&&(s=_.get(e).events))for(i in _.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),C.head.appendChild(r[0])},abort:function(){i&&i()}}});var Jt,Kt=[],Zt=/(=)\?(?=&|$)|\?\?/;ce.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Kt.pop()||ce.expando+"_"+jt.guid++;return this[e]=!0,e}}),ce.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Zt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Zt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Zt,"$1"+r):!1!==e.jsonp&&(e.url+=(At.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||ce.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=ie[r],ie[r]=function(){o=arguments},n.always(function(){void 0===i?ce(ie).removeProp(r):ie[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Kt.push(r)),o&&v(i)&&i(o[0]),o=i=void 0}),"script"}),le.createHTMLDocument=((Jt=C.implementation.createHTMLDocument("").body).innerHTML="
    ",2===Jt.childNodes.length),ce.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(le.createHTMLDocument?((r=(t=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,t.head.appendChild(r)):t=C),o=!n&&[],(i=w.exec(e))?[t.createElement(i[1])]:(i=Ae([e],t,o),o&&o.length&&ce(o).remove(),ce.merge([],i.childNodes)));var r,i,o},ce.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(ce.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},ce.expr.pseudos.animated=function(t){return ce.grep(ce.timers,function(e){return t===e.elem}).length},ce.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=ce.css(e,"position"),c=ce(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=ce.css(e,"top"),u=ce.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),v(t)&&(t=t.call(e,n,ce.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},ce.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){ce.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===ce.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===ce.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=ce(e).offset()).top+=ce.css(e,"borderTopWidth",!0),i.left+=ce.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-ce.css(r,"marginTop",!0),left:t.left-i.left-ce.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===ce.css(e,"position"))e=e.offsetParent;return e||J})}}),ce.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;ce.fn[t]=function(e){return M(this,function(e,t,n){var r;if(y(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),ce.each(["top","left"],function(e,n){ce.cssHooks[n]=Ye(le.pixelPosition,function(e,t){if(t)return t=Ge(e,n),_e.test(t)?ce(e).position()[n]+"px":t})}),ce.each({Height:"height",Width:"width"},function(a,s){ce.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){ce.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return M(this,function(e,t,n){var r;return y(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?ce.css(e,t,i):ce.style(e,t,n,i)},s,n?e:void 0,n)}})}),ce.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ce.fn[t]=function(e){return this.on(t,e)}}),ce.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),ce.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){ce.fn[n]=function(e,t){return 0Control is in “off” state, which displays an “X” in the default.

    ","parent_name":"States"},"Classes/RVS_Checkbox/States.html#/s:12RVS_CheckboxAAC6StatesO5clearyA2DmF":{"name":"clear","abstract":"

    Control is in “clear” state, which displays an empty circle in the default.

    ","parent_name":"States"},"Classes/RVS_Checkbox/States.html#/s:12RVS_CheckboxAAC6StatesO2onyA2DmF":{"name":"on","abstract":"

    Control is in “on” state, which displays a “√” in the default.

    ","parent_name":"States"},"Classes/RVS_Checkbox/States.html":{"name":"States","abstract":"

    These Int-based enum values define the possible switch states.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/s:12RVS_CheckboxAAC9nextStateAB6StatesOvp":{"name":"nextState","abstract":"

    This is the public, read-only accessor for the next state.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/s:12RVS_CheckboxAAC13checkboxStateAB6StatesOvp":{"name":"checkboxState","abstract":"

    This holds the control’s current state (before any changes).

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@M@RVS_Checkbox@objc(cs)RVS_Checkbox(py)onImage":{"name":"onImage","abstract":"

    This is the image to be displayed in an “ON” state.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@M@RVS_Checkbox@objc(cs)RVS_Checkbox(py)offImage":{"name":"offImage","abstract":"

    This is the image to be displayed in an “OFF” state.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@M@RVS_Checkbox@objc(cs)RVS_Checkbox(py)clearImage":{"name":"clearImage","abstract":"

    This is the image to be displayed in a “CLEAR” (“OFF,” if two-state) state.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@M@RVS_Checkbox@objc(cs)RVS_Checkbox(py)isThreeState":{"name":"isThreeState","abstract":"

    If this is true, then control is three state (OFF-CLEAR-ON). Otherwise (default), it is two state (OFF-ON).

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@M@RVS_Checkbox@objc(cs)RVS_Checkbox(py)isUsingSFSymbols":{"name":"isUsingSFSymbols","abstract":"

    If true, then the control will not use the dynamically-generated images, and will, instead, use standard SFSymbols square images.","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@M@RVS_Checkbox@objc(cs)RVS_Checkbox(py)useOffImageForClear":{"name":"useOffImageForClear","abstract":"

    If this is true (default is false), then CLEAR will use the image supplied for the three-state OFF.","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@M@RVS_Checkbox@objc(cs)RVS_Checkbox(py)useHaptics":{"name":"useHaptics","abstract":"

    If this is true (default), then the control will use subtle haptics. These will not happen for programmatic set; only for direct UI interaction.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/s:12RVS_CheckboxAAC5valueSivp":{"name":"value","abstract":"

    This is the control value, as an Int:

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/s:12RVS_CheckboxAAC7isClearSbvp":{"name":"isClear","abstract":"

    This returns true, if the control is currently in “CLEAR” state (which is also off, for two-state).","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/s:12RVS_CheckboxAAC5isOffSbvp":{"name":"isOff","abstract":"

    This returns true, if the control is in “OFF” state (three state), or either “off” or “clear” (two-state).","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@CM@RVS_Checkbox@objc(cs)RVS_Checkbox(py)isOn":{"name":"isOn","abstract":"

    This returns true, if the control is in ON state.","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/s:12RVS_CheckboxAAC5setOn_8animatedySb_SbtF":{"name":"setOn(_:animated:)","abstract":"

    This sets the control to either ON or OFF. It can be animated.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/s:12RVS_CheckboxAAC8setClear8animatedySb_tF":{"name":"setClear(animated:)","abstract":"

    This sets the control to CLEAR (or OFF, in two-state). It can be animated.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/s:12RVS_CheckboxAAC8setState_8animatedyAB6StatesO_SbtF":{"name":"setState(_:animated:)","abstract":"

    This explicitly sets the control state. It can be animated.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/s:12RVS_CheckboxAAC8setValue_8animatedySi_SbtF":{"name":"setValue(_:animated:)","abstract":"

    This explicitly sets the control state. It can be animated.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@CM@RVS_Checkbox@objc(cs)RVS_Checkbox(im)layoutSubviews":{"name":"layoutSubviews()","abstract":"

    It’s important for the background to be clear.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@CM@RVS_Checkbox@objc(cs)RVS_Checkbox(py)tintColor":{"name":"tintColor","abstract":"

    The tint color.","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@CM@RVS_Checkbox@objc(cs)RVS_Checkbox(py)enabled":{"name":"isEnabled","abstract":"

    The enabled state.","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@CM@RVS_Checkbox@objc(cs)RVS_Checkbox(im)drawRect:":{"name":"draw(_:)","abstract":"

    This draws the control, dimming, if tracking, and over the control.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@CM@RVS_Checkbox@objc(cs)RVS_Checkbox(im)beginTrackingWithTouch:withEvent:":{"name":"beginTracking(_:with:)","abstract":"

    Called when the user starts a press.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@CM@RVS_Checkbox@objc(cs)RVS_Checkbox(im)continueTrackingWithTouch:withEvent:":{"name":"continueTracking(_:with:)","abstract":"

    Called when the user starts a press.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@CM@RVS_Checkbox@objc(cs)RVS_Checkbox(im)endTrackingWithTouch:withEvent:":{"name":"endTracking(_:with:)","abstract":"

    Called when the user ends a press.","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@CM@RVS_Checkbox@objc(cs)RVS_Checkbox(im)cancelTrackingWithEvent:":{"name":"cancelTracking(with:)","abstract":"

    Called when a touch is canceled.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html":{"name":"RVS_Checkbox","abstract":"

    This class provides a simple Swift-only module that implements a “checkbox” to replace the standard UISwitch."},"Classes.html":{"name":"Classes","abstract":"

    The following classes are available globally.

    "}} \ No newline at end of file +{"Classes/RVS_Checkbox/States.html#/s:12RVS_CheckboxAAC6StatesO3offyA2DmF":{"name":"off","abstract":"

    Control is in “off” state, which displays an “X” in the default.

    ","parent_name":"States"},"Classes/RVS_Checkbox/States.html#/s:12RVS_CheckboxAAC6StatesO5clearyA2DmF":{"name":"clear","abstract":"

    Control is in “clear” state, which displays an empty circle in the default.

    ","parent_name":"States"},"Classes/RVS_Checkbox/States.html#/s:12RVS_CheckboxAAC6StatesO2onyA2DmF":{"name":"on","abstract":"

    Control is in “on” state, which displays a “√” in the default.

    ","parent_name":"States"},"Classes/RVS_Checkbox/States.html":{"name":"States","abstract":"

    These Int-based enum values define the possible switch states.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/s:12RVS_CheckboxAAC9nextStateAB6StatesOvp":{"name":"nextState","abstract":"

    This is the public, read-only accessor for the next state.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/s:12RVS_CheckboxAAC13checkboxStateAB6StatesOvp":{"name":"checkboxState","abstract":"

    This holds the control’s current state (before any changes).

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@M@RVS_Checkbox@objc(cs)RVS_Checkbox(py)onImage":{"name":"onImage","abstract":"

    This is the image to be displayed in an “ON” state.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@M@RVS_Checkbox@objc(cs)RVS_Checkbox(py)offImage":{"name":"offImage","abstract":"

    This is the image to be displayed in an “OFF” state.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@M@RVS_Checkbox@objc(cs)RVS_Checkbox(py)clearImage":{"name":"clearImage","abstract":"

    This is the image to be displayed in a “CLEAR” (“OFF,” if two-state) state.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@M@RVS_Checkbox@objc(cs)RVS_Checkbox(py)isThreeState":{"name":"isThreeState","abstract":"

    If this is true, then control is three state (OFF-CLEAR-ON). Otherwise (default), it is two state (OFF-ON).

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@M@RVS_Checkbox@objc(cs)RVS_Checkbox(py)isUsingSFSymbols":{"name":"isUsingSFSymbols","abstract":"

    If true, then the control will not use the dynamically-generated images, and will, instead, use standard SFSymbols square images.","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@M@RVS_Checkbox@objc(cs)RVS_Checkbox(py)useOffImageForClear":{"name":"useOffImageForClear","abstract":"

    If this is true (default is false), then CLEAR will use the image supplied for the three-state OFF.","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@M@RVS_Checkbox@objc(cs)RVS_Checkbox(py)useHaptics":{"name":"useHaptics","abstract":"

    If this is true (default), then the control will use subtle haptics. These will not happen for programmatic set; only for direct UI interaction.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/s:12RVS_CheckboxAAC5valueSivp":{"name":"value","abstract":"

    This is the control value, as an Int:

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/s:12RVS_CheckboxAAC7isClearSbvp":{"name":"isClear","abstract":"

    This returns true, if the control is currently in “CLEAR” state (which is also off, for two-state).","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/s:12RVS_CheckboxAAC5isOffSbvp":{"name":"isOff","abstract":"

    This returns true, if the control is in “OFF” state (three state), or either “off” or “clear” (two-state).","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@CM@RVS_Checkbox@objc(cs)RVS_Checkbox(py)on":{"name":"isOn","abstract":"

    This returns true, if the control is in ON state.","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@CM@RVS_Checkbox@objc(cs)RVS_Checkbox(im)setOn:animated:":{"name":"setOn(_:animated:)","abstract":"

    This sets the control to either ON or OFF. It can be animated.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/s:12RVS_CheckboxAAC8setClear8animatedySb_tF":{"name":"setClear(animated:)","abstract":"

    This sets the control to CLEAR (or OFF, in two-state). It can be animated.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/s:12RVS_CheckboxAAC8setState_8animatedyAB6StatesO_SbtF":{"name":"setState(_:animated:)","abstract":"

    This explicitly sets the control state. It can be animated.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/s:12RVS_CheckboxAAC8setValue_8animatedySi_SbtF":{"name":"setValue(_:animated:)","abstract":"

    This explicitly sets the control state. It can be animated.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@CM@RVS_Checkbox@objc(cs)RVS_Checkbox(im)layoutSubviews":{"name":"layoutSubviews()","abstract":"

    It’s important for the background to be clear.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@CM@RVS_Checkbox@objc(cs)RVS_Checkbox(im)drawRect:":{"name":"draw(_:)","abstract":"

    This draws the control, dimming, if tracking, and over the control.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@CM@RVS_Checkbox@objc(cs)RVS_Checkbox(im)beginTrackingWithTouch:withEvent:":{"name":"beginTracking(_:with:)","abstract":"

    Called when the user starts a press.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@CM@RVS_Checkbox@objc(cs)RVS_Checkbox(im)continueTrackingWithTouch:withEvent:":{"name":"continueTracking(_:with:)","abstract":"

    Called when the user starts a press.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@CM@RVS_Checkbox@objc(cs)RVS_Checkbox(im)endTrackingWithTouch:withEvent:":{"name":"endTracking(_:with:)","abstract":"

    Called when the user ends a press.","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@CM@RVS_Checkbox@objc(cs)RVS_Checkbox(im)cancelTrackingWithEvent:":{"name":"cancelTracking(with:)","abstract":"

    Called when a touch is canceled.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html":{"name":"RVS_Checkbox","abstract":"

    This class provides a simple Swift-only module that implements a “checkbox” to replace the standard UISwitch."},"Classes.html":{"name":"Classes","abstract":"

    The following classes are available globally.

    "}} \ No newline at end of file diff --git a/docs/docsets/RVS_Checkbox.docset/Contents/Resources/docSet.dsidx b/docs/docsets/RVS_Checkbox.docset/Contents/Resources/docSet.dsidx index 0c7e4aa..a207bbc 100644 Binary files a/docs/docsets/RVS_Checkbox.docset/Contents/Resources/docSet.dsidx and b/docs/docsets/RVS_Checkbox.docset/Contents/Resources/docSet.dsidx differ diff --git a/docs/docsets/RVS_Checkbox.tgz b/docs/docsets/RVS_Checkbox.tgz index bcc27d2..742dd7e 100644 Binary files a/docs/docsets/RVS_Checkbox.tgz and b/docs/docsets/RVS_Checkbox.tgz differ diff --git a/docs/index.html b/docs/index.html index 34848da..6f87007 100644 --- a/docs/index.html +++ b/docs/index.html @@ -41,9 +41,7 @@
    @@ -129,7 +127,7 @@

    RVS_Checkbox

    INTRODUCTION

    -

    This project is a robust, Swift-only, high-quality, “drop-in replacement” for the traditional UISwitch, provided by Apple. It derives from UIControl, and provides almost exactly the same API as UISwitch.

    +

    This project is a robust, Swift-only, high-quality, “drop-in replacement” for the traditional UISwitch, provided by Apple. It derives from UISwitch, and provides almost exactly the same API as UISwitch.

    It is implemented as a single source file, with no dependencies.

    @@ -211,6 +209,11 @@

    The “DEFAULT” and “SF SYMBOLS” images are “baked into” the class, and the “USER-PROVIDED” images are three arbitrary images that were added in the storyboard (you can see these in the test harness).

    The images will resize with the control, but will retain their aspect (Aspect fit mode).

    +
    +

    Note

    +

    Currently, the images have to be monochrome template images. This is non-optimal, and we’ll see about supporting full-color images.

    + +

    REQUIREMENTS

    RVS_Checkbox is an iOS/iPadOS-only UIKit/Cocoa Touch framework UIControl, designed for use by Swift language applications.

    @@ -503,8 +506,8 @@

    -

    © 2022 The Great Rift Valley Software Company. All rights reserved. (Last updated: 2022-05-31)

    -

    Generated by jazzy ♪♫ v0.14.2, a Realm project.

    +

    © 2024 The Great Rift Valley Software Company. All rights reserved. (Last updated: 2024-11-14)

    +

    Generated by jazzy ♪♫ v0.15.1, a Realm project.

    diff --git a/docs/js/jquery.min.js b/docs/js/jquery.min.js index c4c6022..7f37b5d 100644 --- a/docs/js/jquery.min.js +++ b/docs/js/jquery.min.js @@ -1,2 +1,2 @@ -/*! jQuery v3.6.0 | (c) OpenJS Foundation and other contributors | jquery.org/license */ -!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],r=Object.getPrototypeOf,s=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},x=function(e){return null!=e&&e===e.window},E=C.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.6.0",S=function(e,t){return new S.fn.init(e,t)};function p(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp(F),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(p.childNodes),p.childNodes),t[p.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!N[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&(U.test(t)||z.test(t))){(f=ee.test(t)&&ye(e.parentNode)||e)===e&&d.scope||((s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=S)),o=(l=h(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+xe(l[o]);c=l.join(",")}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){N(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return g(t.replace($,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[S]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:p;return r!=C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),p!=C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.scope=ce(function(e){return a.appendChild(e).appendChild(C.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=S,!C.getElementsByName||!C.getElementsByName(S).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){var t;a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+S+"-]").length||v.push("~="),(t=C.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",F)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},j=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e==C||e.ownerDocument==p&&y(p,e)?-1:t==C||t.ownerDocument==p&&y(p,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(T(e),d.matchesSelector&&E&&!N[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){N(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=m[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&m(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?S.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?S.grep(e,function(e){return e===n!==r}):"string"!=typeof n?S.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||D,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),N.test(r[1])&&S.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,D=S(E);var L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){while((e=e[t])&&1!==e.nodeType);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;ce=E.createDocumentFragment().appendChild(E.createElement("div")),(fe=E.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),ce.appendChild(fe),y.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="",y.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="",y.option=!!ce.lastChild;var ge={thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?S.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n",""]);var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function je(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function De(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function qe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Le(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Y.hasData(e)&&(s=Y.get(e).events))for(i in Y.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var _t,zt=[],Ut=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=zt.pop()||S.expando+"_"+wt.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Ut.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ut.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Ut,"$1"+r):!1!==e.jsonp&&(e.url+=(Tt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||S.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?S(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,zt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((_t=E.implementation.createHTMLDocument("").body).innerHTML="
    ",2===_t.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=N.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&S(o).remove(),S.merge([],i.childNodes)));var r,i,o},S.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(S.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=S.css(e,"position"),c=S(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=S.css(e,"top"),u=S.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),i.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-S.css(r,"marginTop",!0),left:t.left-i.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===S.css(e,"position"))e=e.offsetParent;return e||re})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;S.fn[t]=function(e){return $(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),S.each(["top","left"],function(e,n){S.cssHooks[n]=Fe(y.pixelPosition,function(e,t){if(t)return t=We(e,n),Pe.test(t)?S(e).position()[n]+"px":t})}),S.each({Height:"height",Width:"width"},function(a,s){S.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){S.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return $(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?S.css(e,t,i):S.style(e,t,n,i)},s,n?e:void 0,n)}})}),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){S.fn[n]=function(e,t){return 0+~]|"+ge+")"+ge+"*"),x=new RegExp(ge+"|>"),j=new RegExp(g),A=new RegExp("^"+t+"$"),D={ID:new RegExp("^#("+t+")"),CLASS:new RegExp("^\\.("+t+")"),TAG:new RegExp("^("+t+"|[*])"),ATTR:new RegExp("^"+p),PSEUDO:new RegExp("^"+g),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ge+"*(even|odd|(([+-]|)(\\d*)n|)"+ge+"*(?:([+-]|)"+ge+"*(\\d+)|))"+ge+"*\\)|)","i"),bool:new RegExp("^(?:"+f+")$","i"),needsContext:new RegExp("^"+ge+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ge+"*((?:-\\d)?\\d*)"+ge+"*\\)|)(?=[^-]|$)","i")},N=/^(?:input|select|textarea|button)$/i,q=/^h\d$/i,L=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,H=/[+~]/,O=new RegExp("\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\([^\\r\\n\\f])","g"),P=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},M=function(){V()},R=J(function(e){return!0===e.disabled&&fe(e,"fieldset")},{dir:"parentNode",next:"legend"});try{k.apply(oe=ae.call(ye.childNodes),ye.childNodes),oe[ye.childNodes.length].nodeType}catch(e){k={apply:function(e,t){me.apply(e,ae.call(t))},call:function(e){me.apply(e,ae.call(arguments,1))}}}function I(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(V(e),e=e||T,C)){if(11!==p&&(u=L.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return k.call(n,a),n}else if(f&&(a=f.getElementById(i))&&I.contains(e,a)&&a.id===i)return k.call(n,a),n}else{if(u[2])return k.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&e.getElementsByClassName)return k.apply(n,e.getElementsByClassName(i)),n}if(!(h[t+" "]||d&&d.test(t))){if(c=t,f=e,1===p&&(x.test(t)||m.test(t))){(f=H.test(t)&&U(e.parentNode)||e)==e&&le.scope||((s=e.getAttribute("id"))?s=ce.escapeSelector(s):e.setAttribute("id",s=S)),o=(l=Y(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+Q(l[o]);c=l.join(",")}try{return k.apply(n,f.querySelectorAll(c)),n}catch(e){h(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return re(t.replace(ve,"$1"),e,n,r)}function W(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function F(e){return e[S]=!0,e}function $(e){var t=T.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function B(t){return function(e){return fe(e,"input")&&e.type===t}}function _(t){return function(e){return(fe(e,"input")||fe(e,"button"))&&e.type===t}}function z(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&R(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function X(a){return F(function(o){return o=+o,F(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function U(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function V(e){var t,n=e?e.ownerDocument||e:ye;return n!=T&&9===n.nodeType&&n.documentElement&&(r=(T=n).documentElement,C=!ce.isXMLDoc(T),i=r.matches||r.webkitMatchesSelector||r.msMatchesSelector,r.msMatchesSelector&&ye!=T&&(t=T.defaultView)&&t.top!==t&&t.addEventListener("unload",M),le.getById=$(function(e){return r.appendChild(e).id=ce.expando,!T.getElementsByName||!T.getElementsByName(ce.expando).length}),le.disconnectedMatch=$(function(e){return i.call(e,"*")}),le.scope=$(function(){return T.querySelectorAll(":scope")}),le.cssHas=$(function(){try{return T.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),le.getById?(b.filter.ID=function(e){var t=e.replace(O,P);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(O,P);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},b.find.CLASS=function(e,t){if("undefined"!=typeof t.getElementsByClassName&&C)return t.getElementsByClassName(e)},d=[],$(function(e){var t;r.appendChild(e).innerHTML="",e.querySelectorAll("[selected]").length||d.push("\\["+ge+"*(?:value|"+f+")"),e.querySelectorAll("[id~="+S+"-]").length||d.push("~="),e.querySelectorAll("a#"+S+"+*").length||d.push(".#.+[+~]"),e.querySelectorAll(":checked").length||d.push(":checked"),(t=T.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),r.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(t=T.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||d.push("\\["+ge+"*name"+ge+"*="+ge+"*(?:''|\"\")")}),le.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),l=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!le.sortDetached&&t.compareDocumentPosition(e)===n?e===T||e.ownerDocument==ye&&I.contains(ye,e)?-1:t===T||t.ownerDocument==ye&&I.contains(ye,t)?1:o?se.call(o,e)-se.call(o,t):0:4&n?-1:1)}),T}for(e in I.matches=function(e,t){return I(e,null,null,t)},I.matchesSelector=function(e,t){if(V(e),C&&!h[t+" "]&&(!d||!d.test(t)))try{var n=i.call(e,t);if(n||le.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){h(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(O,P),e[3]=(e[3]||e[4]||e[5]||"").replace(O,P),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||I.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&I.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return D.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&j.test(n)&&(t=Y(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(O,P).toLowerCase();return"*"===e?function(){return!0}:function(e){return fe(e,t)}},CLASS:function(e){var t=s[e+" "];return t||(t=new RegExp("(^|"+ge+")"+e+"("+ge+"|$)"))&&s(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=I.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function T(e,n,r){return v(n)?ce.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?ce.grep(e,function(e){return e===n!==r}):"string"!=typeof n?ce.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(ce.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||k,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:S.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof ce?t[0]:t,ce.merge(this,ce.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),w.test(r[1])&&ce.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=C.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(ce):ce.makeArray(e,this)}).prototype=ce.fn,k=ce(C);var E=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function A(e,t){while((e=e[t])&&1!==e.nodeType);return e}ce.fn.extend({has:function(e){var t=ce(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,Ce=/^$|^module$|\/(?:java|ecma)script/i;xe=C.createDocumentFragment().appendChild(C.createElement("div")),(be=C.createElement("input")).setAttribute("type","radio"),be.setAttribute("checked","checked"),be.setAttribute("name","t"),xe.appendChild(be),le.checkClone=xe.cloneNode(!0).cloneNode(!0).lastChild.checked,xe.innerHTML="",le.noCloneChecked=!!xe.cloneNode(!0).lastChild.defaultValue,xe.innerHTML="",le.option=!!xe.lastChild;var ke={thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};function Se(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&fe(e,t)?ce.merge([e],n):n}function Ee(e,t){for(var n=0,r=e.length;n",""]);var je=/<|&#?\w+;/;function Ae(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function Re(e,t){return fe(e,"table")&&fe(11!==t.nodeType?t:t.firstChild,"tr")&&ce(e).children("tbody")[0]||e}function Ie(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function We(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(_.hasData(e)&&(s=_.get(e).events))for(i in _.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),C.head.appendChild(r[0])},abort:function(){i&&i()}}});var Jt,Kt=[],Zt=/(=)\?(?=&|$)|\?\?/;ce.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Kt.pop()||ce.expando+"_"+jt.guid++;return this[e]=!0,e}}),ce.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Zt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Zt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Zt,"$1"+r):!1!==e.jsonp&&(e.url+=(At.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||ce.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=ie[r],ie[r]=function(){o=arguments},n.always(function(){void 0===i?ce(ie).removeProp(r):ie[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Kt.push(r)),o&&v(i)&&i(o[0]),o=i=void 0}),"script"}),le.createHTMLDocument=((Jt=C.implementation.createHTMLDocument("").body).innerHTML="
    ",2===Jt.childNodes.length),ce.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(le.createHTMLDocument?((r=(t=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,t.head.appendChild(r)):t=C),o=!n&&[],(i=w.exec(e))?[t.createElement(i[1])]:(i=Ae([e],t,o),o&&o.length&&ce(o).remove(),ce.merge([],i.childNodes)));var r,i,o},ce.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(ce.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},ce.expr.pseudos.animated=function(t){return ce.grep(ce.timers,function(e){return t===e.elem}).length},ce.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=ce.css(e,"position"),c=ce(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=ce.css(e,"top"),u=ce.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),v(t)&&(t=t.call(e,n,ce.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},ce.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){ce.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===ce.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===ce.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=ce(e).offset()).top+=ce.css(e,"borderTopWidth",!0),i.left+=ce.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-ce.css(r,"marginTop",!0),left:t.left-i.left-ce.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===ce.css(e,"position"))e=e.offsetParent;return e||J})}}),ce.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;ce.fn[t]=function(e){return M(this,function(e,t,n){var r;if(y(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),ce.each(["top","left"],function(e,n){ce.cssHooks[n]=Ye(le.pixelPosition,function(e,t){if(t)return t=Ge(e,n),_e.test(t)?ce(e).position()[n]+"px":t})}),ce.each({Height:"height",Width:"width"},function(a,s){ce.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){ce.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return M(this,function(e,t,n){var r;return y(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?ce.css(e,t,i):ce.style(e,t,n,i)},s,n?e:void 0,n)}})}),ce.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ce.fn[t]=function(e){return this.on(t,e)}}),ce.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),ce.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){ce.fn[n]=function(e,t){return 0Control is in “off” state, which displays an “X” in the default.

    ","parent_name":"States"},"Classes/RVS_Checkbox/States.html#/s:12RVS_CheckboxAAC6StatesO5clearyA2DmF":{"name":"clear","abstract":"

    Control is in “clear” state, which displays an empty circle in the default.

    ","parent_name":"States"},"Classes/RVS_Checkbox/States.html#/s:12RVS_CheckboxAAC6StatesO2onyA2DmF":{"name":"on","abstract":"

    Control is in “on” state, which displays a “√” in the default.

    ","parent_name":"States"},"Classes/RVS_Checkbox/States.html":{"name":"States","abstract":"

    These Int-based enum values define the possible switch states.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/s:12RVS_CheckboxAAC9nextStateAB6StatesOvp":{"name":"nextState","abstract":"

    This is the public, read-only accessor for the next state.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/s:12RVS_CheckboxAAC13checkboxStateAB6StatesOvp":{"name":"checkboxState","abstract":"

    This holds the control’s current state (before any changes).

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@M@RVS_Checkbox@objc(cs)RVS_Checkbox(py)onImage":{"name":"onImage","abstract":"

    This is the image to be displayed in an “ON” state.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@M@RVS_Checkbox@objc(cs)RVS_Checkbox(py)offImage":{"name":"offImage","abstract":"

    This is the image to be displayed in an “OFF” state.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@M@RVS_Checkbox@objc(cs)RVS_Checkbox(py)clearImage":{"name":"clearImage","abstract":"

    This is the image to be displayed in a “CLEAR” (“OFF,” if two-state) state.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@M@RVS_Checkbox@objc(cs)RVS_Checkbox(py)isThreeState":{"name":"isThreeState","abstract":"

    If this is true, then control is three state (OFF-CLEAR-ON). Otherwise (default), it is two state (OFF-ON).

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@M@RVS_Checkbox@objc(cs)RVS_Checkbox(py)isUsingSFSymbols":{"name":"isUsingSFSymbols","abstract":"

    If true, then the control will not use the dynamically-generated images, and will, instead, use standard SFSymbols square images.","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@M@RVS_Checkbox@objc(cs)RVS_Checkbox(py)useOffImageForClear":{"name":"useOffImageForClear","abstract":"

    If this is true (default is false), then CLEAR will use the image supplied for the three-state OFF.","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@M@RVS_Checkbox@objc(cs)RVS_Checkbox(py)useHaptics":{"name":"useHaptics","abstract":"

    If this is true (default), then the control will use subtle haptics. These will not happen for programmatic set; only for direct UI interaction.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/s:12RVS_CheckboxAAC5valueSivp":{"name":"value","abstract":"

    This is the control value, as an Int:

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/s:12RVS_CheckboxAAC7isClearSbvp":{"name":"isClear","abstract":"

    This returns true, if the control is currently in “CLEAR” state (which is also off, for two-state).","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/s:12RVS_CheckboxAAC5isOffSbvp":{"name":"isOff","abstract":"

    This returns true, if the control is in “OFF” state (three state), or either “off” or “clear” (two-state).","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@CM@RVS_Checkbox@objc(cs)RVS_Checkbox(py)isOn":{"name":"isOn","abstract":"

    This returns true, if the control is in ON state.","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/s:12RVS_CheckboxAAC5setOn_8animatedySb_SbtF":{"name":"setOn(_:animated:)","abstract":"

    This sets the control to either ON or OFF. It can be animated.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/s:12RVS_CheckboxAAC8setClear8animatedySb_tF":{"name":"setClear(animated:)","abstract":"

    This sets the control to CLEAR (or OFF, in two-state). It can be animated.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/s:12RVS_CheckboxAAC8setState_8animatedyAB6StatesO_SbtF":{"name":"setState(_:animated:)","abstract":"

    This explicitly sets the control state. It can be animated.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/s:12RVS_CheckboxAAC8setValue_8animatedySi_SbtF":{"name":"setValue(_:animated:)","abstract":"

    This explicitly sets the control state. It can be animated.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@CM@RVS_Checkbox@objc(cs)RVS_Checkbox(im)layoutSubviews":{"name":"layoutSubviews()","abstract":"

    It’s important for the background to be clear.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@CM@RVS_Checkbox@objc(cs)RVS_Checkbox(py)tintColor":{"name":"tintColor","abstract":"

    The tint color.","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@CM@RVS_Checkbox@objc(cs)RVS_Checkbox(py)enabled":{"name":"isEnabled","abstract":"

    The enabled state.","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@CM@RVS_Checkbox@objc(cs)RVS_Checkbox(im)drawRect:":{"name":"draw(_:)","abstract":"

    This draws the control, dimming, if tracking, and over the control.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@CM@RVS_Checkbox@objc(cs)RVS_Checkbox(im)beginTrackingWithTouch:withEvent:":{"name":"beginTracking(_:with:)","abstract":"

    Called when the user starts a press.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@CM@RVS_Checkbox@objc(cs)RVS_Checkbox(im)continueTrackingWithTouch:withEvent:":{"name":"continueTracking(_:with:)","abstract":"

    Called when the user starts a press.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@CM@RVS_Checkbox@objc(cs)RVS_Checkbox(im)endTrackingWithTouch:withEvent:":{"name":"endTracking(_:with:)","abstract":"

    Called when the user ends a press.","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@CM@RVS_Checkbox@objc(cs)RVS_Checkbox(im)cancelTrackingWithEvent:":{"name":"cancelTracking(with:)","abstract":"

    Called when a touch is canceled.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html":{"name":"RVS_Checkbox","abstract":"

    This class provides a simple Swift-only module that implements a “checkbox” to replace the standard UISwitch."},"Classes.html":{"name":"Classes","abstract":"

    The following classes are available globally.

    "}} \ No newline at end of file +{"Classes/RVS_Checkbox/States.html#/s:12RVS_CheckboxAAC6StatesO3offyA2DmF":{"name":"off","abstract":"

    Control is in “off” state, which displays an “X” in the default.

    ","parent_name":"States"},"Classes/RVS_Checkbox/States.html#/s:12RVS_CheckboxAAC6StatesO5clearyA2DmF":{"name":"clear","abstract":"

    Control is in “clear” state, which displays an empty circle in the default.

    ","parent_name":"States"},"Classes/RVS_Checkbox/States.html#/s:12RVS_CheckboxAAC6StatesO2onyA2DmF":{"name":"on","abstract":"

    Control is in “on” state, which displays a “√” in the default.

    ","parent_name":"States"},"Classes/RVS_Checkbox/States.html":{"name":"States","abstract":"

    These Int-based enum values define the possible switch states.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/s:12RVS_CheckboxAAC9nextStateAB6StatesOvp":{"name":"nextState","abstract":"

    This is the public, read-only accessor for the next state.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/s:12RVS_CheckboxAAC13checkboxStateAB6StatesOvp":{"name":"checkboxState","abstract":"

    This holds the control’s current state (before any changes).

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@M@RVS_Checkbox@objc(cs)RVS_Checkbox(py)onImage":{"name":"onImage","abstract":"

    This is the image to be displayed in an “ON” state.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@M@RVS_Checkbox@objc(cs)RVS_Checkbox(py)offImage":{"name":"offImage","abstract":"

    This is the image to be displayed in an “OFF” state.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@M@RVS_Checkbox@objc(cs)RVS_Checkbox(py)clearImage":{"name":"clearImage","abstract":"

    This is the image to be displayed in a “CLEAR” (“OFF,” if two-state) state.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@M@RVS_Checkbox@objc(cs)RVS_Checkbox(py)isThreeState":{"name":"isThreeState","abstract":"

    If this is true, then control is three state (OFF-CLEAR-ON). Otherwise (default), it is two state (OFF-ON).

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@M@RVS_Checkbox@objc(cs)RVS_Checkbox(py)isUsingSFSymbols":{"name":"isUsingSFSymbols","abstract":"

    If true, then the control will not use the dynamically-generated images, and will, instead, use standard SFSymbols square images.","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@M@RVS_Checkbox@objc(cs)RVS_Checkbox(py)useOffImageForClear":{"name":"useOffImageForClear","abstract":"

    If this is true (default is false), then CLEAR will use the image supplied for the three-state OFF.","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@M@RVS_Checkbox@objc(cs)RVS_Checkbox(py)useHaptics":{"name":"useHaptics","abstract":"

    If this is true (default), then the control will use subtle haptics. These will not happen for programmatic set; only for direct UI interaction.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/s:12RVS_CheckboxAAC5valueSivp":{"name":"value","abstract":"

    This is the control value, as an Int:

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/s:12RVS_CheckboxAAC7isClearSbvp":{"name":"isClear","abstract":"

    This returns true, if the control is currently in “CLEAR” state (which is also off, for two-state).","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/s:12RVS_CheckboxAAC5isOffSbvp":{"name":"isOff","abstract":"

    This returns true, if the control is in “OFF” state (three state), or either “off” or “clear” (two-state).","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@CM@RVS_Checkbox@objc(cs)RVS_Checkbox(py)on":{"name":"isOn","abstract":"

    This returns true, if the control is in ON state.","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@CM@RVS_Checkbox@objc(cs)RVS_Checkbox(im)setOn:animated:":{"name":"setOn(_:animated:)","abstract":"

    This sets the control to either ON or OFF. It can be animated.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/s:12RVS_CheckboxAAC8setClear8animatedySb_tF":{"name":"setClear(animated:)","abstract":"

    This sets the control to CLEAR (or OFF, in two-state). It can be animated.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/s:12RVS_CheckboxAAC8setState_8animatedyAB6StatesO_SbtF":{"name":"setState(_:animated:)","abstract":"

    This explicitly sets the control state. It can be animated.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/s:12RVS_CheckboxAAC8setValue_8animatedySi_SbtF":{"name":"setValue(_:animated:)","abstract":"

    This explicitly sets the control state. It can be animated.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@CM@RVS_Checkbox@objc(cs)RVS_Checkbox(im)layoutSubviews":{"name":"layoutSubviews()","abstract":"

    It’s important for the background to be clear.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@CM@RVS_Checkbox@objc(cs)RVS_Checkbox(im)drawRect:":{"name":"draw(_:)","abstract":"

    This draws the control, dimming, if tracking, and over the control.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@CM@RVS_Checkbox@objc(cs)RVS_Checkbox(im)beginTrackingWithTouch:withEvent:":{"name":"beginTracking(_:with:)","abstract":"

    Called when the user starts a press.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@CM@RVS_Checkbox@objc(cs)RVS_Checkbox(im)continueTrackingWithTouch:withEvent:":{"name":"continueTracking(_:with:)","abstract":"

    Called when the user starts a press.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@CM@RVS_Checkbox@objc(cs)RVS_Checkbox(im)endTrackingWithTouch:withEvent:":{"name":"endTracking(_:with:)","abstract":"

    Called when the user ends a press.","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html#/c:@CM@RVS_Checkbox@objc(cs)RVS_Checkbox(im)cancelTrackingWithEvent:":{"name":"cancelTracking(with:)","abstract":"

    Called when a touch is canceled.

    ","parent_name":"RVS_Checkbox"},"Classes/RVS_Checkbox.html":{"name":"RVS_Checkbox","abstract":"

    This class provides a simple Swift-only module that implements a “checkbox” to replace the standard UISwitch."},"Classes.html":{"name":"Classes","abstract":"

    The following classes are available globally.

    "}} \ No newline at end of file diff --git a/docs/undocumented.json b/docs/undocumented.json index fb1bd8d..d346714 100644 --- a/docs/undocumented.json +++ b/docs/undocumented.json @@ -2,5 +2,5 @@ "warnings": [ ], - "source_directory": "/Users/chrismarshall/Development/RiftValley/RVS_Checkbox" + "source_directory": "/Users/chrismarshall/Developer/RiftValley/RVS_Checkbox" } \ No newline at end of file diff --git a/jazzy.command b/jazzy.command index 245b94a..b592908 100755 --- a/jazzy.command +++ b/jazzy.command @@ -32,7 +32,8 @@ jazzy --readme ./README.md \ --min_acl public \ --module RVS_Checkbox \ --theme fullwidth \ - -b -scheme,RVS_Checkbox + -b -scheme,RVS_Checkbox \ + --sdk iphonesimulator cp ./Sources/RVS_Checkbox/RVS_Checkbox.docc/Resources/* docs/img cd "${CWD}"