__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
�

���g�/���SrSSKrSSKrSSKrSSKJr SSKJr SSKJr SSKJ	r	 SSKJ
r
 SS	KJr SS
KJ
r
 SSKJr "SS
5rg)z:Provides the default implementation for bookmarks in Orca.�N�)�cmdnames)�debug)�keybindings)�input_event)�messages)�settings_manager)�
AXDocument)�AXObjectc��\rSrSrSrSrSSjrSSjrSrSr	Sr
S	rSSjrSr
S
rSrSrSrSSjrSSjrSrSrSrSrSSjrSrg
)�	Bookmarks�$z&Represents a default bookmark handler.c���Xl0Ul/Ul/UlUR	5 SUlUR
S5Ul[R"5Ul
g)NT)�_script�
_bookmarks�_saveObservers�_loadObservers�_loadBookmarks�_currentbookmarkindex�get_handlers�	_handlersr�KeyBindings�	_bindings)�self�scripts  �0/usr/lib/python3/dist-packages/orca/bookmarks.py�__init__�Bookmarks.__init__&sT������� ��� �������%)��"��*�*�4�0���$�0�0�2���c��U(aESn[R"[RUSS5 UR5 UR$URR5(aUR5 UR$)z!Returns the bookmark keybindings.zBOOKMARKS: Refreshing bindings.T)r�
print_message�
LEVEL_INFO�_setup_bindingsr�is_empty)r�refresh�
is_desktop�msgs    r�get_bindings�Bookmarks.get_bindings0si���3�C����� 0� 0�#�t�T�B�� � �"��~�~���^�^�
$�
$�
&�
&�� � �"��~�~�rc��U(a9Sn[R"[RUSS5 UR5 UR$)zReturns the bookmark handlers.zBOOKMARKS: Refreshing handlers.T)rr!r"�_setup_handlersr)rr%r's   rr�Bookmarks.get_handlers<s<���3�C����� 0� 0�#�t�T�B�� � �"��~�~�rc��0Ul[R"UR[R
5URS'[R"UR[R5URS'[R"UR[R5URS'[R"UR[R5URS'[R"UR[R5URS'Sn[R"[R US5 g)	z*Sets up the bookmark input event handlers.�goToPrevBookmark�goToNextBookmark�goToBookmark�addBookmark�
saveBookmarkszBOOKMARKS: Handlers set up.TN)rr�InputEventHandlerr.r�BOOKMARK_GO_TO_PREVIOUSr/�BOOKMARK_GO_TO_NEXTr0�BOOKMARK_GO_TOr1�BOOKMARK_ADDr2�
BOOKMARK_SAVErr!r")rr's  rr+�Bookmarks._setup_handlersFs�����
�)�)��%�%��0�0�
2�	
���)�*�
�)�)��%�%��,�,�
.�	
���)�*�
�)�)��!�!��'�'�
)�	
���~�&�
�)�)�� � ��%�%�
'�	
���}�%�
�)�)��"�"��&�&�
(�	
����'�
,��
���E�,�,�c�4�8rc���[R"5UlURR[R"S[R
[RURRS555 URR[R"S[R
[RURRS555 URR[R"S[R
[RURRS555 [S5H�nURR[R"[US-5[R
[RURRS555 URR[R"[US-5[R
[RURRS555 M� S	n[R"[RUS
5 g)z"Sets up the bookmark key bindings.�br/r.r2�rr0r1zBOOKMARKS: Bindings set up.TN)rrr�add�
KeyBinding�DEFAULT_MODIFIER_MASK�ORCA_MODIFIER_MASKr�get�ORCA_SHIFT_MODIFIER_MASK�ORCA_ALT_MODIFIER_MASK�range�strrr!r")r�ir's   rr#�Bookmarks._setup_bindingsgs���%�0�0�2���������"�"���1�1��.�.����"�"�#5�6�	
8�	9�	
������"�"���1�1��4�4����"�"�#5�6�	
8�	9�	
������"�"���1�1��2�2����"�"�?�3�	
5�	6��q��A��N�N����&�&���A��J��5�5��2�2��N�N�&�&�~�6�	8�
9�
�N�N����&�&���A��J��5�5��6�6��N�N�&�&�}�5�	7�
8��,��
���E�,�,�c�4�8rc�:�URRU5 g�N)r�append�r�observers  r�addSaveObserver�Bookmarks.addSaveObserver�������"�"�8�,rc�:�URRU5 grI)rrJrKs  r�addLoadObserver�Bookmarks.addLoadObserver�rOrNc��U=(d URnURR5nURUnUR	USUSUSUS5 XPRU'URR5RX5 X0lg![
a, URR
[R5 gf=f)z1Go to the bookmark indexed by inputEvent.hw_code �line�zone�word�charN)�hw_coder�getFlatReviewContextr�
setCurrent�KeyError�presentMessager�BOOKMARK_NOT_FOUND�get_flat_review_presenter�present_itemr)rr�
inputEvent�index�context�context_infos      rr0�Bookmarks.goToBookmark�s����+��+�+��	��l�l�7�7�9�G��?�?�5�1�L����|�F�3�\�&�5I� ,�V� 4�l�6�6J�
L�%1�O�O�E�"�
	
���.�.�0�=�=�f�Q�&+�"���	��L�L�'�'��(C�(C�D��	�s�AB�3C�Cc���URR5nURU5URUR'URR[R5 g)z8Add an in-page accessible object bookmark for this key. N)rrY�_contextToBookmarkrrXr\r�BOOKMARK_ENTERED)rrr`rbs    rr1�Bookmarks.addBookmark�sK���,�,�3�3�5��.2�.E�.E�g�.N����
�*�*�+����#�#�H�$=�$=�>rc�4�URUR5 URR[R
5 URH
nU"5 M g![a, URR[R5 NPf=f)z$Save the bookmarks for this script. N)	�saveBookmarksToDiskrrr\r�BOOKMARKS_SAVED�IOError�BOOKMARKS_SAVED_FAILUREr)rrr`�os    rr2�Bookmarks.saveBookmarks�st��	J��$�$�T�_�_�5��L�L�'�'��(@�(@�A�
�$�$�A�
�C�%��	�	J��L�L�'�'��(H�(H�I�	J�s�AA!�!3B�Bc���[URR55n[U5S:Xa*URR[R5 g[U5S:Xd
URcURSUSS9 gURUR5nURSX4S-S9 g![[[4a URSUSS9 gf=f)zlGo to the next bookmark location.  If no bookmark has yet to be
selected, the first bookmark will be used.  rNr�ra��sortedr�keys�lenrr\r�BOOKMARKS_NOT_FOUNDrr0ra�
ValueErrorr[�
IndexError�rrr`�hwkeysras     rr/�Bookmarks.goToNextBookmark�s���
����,�,�.�/���v�;�!���L�L�'�'��(D�(D�E��
��[�A�
��!;�!;�!C����d�&��)��4��	5��L�L��!;�!;�<�E����d�&�q��/��:���H�j�1�	5����d�&��)��4�	5���0B?�?(C*�)C*c���[URR55n[U5S:Xa*URR[R5 g[U5S:Xd
URcURSUSS9 gURUR5nURSX4S-
S9 g![[[4a URSUSS9 gf=f)Nrrrqrrrys     rr.�Bookmarks.goToPrevBookmark�s�������,�,�.�/���v�;�!���L�L�'�'��(D�(D�E��
��[�A�
��!;�!;�!C����d�&��)��4��	5��L�L��!;�!;�<�E����d�&�q��/��:���H�j�1�	5����d�&��)��4�	5�r|c�t�UR5=(d 0UlURH
nU"5 M g)z"Load this scripts saved bookmarks.N)�readBookmarksFromDiskrr)rrns  rr�Bookmarks._loadBookmarks�s.���4�4�6�<�"����$�$�A�
�C�%rc���U=(d( URRRS5Sn[R"5R5nU(dg[RRUS5n[[RRUUS35S5n[R"UR5nUR5 U$![[[ 4a gf=f)zZRead saved bookmarks from disk.  Currently an unpickled object
that represents a bookmark � rN�	bookmarks�.pkl�r)r�name�splitr	�get_manager�
get_prefs_dir�os�path�join�open�pickle�load�buffer�closerl�EOFError�OSError)r�filename�orca_dir�orca_bookmarks_dir�	inputFiler�s      rr��Bookmarks.readBookmarksFromDisk�s����>�t�|�|�0�0�6�6�s�;�A�>��#�/�/�1�?�?�A�����W�W�\�\�(�K�@��	��b�g�g�l�l�,>�#�*�D�)�+�,/�1�I����I�$4�$4�5�I��O�O�������7�+�	��	�s�>AC�C5�4C5c�>�U=(d( URRRS5Sn[R"5R5n[RRUS5n[R"U5 [[RRUUS35S[R5n[R"XR 5 UR#5 g![a [R"U5 N�f=f)zEWrite bookmarks to disk.  bookmarksObj must be a pickleable 
object. r�rr�r��wN)rr�r�r	r�r�r�r�r��statr��mkdirr��O_CREATr��dumpr�r�)r�bookmarksObjr�r�r��outputs      rrj�Bookmarks.saveBookmarksToDisks����>�t�|�|�0�0�6�6�s�;�A�>��#�/�/�1�?�?�A���W�W�\�\�(�K�@��	)��G�G�&�'��r�w�w�|�|�%7��j��%�'�(+�R�Z�Z�9�����L�-�-�0�������	)��H�H�'�(�	)�s�6C9�9 D�Dc��0nURUS'URUS'URUS'URUS'U$)z6Converts a flat_review.Context object into a bookmark.rUrWrVrT)�	zoneIndex�	charIndex�	wordIndex�	lineIndex)rrbrcs   rrf�Bookmarks._contextToBookmarksM����&�0�0��V��&�0�0��V��&�0�0��V��&�0�0��V���rc�z�URR5nURUSUSUSUS5 U$)z6Converts a bookmark into a flat_review.Context object.rTrUrVrW)rrYrZ)r�bookmarkrbs   r�_bookmarkToContext�Bookmarks._bookmarkToContextsD���,�,�3�3�5�����8�F�+�X�f�-=�#�F�+�X�f�-=�	?��rc���[R"URRR	55nU(a3[
RRU5nSRUSS5$g)zhReturns the URI key for a given page as a URI stripped of
parameters?query#fragment as seen in urlparse.�r�N)	r
�get_urir�	utilities�
documentFrame�urllib�parse�urlparser�)r�uri�
parsed_uris   r�	getURIKey�Bookmarks.getURIKey&sV��� � ����!7�!7�!E�!E�!G�H������.�.�s�3�J��7�7�:�a��?�+�+�rc��URRR5nUH#n[R"X#5nU(aM" U$ U$)zHReturn the object with the given path (relative to the
document frame). )rr�r�r�	get_child)rr��	returnobj�childnumbers    r�	pathToObj�Bookmarks.pathToObj0sL���L�L�*�*�8�8�:�	��K� �*�*�9�B�I��9���� �
�rc�R�U(d&URRR5upU(d/$URRRU5(a/$/nUR	[
R"U55 [
R"U5nU(a�URRRU5(aUR5 U$UR	[
R"U55 [
R"U5nU(aM�/$)zxGiven an object, return it's path from the root accessible.  If obj
is not provided, the current caret context is used. )	rr��getCaretContext�
isDocumentrJr�get_index_in_parent�
get_parent�reverse)r�	start_obj�characterOffsetr��ps     r�
_objToPath�Bookmarks._objToPath;s����+/�<�<�+A�+A�+Q�+Q�+S�(�Y���I��<�<�!�!�,�,�Y�7�7��I������H�0�0��;�<����	�*����|�|�%�%�0�0��3�3��������K�K��4�4�Q�7�8��#�#�A�&�A��a��	r)rrrrrrr)FT)FrI)�__name__�
__module__�__qualname__�__firstlineno__�__doc__rr(rr+r#rMrQr0r1r2r/r.rr�rjrfr�r�r�r��__static_attributes__�rrr
r
$sk��0�3�
��9�B*9�X-�-�+�(?�
�5�05�*��$� ���	�rr
)r�r�r��urllib.parser�r�rrrrrr	�ax_documentr
�	ax_objectrr
r�rr�<module>r�s8��(A�
�	��������#��m�mr

Filemanager

Name Type Size Permission Actions
__init__.cpython-313.pyc File 276 B 0644
acss.cpython-313.pyc File 4.37 KB 0644
action_presenter.cpython-313.pyc File 12.53 KB 0644
ax_collection.cpython-313.pyc File 6.06 KB 0644
ax_component.cpython-313.pyc File 22.4 KB 0644
ax_document.cpython-313.pyc File 13.2 KB 0644
ax_event_synthesizer.cpython-313.pyc File 22.37 KB 0644
ax_hypertext.cpython-313.pyc File 11.3 KB 0644
ax_object.cpython-313.pyc File 63.85 KB 0644
ax_selection.cpython-313.pyc File 5.26 KB 0644
ax_table.cpython-313.pyc File 62.75 KB 0644
ax_text.cpython-313.pyc File 58.92 KB 0644
ax_utilities.cpython-313.pyc File 37.16 KB 0644
ax_utilities_application.cpython-313.pyc File 9.14 KB 0644
ax_utilities_collection.cpython-313.pyc File 125.47 KB 0644
ax_utilities_debugging.cpython-313.pyc File 15.44 KB 0644
ax_utilities_event.cpython-313.pyc File 41.86 KB 0644
ax_utilities_relation.cpython-313.pyc File 21.3 KB 0644
ax_utilities_role.cpython-313.pyc File 139.59 KB 0644
ax_utilities_state.cpython-313.pyc File 19.65 KB 0644
ax_value.cpython-313.pyc File 8.8 KB 0644
bookmarks.cpython-313.pyc File 16.09 KB 0644
braille.cpython-313.pyc File 82.01 KB 0644
braille_generator.cpython-313.pyc File 71.06 KB 0644
braille_rolenames.cpython-313.pyc File 8.73 KB 0644
brlmon.cpython-313.pyc File 9.02 KB 0644
brltablenames.cpython-313.pyc File 2.46 KB 0644
bypass_mode_manager.cpython-313.pyc File 5.79 KB 0644
caret_navigation.cpython-313.pyc File 22.86 KB 0644
chat.cpython-313.pyc File 33.96 KB 0644
clipboard.cpython-313.pyc File 27.81 KB 0644
cmdnames.cpython-313.pyc File 18.85 KB 0644
colornames.cpython-313.pyc File 11.83 KB 0644
debug.cpython-313.pyc File 4.76 KB 0644
debugging_tools_manager.cpython-313.pyc File 13.8 KB 0644
event_manager.cpython-313.pyc File 43.89 KB 0644
flat_review.cpython-313.pyc File 59.1 KB 0644
flat_review_finder.cpython-313.pyc File 29.77 KB 0644
flat_review_presenter.cpython-313.pyc File 59.01 KB 0644
focus_manager.cpython-313.pyc File 14.24 KB 0644
generator.cpython-313.pyc File 95.62 KB 0644
guilabels.cpython-313.pyc File 12.43 KB 0644
highlighter.cpython-313.pyc File 9.86 KB 0644
input_event.cpython-313.pyc File 45.78 KB 0644
input_event_manager.cpython-313.pyc File 48.43 KB 0644
keybindings.cpython-313.pyc File 27.27 KB 0644
keynames.cpython-313.pyc File 4.73 KB 0644
label_inference.cpython-313.pyc File 25.15 KB 0644
learn_mode_presenter.cpython-313.pyc File 19.89 KB 0644
liveregions.cpython-313.pyc File 31.34 KB 0644
mathsymbols.cpython-313.pyc File 64.53 KB 0644
messages.cpython-313.pyc File 41.8 KB 0644
mouse_review.cpython-313.pyc File 33.59 KB 0644
notification_presenter.cpython-313.pyc File 18.47 KB 0644
object_navigator.cpython-313.pyc File 15.8 KB 0644
object_properties.cpython-313.pyc File 8.27 KB 0644
orca.cpython-313.pyc File 13.43 KB 0644
orca_gtkbuilder.cpython-313.pyc File 5.53 KB 0644
orca_gui_navlist.cpython-313.pyc File 10.45 KB 0644
orca_gui_prefs.cpython-313.pyc File 166.31 KB 0644
orca_gui_profile.cpython-313.pyc File 5.69 KB 0644
orca_i18n.cpython-313.pyc File 2.63 KB 0644
orca_modifier_manager.cpython-313.pyc File 17.05 KB 0644
orca_platform.cpython-313.pyc File 661 B 0644
phonnames.cpython-313.pyc File 1.51 KB 0644
pronunciation_dict.cpython-313.pyc File 1.95 KB 0644
script.cpython-313.pyc File 15.33 KB 0644
script_manager.cpython-313.pyc File 18.15 KB 0644
script_utilities.cpython-313.pyc File 87.03 KB 0644
settings.cpython-313.pyc File 6.79 KB 0644
settings_manager.cpython-313.pyc File 35.18 KB 0644
sleep_mode_manager.cpython-313.pyc File 6.67 KB 0644
sound.cpython-313.pyc File 8.71 KB 0644
sound_generator.cpython-313.pyc File 58.4 KB 0644
speech.cpython-313.pyc File 10.75 KB 0644
speech_and_verbosity_manager.cpython-313.pyc File 34.1 KB 0644
speech_generator.cpython-313.pyc File 214.55 KB 0644
speechdispatcherfactory.cpython-313.pyc File 33.52 KB 0644
speechserver.cpython-313.pyc File 10.21 KB 0644
spellcheck.cpython-313.pyc File 24.24 KB 0644
spiel.cpython-313.pyc File 34.68 KB 0644
ssml.cpython-313.pyc File 6.03 KB 0644
structural_navigation.cpython-313.pyc File 93.9 KB 0644
system_information_presenter.cpython-313.pyc File 9.42 KB 0644
table_navigator.cpython-313.pyc File 36.48 KB 0644
text_attribute_names.cpython-313.pyc File 6.01 KB 0644
where_am_i_presenter.cpython-313.pyc File 26.41 KB 0644
Filemanager